/* Vapolia Games - Gaming Theme CSS */
/* Based on OUST color palette: Green (#4CAF50, #2E7D32) for allies, Red (#F44336, #C62828) for enemies */

:root {
    /* OUST Primary Colors */
    --oust-green: #4CAF50;
    --oust-green-dark: #2E7D32;
    --oust-green-light: #E8F5E8;
    --oust-red: #F44336;
    --oust-red-dark: #C62828;
    --oust-red-light: #FFEBEE;

    /* Gaming Theme Colors */
    --games-primary: #6366F1;
    --games-primary-dark: #4F46E5;
    --games-secondary: #EC4899;
    --games-accent: #F59E0B;
    --games-bg: #0F172A;
    --games-bg-light: #1E293B;
    --games-text: #F1F5F9;
    --games-text-muted: #94A3B8;
}

/* Games Layout */
.games-layout {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--games-bg) 0%, var(--games-bg-light) 100%);
    color: var(--games-text);
    font-family: 'IBM Plex Mono', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Games Header */
.games-header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--games-primary);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.games-logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--games-primary) 0%, var(--games-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: inline-block;
}

.games-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.games-nav a {
    color: var(--games-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.games-nav a:hover {
    color: var(--games-primary);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
}

.lang-switcher a {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    text-decoration: none;
    color: var(--games-text-muted);
    transition: all 0.3s ease;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.lang-switcher a.active {
    background: var(--games-primary);
    color: white;
}

.lang-switcher a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--games-text);
}

/* Hero Section */
.games-hero {
    padding: 6rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.games-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--games-primary) 0%, var(--games-secondary) 50%, var(--games-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out;
}

.games-hero .tagline {
    font-size: 1.5rem;
    color: var(--games-text-muted);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.games-hero .description {
    font-size: 1.125rem;
    color: var(--games-text);
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Game Card (OUST) */
.game-card {
    background: rgba(30, 41, 59, 0.6);
    border: 2px solid var(--oust-green);
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 56rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
    border-color: var(--oust-green-dark);
}

.game-card h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--oust-green);
}

.game-card .game-tagline {
    font-size: 1.25rem;
    color: var(--oust-red);
    font-weight: 700;
    margin-bottom: 1rem;
}

.game-card .game-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--games-text);
    margin-bottom: 2rem;
}

/* Game Board Image */
.game-board-image {
    width: 100%;
    max-width: 40rem;
    margin: 2rem auto;
    border-radius: 1rem;
    border: 3px solid var(--oust-green);
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.2);
}

/* Store Links Section */
.store-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.store-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--games-primary);
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.store-link:hover {
    transform: translateY(-4px);
    border-color: var(--games-secondary);
    background: rgba(255, 255, 255, 0.1);
}

.store-qr {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.store-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.store-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--games-text);
    margin-bottom: 0.5rem;
}

.store-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--games-primary) 0%, var(--games-secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.store-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Keywords/Tags */
.game-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 2rem 0;
}

.game-keyword {
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid var(--games-primary);
    border-radius: 2rem;
    color: var(--games-text);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Support Page */
.support-content {
    max-width: 48rem;
    margin: 4rem auto;
    padding: 2rem;
    text-align: center;
}

.support-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--games-primary);
}

.support-content a {
    color: var(--games-secondary);
    text-decoration: none;
    font-weight: 700;
}

.support-content a:hover {
    text-decoration: underline;
}

/* Privacy Page */
.privacy-content {
    max-width: 56rem;
    margin: 4rem auto;
    padding: 2rem;
    line-height: 1.8;
}

.privacy-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--games-primary);
}

.privacy-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--games-secondary);
}

.privacy-content p {
    margin-bottom: 1rem;
    color: var(--games-text);
}

/* Footer */
.games-footer {
    border-top: 1px solid rgba(99, 102, 241, 0.3);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    color: var(--games-text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .games-hero h1 {
        font-size: 2.5rem;
    }

    .games-hero .tagline {
        font-size: 1.25rem;
    }

    .games-hero .description {
        font-size: 1rem;
    }

    .game-card h2 {
        font-size: 2rem;
    }

    .games-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .store-links {
        grid-template-columns: 1fr;
    }

    .privacy-content h1,
    .support-content h1 {
        font-size: 2rem;
    }
}

/* Container */
.games-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
