:root {
    --bg-black: #050505;
    --neon-red: #ff003c;
    --neon-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glow-red: 0 0 10px rgba(255, 0, 60, 0.5), 0 0 20px rgba(255, 0, 60, 0.3), 0 0 40px rgba(255, 0, 60, 0.1);
    --glow-white: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--neon-white);
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background elements for depth */
body::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.15) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    filter: blur(50px);
    z-index: -1;
}

body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 60, 0.1) 0%, transparent 70%);
    bottom: 5%;
    right: 5%;
    filter: blur(60px);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    z-index: 1;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.neon-border {
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 24px;
    background: linear-gradient(45deg, transparent, var(--neon-red), transparent, var(--neon-red), transparent);
    background-size: 400% 400%;
    z-index: -1;
    opacity: 0.3;
    animation: borderRotate 8s linear infinite;
}

@keyframes borderRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: var(--neon-red);
    text-shadow: var(--glow-red);
    position: relative;
}

.message {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.url-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--neon-white);
    text-decoration: none;
    text-shadow: var(--glow-white);
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 40px;
}

.url-text:hover {
    color: var(--neon-red);
    text-shadow: var(--glow-red);
}

.countdown-wrapper {
    margin-bottom: 40px;
}

.countdown-wrapper p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
}

.neon-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--neon-white);
    text-shadow: var(--glow-white);
    margin: 10px 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neon-button {
    background: transparent;
    border: 2px solid var(--neon-red);
    color: var(--neon-red);
    padding: 18px 36px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 0 0 var(--neon-red);
    width: 100%;
}

.neon-button:hover {
    background: var(--neon-red);
    color: white;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.6);
    transform: scale(1.02);
}

.neon-button:active {
    transform: scale(0.98);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    animation: fadeInDown 1s ease-out;
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff003c;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #fff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    4.16% { clip: rect(91px, 9999px, 43px, 0); }
    8.33% { clip: rect(65px, 9999px, 59px, 0); }
    12.5% { clip: rect(57px, 9999px, 5px, 0); }
    16.66% { clip: rect(34px, 9999px, 55px, 0); }
    20.83% { clip: rect(1px, 9999px, 64px, 0); }
    25% { clip: rect(13px, 9999px, 61px, 0); }
    29.16% { clip: rect(15px, 9999px, 16px, 0); }
    33.33% { clip: rect(44px, 9999px, 1px, 0); }
    37.5% { clip: rect(12px, 9999px, 31px, 0); }
    41.66% { clip: rect(10px, 9999px, 35px, 0); }
    45.83% { clip: rect(2px, 9999px, 40px, 0); }
    50% { clip: rect(20px, 9999px, 45px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(67px, 9999px, 34px, 0); }
    4.16% { clip: rect(84px, 9999px, 5px, 0); }
    8.33% { clip: rect(38px, 9999px, 6px, 0); }
    12.5% { clip: rect(22px, 9999px, 3px, 0); }
    16.66% { clip: rect(67px, 9999px, 47px, 0); }
    20.83% { clip: rect(44px, 9999px, 52px, 0); }
    25% { clip: rect(99px, 9999px, 57px, 0); }
}

/* Red Pulse for the countdown */
.pulse {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); text-shadow: var(--glow-white); }
    50% { transform: scale(1.1); text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px var(--neon-red); }
    100% { transform: scale(1); text-shadow: var(--glow-white); }
}
