/* CSS Variables */
:root {
    --primary-color: #6c5ce7;
    --primary-dark: #5b4cdb;
    --secondary-color: #00cec9;
    --accent-color: #fd79a8;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6c7c;
    --gradient-1: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-2: linear-gradient(135deg, #00cec9 0%, #81ecec 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(108, 92, 231, 0.3);
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.6rem;
    font-weight: 700;
}

.logo img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(ellipse at 50% 0%, rgba(108, 92, 231, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(0, 206, 201, 0.1) 0%, transparent 40%),
                var(--dark-bg);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Games Section */
.games {
    padding: 120px 0;
    background: var(--darker-bg);
}

.games h2,
.about h2,
.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
}

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

.game-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.game-image {
    height: 220px;
    position: relative;
    background: var(--darker-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.game-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.west-bank-bg {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
}

.game-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.game-badge {
    background: var(--secondary-color);
    color: var(--darker-bg);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-info {
    padding: 24px;
}

.game-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.game-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.game-platforms {
    display: flex;
    gap: 8px;
}

.platform {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 120px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 24px;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--darker-bg);
    text-align: center;
}

.contact p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

.contact-email {
    display: inline-block;
    font-size: 1.25rem;
    color: var(--primary-color);
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Privacy Page */
.privacy-page {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 48px;
    border-radius: 20px;
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 48px;
    font-size: 0.9rem;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    text-align: left;
}

.policy-section h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.policy-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.policy-section ul {
    color: var(--text-secondary);
    margin-left: 24px;
    margin-bottom: 16px;
}

.policy-section li {
    margin-bottom: 8px;
}

.policy-section a {
    color: var(--primary-color);
}

.policy-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: rgba(108, 92, 231, 0.1);
    padding: 24px;
    border-radius: 12px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Game Privacy List */
.game-privacy-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.game-privacy-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(108, 92, 231, 0.1);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all 0.3s ease;
}

.game-privacy-card:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: var(--primary-color);
    transform: translateX(8px);
}

img.game-privacy-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    flex-shrink: 0;
    object-fit: cover;
}

.game-privacy-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.game-privacy-info p {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.view-policy {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* Subtitle */
.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 32px;
    }
    
    .privacy-content {
        padding: 24px;
    }
    
    .privacy-content h1 {
        font-size: 1.75rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

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