@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Nunito:wght@700;800;900&display=swap');

body {
    background-color: #f5f0ea;
    font-family: 'Lato', sans-serif;
    color: #3d3530;
}

.title-font {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
}

/* Animated floating rocks */
.rock {
    position: fixed;
    width: 22px;
    height: 22px;
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
    background: linear-gradient(135deg, #9e9e9e, #6b6560);
    opacity: 0.22;
    animation: floatRock 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.rock.gem {
    width: 15px;
    height: 15px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    opacity: 0.18;
}

@keyframes floatRock {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-18px) rotate(8deg);
    }

    66% {
        transform: translateY(-8px) rotate(-5deg);
    }
}

/* Hero */
.hero-pattern {
    background: linear-gradient(160deg, #e8dfd4 0%, #d6c9b8 50%, #c9b99e 100%);
    position: relative;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/world_map.png') center / cover no-repeat;
    filter: blur(14px) saturate(0.5);
    opacity: 0.2;
    z-index: 0;
    transform: scale(1.06);
}

/* Hero slideshow */
.hero-slideshow {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #2a1f17;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

/* Wishlist CTA button */
.btn-wishlist {
    background: linear-gradient(135deg, #0ea5e9, #0891b2);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.38);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-wishlist:hover {
    background: linear-gradient(135deg, #38bdf8, #0e7490);
    box-shadow: 0 6px 28px rgba(14, 165, 233, 0.55);
    transform: scale(1.05);
}

/* Nav */
.nav-header {
    background-color: rgba(62, 48, 38, 0.92);
    backdrop-filter: blur(8px);
}

.nav-header a {
    color: #e8dfd4;
    transition: color 0.2s;
}

.nav-header a:hover {
    color: #f5c842;
}

/* Cards */
.game-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(62, 48, 38, 0.12);
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(62, 48, 38, 0.2);
}

/* Screenshot frames */
.screenshot {
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(62, 48, 38, 0.18);
    aspect-ratio: 16/9;
    background-color: #d6c9b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder {
    color: #9e8e7e;
    font-size: 0.875rem;
    text-align: center;
    padding: 1rem;
}

/* Platform card */
.platform-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover .platform-icon {
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* Section backgrounds */
.section-stone {
    background-color: #ede5d8;
}

.section-warm {
    background-color: #f8f2e8;
}

/* Gem accent colors */
.gem-purple {
    color: #7c3aed;
}

.gem-teal {
    color: #0d9488;
}

.gem-amber {
    color: #d97706;
}

.gem-rose {
    color: #e11d48;
}

/* Roadmap badge */
.roadmap-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 10px;
    border-radius: 999px;
}

.badge-planned {
    background: #e0d5f5;
    color: #5b21b6;
}

.badge-coming {
    background: #d1fae5;
    color: #065f46;
}

.badge-released {
    background: #fef3c7;
    color: #92400e;
}