/* ZapLab Gaming Platform Styles */

:root {
    --ocean-depths: #0a0f2e;
    --midnight-azure: #1a2c5b;
    --cosmic-purple: #6366f1;
    --electric-cyan: #00d4ff;
    --sunset-amber: #f59e0b;
    --pearl-white: #fefefe;
    --smoke-gray: #6b7280;
    --charcoal-dark: #111827;
    --success-emerald: #10b981;
    --warning-crimson: #ef4444;

    --primary-font: 'Inter', sans-serif;
    --accent-font: 'Playfair Display', serif;

    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-dramatic: 0 20px 50px rgba(0, 0, 0, 0.25);

    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-quick: 0.2s;
    --duration-normal: 0.3s;
    --duration-slow: 0.5s;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--primary-font);
    line-height: 1.6;
    color: var(--charcoal-dark);
    background: linear-gradient(135deg, var(--pearl-white) 0%, #f8fafc 100%);
    overflow-x: hidden;
}

/* Age Verification Banner */
.age-verification-banner {
    background: linear-gradient(90deg, var(--warning-crimson), #dc2626);
    color: white;
    padding: 12px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    transition: transform var(--duration-normal) var(--transition-smooth);
}

.age-verification-banner.hidden {
    transform: translateY(-100%);
}

.verification-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 15px;
}

.warn-symbol {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
}

.dismiss-banner {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color var(--duration-quick);
}

.dismiss-banner:hover {
    background: rgba(255, 255, 255, 0.2);
}

.close-symbol {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Navigation */
.primary-header {
    position: fixed;
    top: 50px; /* Account for banner */
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: top var(--duration-normal) var(--transition-smooth);
}

.navigation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand-section {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--duration-quick) var(--transition-smooth);
    font-size: 14px;
}

.primary-action {
    background: var(--cosmic-purple);
    color: white;
}

.primary-action:hover {
    background: #5855eb;
    transform: translateY(-1px);
}

.mobile-menu-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-icon {
    width: 24px;
    height: 24px;
    fill: var(--charcoal-dark);
}

/* Hero Section */
.hero-showcase {
    padding: 160px 20px 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--cosmic-purple);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hero-title {
    font-family: var(--accent-font);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--ocean-depths), var(--cosmic-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--smoke-gray);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--transition-smooth);
    font-size: 16px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--cosmic-purple), #5855eb);
    color: white;
    box-shadow: var(--shadow-medium);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dramatic);
}

.cta-secondary {
    background: white;
    color: var(--cosmic-purple);
    border: 2px solid var(--cosmic-purple);
}

.cta-secondary:hover {
    background: var(--cosmic-purple);
    color: white;
}

.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-dramatic);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--duration-slow) var(--transition-smooth);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Features Section */
.features-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, var(--pearl-white) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--accent-font);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--ocean-depths);
}

.section-subtitle {
    font-size: 18px;
    color: var(--smoke-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: all var(--duration-normal) var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--cosmic-purple), var(--electric-cyan));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.card-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--ocean-depths);
}

.feature-description {
    color: var(--smoke-gray);
    line-height: 1.6;
}

/* Experience Section */
.experience-section {
    padding: 100px 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.experience-title {
    font-family: var(--accent-font);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--ocean-depths);
}

.experience-text {
    font-size: 16px;
    color: var(--smoke-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exp-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--charcoal-dark);
}

.exp-icon {
    width: 20px;
    height: 20px;
    fill: var(--cosmic-purple);
}

.exp-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

/* Adventure Gallery */
.adventure-gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--ocean-depths), var(--midnight-azure));
}

.gallery-title {
    font-family: var(--accent-font);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--duration-normal) var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(20px);
    transition: transform var(--duration-normal) var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Community Section */
.community-section {
    padding: 100px 0;
    background: white;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.community-title {
    font-family: var(--accent-font);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--ocean-depths);
}

.community-description {
    font-size: 16px;
    color: var(--smoke-gray);
    line-height: 1.7;
    margin-bottom: 40px;
}

.community-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc, white);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--cosmic-purple);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--smoke-gray);
    font-weight: 500;
}

.community-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-title {
    font-family: var(--accent-font);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    text-align: center;
    margin-bottom: 50px;
    color: var(--ocean-depths);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
}

.contact-icon {
    width: 40px;
    height: 40px;
    fill: var(--cosmic-purple);
    flex-shrink: 0;
    margin-top: 5px;
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ocean-depths);
}

.contact-details p {
    color: var(--smoke-gray);
    line-height: 1.5;
}

/* Footer */
.site-footer {
    background: var(--ocean-depths);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 500px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.link-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.link-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color var(--duration-quick);
}

.link-column a:hover {
    color: white;
}

.aware-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.aware-logo {
    width: 120px;
    height: 60px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 16px;
}

.disclaimer-icon {
    width: 20px;
    height: 20px;
    fill: var(--warning-crimson);
    flex-shrink: 0;
    margin-top: 2px;
}

.disclaimer p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.copyright {
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content-wrapper,
    .experience-grid,
    .community-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        order: -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .age-verification-banner {
        font-size: 14px;
    }

    .verification-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .primary-header {
        top: 80px; /* Adjust for larger banner on mobile */
    }

    .hero-showcase {
        padding: 180px 20px 60px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .community-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-menu-trigger {
        display: block;
    }

    .action-btn {
        display: none;
    }
}

@media (max-width: 480px) {
    .content-container {
        padding: 0 15px;
    }

    .navigation-container {
        padding: 0 15px;
    }

    .hero-showcase {
        padding: 160px 15px 50px;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: var(--cosmic-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5855eb;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid var(--cosmic-purple);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .age-verification-banner,
    .primary-header,
    .mobile-menu-trigger {
        display: none;
    }

    .hero-showcase {
        padding-top: 20px;
    }
}

/* Games Showcase Section */
.games-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, white 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.games-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.showcase-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 1;
}

.showcase-title {
    font-family: var(--accent-font);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--ocean-depths), var(--cosmic-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.showcase-subtitle {
    font-size: 18px;
    color: var(--smoke-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 1;
}

.game-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: all var(--duration-normal) var(--transition-smooth);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.game-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.game-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--transition-smooth);
}

.game-card:hover .game-image {
    transform: scale(1.08);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(0, 212, 255, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--transition-smooth);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: transform var(--duration-normal) var(--transition-smooth);
}

.game-card:hover .play-button {
    transform: scale(1);
}

.play-icon {
    width: 32px;
    height: 32px;
    fill: var(--cosmic-purple);
    margin-left: 3px; /* Visual centering */
}

.game-info {
    padding: 25px 20px 20px;
}

.game-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ocean-depths);
    line-height: 1.3;
}

.game-description {
    font-size: 14px;
    color: var(--smoke-gray);
    line-height: 1.5;
    margin-bottom: 18px;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cosmic-purple);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all var(--duration-quick) var(--transition-smooth);
    padding: 8px 0;
}

.game-link:hover {
    color: #5855eb;
    gap: 12px;
}

.link-arrow {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform var(--duration-quick) var(--transition-smooth);
}

.game-link:hover .link-arrow {
    transform: translateX(3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .games-showcase {
        padding: 80px 0;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .game-image-wrapper {
        height: 180px;
    }

    .game-info {
        padding: 20px 15px 15px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card {
        margin: 0 5px;
    }
}

/* Game card specific animations */
.game-card[data-game="aces-and-eights"]:hover {
    border-color: rgba(239, 68, 68, 0.3);
}

.game-card[data-game="adventure-palace"]:hover {
    border-color: rgba(34, 197, 94, 0.3);
}

.game-card[data-game="rabbit-in-hat"]:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.game-card[data-game="reel-thunder"]:hover {
    border-color: rgba(245, 158, 11, 0.3);
}

/* Touch device optimizations */
.touch-device .game-card:active {
    transform: translateY(-6px);
}

.touch-device .game-overlay {
    opacity: 0.7;
}

/* Enhanced Games Showcase Section */
.games-showcase {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, white 30%, #f1f5f9 70%, white 100%);
    position: relative;
    overflow: hidden;
}

.games-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 15% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 45%),
            radial-gradient(circle at 85% 75%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.games-showcase::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    animation: floatPattern 20s linear infinite;
}

@keyframes floatPattern {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

.showcase-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.showcase-title {
    font-family: var(--accent-font);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--ocean-depths) 0%, var(--cosmic-purple) 50%, var(--electric-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.showcase-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--cosmic-purple), var(--electric-cyan));
    border-radius: 2px;
}

.showcase-subtitle {
    font-size: 19px;
    color: var(--smoke-gray);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* Main Grid - 4 games in one row */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.8);
    position: relative;
    backdrop-filter: blur(10px);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
    z-index: 1;
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.game-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1.05) saturate(1.1);
}

.game-card:hover .game-image {
    transform: scale(1.12) rotate(1deg);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.85) 0%,
    rgba(0, 212, 255, 0.75) 50%,
    rgba(168, 85, 247, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(2px);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7) rotate(-15deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(99, 102, 241, 0.1);
}

.game-card:hover .play-button {
    transform: scale(1) rotate(0deg);
    background: white;
    border-color: rgba(99, 102, 241, 0.2);
}

.play-icon {
    width: 36px;
    height: 36px;
    fill: var(--cosmic-purple);
    margin-left: 4px;
    transition: all 0.3s ease;
}

.game-card:hover .play-icon {
    fill: var(--electric-cyan);
    transform: scale(1.1);
}

.game-info {
    padding: 28px 24px 24px;
    position: relative;
    z-index: 2;
    background: white;
}

.game-title {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--ocean-depths);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.game-card:hover .game-title {
    color: var(--cosmic-purple);
}

.game-description {
    font-size: 15px;
    color: var(--smoke-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cosmic-purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 10px 18px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.game-link:hover {
    background: linear-gradient(135deg, var(--cosmic-purple), var(--electric-cyan));
    color: white;
    transform: translateX(5px);
    gap: 15px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.link-arrow {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-link:hover .link-arrow {
    transform: translateX(3px) scale(1.1);
}

/* Individual game card hover colors */
.game-card[data-game="aces-and-eights"]:hover {
    border-color: rgba(239, 68, 68, 0.4);
}

.game-card[data-game="aces-and-eights"]:hover .game-overlay {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.8));
}

.game-card[data-game="adventure-palace"]:hover {
    border-color: rgba(34, 197, 94, 0.4);
}

.game-card[data-game="adventure-palace"]:hover .game-overlay {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(22, 163, 74, 0.8));
}

.game-card[data-game="rabbit-in-hat"]:hover {
    border-color: rgba(168, 85, 247, 0.4);
}

.game-card[data-game="rabbit-in-hat"]:hover .game-overlay {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), rgba(147, 51, 234, 0.8));
}

.game-card[data-game="reel-thunder"]:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

.game-card[data-game="reel-thunder"]:hover .game-overlay {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(217, 119, 6, 0.8));
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 800px;
    }

    .game-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .games-showcase {
        padding: 80px 0;
    }

    .showcase-header {
        margin-bottom: 60px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .game-image-wrapper {
        height: 180px;
    }

    .game-info {
        padding: 20px 18px 18px;
    }

    .game-title {
        font-size: 18px;
    }

    .game-description {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .game-card {
        margin: 0 10px;
    }

    .game-image-wrapper {
        height: 200px;
    }
}

/* Touch device optimizations */
.touch-device .game-card:active {
    transform: translateY(-8px) scale(1.01);
}

.touch-device .game-overlay {
    opacity: 0.6;
}

/* Animation delays for staggered effect */
.game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.game-card:nth-child(3) {
    animation-delay: 0.3s;
}

.game-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Loading state */
.game-card.loading .game-image {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}