/* ============================================
   UTD Games - Gaming Landing Page Styles
   Neon Effects, Animations & Modern Design
   ============================================ */

:root {
    --game-purple: #a855f7;
    --game-purple-dark: #9333ea;
    --game-purple-light: #c084fc;
    --game-cyan: #06b6d4;
    --game-cyan-light: #22d3ee;
    --game-pink: #ec4899;
    --game-pink-light: #f472b6;
    --game-green: #10b981;
    --game-yellow: #f59e0b;
    --game-orange: #f97316;
}

/* ============================================
   PAGE BACKGROUND
   ============================================ */
.games-page {
    background: #0a0118;
    color: #fff;
    overflow-x: hidden;
}

/* Container padding for all sections */
.games-page .container {
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   NAVBAR - Games Page Theme
   ============================================ */
.games-page .land-nav {
    background: rgba(10, 1, 24, 0.95);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.1);
}

.games-page .land-nav.scrolled {
    background: rgba(10, 1, 24, 0.98);
    box-shadow: 0 8px 40px rgba(168, 85, 247, 0.2);
}

.games-page .land-nav-links a.active {
    color: var(--game-purple-light);
    position: relative;
}

.games-page .land-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--game-purple), transparent);
    animation: activeGlowGames 2s ease-in-out infinite;
}

@keyframes activeGlowGames {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Mobile menu games page highlight */
.games-page .mobile-nav-panel a[href="games.html"] {
    color: var(--game-purple-light) !important;
}

.games-page .btn-land-cta {
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
}

.games-page .btn-land-cta:hover {
    background: linear-gradient(135deg, var(--game-purple-dark), var(--game-pink));
}


.land-nav-links a.active {
    color: var(--game-purple-light);
    position: relative;
}

.land-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--game-purple), transparent);
    animation: activeGlow 2s ease-in-out infinite;
}

@keyframes activeGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ============================================
   HERO SECTION - Epic Gaming Hero
   ============================================ */
.games-hero {
    position: relative;
    min-height: 100vh;
    padding: 100px 0 60px;
    overflow: hidden;
}

.games-hero .container {
    position: relative;
    z-index: 10;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
    min-height: 760px;
}

.games-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, #0a0118 0%, #1a0a2e 30%, #2d1b4e 60%, #1a0a2e 100%);
}

/* Neon Grid Background */
.neon-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--game-purple-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--game-purple-light);
    animation: particleFloat 15s linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1);
    }
}

.particle:nth-child(2n) {
    background: var(--game-cyan-light);
    box-shadow: 0 0 10px var(--game-cyan-light);
    animation-duration: 12s;
}

.particle:nth-child(3n) {
    background: var(--game-pink-light);
    box-shadow: 0 0 10px var(--game-pink-light);
    animation-duration: 18s;
}

/* Hero Content */
.games-hero-content {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 600px;
    animation: slideInFromLeft 1s ease-out;
    opacity: 1;
}

/* English (LTR) - Flip layout */
[dir="ltr"] .games-hero-content {
    left: 15px;
    right: auto;
}

@keyframes slideInFromLeft {
    from {
        opacity: 1;
        transform: translateX(-50px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

.games-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--game-purple-light);
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
    }
}

.games-hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: 'Orbitron', 'Cairo', sans-serif;
    opacity: 1;
}

.gradient-text-games {
    background: linear-gradient(135deg, #a855f7, #ec4899, #06b6d4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.games-hero-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    opacity: 1;
}

/* Hero Stats */
.games-hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.game-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.game-stat:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.3);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
    border-radius: 10px;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Buttons */
.games-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-games-primary,
.btn-games-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-games-primary {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    border: none;
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-games-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ec4899, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-games-primary:hover::before {
    opacity: 1;
}

.btn-games-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.6);
}

.btn-games-primary span,
.btn-games-primary i {
    position: relative;
    z-index: 1;
}

.btn-games-secondary {
    background: rgba(168, 85, 247, 0.1);
    color: var(--game-purple-light);
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.btn-games-secondary:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

/* ============================================
   GAMES SHOWCASE - Floating Game Cards
   ============================================ */
.games-showcase {
    position: relative;
    z-index: 2;
    flex: 0 0 500px;
    height: 500px;
    animation: slideInFromRight 1s ease-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.game-card-float {
    position: absolute;
    width: 140px;
    height: 160px;
    animation: floatAround 20s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(168, 85, 247, 0.4));
    transition: all 0.3s ease;
}

.game-card-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.game-card-inner::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: conic-gradient(from 0deg, transparent, rgba(168, 85, 247, 0.3), transparent);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.game-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

.game-icon {
    font-size: 36px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.game-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Card Positioning */
.game-card-float.card-1 {
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.game-card-float.card-2 {
    top: 5%;
    right: 5%;
    animation-delay: -3s;
}

.game-card-float.card-3 {
    top: 35%;
    left: -5%;
    animation-delay: -6s;
}

.game-card-float.card-4 {
    top: 35%;
    right: -5%;
    animation-delay: -9s;
}

.game-card-float.card-5 {
    bottom: 5%;
    left: 10%;
    animation-delay: -12s;
}

.game-card-float.card-6 {
    bottom: 5%;
    right: 10%;
    animation-delay: -15s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(-5deg);
    }
    75% {
        transform: translateY(20px) rotate(5deg);
    }
}

/* ============================================
   ALL GAMES SHOWCASE SECTION
   ============================================ */
.all-games-showcase {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, #1a0a2e 0%, #0a0118 100%);
}

.all-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.game-item-card {
    background: rgba(168, 85, 247, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.15);
    border-radius: 20px;
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.game-item-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.game-item-card:hover::before {
    opacity: 1;
}

.game-item-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.4);
}

.game-item-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.game-item-card:hover img {
    transform: scale(1.05);
}

.btn-show-more-games {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Cairo', sans-serif;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.btn-show-more-games:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(168, 85, 247, 0.6);
}

.btn-show-more-games i {
    transition: transform 0.3s ease;
}

.btn-show-more-games:hover i {
    transform: translateY(4px);
}

/* Hidden games - Show More functionality */
.hidden-game {
    display: none;
}

/* Lightbox Styles */
.game-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 50px 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10000;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
}

.lightbox-close:hover {
    color: var(--game-purple-light);
    transform: scale(1.2);
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.6);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
}

/* Responsive for games grid */
@media (max-width: 768px) {
    .all-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 40px;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 70vh;
    }

    .lightbox-caption {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .all-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }

    .lightbox-close {
        font-size: 35px;
    }

    .lightbox-caption {
        font-size: 14px;
    }
}

/* ============================================
   GAME CATEGORIES SECTION
   ============================================ */
.game-categories {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, #0a0118 0%, #1a0a2e 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.games-badge-alt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--game-purple-light);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 12px;
    font-family: 'Orbitron', 'Cairo', sans-serif;
}

.section-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* Games - Clean Minimal Cards */
.category-card {
    background: rgba(10, 8, 40, 0.4);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(10, 8, 40, 0.6);
}

.category-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
    border-radius: 16px;
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.05);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.category-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.category-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--game-purple-light);
    position: relative;
    z-index: 1;
}

/* Category-specific colors */
.category-card[data-category="graphics"] .category-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.category-card[data-category="ludo"] .category-icon {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.category-card[data-category="luck"] .category-icon {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.category-card[data-category="action"] .category-icon {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.category-card[data-category="puzzle"] .category-icon {
    background: linear-gradient(135deg, #30cfd0, #330867);
}

.category-card[data-category="more"] .category-icon {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

/* ============================================
   GAME PROVIDERS SECTION
   ============================================ */
.game-providers {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a0a2e 0%, #0a0118 100%);
    position: relative;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.provider-card {
    background: rgba(168, 85, 247, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 24px;
    padding: 36px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.provider-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(168, 85, 247, 0.15),
        transparent 30%
    );
    animation: rotateGradient 8s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes rotateGradient {
    100% { transform: rotate(360deg); }
}

.provider-card:hover::before {
    opacity: 1;
}

.provider-card:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 30px 70px rgba(168, 85, 247, 0.5);
    animation: none;
}

.provider-card:nth-child(1) {
    animation-delay: 0s;
}

.provider-card:nth-child(2) {
    animation-delay: -3s;
}

.provider-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--game-green), #34d399);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    z-index: 1;
}

.provider-badge.coming-soon {
    background: linear-gradient(135deg, var(--game-yellow), var(--game-orange));
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.provider-logo {
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.provider-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    animation: iconPulse 3s ease-in-out infinite;
    position: relative;
}

@keyframes iconPulse {
    0%, 100% {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 20px 50px rgba(168, 85, 247, 0.6);
    }
}

.provider-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    animation: iconShine 4s ease-in-out infinite;
}

@keyframes iconShine {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.provider-card:hover .provider-icon {
    transform: scale(1.15) rotate(8deg);
    animation: none;
}

.provider-name {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 12px;
    font-family: 'Orbitron', 'Cairo', sans-serif;
    position: relative;
    z-index: 1;
}

.provider-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.provider-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.provider-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.provider-stat i {
    color: var(--game-purple-light);
}

.provider-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--game-purple-light);
    transition: all 0.3s ease;
}

.feature-tag i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.provider-card:hover .feature-tag {
    background: rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.provider-card:hover .feature-tag i {
    transform: scale(1.2);
}

.btn-provider {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Cairo', sans-serif;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-provider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--game-pink), var(--game-cyan));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-provider:hover::before {
    opacity: 1;
}

.btn-provider span,
.btn-provider i {
    position: relative;
    z-index: 1;
}

.btn-provider:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.6);
}

.btn-provider:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-provider i {
    transition: transform 0.3s ease;
}

.btn-provider:hover i {
    transform: translateX(-4px);
}

.providers-note {
    margin-top: 48px;
    padding: 20px 28px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.providers-note i {
    color: var(--game-purple-light);
    font-size: 20px;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.games-features {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0118 0%, #1a0a2e 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.feature-card {
    background: rgba(168, 85, 247, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(168, 85, 247, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.games-how-it-works {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a0a2e 0%, #0a0118 100%);
}

.steps-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: rgba(168, 85, 247, 0.05);
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.step-item:hover {
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
    border-radius: 50%;
    font-size: 28px;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.5);
    position: relative;
}

.step-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-item:hover .step-glow {
    opacity: 1;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.3), rgba(236, 72, 153, 0.3));
    position: relative;
}

.step-connector::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    color: var(--game-purple-light);
    font-size: 20px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.games-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #1a0a2e 100%);
    position: relative;
    overflow: hidden;
}

.games-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--game-purple), var(--game-pink));
    border-radius: 50%;
    font-size: 48px;
    color: #fff;
    margin: 0 auto 32px;
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.6);
    animation: ctaIconPulse 3s ease-in-out infinite;
}

@keyframes ctaIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(168, 85, 247, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 25px 80px rgba(168, 85, 247, 0.8);
    }
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
    font-family: 'Orbitron', 'Cairo', sans-serif;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-games-primary-xl {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.5);
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-games-primary-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 60px rgba(168, 85, 247, 0.7);
}

.btn-games-wa {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 14px;
    font-size: 17px;
    font-weight: 800;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-games-wa:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.3);
}


/* ============================================
   FADE-UP ANIMATION
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .games-page .container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .games-showcase {
        flex: 0 0 400px;
        height: 400px;
    }

    .game-card-float {
        width: 120px;
        height: 140px;
    }

    .game-icon {
        font-size: 28px;
    }
}

@media (max-width: 992px) {
    .games-hero {
        padding: 100px 0 60px;
    }

    .games-hero .container {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .games-hero-content {
        max-width: 100%;
        text-align: center;
    }

    .games-hero-stats {
        justify-content: center;
    }

    .games-hero-buttons {
        justify-content: center;
    }

    .games-showcase {
        flex: 0 0 auto;
        margin: 0 auto;
    }

    .games-hero-title {
        font-size: 42px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .cta-content h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .games-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .games-hero {
        padding: 80px 0 40px;
        min-height: 760px;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .games-hero .container {
        min-height: auto;
        padding: 0;
        display: block;
        width: 100%;
        max-width: 100%;
        margin-top: 400px;
    }

    .games-hero-content {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        max-width: 100%;
        text-align: center;
        margin-top: 0;
        padding: 0 20px;
        width: 100%;
    }

    [dir="ltr"] .games-hero-content {
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .games-hero-title {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .games-hero-desc {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .games-badge {
        display: none;
    }

    .games-hero-buttons {
        gap: 12px;
        flex-direction: column;
        width: 100%;
    }

    .btn-games-primary,
    .btn-games-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }

    .games-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .game-stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 140px;
    }

    .categories-grid,
    .providers-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .providers-grid {
        max-width: 100%;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .step-connector {
        display: none;
    }

    .steps-timeline {
        flex-direction: column;
    }

    .step-item {
        max-width: 100%;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-games-primary-xl,
    .btn-games-wa {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .games-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .games-hero-title {
        font-size: 28px;
    }

    .games-showcase {
        flex: 0 0 auto;
        height: 300px;
        width: 100%;
        max-width: 300px;
    }

    .game-card-float {
        width: 100px;
        height: 120px;
    }

    .game-icon {
        font-size: 24px;
    }

    .game-name {
        font-size: 11px;
    }

    .games-hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-games-primary,
    .btn-games-secondary {
        width: 100%;
        justify-content: center;
    }
}
