:root {
    --primary-dark: #1a1a2e;
    --primary-darker: #0f0f1a;
    --accent-red: #8b1a2d;
    --accent-cyan: #00d4ff;
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --text-gray: #a0a0b0;
    --text-light: #e0e0e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, rgba(15,15,26,0.95) 0%, rgba(15,15,26,0) 100%);
    transition: background 0.3s ease;
}

header.scrolled {
    background: rgba(15,15,26,0.98);
    backdrop-filter: blur(10px);
}

.header-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent-red);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    padding: 10px 16px;
    font-size: 13px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav a .en {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-cyan);
}

nav a .label {
    font-size: 12px;
    color: var(--text-gray);
}

nav a:hover {
    color: var(--text-white);
}

nav a:hover .label {
    color: var(--text-light);
}

.subscribe-btn {
    background: linear-gradient(135deg, var(--accent-red), #5c1019);
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 30px;
    font-weight: 500;
    margin-left: 20px;
    display: flex;
    flex-direction: row !important;
    gap: 8px;
}

.subscribe-btn .en, .subscribe-btn .label {
    color: white !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../banner.png') no-repeat center center;
    background-size: cover;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(15,15,26,0.3) 0%, 
        rgba(15,15,26,0.5) 50%,
        rgba(15,15,26,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 40px;
    background: rgba(0,0,0,0.6);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    letter-spacing: 8px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 32px);
    color: var(--text-white);
    margin-bottom: 30px;
    letter-spacing: 4px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    line-height: 2;
    max-width: 500px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-cyan) 0%, transparent 100%);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 120px 40px;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title-sub {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 2px;
}

/* About Section */
.about-section {
    background: var(--primary-dark);
    overflow: hidden;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image-wrapper {
    width: 350px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    background: linear-gradient(180deg, #2a3a5a 0%, #1a2540 100%);
    border: 3px solid var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
}

.about-image-wrapper:hover {
    border-color: #fff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5), 0 30px 60px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 40px;
}

.about-highlight {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 2;
}

.about-main-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 2.2;
    margin-bottom: 40px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--accent-cyan);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 12px 0;
    border-bottom: 1px solid transparent;
}

.section-link:hover {
    border-bottom-color: var(--accent-cyan);
    gap: 20px;
}

.section-link::after {
    content: '→';
    font-size: 18px;
}

/* Content Section */
.content-section {
    background: var(--primary-darker);
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-text {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 2.2;
    margin-bottom: 40px;
}

/* Games Section */
.games-section {
    background: var(--primary-dark);
}

.games-container {
    max-width: 1200px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.game-card {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,0.05);
}

.game-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.game-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2a3a5a 0%, #1a2540 100%);
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-info {
    padding: 24px;
}

.game-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.game-desc {
    font-size: 13px;
    color: var(--text-gray);
}

/* Videos Section */
.videos-section {
    background: var(--primary-darker);
}

.videos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.video-card {
    display: flex;
    gap: 24px;
    background: rgba(255,255,255,0.02);
    border-radius: 16px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.video-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(10px);
}

.video-thumbnail {
    width: 180px;
    height: 120px;
    background: linear-gradient(135deg, #3a4a6a 0%, #2a3550 100%);
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail .play-icon {
    font-size: 32px;
    color: rgba(255,255,255,0.5);
}

.video-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 8px;
}

.video-excerpt {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.video-date {
    font-size: 12px;
    color: var(--text-gray);
    font-family: 'Montserrat', sans-serif;
}

/* Carousel */
.carousel-wrapper {
    position: relative;
    margin-top: 40px;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    animation: carousel-slide 30s linear infinite;
}

@keyframes carousel-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Carousel keeps spinning on hover - no pause */

.carousel-all-link {
    text-align: center;
    margin-top: 20px;
}

.carousel-card {
    flex-shrink: 0;
    width: 280px;
    min-width: 280px;
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.carousel-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2a3a5a 0%, #1a2540 100%);
    overflow: hidden;
}

.carousel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-info {
    padding: 16px;
}

.carousel-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-white);
    line-height: 1.4;
}

.carousel-date {
    font-size: 12px;
    color: var(--text-gray);
    font-family: 'Montserrat', sans-serif;
}

.carousel-btn {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--accent-cyan);
}

/* Playlists Section */
.playlists-section {
    background: var(--primary-dark);
    padding: 120px 40px;
}

.playlists-container {
    max-width: 1200px;
    margin: 0 auto;
}

.playlists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.playlist-card {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}

.playlist-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 212, 255, 0.3);
}

.playlist-banner {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2a3a5a 0%, #1a2540 100%);
    overflow: hidden;
    position: relative;
}

.playlist-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-info {
    padding: 20px;
}

.playlist-badge {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--primary-darker);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.playlist-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
}

.playlist-desc {
    font-size: 13px;
    color: var(--text-gray);
}

/* Footer */
footer {
    background: var(--primary-darker);
    padding: 80px 40px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
}

.footer-nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent-cyan);
}

.footer-social-wrapper {
    position: relative;
    display: inline-block;
}

.footer-social-btn {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.footer-social-btn:hover {
    background: var(--accent-cyan);
    color: var(--primary-darker);
}

.footer-social-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary-darker);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0, 212, 255, 0.2);
    z-index: 100;
    margin-bottom: 15px;
}

.footer-social-wrapper:hover .footer-social-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-social-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 212, 255, 0.3);
}

.footer-social-popup a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.footer-social-popup a:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
}

.footer-social-popup .social-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-gray);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Fade animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-container,
    .content-container {
        grid-template-columns: 1fr;
    }

    .about-visual {
        height: 350px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .playlists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav {
        display: none;
    }

    section {
        padding: 80px 20px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-card {
        flex-direction: column;
    }

    .video-thumbnail {
        width: 100%;
        height: 180px;
    }

    .about-image-wrapper {
        width: 280px;
        height: 320px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .playlists-grid {
        grid-template-columns: 1fr;
    }

    .playlists-section {
        padding: 80px 20px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-card {
        width: 240px;
    }
}
