:root {
    --bg-dark: #1c2734;
    --accent-gold: #F9CF00;
    --accent-gold-hover: #e0b900;
    --accent-blue: #4484CE;
    --bg-light: #FFF4DA;
    --text-white: #FFFFFF;
    --text-dark: #1c2734;
    --text-gray: #4a5568;
    --border-color: #E0E0E0;
    --font-heading: 'Fredoka', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --container-width: 1200px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--text-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

u {
    text-decoration: none;
    border-bottom: 4px solid var(--accent-blue);
    padding-bottom: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
}

.btn-telegram {
    background-color: #0088cc;
    color: var(--text-white);
}

.btn-telegram:hover {
    background-color: #0077b3;
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.2rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--bg-dark);
    color: var(--bg-dark);
}

.btn-outline:hover {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

/* Navbar */
.announcement-bar {
    background-color: var(--accent-blue);
    color: var(--text-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.announcement-bar a {
    color: var(--text-white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.announcement-bar a:hover {
    color: var(--accent-gold);
}

.navbar {
    background-color: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    z-index: 1000;
    padding: 15px 0;
}

.navbar.navbar--fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.navbar-spacer {
    display: none;
}

.navbar-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-item.active > .nav-link {
    color: var(--accent-gold);
    box-shadow: inset 0 -3px 0 var(--accent-gold);
}

.dropdown-menu a.active {
    color: var(--accent-gold);
    font-weight: 600;
    background-color: var(--bg-light);
    border-left: 3px solid var(--accent-gold);
    padding-left: 17px;
}

.arrow {
    font-size: 0.7rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--text-white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: var(--text-dark);
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    transition: background-color var(--transition);
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--accent-gold);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.mobile-menu-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,207,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-white);
    display: inline-block;
}

.hero-text {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #cccccc;
}

.hero-section .btn {
    margin-top: 20px;
    margin-bottom: 60px;
}

.video-placeholder {
    width: 100%;
    max-width: 900px;
    height: 500px;
    background-color: #000;
    border: 4px solid var(--accent-gold);
    border-radius: 20px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.play-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.play-icon:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.intro-section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.features-header {
    margin-bottom: 50px;
}

.accent-text {
    color: var(--accent-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--text-white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform var(--transition);
    grid-column: span 2;
}

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

.feature-card.highlight-card {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
    grid-column: span 4;
}

.feature-card.half-card {
    grid-column: span 3;
}

.feature-card.highlight-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.feature-card.highlight-card p {
    color: var(--bg-dark);
    opacity: 0.9;
}

.icon-placeholder {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Coaches Section */
.coaches-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.coaches-section .section-title {
    display: inline-block;
    margin-bottom: 50px;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.coach-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--text-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.coach-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--bg-light);
    flex-shrink: 0;
    overflow: hidden;
}

.coach-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.coach-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.coach-info p {
    color: var(--text-gray);
}

/* Mentorship Section */
.mentorship-section {
    padding: 80px 0;
}

.mentorship-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mentorship-text h2 {
    display: inline-block;
    border-bottom: 4px solid var(--accent-blue);
    padding-bottom: 2px;
    margin-bottom: 20px;
}

.mentorship-text h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.mentorship-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.mentorship-text .btn {
    margin-top: 20px;
}

.mentorship-image {
    background-color: var(--bg-dark);
    border-radius: 20px;
    height: 400px;
}

/* Discord Section */
.discord-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.discord-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.discord-section .section-title {
    color: var(--text-white);
}

.discord-section p {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.discord-image {
    position: relative;
    height: 400px;
}

.discord-mockup {
    background-color: #36393f;
    border-radius: 20px;
    height: 100%;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Curriculum Accordion */
.curriculum-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    background-color: var(--text-white);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition);
}

.accordion-header:hover {
    background-color: #f5f5f5;
}

.accordion-header.active {
    color: var(--accent-gold);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition);
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--text-white);
}

.accordion-content p {
    padding: 0 25px 20px;
    color: var(--text-gray);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--text-white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    background-color: var(--bg-dark);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 2rem;
}

.stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-gray);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 340px;
}

.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    transition: color var(--transition);
}

.footer-logo:hover {
    color: var(--accent-gold);
}

.footer-tagline {
    color: #b8c0c8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.footer-list li {
    margin-bottom: 12px;
}

.footer-list a {
    color: var(--text-white);
    font-size: 0.95rem;
    transition: color var(--transition);
}

.footer-list a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 28px;
}

.footer-copy {
    color: #888888;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-gold);
    color: var(--bg-dark);
}

.footer-disclaimer {
    color: #6b7280;
    font-size: 0.78rem;
    line-height: 1.65;
    text-align: center;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Reusable CTA Banner */
.cta-banner {
    padding: 90px 0;
    background: linear-gradient(135deg, #4484CE 0%, #2d5f9e 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-white);
}

.cta-banner p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
}

/* Cookie Consent Modal */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 10000;
    max-width: 420px;
    animation: cookieSlideIn 0.4s ease;
}

.cookie-consent--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

.cookie-consent-card {
    background: var(--text-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cookie-consent-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 18px;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.cookie-btn-accept {
    background: var(--bg-dark);
    color: var(--text-white);
}

.cookie-btn-accept:hover {
    background: #2a3a4d;
}

.cookie-btn-deny,
.cookie-btn-prefs {
    background: #f0f0f0;
    color: var(--text-dark);
}

.cookie-btn-deny:hover,
.cookie-btn-prefs:hover {
    background: #e0e0e0;
}

.cookie-preferences {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 14px;
}

.cookie-pref-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
}

.cookie-pref-item input {
    accent-color: var(--accent-gold);
    width: 16px;
    height: 16px;
}

.cookie-btn-save-prefs {
    width: 100%;
    margin-top: 10px;
}

.cookie-consent-links {
    display: flex;
    gap: 16px;
}

.cookie-consent-links a {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-decoration: underline;
}

.cookie-consent-links a:hover {
    color: var(--accent-blue);
}

@media (max-width: 480px) {
    .cookie-consent {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    color: var(--text-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(68, 132, 206, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background-color var(--transition);
    z-index: 9999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #3a75bd;
    transform: translateY(-2px);
}

.back-to-top.visible:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .feature-card {
        grid-column: span 2;
    }
    .feature-card.highlight-card {
        grid-column: span 4;
    }
    .feature-card.half-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .video-placeholder {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .feature-card.highlight-card,
    .feature-card.half-card {
        grid-column: span 1;
    }

    .coaches-grid,
    .mentorship-content,
    .discord-content,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .mentorship-image,
    .discord-image {
        height: 300px;
        max-width: 100%;
    }

    /* Mobile Navbar */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: var(--mobile-nav-top, 62px);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--mobile-nav-top, 62px));
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        transition: left var(--transition);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link {
        padding: 15px 0;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(255,255,255,0.05);
        display: none;
        padding: 0;
    }

    .nav-item.has-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 12px 20px;
        color: #ccc;
    }

    .dropdown-menu a.active {
        color: var(--accent-gold);
        border-left: 3px solid var(--accent-gold);
        background-color: rgba(255,255,255,0.08);
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255,255,255,0.1);
    }

    .nav-actions {
        margin-top: 30px;
        width: 100%;
    }

    .nav-actions .btn {
        width: 100%;
        text-align: center;
    }
}