/* Prime Mira Collective - Jackpot Wins | Unique Design */

@import url('css2');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-cream: #faf6f0;
    --bg-warm: #f5efe6;
    --text-dark: #1c1917;
    --text-muted: #57534e;
    --accent-gold: #b45309;
    --accent-teal: #0f766e;
    --card-white: #ffffff;
    --border-soft: #e7e5e4;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--bg-cream);
    min-height: 100vh;
}

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

/* Header - Light, minimal */
.site-header {
    background: var(--card-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
}

.site-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--accent-teal);
}

/* Nav toggle - mobile hamburger */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    transition:
        transform 0.3s,
        opacity 0.3s;
}

body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero - Split layout, left-aligned */
.hero {
    padding: 4rem 0 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-content {
    text-align: left;
}

.hero-logo {
    margin-bottom: 1.5rem;
}

.hero-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-visual img {
    width: 180px;
    height: auto;
    object-fit: contain;
}

/* CTA */
.cta-block {
    text-align: left;
    margin: 1.5rem 0;
}

.cta-block a {
    display: inline-block;
}

.cta-block img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition:
        transform 0.2s,
        opacity 0.2s;
}

.cta-block img:hover {
    transform: scale(1.04);
    opacity: 0.9;
}

/* Sections - alternating backgrounds */
.section {
    padding: 4rem 0;
}

.section--alt {
    background: var(--bg-warm);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    text-align: left;
    margin-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.section-title--center {
    text-align: center;
}

/* Video - Full-width strip */
.video-strip {
    background: var(--text-dark);
    padding: 4rem 0;
}

.video-strip .section-title {
    color: var(--card-white);
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

/* Screenshots - 3 columns, different style */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.screenshot-item {
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--border-soft);
    background: var(--card-white);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Feature Cards - Horizontal layout with left accent */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--card-white);
    border: 1px solid var(--border-soft);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem 2rem;
    margin-bottom: -1px;
}

.feature-card:nth-child(2) {
    border-left-color: var(--accent-teal);
}

.feature-card:nth-child(3) {
    border-left-color: var(--accent-gold);
}

.feature-card img {
    width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.feature-card-content {
    padding: 0;
}

.feature-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Block - Side-by-side */
.content-block {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: start;
    background: var(--card-white);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    padding: 2.5rem;
}

.content-block img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.content-block h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

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

/* Page Content */
.page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 24px 5rem;
}

.page-content--wide {
    max-width: 1100px;
}

.page-content .content-block {
    grid-template-columns: 1fr;
}

.page-content .content-block img {
    max-width: 120px;
}

.page-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-dark);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.page-content h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--accent-teal);
    font-size: 1.5rem;
    margin: 2.5rem 0 0.75rem;
    font-weight: 400;
}

.page-content p,
.page-content li {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.page-content ul {
    margin-left: 1.5rem;
}

/* Footer - Dark */
.site-footer {
    background: var(--text-dark);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    color: var(--card-white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Games Page */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.game-card {
    background: var(--card-white);
    border: 1px solid var(--border-soft);
    border-radius: 4px;
    overflow: hidden;
}

.game-card > img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: var(--bg-warm);
}

.game-card-body {
    padding: 1.5rem;
}

.game-card-body img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.game-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.game-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Mobile */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--card-white);
        padding: 1rem 24px 1.5rem;
        gap: 0;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-soft);
    }

    .main-nav a {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border-soft);
        font-size: 1rem;
    }

    .main-nav a:last-of-type {
        border-bottom: none;
    }

    body.nav-open .main-nav {
        display: flex;
    }

    .header-inner {
        position: relative;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-block {
        text-align: center;
    }

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

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

    .content-block {
        grid-template-columns: 1fr;
    }

    .section-title--center {
        text-align: center;
    }
}

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

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

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

/* Age Gate Overlay */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(28, 25, 23, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    isolation: isolate;
}
.age-gate-overlay.active {
    display: flex;
}
.age-gate-modal {
    width: min(540px, 92vw);
    background: var(--card-white);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.age-icon {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--accent-gold);
    border: 2px solid var(--accent-teal);
    margin: 0 auto 1rem;
}
.age-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.age-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}
.age-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}
.age-btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    border: none;
}
.age-btn--primary {
    background: var(--accent-teal);
    color: white;
}
.age-btn--primary:hover {
    background: #0d5c55;
    transform: translateY(-1px);
}
.age-btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border-soft);
}
.age-btn--ghost:hover {
    border-color: var(--text-muted);
    color: var(--text-dark);
}
.age-note {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    padding: 18px 24px;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--card-white);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 18px 22px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.cookie-text {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 200px;
}
.cookie-text a {
    color: var(--accent-teal);
    text-decoration: none;
}
.cookie-text a:hover {
    text-decoration: underline;
}
.cookie-actions {
    flex-shrink: 0;
}
