/* =========== ROOT VARIABLES =========== */
:root {
    --primary-red: #FF4757;
    --primary-blue: #4A2CFF;
    --accent-orange: #FF9F43;
    --accent-green: #2ED573;
    --accent-yellow: #FFD700;
    --accent-purple: #9B59B6;
    --dark-bg: #0F172A;
    --light-bg: #F8FAFC;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* =========== RESET & BASE =========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 50px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* =========== TYPOGRAPHY =========== */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-light);
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

/* =========== BUTTONS =========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red), #FF6B81);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(255, 71, 87, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 71, 87, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-5px);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent-purple), #8e44ad);
    color: var(--white);
    box-shadow: 0 10px 30px rgba(155, 89, 182, 0.3);
}

.btn-accent:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(155, 89, 182, 0.4);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.25rem;
}

.btn-block {
    width: 100%;
}

/* =========== NAVBAR =========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
}

.navbar .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
    margin-right: auto;
}

.navbar .logo:hover {
    transform: scale(1.05);
}

.navbar .logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.nav-main-items {
    display: flex;
    align-items: center;
    gap: 0px;
}

.nav-main-items a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 8px;
    position: relative;
    white-space: nowrap;
}

.nav-main-items a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    border-radius: 3px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-main-items a:hover::after {
    width: 80%;
}

.nav-main-items a:hover {
    color: var(--primary-red);
}

.nav-main-items a i {
    font-size: 1.1rem;
}

.nav-explore-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--primary-blue));
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    margin-left: 5px;
}

.nav-explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(155, 89, 182, 0.3);
}

.nav-explore-btn::after {
    display: none;
}

.nav-cta {
    background: var(--primary-red);
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    margin-left: 10px;
}

.nav-cta:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3);
}

.nav-cta::after {
    display: none;
}

/* Explore Dropdown Menu */
.explore-dropdown {
    position: relative;
}

.explore-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 300px;
    box-shadow: var(--shadow-lg);
    border-radius: 15px;
    padding: 20px;
    z-index: 1001;
    margin-top: 10px;
}

.explore-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.explore-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    text-decoration: none;
    color: var(--text-dark);
    border-radius: 10px;
    transition: var(--transition);
}

.explore-item:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(5px);
}

.explore-item i {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
}

.explore-item.pink i { background: #ff6b8b; }
.explore-item.blue i { background: #3498db; }
.explore-item.purple i { background: #9b59b6; }
.explore-item.orange i { background: #ff9f43; }
.explore-item.green i { background: #2ed573; }
.explore-item.yellow i { background: #f1c40f; }
.explore-item.red i { background: #ff4757; }
.explore-item.teal i { background: #00cec9; }

/* Mobile Navigation Button */
.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-red);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: rotate(90deg);
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-menu-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    max-height: 85vh;
    overflow-y: auto;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-title {
    font-size: 1.5rem;
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-close-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-close-btn:hover {
    background: #ff6b81;
    transform: rotate(90deg);
}

.mobile-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border-left: 4px solid transparent;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-red);
    transform: translateX(10px);
}

.mobile-menu-item i {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
}

.mobile-menu-item.pink { border-left-color: #ff6b8b; }
.mobile-menu-item.blue { border-left-color: #3498db; }
.mobile-menu-item.purple { border-left-color: #9b59b6; }
.mobile-menu-item.orange { border-left-color: #ff9f43; }
.mobile-menu-item.green { border-left-color: #2ed573; }
.mobile-menu-item.yellow { border-left-color: #f1c40f; }
.mobile-menu-item.red { border-left-color: #ff4757; }
.mobile-menu-item.teal { border-left-color: #00cec9; }

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.mobile-social-link:hover {
    transform: translateY(-5px);
}

.mobile-social-link.facebook:hover { background: #1877F2; }
.mobile-social-link.twitter:hover { background: #1DA1F2; }
.mobile-social-link.instagram:hover { background: linear-gradient(45deg, #405DE6, #E1306C, #FD1D1D, #F56040, #FFDC80); }
.mobile-social-link.tiktok:hover { background: #000000; }

/* Progress bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-orange));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* =========== HERO SECTION =========== */
.hero {
    position: relative;
    color: var(--white);
    padding: 180px 0 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('images/banner4.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    color: white;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* =========== GAME SECTION =========== */
.game-section {
    padding: 100px 0;
    position: relative;
    color: white;
    background-image: url('images/banner.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 6, 10, 0.9), rgba(0, 0, 0, 0.9));
    z-index: 1;
}

.game-section .container {
    position: relative;
    z-index: 2;
}

.game-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.game-card-showcase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.game-card-showcase:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
}

.game-card-showcase img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.game-features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.game-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: white;
}

.game-features-list li i {
    color: #ffd700;
    font-size: 1.2rem;
    width: 25px;
}

.game-cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-game {
    background: #ffd700;
    color: #333;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.btn-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-game-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-game-outline:hover {
    background: white;
    color: #764ba2;
    transform: translateY(-3px);
}

/* =========== COMPETITION SECTION =========== */
.competition-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 100%);
    color: white;
    padding: 100px 0;
}

.competition-header {
    text-align: center;
    margin-bottom: 40px;
}

.competition-header h2 {
    color: white;
    margin-bottom: 10px;
}

.competition-card {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
    border: 5px solid #f1c40f;
    position: relative;
}

.competition-card::before {
    content: "🏆";
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #f1c40f;
    color: #2c3e50;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: linear-gradient(135deg, var(--accent-purple), #8e44ad);
    color: white;
    padding: 20px;
    border-radius: 15px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registration-info {
    text-align: center;
    margin: 30px 0 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: var(--radius);
    border-left: 5px solid #27ae60;
}

.registration-info h3 {
    color: #27ae60;
    margin-bottom: 15px;
}

/* =========== NEWS & EVENTS SECTION =========== */
.news-section {
    background: var(--white);
    padding: 100px 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.news-articles {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    border: 1px solid rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    width: 200px;
    min-width: 200px;
    height: 200px;
    overflow: hidden;
    background: #f0f2f5;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
    flex: 1;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.news-category {
    background: rgba(255, 71, 87, 0.1);
    color: var(--primary-red);
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.news-content h3 {
    margin-bottom: 10px;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.news-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.news-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.news-tag {
    background: rgba(155, 89, 182, 0.1);
    color: var(--accent-purple);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.events-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.events-card {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.events-card h3 {
    color: var(--accent-purple);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f5f9;
    font-size: 1.3rem;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), #FF6B81);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.event-day {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.event-month {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
}

.event-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--text-dark);
}

.event-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* =========== FEATURES SECTION =========== */
.features {
    background: #f8fafc;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: white;
}

/* =========== GALLERY SECTION =========== */
.gallery-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    aspect-ratio: 1/1;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 30px 15px 15px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: #ffd700;
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 600;
}

.gallery-caption p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

.gallery-button-container {
    text-align: center;
    margin-top: 50px;
}

.gallery-button-container .btn {
    min-width: 250px;
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* =========== PARTNERS SECTION =========== */
.partners-section {
    padding: 50px 0;
    background: #f8f9fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.partner-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.partner-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f5;
}

.partner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.partner-card:hover .partner-image img {
    transform: scale(1.1);
}

.partner-info {
    padding: 25px;
}

.partner-info h3 {
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 10px;
}

.partner-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8e44ad;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s;
}

.partner-link:hover {
    gap: 12px;
    color: #764ba2;
}

.partner-cta {
    text-align: center;
    margin-top: 50px;
}

.partner-cta .btn {
    background: #FF4757;
    color: white;
    border: none;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.partner-cta .btn:hover {
    background: #ff6b81;
    transform: translateY(-3px);
}

/* =========== TESTIMONIALS SECTION =========== */
.testimonials {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1a1a2e 100%);
    color: white;
    padding: 100px 0;
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
}

.testimonial-author h4 {
    color: white;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* =========== CTA SECTION =========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* =========== FOOTER =========== */
.main-footer {
    background: var(--dark-bg);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 20px;
    display: inline-block;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* =========== MOBILE FOOTER =========== */
.mobile-footer {
    display: none;
    background: var(--dark-bg);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.mobile-footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.mobile-footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 1rem;
    line-height: 1.6;
}

.mobile-footer .mobile-social-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

/* =========== ANIMATIONS =========== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========== DASHBOARD STYLES =========== */
.dashboard-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-header {
    background: #8e44ad;
    color: white;
    padding: 35px 30px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.student-name {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.school-info {
    font-size: 14px;
    opacity: 0.9;
    margin: 10px 0 0;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.grid-item {
    background: white;
    padding: 25px 20px;
    border-radius: 16px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.grid-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.grid-title {
    font-size: 14px;
    color: #2c3e50;
    font-weight: bold;
    display: block;
    margin-bottom: 12px;
}

.grid-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #8e44ad;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    background: #f8f4ff;
    transition: all 0.3s;
}

.grid-link:hover {
    background: #8e44ad;
    color: white;
}

.practice-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #f1c40f;
    margin-bottom: 30px;
}

.practice-title {
    color: #d35400;
    font-size: 20px;
    margin: 0 0 15px 0;
}

.practice-table {
    width: 100%;
    font-size: 15px;
    border-collapse: collapse;
}

.practice-table th {
    border-bottom: 2px solid #eee;
    color: #8e44ad;
    font-size: 14px;
    padding: 15px 10px;
    text-align: left;
}

.practice-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #f5f5f5;
}

.training-card {
    background: #2c3e50;
    color: white;
    padding: 25px 30px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    border-left: 5px solid #f1c40f;
}

.training-title {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.watch-btn {
    background: #f1c40f;
    color: #2c3e50;
    padding: 12px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.watch-btn:hover {
    background: #f39c12;
    transform: scale(1.05);
}

.logout-bottom {
    width: 100%;
    background: #fff1f1;
    border: 1px solid #ffcccb;
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    color: #d32f2f;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.logout-bottom:hover {
    background: #ffe5e5;
}

/* =========== LOGIN STYLES =========== */
.login-card {
    text-align: center;
    padding: 60px 50px;
}

.login-card h2 {
    color: #8e44ad;
    margin-bottom: 15px;
    font-size: 36px;
}

.login-input {
    width: 100%;
    max-width: 400px;
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 16px;
    transition: border-color 0.3s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-input:focus {
    outline: none;
    border-color: #8e44ad;
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

.login-btn {
    width: 100%;
    max-width: 400px;
    background: #8e44ad;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-btn:hover {
    background: #9b59b6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142, 68, 173, 0.4);
}

.error-message {
    color: #ff4757;
    font-size: 14px;
    margin-top: 20px;
    display: none;
}

/* =========== INFO CARD STYLES =========== */
.info-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-left: 8px solid #7f8c8d;
    max-height: 85vh;
    overflow-y: auto;
}

/* =========== ABOUT PAGE STYLES =========== */
.about-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h1 {
    color: #2c3e50;
    font-size: 42px;
    margin-bottom: 15px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin: 40px 0;
}

.mission-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-top: 4px solid #3498db;
    transition: transform 0.3s;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-card h4 {
    margin: 0 0 15px 0;
    color: #3498db;
    font-size: 22px;
}

.vision-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border-top: 4px solid #f1c40f;
    transition: transform 0.3s;
}

.vision-card:hover {
    transform: translateY(-5px);
}

.vision-card h4 {
    margin: 0 0 15px 0;
    color: #f39c12;
    font-size: 22px;
}

.what-we-do {
    background: #fff9f0;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
}

.what-we-do h3 {
    color: #e67e22;
    font-size: 24px;
    margin-bottom: 15px;
}

.impact-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.impact-list li {
    font-size: 16px;
    color: #444;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
}

.impact-list li i {
    color: #27ae60;
    font-size: 20px;
    width: 30px;
}

/* =========== RESPONSIVE DESIGN =========== */
@media (max-width: 1024px) {
    section {
        padding: 80px 0;
    }
    
    .nav-main-items a span {
        display: none;
    }
    
    .nav-main-items a {
        padding: 8px 12px;
    }
    
    .nav-main-items a i {
        font-size: 1.3rem;
    }
    
    .explore-content {
        left: -100px;
        min-width: 250px;
    }
    
    .game-container {
        gap: 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }

    body {
        padding: 0;
    }

    .navbar {
        padding: 12px 0;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-image {
        height: 40px;
    }

    .hero {
        padding: 140px 0 80px;
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .game-container {
        grid-template-columns: 1fr;
    }
    
    .game-card-showcase {
        padding: 30px 20px;
    }

    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 200px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .training-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .watch-btn {
        width: 100%;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .main-footer {
        display: none;
    }
    
    .mobile-footer {
        display: block;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        aspect-ratio: 16/9;
    }
    
    .gallery-button-container .btn {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }
    
    .btn {
        width: 100%;
        min-width: unset;
    }
    
    .mobile-menu-content {
        padding: 25px;
    }
    
    .mobile-menu-item {
        padding: 15px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .countdown {
        flex-direction: column;
    }
    
    .countdown-item {
        width: 100%;
    }
    
    .registration-info {
        padding: 20px 15px;
    }
    
    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        width: 50px;
        height: 50px;
    }
    
    .event-day {
        font-size: 1.2rem;
    }
    
    .login-card {
        padding: 40px 25px;
    }
    
    .login-card h2 {
        font-size: 28px;
    }
    
    .about-header h1 {
        font-size: 32px;
    }
}

        /* Additional styles specific to playing cards page */
        .game-page {
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }
        
        .info-card {
            background: #fffcfc;
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
        }
        
        .shorts-video-container {
            max-width: 400px;
            margin: 0 auto;
        }
        
        .shorts-video-wrapper {
            position: relative;
            padding-bottom: 177.77%; /* 9:16 aspect ratio for vertical video */
            height: 0;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        }
        
        .shorts-video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }
        
        @media (max-width: 768px) {
            .game-page {
                padding: 20px 15px;
            }
            
            .info-card {
                padding: 20px;
            }
        }

        /* Additional styles for sponsorship page */
        .sponsorship-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .sponsorship-card {
            background: #ffffff;
            border-radius: 30px;
            padding: 50px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            border-left: 8px solid #e67e22;
        }

        .sponsorship-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .sponsorship-header h1 {
            color: #d35400;
            font-size: 42px;
            margin-bottom: 15px;
        }

        .sponsorship-header p {
            font-size: 18px;
            color: #444;
            font-weight: 600;
        }

        .sponsorship-description {
            font-size: 16px;
            color: #666;
            line-height: 1.8;
            margin-bottom: 30px;
            text-align: center;
            max-width: 800px;
            margin-left: auto;
            margin-right: auto;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 30px 0;
        }

        .benefit-item {
            background: #fff8f0;
            padding: 20px;
            border-radius: 15px;
            border-left: 4px solid #e67e22;
        }

        .benefit-item h4 {
            color: #d35400;
            font-size: 16px;
            margin-bottom: 10px;
        }

        .benefit-item p {
            font-size: 14px;
            color: #555;
            margin: 0;
            line-height: 1.5;
        }

        .rewards-section {
            margin: 40px 0;
        }

        .rewards-section h3 {
            color: #2c3e50;
            font-size: 24px;
            border-bottom: 2px solid #eee;
            padding-bottom: 15px;
            margin-bottom: 20px;
        }

        .rewards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            background: #f9f9f9;
            padding: 25px;
            border-radius: 15px;
        }

        .reward-tag {
            background: white;
            padding: 12px;
            border-radius: 10px;
            text-align: center;
            font-size: 14px;
            color: #444;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .placement-list {
            list-style: none;
            padding: 0;
            margin: 20px 0;
        }

        .placement-list li {
            font-size: 15px;
            color: #444;
            padding: 12px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .placement-list li i {
            color: #e67e22;
            width: 24px;
        }

        .cta-section {
            background: #2c3e50;
            color: white;
            padding: 40px;
            border-radius: 25px;
            margin-top: 40px;
            text-align: center;
        }

        .cta-section h3 {
            color: #f1c40f;
            font-size: 28px;
            margin-bottom: 15px;
        }

        .cta-section p {
            font-size: 15px;
            opacity: 0.9;
            margin-bottom: 25px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
            max-width: 400px;
            margin: 0 auto;
        }

        .btn-whatsapp {
            width: 100%;
            background: #25d366;
            color: white;
            text-decoration: none;
            padding: 16px 30px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 16px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-whatsapp:hover {
            background: #20bd5a;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
        }

        .btn-email {
            width: 100%;
            background: #e67e22;
            color: white;
            text-decoration: none;
            padding: 16px 30px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 16px;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .btn-email:hover {
            background: #d35400;
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(230, 126, 34, 0.4);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sponsorship-card {
                padding: 30px 20px;
            }

            .sponsorship-header h1 {
                font-size: 32px;
            }

            .benefits-grid {
                grid-template-columns: 1fr;
            }

            .rewards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 480px) {
            .rewards-grid {
                grid-template-columns: 1fr;
            }
        }

        /* Footer logo image styles */
        .footer-logo img, .mobile-footer-logo img {
            height: 35px;
            width: auto;
        }