/* Games Page Specific Styles */

/* Games Hero Section */
.games-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(255, 192, 203, 0.9), rgba(221, 160, 221, 0.9), rgba(173, 216, 230, 0.9));
    position: relative;
    overflow: hidden;
}

.games-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ff69b4" opacity="0.3"><animate attributeName="cy" values="20;80;20" dur="3s" repeatCount="indefinite"/></circle><circle cx="50" cy="50" r="3" fill="%239d4edd" opacity="0.4"><animate attributeName="cx" values="50;10;50" dur="4s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="2" fill="%2300f5ff" opacity="0.3"><animate attributeName="cy" values="30;70;30" dur="2.5s" repeatCount="indefinite"/></circle></svg>');
    pointer-events: none;
}

.games-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.games-hero h1 {
    font-family: var(--font-accent);
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.games-hero p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-family: var(--font-accent);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-weight: 600;
    color: #666;
    font-size: 1.1rem;
}

/* Games Filter Section */
.all-games {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.games-filter {
    text-align: center;
    margin-bottom: 3rem;
}

.games-filter h2 {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-button);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-pink);
    background: transparent;
    color: var(--primary-pink);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-button);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

/* Games Showcase */
.games-showcase {
    display: grid;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.game-showcase-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--gradient-card);
    border-radius: 25px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

.game-showcase-card.featured {
    border: 3px solid var(--primary-pink);
    background: linear-gradient(145deg, #fff0f8, #ffe6f0);
}

.game-showcase-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 105, 180, 0.1) 50%, transparent 70%);
    pointer-events: none;
    animation: shimmer 3s infinite;
}

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

.showcase-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff69b4, #9d4edd);
    border-radius: 20px;
    height: 200px;
}

.game-icon-large {
    font-size: 6rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: icon-float 4s ease-in-out infinite;
}

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

.popularity-badge,
.new-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    animation: pulse-badge 2s infinite;
}

.popularity-badge {
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: white;
}

.new-badge {
    background: linear-gradient(45deg, #39ff14, #66ff44);
    color: white;
}

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

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

.showcase-info h3 {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    color: var(--secondary-purple);
    margin-bottom: 1rem;
    font-weight: 700;
}

.showcase-info p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.game-features {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature {
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-pink);
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.showcase-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-play-showcase {
    background: var(--gradient-button);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
}

.btn-play-showcase:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
}

.btn-demo {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-demo:hover {
    background: var(--primary-pink);
    color: white;
    transform: translateY(-2px);
}

/* Coming Soon Section */
.coming-soon {
    padding: 4rem 0;
    background: var(--gradient-main);
    text-align: center;
}

.coming-soon h2 {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.coming-soon p {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-5px);
}

.coming-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: coming-bounce 3s ease-in-out infinite;
}

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

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

.coming-soon-card h4 {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--secondary-purple);
    margin-bottom: 0.5rem;
}

.coming-soon-card p {
    color: #666;
    font-size: 1rem;
}

/* Responsive Design for Games Page */
@media (max-width: 1024px) {
    .game-showcase-card {
        grid-template-columns: 250px 1fr;
    }

    .games-hero h1 {
        font-size: 3rem;
    }

    .game-stats {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .games-hero {
        padding: 4rem 0 3rem;
    }

    .games-hero h1 {
        font-size: 2.5rem;
    }

    .games-hero p {
        font-size: 1.2rem;
    }

    .game-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .game-showcase-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .showcase-visual {
        height: 150px;
        margin: 0 auto 2rem;
        max-width: 200px;
    }

    .game-icon-large {
        font-size: 4rem;
    }

    .showcase-info h3 {
        font-size: 1.8rem;
    }

    .showcase-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .coming-soon-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .games-hero h1 {
        font-size: 2rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 250px;
    }

    .showcase-actions {
        flex-direction: column;
    }

    .btn-play-showcase,
    .btn-demo {
        width: 100%;
        max-width: 300px;
    }
}

/* Hidden class for filtering */
.hidden {
    display: none !important;
}
