/* Modern Home Page Styles */

/* Main Content */
.main-content {
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2332 50%, #2c3e50 100%);
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #2c3e50 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.animated-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='10' cy='10' r='1' fill='%2300d4ff' opacity='0.3'/%3E%3Ccircle cx='90' cy='20' r='1.5' fill='%2374b9ff' opacity='0.4'/%3E%3Ccircle cx='30' cy='70' r='1' fill='%2300d4ff' opacity='0.2'/%3E%3Ccircle cx='70' cy='80' r='1.2' fill='%2374b9ff' opacity='0.3'/%3E%3C/svg%3E") repeat;
    animation: particleFloat 20s linear infinite;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(116, 185, 255, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 700;
}

.brand-logo i {
    font-size: 2rem;
    color: #00d4ff;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #00d4ff; /* Fallback color */
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

/* Ensure text is visible if gradient text doesn't work */
@supports not (-webkit-background-clip: text) {
    .hero-title {
        color: #00d4ff !important;
        -webkit-text-fill-color: #00d4ff !important;
    }
}

/* App Analytics Card - Creative and Visual Styling */
.app-analytics-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(116, 185, 255, 0.03) 100%);
    border: 2px solid rgba(0, 212, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.app-analytics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(116, 185, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.app-analytics-card .card-header {
    position: relative;
    z-index: 2;
}

.app-analytics-card .card-icon {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 8px 35px rgba(0, 212, 255, 0.5); }
}

.analytics-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Analytics Overview Section */
.analytics-overview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 10px;
}

.metric-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 15px;
    padding: 18px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.6), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.metric-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.metric-value {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    animation: count-up 2s ease-out;
}

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

.metric-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    line-height: 1.2;
}

.metric-change {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.metric-change.positive {
    color: #2ecc71;
}

.metric-change i {
    font-size: 0.7rem;
    animation: bounce-up 1.5s ease-in-out infinite;
}

@keyframes bounce-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes pulse-bar {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
    100% { transform: scaleY(1); }
}

.app-analytics-card.animate-in {
    animation: slide-in-up 0.8s ease-out;
}

@keyframes slide-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Analytics Chart Section */
.analytics-chart {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.chart-period {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.mini-chart {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 80px;
    gap: 4px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05) 0%, transparent 100%);
    border-radius: 10px;
    position: relative;
}

.mini-chart::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #00d4ff 0%, #74b9ff 100%);
    border-radius: 4px 4px 0 0;
    min-height: 20px;
    position: relative;
    animation: grow-up 1.5s ease-out;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.chart-bar:hover {
    background: linear-gradient(180deg, #00d4ff 0%, #00a8cc 100%);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    transform: scaleY(1.1);
}

@keyframes grow-up {
    from { height: 0; opacity: 0; }
    to { height: var(--height, 50%); opacity: 1; }
}

/* Platform Breakdown Section */
.platform-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.platform-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.1), rgba(116, 185, 255, 0.05));
    transition: width 0.5s ease;
}

.platform-item:hover::before {
    width: 100%;
}

.platform-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-color: rgba(0, 212, 255, 0.2);
}

.platform-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(116, 185, 255, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    font-size: 1.1rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
    flex-shrink: 0;
}

.platform-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.platform-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.platform-percentage {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.highlight-text {
    display: block;
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
    color: inherit;
    background: inherit;
    -webkit-background-clip: inherit;
    -webkit-text-fill-color: inherit;
    background-clip: inherit;
}

.highlight-text:nth-child(1) { animation-delay: 0.2s; }
.highlight-text:nth-child(2) { animation-delay: 0.4s; }
.highlight-text:nth-child(3) { animation-delay: 0.6s; }

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.primary-btn, .secondary-btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-showcase {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 600px;
    perspective: 1200px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.4));
}

.game-preview {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transform: rotateY(-90deg) translateZ(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.game-preview.active {
    opacity: 1;
    transform: rotateY(0deg) translateZ(0px);
}

/* Carousel-specific game preview animation */
.game-preview:not(.active) {
    pointer-events: none;
}

/* Mobile responsive adjustments for game showcase */
@media (max-width: 768px) {
    .showcase-banner {
        max-width: 280px;
    }
    
    .game-title {
        font-size: 1.4rem;
    }
    
    .game-description {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .game-rating {
        gap: 15px;
        padding: 12px 15px;
    }
    
    .rating-text {
        font-size: 0.9rem;
    }
    
    .game-content {
        padding: 15px;
    }
    
    .game-screen {
        padding: 20px;
    }
}

.game-screen {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 25px;
    height: 100%;
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.game-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.game-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, transparent 50%, rgba(116, 185, 255, 0.05) 100%);
    pointer-events: none;
    border-radius: 25px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.screen-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #74b9ff);
    border-radius: 1px;
}

.game-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.players-count {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(116, 185, 255, 0.15) 100%);
    color: #00d4ff;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(0, 212, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.game-content {
    height: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
}

/* Game Banner Display */
.game-banner-display {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 50%, #34495e 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.game-banner-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.showcase-banner {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-bottom: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.showcase-banner:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 212, 255, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 212, 255, 0.4);
}

.game-overlay {
    text-align: center;
    color: white;
    width: 100%;
    padding: 0 25px;
    position: relative;
    z-index: 2;
}

.game-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
}

.game-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    display: flex;
    gap: 4px;
}

.stars i {
    color: #ffd700;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    transition: all 0.3s ease;
}

.stars i:hover {
    transform: scale(1.2);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

.rating-text {
    font-size: 1rem;
    font-weight: 800;
    color: #00d4ff;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    letter-spacing: 0.5px;
}

.game-selector {
    display: flex;
    gap: 18px;
    margin-top: 35px;
    justify-content: center;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    position: relative;
}

.game-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.game-dot:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.game-dot:hover::before {
    background: rgba(255, 255, 255, 0.7);
    transform: translate(-50%, -50%) scale(1.2);
}

.game-dot.active {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    border-color: #00d4ff;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 4px 15px rgba(0, 212, 255, 0.3);
    transform: scale(1.3);
}

.game-dot.active::before {
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) scale(1.5);
}

.game-dot.active:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    box-shadow: 
        0 0 25px rgba(0, 212, 255, 0.8),
        0 6px 20px rgba(0, 212, 255, 0.4);
    transform: scale(1.35);
}

/* Game Categories Section */
.game-categories-section {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.games-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-game-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(116, 185, 255, 0.1) 100%);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.featured-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.game-thumbnail {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.game-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.game-thumbnail:hover .game-banner-img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background: #00d4ff;
    transform: scale(1.1);
}

.game-info h3 {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 10px;
}

.game-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.game-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.players-online,
.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.rating i {
    color: #ffd700;
}

.play-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.game-card.modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-card.modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.game-card.modern:hover::before {
    left: 100%;
}

.game-card.modern:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-header .game-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(116, 185, 255, 0.2) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.4);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2ecc71;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #2ecc71;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.game-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.game-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.player-count {
    font-size: 0.9rem;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 20px;
}

.quick-play-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(116, 185, 255, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quick-play-btn:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    color: white;
    border-color: transparent;
}

.section-footer {
    text-align: center;
    margin-top: 60px;
}

.explore-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.explore-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(26, 35, 50, 0.3) 100%);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

/* Specific styling for community-stats card */
.feature-card.community-stats {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-card.community-stats .stats-grid {
    flex: 1;
    align-content: start;
    width: 100%;
    margin: 0;
}

.feature-card.community-stats .card-header {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.news-items {
    margin-bottom: 25px;
}

.news-item {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #00d4ff;
}

.news-badge {
    position: absolute;
    top: -15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-badge.new {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.news-badge.update {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.news-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.news-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.leaderboard-list {
    margin-bottom: 25px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.leaderboard-item.champion {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.rank-badge {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
}

.rank-number {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.player-info {
    flex: 1;
}

.player-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.player-level {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.player-score {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00d4ff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.stat-box:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.3);
}

.stat-value {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-label {
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 600;
    white-space: nowrap;
    margin-top: auto;
}

.stat-trend.up {
    color: #2ecc71;
}

.stat-stars {
    color: #ffd700;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: auto;
    white-space: nowrap;
}

.card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(116, 185, 255, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-action:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2332 0%, #0f1419 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M20 20h60v60h-60z' fill='none' stroke='%2300d4ff' stroke-width='0.5' opacity='0.1'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%2374b9ff' stroke-width='0.5' opacity='0.1'/%3E%3C/svg%3E") repeat;
    animation: patternMove 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 40px;
}

.cta-text h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 22px;
    line-height: 1.15;
    background: linear-gradient(90deg, #00d4ff 0%, #74b9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0,212,255,0.15);
    letter-spacing: -1px;
    animation: ctaTitlePop 1.2s cubic-bezier(.23,1.02,.64,1.01) both;
}
@keyframes ctaTitlePop {
  0% { opacity: 0; transform: scale(0.95) translateY(30px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.cta-text p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    max-width: 500px;
    line-height: 1.6;
    animation: fadeInUp 1.4s 0.2s both;
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 32px;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    background: rgba(0,212,255,0.07);
    border-radius: 12px;
    padding: 8px 16px;
    box-shadow: 0 2px 12px rgba(0,212,255,0.04);
    transition: background 0.3s;
}
.feature-point i {
    color: #2ecc71;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 6px rgba(46,204,113,0.3));
}
.feature-point:hover {
    background: rgba(0,212,255,0.13);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 10px;
}

.cta-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 44px;
    background: linear-gradient(135deg, #00d4ff 0%, #74b9ff 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.23,1.02,.64,1.01);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    max-width: 320px;
    animation: ctaBtnPop 1.2s 0.3s both;
    position: relative;
    overflow: hidden;
}
.cta-primary-btn::after {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg,rgba(255,255,255,0.08) 0%,rgba(0,212,255,0.12) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.cta-primary-btn:hover::after {
    opacity: 1;
}
.cta-primary-btn:hover {
    transform: scale(1.04) translateY(-3px) rotate(-1deg);
    box-shadow: 0 25px 60px rgba(0,212,255,0.35);
}
@keyframes ctaBtnPop {
  0% { opacity: 0; transform: scale(0.95) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.download-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}
.download-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.13);
    border-radius: 25px;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    font-size: 1.05rem;
    box-shadow: 0 2px 10px rgba(0,212,255,0.07);
}
.download-link:hover {
    background: rgba(0,212,255,0.13);
    border-color: #00d4ff;
    color: #00d4ff;
    transform: scale(1.04) translateY(-2px);
}

.cta-visual {
    position: relative;
    height: 450px;
    min-height: 300px;
    z-index: 2;
    animation: fadeInUp 1.2s 0.2s both;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Floating Games Icons Component */
.floating-games-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-game-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    animation: floatGameIcon 6s ease-in-out infinite;
    animation-delay: var(--delay);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 4px 16px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-game-icon:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-duration: 5.5s;
}

.floating-game-icon:nth-child(2) {
    top: 10%;
    right: 20%;
    animation-duration: 6.2s;
}

.floating-game-icon:nth-child(3) {
    bottom: 30%;
    left: 25%;
    animation-duration: 5.8s;
}

.floating-game-icon:nth-child(4) {
    bottom: 15%;
    right: 15%;
    animation-duration: 6.5s;
}

.floating-game-icon:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-duration: 5.2s;
}

.floating-game-icon:nth-child(6) {
    top: 40%;
    right: 8%;
    animation-duration: 6.8s;
}

.floating-game-icon:nth-child(7) {
    bottom: 45%;
    right: 35%;
    animation-duration: 5.9s;
}

@keyframes floatGameIcon {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 0.9;
    }
    25% {
        transform: translateY(-10px) scale(1.02) rotate(2deg);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-20px) scale(1.05) rotate(-1deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) scale(1.02) rotate(1deg);
        opacity: 0.95;
    }
}

.floating-game-icon:hover {
    transform: scale(1.2) translateZ(10px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 15px 50px rgba(59, 130, 246, 0.3),
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.game-icon-img {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.floating-game-icon:hover .game-icon-img {
    filter: brightness(1.3) contrast(1.2) saturate(1.2);
    transform: scale(1.05);
}

.game-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 25px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: gameGlow 4s ease-in-out infinite alternate;
    animation-delay: var(--delay);
    z-index: -1;
}

@keyframes gameGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, #00d4ff, #74b9ff);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: particleFloat 8s ease-in-out infinite;
    animation-delay: var(--delay);
    opacity: 0.7;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(-5px) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-20px) translateX(-10px) scale(1.1);
        opacity: 0.6;
    }
}

.connection-web {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-svg {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.connection-path {
    fill: none;
    stroke: url(#gameGradient);
    stroke-width: 1;
    stroke-dasharray: 5,5;
    animation: connectionFlow 10s linear infinite;
}

@keyframes connectionFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 100; }
}

.earth-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.earth {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #1e40af 0%, #3b82f6 30%, #10b981 70%, #059669 100%); */
    box-shadow: 
        0 0 50px rgba(59, 130, 246, 0.3),
        inset -20px -20px 40px rgba(0, 0, 0, 0.3),
        inset 10px 10px 20px rgba(255, 255, 255, 0.1);
    animation: earthRotation 20s linear infinite;
    transform-origin: center center;
    z-index: 2;
}

@keyframes earthRotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.earth-surface {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.continent {
    position: absolute;
    /* background: #10b981; */
    border-radius: 50%;
    opacity: 0.7;
}

.continent-1 {
    width: 40px;
    height: 25px;
    top: 30%;
    left: 20%;
    border-radius: 20px 10px 15px 8px;
}

.continent-2 {
    width: 35px;
    height: 30px;
    top: 50%;
    right: 25%;
    border-radius: 15px 20px 10px 18px;
}

.continent-3 {
    width: 30px;
    height: 20px;
    bottom: 30%;
    left: 30%;
    border-radius: 12px 8px 20px 15px;
}

.continent-4 {
    width: 25px;
    height: 15px;
    bottom: 40%;
    right: 30%;
    border-radius: 10px 15px 8px 12px;
}

.continent-5 {
    width: 20px;
    height: 12px;
    top: 20%;
    right: 40%;
    border-radius: 8px 12px 15px 10px;
}

.earth-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    animation: earthGlow 3s ease-in-out infinite alternate;
}

@keyframes earthGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

.floating-players {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.player-bubble {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
    transition: all 0.3s ease;
    min-width: 80px;
    z-index: 3;
}

.player-bubble:nth-child(1) {
    top: 15%;
    left: 10%;
    animation: floatPlayer 4s ease-in-out infinite;
}

.player-bubble:nth-child(2) {
    top: 20%;
    right: 15%;
    animation: floatPlayer 4s ease-in-out infinite 0.5s;
}

.player-bubble:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation: floatPlayer 4s ease-in-out infinite 1s;
}

.player-bubble:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation: floatPlayer 4s ease-in-out infinite 1.5s;
}

.player-bubble:nth-child(5) {
    top: 50%;
    left: 5%;
    animation: floatPlayer 4s ease-in-out infinite 2s;
}

.player-bubble:nth-child(6) {
    top: 60%;
    right: 5%;
    animation: floatPlayer 4s ease-in-out infinite 2.5s;
}

@keyframes floatPlayer {
    0%, 100% { 
        transform: translateY(0) scale(1) rotate(0deg); 
        opacity: 0.9;
    }
    50% { 
        transform: translateY(-15px) scale(1.05) rotate(2deg); 
        opacity: 1;
    }
}

.player-bubble:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.player-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.player-name {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.player-country {
    font-size: 1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
    animation: connectionPulse 3s ease-in-out infinite;
    transform-origin: center;
}

.line-1 {
    top: 25%;
    left: 20%;
    width: 120px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.line-2 {
    top: 30%;
    right: 25%;
    width: 100px;
    transform: rotate(-30deg);
    animation-delay: 0.5s;
}

.line-3 {
    bottom: 35%;
    left: 25%;
    width: 110px;
    transform: rotate(60deg);
    animation-delay: 1s;
}

.line-4 {
    bottom: 30%;
    right: 30%;
    width: 90px;
    transform: rotate(-45deg);
    animation-delay: 1.5s;
}

.line-5 {
    top: 55%;
    left: 15%;
    width: 130px;
    transform: rotate(15deg);
    animation-delay: 2s;
}

.line-6 {
    top: 65%;
    right: 15%;
    width: 105px;
    transform: rotate(-60deg);
    animation-delay: 2.5s;
}

@keyframes connectionPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.1);
    }
}

/* --- End Enhanced CTA Section Styles --- */

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes particleFloat {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes networkPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

@keyframes dataFlow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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



.game-indicators {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Featured Game Visual */
.featured-game-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-screen-mock {
    width: 500px;
    height: 350px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    position: relative;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ocho-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.card {
    width: 60px;
    height: 90px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: cardFloat 2s ease-in-out infinite;
}

.card.red { color: #e74c3c; animation-delay: 0s; }
.card.blue { color: #3498db; animation-delay: 0.5s; }
.card.green { color: #27ae60; animation-delay: 1s; }
.card.yellow { color: #f39c12; animation-delay: 1.5s; }

.your-turn-badge {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: #f39c12;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.floating-cards {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
}

.floating-card {
    width: 30px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    animation: floatUp 3s ease-in-out infinite;
}

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

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
}

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

/* Best Games Section */
.best-games-section {
    padding: 80px 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.see-more-link {
    color: #74b9ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.see-more-link:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.game-image {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

/* Game Images Styles */
.match-monsters { background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%); }
.match-monsters::after { content: '🦄'; }

.brawlbots { background: linear-gradient(135deg, #5f27cd 0%, #341f97 100%); }
.brawlbots::after { content: '🤖'; }

.bounce { background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%); }
.bounce::after { content: '⚪🔴🟡🔵🟢🟣'; font-size: 1.5rem; }

.plox { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.plox::after { content: '🔲'; }

.blitz-league { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.blitz-league::after { content: '⚽'; }

.dice-party { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.dice-party::after { content: '🎲🎲🎲'; font-size: 1.8rem; }

.ludo { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.ludo::after { content: '🟢🔴🟡🔵'; font-size: 1.5rem; }

.bingo { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.bingo::after { content: '🅱️🎱🎯🎪'; font-size: 1.2rem; }

.four-in-row { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.four-in-row::after { content: '😊😊😊😡'; font-size: 1.5rem; }

.dominoes { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.dominoes::after { content: '⚫⚪'; }

.ocho { background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); }
.ocho::after { content: '🎯'; }

.cribbage { background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%); }
.cribbage::after { content: '🃏'; }

.gin-rummy { background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%); }
.gin-rummy::after { content: '🂡🂢🂣'; font-size: 1.5rem; }

.go-fish { background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%); }
.go-fish::after { content: '🐠💰'; }

.spades { background: linear-gradient(135deg, #2d3436 0%, #636e72 100%); }
.spades::after { content: '♠️♠️'; }

.game-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* News Highlights */
.news-highlights {
    padding: 80px 50px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.news-article-preview {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-article-preview:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.article-image {
    width: 100%;
    max-width: 540px;
    display: block;
    margin: 0 auto 24px auto;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,212,255,0.10);
}

.town-illustration {
    background: linear-gradient(135deg, #55a3ff 0%, #003d82 100%);
}

.reactor-illustration {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.article-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-badge {
    background: #e74c3c;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.article-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Leaderboard Preview */
.leaderboard-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: fit-content;
}

.leaderboard-preview h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 30px 1fr auto;
    gap: 15px;
    align-items: center;
    padding:  10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.rank {
    color: #74b9ff;
    font-weight: bold;
    font-size: 1.1rem;
}

.player {
    color: white;
    font-weight: 500;
}

.score {
    color: #00d4ff;
    font-weight: bold;
}

.view-full-leaderboard {
    display: block;
    text-align: center;
    color: #74b9ff;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-full-leaderboard:hover {
    color: #00d4ff;
    text-decoration: underline;
}

/* About Highlight */
.about-highlight {
    padding: 80px 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2332 100%);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content .section-title {
    margin-bottom: 30px;
}

.about-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 10px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.learn-more-btn {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(116, 185, 255, 0.3);
}

/* About Visual */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-illustration {
    width: 300px;
    height: 300px;
    position: relative;
    background: radial-gradient(circle, rgba(116, 185, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-avatar {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: avatarFloat 4s ease-in-out infinite;
}

.player-avatar:nth-child(1) {
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.player-avatar:nth-child(2) {
    bottom: 20%;
    left: 20%;
    animation-delay: 1.3s;
}

.player-avatar:nth-child(3) {
    bottom: 20%;
    right: 20%;
    animation-delay: 2.6s;
}

.game-icons-floating {
    position: absolute;
    width: 100%;
    height: 100%;
}

.game-icons-floating span {
    position: absolute;
    font-size: 2rem;
    animation: iconFloat 6s ease-in-out infinite;
}

.game-icons-floating span:nth-child(1) {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.game-icons-floating span:nth-child(2) {
    top: 50%;
    left: 5%;
    animation-delay: 1.5s;
}

.game-icons-floating span:nth-child(3) {
    bottom: 30%;
    right: 5%;
    animation-delay: 3s;
}

.game-icons-floating span:nth-child(4) {
    top: 70%;
    left: 40%;
    animation-delay: 4.5s;
}

@keyframes avatarFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.1); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-15px) rotate(180deg); opacity: 1; }
}

/* News Page Specific Styles */
.news-main {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    min-height: 100vh;
    padding: 80px 50px;
}

.news-header {
    max-width: 1400px;
    margin: 0 auto 60px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.news-title {
    font-size: 3rem;
    color: white;
    font-weight: 900;
    margin: 0;
}

.pagination {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.page-btn.active {
    background: #74b9ff;
    color: white;
}

.page-dots {
    color: rgba(255, 255, 255, 0.5);
    font-weight: bold;
    padding: 0 10px;
}

.news-articles {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.news-article {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-article:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.article-image {
    width: 100%;
    max-width: 540px;
    display: block;
    margin: 0 auto 24px auto;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,212,255,0.10);
}

.town-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.building {
    font-size: 2.5rem;
    text-align: center;
    animation: buildingFloat 3s ease-in-out infinite;
}

.building:nth-child(odd) { animation-delay: 0s; }
.building:nth-child(even) { animation-delay: 1.5s; }

.reactor-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reactor-core {
    font-size: 4rem;
    animation: reactorPulse 2s ease-in-out infinite;
}

.countdown-timer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ff6b6b;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-family: monospace;
}

.danger-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    animation: dangerBlink 1s ease-in-out infinite;
}

.new-badge.pulsing {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #e74c3c;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    animation: newBadgePulse 2s ease-in-out infinite;
}

.energy-bars {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 5px;
}

.energy-bar {
    width: 8px;
    height: 40px;
    background: linear-gradient(to top, #ff6b6b 0%, #ffeb3b 50%, #4caf50 100%);
    border-radius: 4px;
    animation: energyPulse 1.5s ease-in-out infinite;
}

.energy-bar:nth-child(2) { animation-delay: 0.3s; }
.energy-bar:nth-child(3) { animation-delay: 0.6s; }

.update-scene {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gear {
    font-size: 3rem;
    position: absolute;
}

.gear.rotating {
    animation: gearRotate 3s linear infinite;
    top: 40%;
    left: 30%;
}

.gear.rotating-reverse {
    animation: gearRotateReverse 3s linear infinite;
    top: 40%;
    right: 30%;
}

.progress-bar {
    width: 200px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 20px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 4px;
    animation: progressFill 4s ease-in-out infinite;
}

.update-text {
    position: absolute;
    bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    font-family: monospace;
}

.checkmark {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: checkmarkBounce 2s ease-in-out infinite;
}

.article-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-header h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.article-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.article-category {
    background: rgba(116, 185, 255, 0.2);
    color: #74b9ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.pagination-bottom {
    max-width: 1400px;
    margin: 60px auto 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* About Page Specific Styles */
.about-main {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    min-height: 100vh;
}

.about-hero {
    padding: 100px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.hero-content {
    color: white;
}

/* Duplicate hero-title definition removed - using main definition above */

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 10px;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-characters {
    position: relative;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(116, 185, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: characterFloat 4s ease-in-out infinite;
}

.char-1 { top: 10%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.char-2 { top: 50%; left: 10%; animation-delay: 1s; }
.char-3 { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.char-4 { top: 50%; right: 10%; animation-delay: 3s; }

.game-icons-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orbit-icon {
    position: absolute;
    font-size: 2.5rem;
    animation: orbitRotate 8s linear infinite;
}

.orbit-icon:nth-child(1) { animation-delay: 0s; }
.orbit-icon:nth-child(2) { animation-delay: 2s; }
.orbit-icon:nth-child(3) { animation-delay: 4s; }
.orbit-icon:nth-child(4) { animation-delay: 6s; }

.our-story {
    padding: 100px 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.story-content .section-title {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 40px;
}

.story-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.story-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 900;
    color: #00d4ff;
    margin-bottom: 10px;
}

.timeline-event {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.our-philosophy {
    padding: 100px 50px;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}

.our-philosophy .section-title {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
}

.philosophy-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.philosophy-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.philosophy-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    animation: iconBounce 3s ease-in-out infinite;
}

.philosophy-card h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.philosophy-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 1rem;
}

.developer-sponsorships {
    padding: 100px 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #1a2332 100%);
}

.sponsorship-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sponsorship-content .section-title {
    font-size: 2.5rem;
    color: white;
    font-weight: 700;
    margin-bottom: 30px;
}

.sponsorship-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.sponsorship-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.benefit-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

.apply-btn {
    background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(116, 185, 255, 0.3);
}

.sponsorship-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.developer-scene {
    position: relative;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(116, 185, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dev-icon {
    position: absolute;
    font-size: 3rem;
    animation: devIconFloat 4s ease-in-out infinite;
}

.dev-icon.laptop { top: 20%; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.dev-icon.code { bottom: 20%; left: 20%; animation-delay: 1s; }
.dev-icon.lightbulb { top: 40%; right: 10%; animation-delay: 2s; }
.dev-icon.rocket { bottom: 30%; right: 30%; animation-delay: 3s; }

.code-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.code-line {
    height: 4px;
    background: linear-gradient(90deg, #74b9ff 0%, transparent 100%);
    border-radius: 2px;
    animation: codeTyping 3s ease-in-out infinite;
}

.code-line:nth-child(1) { width: 60px; animation-delay: 0s; }
.code-line:nth-child(2) { width: 80px; animation-delay: 0.5s; }
.code-line:nth-child(3) { width: 45px; animation-delay: 1s; }

/* Animations */
@keyframes buildingFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes reactorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes dangerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes newBadgePulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
}

@keyframes energyPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes gearRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes gearRotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

@keyframes checkmarkBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes characterFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@keyframes orbitRotate {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

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

@keyframes devIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

@keyframes codeTyping {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Responsive design */
/* Large Tablet / Small Desktop Styles */
@media screen and (max-width: 1024px) {
    .community-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-box {
        padding: 14px 18px;
        min-height: 75px;
    }
    
    .feature-card.community-stats {
        min-height: 380px;
    }
    
    /* Analytics Card Responsive - Large Tablet */
    .analytics-overview {
        gap: 12px;
    }
    
    .metric-item {
        padding: 15px 12px;
    }
    
    .analytics-chart {
        padding: 16px;
    }
    
    .mini-chart {
        height: 70px;
        gap: 3px;
    }
    
    .platform-item {
        padding: 10px 12px;
        gap: 12px;
    }
    
    .platform-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Medium Screen Adjustments */
@media screen and (max-width: 900px) {
    .community-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        max-width: 500px;
        margin: 0 auto 20px;
    }
}

@media screen and (max-width: 768px) {
    .backpack-header .header-title {
        font-size: 2rem;
    }
    
    .backpack-header .header-subtitle {
        font-size: 1rem;
    }
    
    .hero-featured-game {
        padding: 50px 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .game-title {
        font-size: 3rem;
    }
    
    .game-description {
        font-size: 1.2rem;
    }
    
    .game-screen-mock {
        width: 100%;
        max-width: 400px;
        height: 280px;
    }
    
    .best-games-section,
    .news-highlights,
    .about-highlight {
        padding: 50px 20px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }
    
    .news-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .news-article-preview {
        flex-direction: column;
        text-align: center;
    }
    
    .article-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 22px;
        margin-bottom: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-box {
        padding: 12px 16px;
        min-height: 70px;
    }
    
    .stat-value {
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    }
    
    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .feature-card.community-stats {
        min-height: 340px;
        padding: 15px;
    }
    
    /* Analytics Card Responsive - Tablet */
    .analytics-overview {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .metric-item {
        padding: 12px;
    }
    
    .metric-value {
        font-size: clamp(1.2rem, 3vw, 1.4rem);
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .analytics-chart {
        padding: 14px;
    }
    
    .chart-title {
        font-size: 0.85rem;
    }
    
    .chart-period {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .mini-chart {
        height: 60px;
        gap: 2px;
        padding: 8px;
    }
    
    .platform-item {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .community-illustration {
        width: 250px;
        height: 250px;
    }
    
    /* News page mobile styles */
    .news-main {
        padding: 50px 20px;
    }
    
    .news-header {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .news-title {
        font-size: 2.5rem;
    }
    
    .news-article {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .article-image {
        order: -1;
        height: 200px;
    }
    
    .article-header h2 {
        font-size: 1.8rem;
    }
    
    .pagination,
    .pagination-bottom {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .page-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* About page mobile styles */
    .about-hero {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 50px 20px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .floating-characters {
        width: 300px;
        height: 300px;
    }
    
    .character {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .our-story {
        padding: 50px 20px;
    }
    
    .story-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .our-philosophy {
        padding: 50px 20px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .developer-sponsorships {
        padding: 50px 20px;
    }
    
    .sponsorship-container {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(116, 185, 255, 0.3);
    border-top: 4px solid #74b9ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loader p {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fade in animation */
.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Modern Home Page Responsive Design */
@media screen and (max-width: 1200px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .cta-text h2 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .game-showcase {
        max-width: 350px;
        height: 450px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-filters {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .featured-game-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 25px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .cta-text h2 {
        font-size: 1.5rem;
        margin-bottom: 18px;
    }
    
    .cta-text p {
        font-size: 1rem;
        margin-bottom: 18px;
    }
    
    .cta-visual {
        height: 220px;
        margin-top: 20px;
    }
    
    .floating-games {
        min-height: 180px;
    }
    
    .game-bubble {
        padding: 10px;
        font-size: 0.8rem;
    }
    
    .game-bubble .game-icon {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 768px) {
    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .floating-game-icon {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }
    
    .game-icon-img {
        width: 50px;
        height: 50px;
        border-radius: 13px;
    }
    
    .floating-games-container .particle {
        width: 3px;
        height: 3px;
    }
    
    .connection-line {
        width: 80px !important;
    }
}

@media screen and (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }
    .cta-content {
        gap: 30px;
        padding: 0 20px;
    }
    .cta-text h2 {
        font-size: 2.2rem;
    }
    .cta-visual {
        height: 300px;
    }
    
    .floating-game-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .game-icon-img {
        width: 45px;
        height: 45px;
        border-radius: 12px;
    }
    
    .floating-particles {
        display: none;
    }
    
    .connection-web {
        display: none;
    }
    
    .player-name {
        font-size: 0.7rem;
    }
    
    .player-country {
        font-size: 0.9rem;
    }
    
    .connection-line {
        width: 60px !important;
    }
    
    .continent-1, .continent-2, .continent-3, .continent-4, .continent-5, .continent-6 {
        transform: scale(0.8);
    }
}
