html, body {
    overflow-x: hidden;
}
body {
    background: radial-gradient(circle at top, #1e293b, #020617);
	color: white;
}
.glass {
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.18);
}

.card {
    position: relative;
    cursor: pointer;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255,0,0,0.3), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
}

.glow {
    background: radial-gradient(
        circle at var(--x) var(--y),
        rgba(255, 0, 0, 0.35),
        transparent 40%
    );
    transition: opacity 0.3s;
}

@keyframes float1 {
    0% { transform: translate(-50px, -50px); }
    50% { transform: translate(50px, 50px); }
    100% { transform: translate(-50px, -50px); }
}

@keyframes float2 {
    0% { transform: translate(50px, -30px); }
    50% { transform: translate(-50px, 30px); }
    100% { transform: translate(50px, -30px); }
}

.animate-float1 {
    animation: float1 12s infinite ease-in-out;
}

.animate-float2 {
    animation: float2 15s infinite ease-in-out;
}

@keyframes float3 {
    0% { transform: translateY(-10px); }
    50% { transform: translateY(20px); }
    100% { transform: translateY(-10px); }
}

.animate-float3 {
    animation: float3 6s infinite ease-in-out;
}

h1 {
    letter-spacing: 0.01em;
}

#particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.particles span {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    background: rgba(255, 0, 0, 0.7);
    border-radius: 50%;
    animation: floatParticle 4s linear infinite;
}

/* IMPORTANT FIX */
.particles span:nth-child(odd) {
    animation-duration: 5s;
}
.particles span:nth-child(even) {
    animation-duration: 6s;
}

/* Default (red) */
.particles.red span { background: rgba(255,0,0,0.7); }

/* Variants */
.particles.blue span { background: rgba(59,130,246,0.7); }
.particles.green span { background: rgba(34,197,94,0.7); }
.particles.yellow span { background: rgba(234,179,8,0.7); }

@keyframes floatParticle {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120px);
        opacity: 0;
    }
}

/* subtle particles */
.particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: red;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s linear infinite;
}

@keyframes float {
    0% { transform: translateY(100px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

.dropdown-item {
    padding: 12px;
    cursor: pointer;
    color: #e5e7eb;
    transition: all 0.25s ease;
}

.dropdown-item:hover {
    background: rgba(239, 68, 68, 0.15); /* red glow */
    color: white;
}

/* smooth dropdown */
#dropdownOptions {
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
}

#dropdownOptions.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.dropdown-item {
    background: transparent;
}
.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239,68,68,0.4);
}

.error-text {
    font-size: 12px;
}
.valid-icon {
    font-size: 14px;
    pointer-events: none;
}

.glass-popup {
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.glass-popup h3 {
    font-size: 14px;
    font-weight: 600;
}

.glass-popup p {
    font-size: 12px;
    color: #94a3b8;
    margin: 4px 0;
}

.glass-popup a {
    font-size: 10px;
    color: #ffffff;
}