/* ============================================
   CSS Variables & Theme
   ============================================ */
:root {
    /* Colors */
    --primary-color: #3b82f6;
    --secondary-color: #dc2626;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --bg-color: #0a0e27;
    --darker-bg: #050812;
    --card-bg: rgba(15, 23, 42, 0.8);
    --card-bg-glass: rgba(15, 23, 42, 0.6);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --gradient-secondary: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    
    /* Glass Morphism */
    --blur-glass: blur(10px);
    
    /* Shadows */
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --box-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --box-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
    
    /* Border Radius */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --border-radius-large: 20px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Fonts */
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.9) 0%, rgba(10, 14, 39, 0.7) 100%);
}

.navbar {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--text-color);
}

.logo h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Language Selector */
.language-selector-wrapper {
    position: relative;
}

.language-selector {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    min-width: 100px;
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.language-selector:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.language-selector option {
    background: var(--darker-bg);
    color: var(--text-color);
    padding: 0.5rem;
}

/* RTL Support for Arabic */
[dir="rtl"] .language-selector {
    padding: 0.5rem 0.75rem 0.5rem 2rem;
    background-position: left 0.75rem center;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

.nav-links li a {
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--text-color);
}

.nav-links li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

.btn-discord {
    background: #5865F2;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* ============================================
   Hero Sections
   ============================================ */
.hero {
    position: relative;
    min-height: 60vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
        max-height: 500px;
        padding: 3rem 0 1.5rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero RP, PvP, Store - Taille réduite et cohérente */
.hero-rp,
.hero-pvp,
.hero-store {
    position: relative;
    min-height: 25vh;
    max-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 1.5rem;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Responsive pour hero sections */
@media (max-width: 768px) {
    .hero-rp,
    .hero-pvp,
    .hero-store {
        min-height: 20vh;
        max-height: 300px;
        padding: 2rem 0 1rem;
    }
}

.hero-rp::before,
.hero-pvp::before,
.hero-store::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.85) 0%, rgba(10, 14, 39, 0.7) 100%);
    z-index: 1;
}

.hero-rp-content,
.hero-pvp-content,
.hero-store-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Styles cohérents pour le contenu hero */
.hero-rp-content h1,
.hero-pvp-content h1,
.hero-store-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.hero-rp-content .hero-description,
.hero-pvp-content .hero-description,
.hero-store-content .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-stats-rp,
.hero-stats-pvp {
    margin: 1rem 0;
    gap: 1rem;
}

.stat-box-hero {
    padding: 0.75rem 1rem;
}

.hero-actions {
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.hero-actions .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero-rp-content h1,
    .hero-pvp-content h1,
    .hero-store-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats-rp,
    .hero-stats-pvp {
        gap: 0.5rem;
    }
    
    .stat-box-hero {
        padding: 0.5rem 0.75rem;
    }
}

.hero-rp h1,
.hero-pvp h1,
.hero-store h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.server-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    color: var(--success-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.hero-stats-rp,
.hero-stats-pvp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-box-hero {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-box-hero:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--box-shadow-lg);
}

.stat-box-hero i {
    font-size: 2rem;
    color: var(--accent-color);
}

.stat-number-hero {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stat-label-hero {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.connect-btn {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(59, 130, 246, 0.6);
    }
}

/* ============================================
   Cards
   ============================================ */
.info-card,
.feature-card,
.product-card {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
}

.info-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--box-shadow-lg);
}

.info-icon,
.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.info-card h3,
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.info-details {
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 100px;
}

.info-value {
    flex: 1;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
}

.copy-btn,
.connect-link-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.copy-btn:hover,
.connect-link-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.features-list li i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-mini {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-small);
}

.stat-mini-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stat-mini-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Server Info Section
   ============================================ */
.server-info-section {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ============================================
   Features Section
   ============================================ */
.rp-features,
.pvp-features-section {
    padding: 5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
}

.feature-card p {
    margin-bottom: 1rem;
}

.features-grid-pvp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card-pvp {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.feature-card-pvp:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--box-shadow-lg);
}

.feature-icon-pvp {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card-pvp h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card-pvp p {
    color: var(--text-muted);
}

/* ============================================
   RP Intro Section
   ============================================ */
.rp-intro {
    padding: 5rem 0;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-content.reverse {
    grid-template-columns: 1fr 1fr;
}

.section-content.reverse .text-content {
    order: 2;
}

.section-content.reverse .image-content {
    order: 1;
}

.text-content {
    padding: 2rem 0;
}

.image-content {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 39, 0.8) 100%);
    pointer-events: none;
}

.server-stats-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.stat-box {
    flex: 1;
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Additional Features
   ============================================ */
.rp-additional-features {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.additional-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.additional-feature-card {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.additional-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--box-shadow-lg);
}

.additional-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.additional-feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.additional-feature-card p {
    color: var(--text-muted);
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    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(180deg, transparent 0%, rgba(10, 14, 39, 0.95) 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.gallery-caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   PvP Modes
   ============================================ */
.pvp-modes {
    padding: 5rem 0;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

@media (min-width: 1200px) {
    .modes-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1400px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mode-card {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 500px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.mode-card > * {
    flex-shrink: 0;
}

.mode-card .ffa-details,
.mode-card .duo-details,
.mode-card .private-details {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
}

.mode-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--box-shadow-xl);
}

.mode-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.mode-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.mode-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.mode-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.mode-card p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.mode-card .features-list {
    text-align: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mode-card .features-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mode-card .features-list li i {
    color: var(--accent-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.mode-card .features-list li span {
    flex: 1;
    color: var(--text-muted);
}

.mode-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    align-items: center;
}

.mode-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

.mode-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.mode-stats i {
    color: var(--secondary-color);
}

/* ============================================
   Leaderboard
   ============================================ */
.leaderboard {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 2rem;
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    border-color: var(--secondary-color);
    color: var(--text-color);
}

.tab-btn.active {
    background: var(--gradient-secondary);
    border-color: transparent;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.leaderboard-container {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table thead {
    background: rgba(220, 38, 38, 0.1);
}

.leaderboard-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-table tbody tr:last-child td {
    border-bottom: none;
}

.rank {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.25rem;
}

.player {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
}

.player-avatar.glow {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-name {
    font-weight: 600;
    color: var(--text-color);
}

.player-level {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.kda {
    font-weight: 600;
}

.kda.positive {
    color: var(--success-color);
}

.score {
    font-weight: 600;
    color: var(--text-color);
}

.level-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.level-badge.elite {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #f59e0b;
}

.level-badge.master {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #8b5cf6;
}

.level-badge.expert {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
}

/* ============================================
   Server Status
   ============================================ */
.server-status {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.status-card {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.status-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-lg);
}

.status-card.online {
    border-color: rgba(16, 185, 129, 0.3);
}

.status-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.status-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.status-card .status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--success-color);
    font-weight: 600;
}

.players {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.status-info {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-info span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-info i {
    color: var(--accent-color);
}

.status-pulse {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

/* ============================================
   Server Showcase
   ============================================ */
.servers-section {
    padding: 5rem 0;
}

.server-showcase {
    margin: 4rem 0;
}

.rp-showcase {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 4rem 0;
    border-radius: var(--border-radius-large);
}

.pvp-showcase {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(153, 27, 27, 0.05) 100%);
    padding: 4rem 0;
    border-radius: var(--border-radius-large);
}

.server-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.server-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.server-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.server-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ============================================
   Store Preview
   ============================================ */
.store-preview {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.store-intro {
    margin-bottom: 3rem;
}

.store-intro-card {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.store-intro-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.store-intro-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.store-intro-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-badge-new,
.product-badge-popular {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge-new {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--success-color);
}

.product-badge-popular {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: var(--warning-color);
}

.product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--darker-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 600;
}

.product-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-footer .price {
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
}

/* ============================================
   Product Page
   ============================================ */
.product-hero {
    padding: 8rem 0 4rem;
    background: var(--darker-bg);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--accent-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.main-image img {
    width: 100%;
    height: auto;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius-small);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover {
    border-color: var(--accent-color);
}

.product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin: 1.5rem 0;
}

.product-actions {
    margin-top: 2rem;
}

.add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-card {
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.about-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-highlight {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
}

.feature-highlight i {
    color: var(--success-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.feature-highlight h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.feature-highlight p {
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Footer - Professional & Modern Design
   ============================================ */
.footer {
    background: linear-gradient(180deg, rgba(5, 8, 18, 0.95) 0%, rgba(3, 5, 12, 1) 100%);
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.5) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    max-width: 350px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-logo h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-logo h3 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.footer-logo p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social .social-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.footer-social .social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.footer-social .social-icon:hover::before {
    width: 100px;
    height: 100px;
}

.footer-social .social-icon:hover {
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.footer-social .social-icon > * {
    position: relative;
    z-index: 1;
}

.footer-links {
    position: relative;
}

.footer-links h4 {
    margin-bottom: 1.25rem;
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.875rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-size: 0.95rem;
    position: relative;
    padding-left: 0;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
    padding-left: 12px;
    transform: translateX(4px);
}

.footer-links ul li a:hover::before {
    width: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom p:first-child {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-logo {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-logo {
        grid-column: 1;
    }
    
    .footer-logo img {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links ul li a:hover {
        padding-left: 0;
        transform: none;
    }
    
    .footer-links ul li a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-links h4 {
        font-size: 1rem;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fade-in {
    animation: fade-in 0.8s ease-out;
}

.fade-in-delay-1 {
    animation: fade-in 0.8s ease-out 0.1s both;
}

.fade-in-delay-2 {
    animation: fade-in 0.8s ease-out 0.2s both;
}

.fade-in-delay-3 {
    animation: fade-in 0.8s ease-out 0.3s both;
}

.fade-in-delay-4 {
    animation: fade-in 0.8s ease-out 0.4s both;
}

.fade-in-delay-5 {
    animation: fade-in 0.8s ease-out 0.5s both;
}

.slide-in-left {
    animation: slide-in-left 0.8s ease-out;
}

.slide-in-right {
    animation: slide-in-right 0.8s ease-out;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.parallax {
    transition: transform 0.3s ease-out;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .section-content,
    .about-content,
    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-content.reverse .text-content,
    .section-content.reverse .image-content {
        order: 0;
    }
    
    .hero-stats-rp,
    .hero-stats-pvp {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Mobile styles are now in mobile-optimized.css
   This ensures better organization and no conflicts
   All mobile styles have been moved to assets/css/mobile-optimized.css
   ============================================ */

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
    display: none !important;
}

.text-muted {
    color: var(--text-muted);
}

.error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.error-icon {
    font-size: 4rem;
    color: var(--warning-color);
    margin-bottom: 1rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    padding: 0.75rem 1rem;
    background: var(--card-bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.page-btn:hover,
.page-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* ============================================
   Enhanced Cart Animations
   ============================================ */

/* Cart count badge animations */
.cart-count-badge {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count-bounce {
    animation: cartCountBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-count-pulse {
    animation: cartCountPulse 0.4s ease-out;
}

@keyframes cartCountBounce {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.3) rotate(-5deg);
    }
    50% {
        transform: scale(1.2) rotate(5deg);
    }
    75% {
        transform: scale(1.1) rotate(-2deg);
    }
}

@keyframes cartCountPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Cart sidebar animations */
@keyframes cartSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes cartSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes cartSlideInRTL {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes cartSlideOutRTL {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Cart item animations */
.cart-item {
    animation: cartItemFadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.cart-item-new {
    animation: cartItemSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cartItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cartItemSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px) scale(0.9);
    }
    60% {
        transform: translateX(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.cart-item-removing {
    animation: cartItemSlideOut 0.3s ease-in forwards;
}

@keyframes cartItemSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
        max-height: 200px;
        margin-bottom: 1rem;
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.8);
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Price update animation */
.price-update {
    animation: priceUpdate 0.6s ease-out;
}

@keyframes priceUpdate {
    0%, 100% {
        transform: scale(1);
        color: inherit;
    }
    50% {
        transform: scale(1.1);
        color: var(--success-color);
    }
}

/* Add to cart button success animation */
.add-to-cart-btn.add-to-cart-success {
    animation: addToCartSuccess 0.6s ease-out;
}

@keyframes addToCartSuccess {
    0% {
        transform: scale(1);
        background: var(--gradient-primary);
    }
    50% {
        transform: scale(0.95);
        background: linear-gradient(135deg, var(--success-color) 0%, rgba(16, 185, 129, 0.8) 100%);
    }
    100% {
        transform: scale(1);
        background: var(--gradient-primary);
    }
}

/* Quantity control animations */
.quantity-value {
    transition: all 0.2s ease;
}

.quantity-value.updating {
    animation: quantityUpdate 0.3s ease-out;
}

@keyframes quantityUpdate {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
        color: var(--accent-color);
    }
}

