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

:root {
    --primary-color: #FFD700;
    --secondary-color: #00BFFF; 
    --dark-bg: rgba(0, 0, 0, 0.8); 
    --text-light: #f0f0f0;
    --text-dark: #333;
    --gradient-gold: linear-gradient(45deg, #FFD700, #FFA500);
    --gradient-blue: linear-gradient(45deg, #00BFFF, #1E90FF);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden; 
    background-color: #000; 
}


#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -2; 
    filter: brightness(0.4) grayscale(0.2);
    animation: fadeInVideo 2s ease-out forwards;
}

@keyframes fadeInVideo {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; 
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
}

.landing-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1; 
    max-width: 900px;
    width: 100%;
    padding: 20px 15px;
}

/* Logo */
.logo-container {
    margin-bottom: 25px;
    position: relative;
    padding: 10px;
    background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0) 70%); 
    border-radius: 50%;
    animation: pulseGlow 3s infinite alternate; 
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    animation: rotateScale 5s ease-in-out infinite alternate; 
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 15px rgba(255, 215, 0, 0.4); }
    to { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

@keyframes rotateScale {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.03) rotate(2deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Channel Name */
.channel-name {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8), 0 0 5px rgba(255, 215, 0, 0.5);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s infinite alternate; 
}

@keyframes textShine {
    from { filter: brightness(1); }
    to { filter: brightness(1.3); }
}



.tagline {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}


.cta-section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.join-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5), 0 0 0 5px rgba(255, 215, 0, 0.3);
    border: 2px solid var(--primary-color);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.join-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.7), 0 0 0 8px rgba(255, 215, 0, 0.5);
    color: var(--text-dark); 
}

.join-button::before { 
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    transition: left 0.4s ease-in-out;
    z-index: -1;
    opacity: 0.8;
}

.join-button:hover::before {
    left: 0;
}

.join-button .fab {
    font-size: 1.8em;
    transform: rotate(-15deg);
    transition: transform 0.3s ease-in-out;
}

.join-button:hover .fab {
    animation: bounceTelegram 0.5s ease-in-out infinite alternate;
}

@keyframes bounceTelegram {
    from { transform: translateY(0) rotate(-15deg); }
    to { transform: translateY(-5px) rotate(-15deg); }
}


.timer-text {
    font-size: 1.2em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

#countdown {
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 800;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.05); opacity: 0.8; }
}

/* Benefits Section */
.benefits-section {
    background: var(--dark-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    margin-top: 30px;
    width: 100%;
    backdrop-filter: blur(5px); /* Frosted glass effect */
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: slideInUp 1.5s ease-out;
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.benefits-section h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.08); 
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.benefit-item i {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    animation: floatIcon 4s infinite ease-in-out;
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.benefit-item h3 {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    width: 100%;
    padding: 15px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    background: rgba(0, 0, 0, 0.7);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
    margin-top: 40px; 
    animation: fadeInUpFooter 1.5s ease-out forwards;
}

@keyframes fadeInUpFooter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}

.footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}


@media (max-width: 768px) {
    .channel-name {
        font-size: 2.5em;
    }

    .tagline {
        font-size: 1.2em;
    }

    .join-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }

    .timer-text {
        font-size: 1em;
    }

    .benefits-section {
        padding: 20px 15px; 
    }

    .benefits-section h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .benefits-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .benefit-item {
        padding: 18px; 
        gap: 8px;
    }

    .benefit-item i {
        font-size: 2.8em;
    }

    .benefit-item h3 {
        font-size: 1.2em;
    }

    .benefit-item p {
        font-size: 0.9em; 
    }

    .logo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .channel-name {
        font-size: 2em;
    }

    .tagline {
        font-size: 1em;
    }

    .join-button {
        font-size: 1em;
        padding: 12px 25px;
    }

    .timer-text {
        font-size: 0.9em;
    }

    .benefits-section {
        padding: 15px 10px;
    }

    .benefits-section h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }

    .benefits-grid {
        gap: 15px;
    }

    .benefit-item {
        padding: 15px; 
        gap: 6px; 
    }

    .benefit-item i {
        font-size: 2.2em; 
    }

    .benefit-item h3 {
        font-size: 1.1em;
    }

    .benefit-item p {
        font-size: 0.85em; 
    }