/* Home Page Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-2xl) var(--spacing-md);
}

.hero-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent);
    background-size: 200% 200%;
    animation: twinkle 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.disclaimer-icon {
    font-size: 1.25rem;
}

.hero-disclaimer p {
    font-size: 0.875rem;
    color: var(--color-accent);
    margin: 0;
}

.hero-moon {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fbbf24, #f59e0b);
    box-shadow:
        0 0 60px rgba(251, 191, 36, 0.4),
        inset -20px -20px 60px rgba(0, 0, 0, 0.3);
    animation: moonFloat 6s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes moonFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

/* Games Section */
.games-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.game-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    opacity: 0;
    transition: var(--transition-normal);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(14, 165, 233, 0.3);
}

.game-card:hover::before {
    opacity: 1;
}

.game-card-inner {
    padding: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.game-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.3));
}

.game-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.game-card p {
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.game-stats span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    color: var(--color-text);
}

.btn-game {
    width: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    font-weight: 600;
    margin-top: var(--spacing-md);
}

.btn-game:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Benefits Section */
.benefits-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(20, 184, 166, 0.05));
    border-radius: var(--border-radius-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.benefit-card {
    background: rgba(30, 41, 59, 0.4);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(14, 165, 233, 0.3);
    background: rgba(30, 41, 59, 0.6);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.3));
}

.benefit-card h3 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-moon {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .hero-disclaimer p {
        font-size: 0.75rem;
    }
}

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

    .hero-moon {
        display: none;
    }
}
