/* ── Background ───────────────────────────────────────────────── */
body {
    background-image: url('https://images.squarespace-cdn.com/content/654e9f1c79033c2b2d0b18ed/27a54b0c-d97e-4a9b-b916-9af516cd4a74/FINEEEEEEE.png?content-type=image%2Fpng');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.action-bar {
    background: linear-gradient(to bottom, rgba(14, 14, 14, 1), rgba(14, 14, 14, 0));
}

/* ── Page wrapper ─────────────────────────────────────────────── */
.home-page {
    display: flex;
    flex-direction: column;
    gap: 36px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

/* ── TOP SECTION ──────────────────────────────────────────────── */
.home-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* 16:9 responsive iframe */
.home-video-wrap {
    position: relative;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.7);
    background: #000;
}
.home-video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* CTA column */
.home-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.home-cta .cta-btn {
    flex: 1;
}

/* ── CTA BUTTONS ──────────────────────────────────────────────── */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    font-family: 'HwyGothic', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    text-align: center;
}
.cta-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.cta-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

.cta-play {
    background: linear-gradient(135deg, #b8860b, #d4a017);
    color: #0e0e0e;
    box-shadow: 0 3px 12px rgba(184, 134, 11, 0.4);
}
.cta-discord {
    background: #5865F2;
    color: #fff;
    box-shadow: 0 3px 12px rgba(88, 101, 242, 0.4);
}
.cta-shop {
    background: linear-gradient(135deg, #b8860b, #d4a017);
    color: #0e0e0e;
    box-shadow: 0 3px 12px rgba(184, 134, 11, 0.35);
}
.cta-amazon {
    background: #ff9900;
    color: #0e0e0e;
    box-shadow: 0 3px 12px rgba(255, 153, 0, 0.35);
}

/* ── BOTTOM GRID ──────────────────────────────────────────────── */
.home-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

/* Shared section card */
.home-section {
    background: rgba(14, 14, 14, 0.82);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-label {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: #c9a96e;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(201, 169, 110, 0.3);
}

/* ── SHOP SECTION ─────────────────────────────────────────────── */
.product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.product-img-wrap {
    flex: 1;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-height: 0;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.product-card:hover .product-img-wrap img {
    transform: scale(1.04);
}

.product-info {
    padding: 8px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-name {
    font-family: 'HwyGothic', sans-serif;
    font-size: 0.85rem;
    color: #e8e0ce;
    line-height: 1.3;
}
.product-cta {
    font-size: 0.75rem;
    color: #c9a96e;
    letter-spacing: 0.08em;
    font-weight: bold;
}

/* ── BOOK SECTION ─────────────────────────────────────────────── */
.book-content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
}

.book-img-wrap {
    flex: 0 0 45%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.book-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.book-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.book-links .cta-btn {
    flex: 1;
}

.book-tagline {
    margin: 0 0 4px;
    font-size: 0.9rem;
    color: #b8b0a0;
    line-height: 1.5;
}

/* ── MOBILE ───────────────────────────────────────────────────── */
@media only screen and ((max-width: 767px) or (hover: none)) {
    .home-page {
        padding: 16px 12px 40px;
        gap: 24px;
    }

    /* Stack video + CTAs vertically */
    .home-top {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-cta {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .home-cta .cta-btn {
        flex: 1 1 140px;
        font-size: 0.9rem;
        padding: 12px 14px;
    }

    /* Stack shop and book vertically */
    .home-bottom {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Side-by-side product cards stay 2-col on mobile */
    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Book: reset to compact proportions on mobile */
    .book-content {
        flex: none;
    }
    .book-img-wrap {
        flex: 0 0 38%;
    }
    .book-links .cta-btn {
        flex: none;
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .action-bar {
        background-color: #0e0e0e;
    }
}
