:root {
    --navy: #0d1321;
    --navy-light: #1a2338;
    --red: #e63946;
    --red-glow: #ff2a2a;
    --orange: #f4a261;
    --orange-light: #f7b87e;
    --white: #f0f0f0;
    --gray: #8892b0;
    --dark-card: #111827;
    --border: #1e293b;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 4px; }

/* Nav Right (Lang Switch + Hamburger) */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch {
    display: flex;
    gap: 4px;
}

.lang-btn {
    background: var(--navy-light);
    border: 1px solid var(--border);
    color: var(--gray);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
}

.lang-btn.active {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.lang-btn:hover:not(.active) {
    color: var(--white);
    border-color: var(--orange);
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 18px 40px;
    background: rgba(13, 18, 33, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--red);
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links .lang-switch {
    margin-left: auto;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.nav-links a:hover {
    color: var(--orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(244, 162, 97, 0.05) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-30px, -30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--red);
    box-shadow: 0 0 40px rgba(230, 57, 70, 0.3);
    margin-bottom: 24px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--red), var(--red-glow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 8px;
}

.hero .subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--red);
    color: white;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: #d32f3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(230, 57, 70, 0.4);
}

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

.btn-outline:hover {
    background: var(--orange);
    color: var(--navy);
    transform: translateY(-2px);
}

.btn-donate {
    background: linear-gradient(135deg, var(--orange), #e08a4a);
    color: var(--navy);
    box-shadow: 0 4px 20px rgba(244, 162, 97, 0.3);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(244, 162, 97, 0.4);
}

/* Sections */
.section {
    padding: 80px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title h2 .highlight {
    color: var(--red);
}

.section-title p {
    color: var(--gray);
    font-size: 1rem;
}

/* Twitch Section */
.twitch-section {
    background: var(--dark-card);
}

.twitch-embed {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    position: relative;
}

.twitch-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.twitch-status {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
}

.status-dot.live {
    background: #00ff00;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.status-text {
    font-size: 14px;
    font-weight: 600;
}

.status-text.live { color: #00ff00; }
.status-text.offline { color: var(--gray); }

/* YouTube Gallery */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.video-card {
    background: var(--dark-card);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--orange);
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--red-glow);
    transform: translateY(-4px);
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.video-thumb iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    display: block;
}

.video-info {
    padding: 12px 16px;
}

.video-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info .video-date {
    font-size: 12px;
    color: var(--gray);
}

/* Schedule */
.schedule-grid {
    max-width: 700px;
    margin: 0 auto;
}

.schedule-day {
    background: var(--dark-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.schedule-day:hover {
    border-color: var(--orange);
}

.schedule-day .day {
    font-weight: 700;
    font-size: 16px;
}

.schedule-day .time {
    color: var(--orange);
    font-weight: 600;
}

.schedule-day .game {
    color: var(--gray);
    font-size: 14px;
}

.schedule-day .status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(0, 255, 0, 0.15);
    color: #00ff00;
}

.status-badge.upcoming {
    background: rgba(244, 162, 97, 0.15);
    color: var(--orange);
}

/* About */
.about-section {
    background: var(--dark-card);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.about-content strong {
    color: var(--white);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
    background: var(--navy-light);
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link.twitch:hover {
    border-color: #9146ff;
    background: rgba(145, 70, 255, 0.1);
}

.social-link.youtube:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.social-link.x:hover {
    border-color: #000;
    background: rgba(0, 0, 0, 0.1);
}

.social-link.instagram:hover {
    border-color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border);
    color: var(--gray);
    font-size: 13px;
}

footer a {
    color: var(--gray);
    text-decoration: none;
}

footer a:hover {
    color: var(--orange);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .top-nav {
        padding: 14px 20px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(13, 18, 33, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .nav-links .lang-switch {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        padding-top: 12px;
        margin-top: 4px;
        border-top: 1px solid var(--border);
    }

    .hero {
        padding: 100px 16px 40px;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

    .section {
        padding: 48px 16px;
    }

    .youtube-grid {
        grid-template-columns: 1fr;
    }

    .schedule-day {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
