:root {
    --primary-color: #00E5FF;
    --secondary-color: #2979FF;
    --bg-color: #05050A;
    --text-color: #FFFFFF;
    --text-muted: #A0AABF;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    position: relative;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    object-fit: cover;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5, 5, 10, 0.4) 0%, rgba(5, 5, 10, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 1rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.logo-container {
    margin-bottom: -1.5rem;
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
}

.text-logo {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.text-logo .highlight {
    color: var(--primary-color);
}

.content {
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.1);
    animation: fadeIn 1.5s ease-out;
}

.glitch {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

.subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.countdown-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 1rem;
    border-radius: 12px;
    min-width: 80px;
    box-shadow: inset 0 0 15px rgba(0, 229, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.time-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.time-block .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.time-block .label {
    font-size: 0.9rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 600;
}

.separator {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-color);
    animation: blink 1s step-start infinite;
    text-shadow: 0 0 10px var(--primary-color);
    align-self: flex-start;
    margin-top: 0.5rem;
}

.notify-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    position: relative;
    width: 100%;
}

.input-group input {
    flex: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    padding: 0.8rem 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px 0 0 8px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-glow {
    position: relative;
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    padding: 0 2rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-glow span {
    position: relative;
    z-index: 2;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.75, 0, 0.125, 1);
    z-index: 1;
}

.btn-glow:hover {
    color: #000;
}

.btn-glow:hover::before {
    transform: translateX(100%);
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

footer {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

footer p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 86px, 0);
    }

    20% {
        clip: rect(32px, 9999px, 12px, 0);
    }

    40% {
        clip: rect(74px, 9999px, 87px, 0);
    }

    60% {
        clip: rect(10px, 9999px, 98px, 0);
    }

    80% {
        clip: rect(65px, 9999px, 14px, 0);
    }

    100% {
        clip: rect(51px, 9999px, 32px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(44px, 9999px, 73px, 0);
    }

    20% {
        clip: rect(89px, 9999px, 15px, 0);
    }

    40% {
        clip: rect(12px, 9999px, 64px, 0);
    }

    60% {
        clip: rect(76px, 9999px, 39px, 0);
    }

    80% {
        clip: rect(21px, 9999px, 91px, 0);
    }

    100% {
        clip: rect(98px, 9999px, 4px, 0);
    }
}

@media (max-width: 768px) {
    .text-logo {
        font-size: 2.5rem;
    }

    .glitch {
        font-size: 1.8rem;
    }

    .countdown-wrapper {
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .time-block {
        min-width: 80px;
        padding: 1rem;
    }

    .time-block .number {
        font-size: 2rem;
    }

    .content {
        padding: 2rem;
    }

    .input-group {
        flex-direction: column;
    }

    .input-group input {
        border-radius: 8px;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: none;
    }

    .btn-glow {
        border-radius: 8px;
        padding: 1rem;
        flex: none;
        width: 100%;
        border: 1px solid var(--primary-color);
    }

    .separator {
        display: none;
    }
}