﻿:root {
    --home-cream: #f8f1e4;
    --home-cream-dark: #ead9bd;
    --home-brown: #5d4030;
    --home-brown-dark: #3f2a20;
    --home-brown-light: #8d684e;
    --home-terracotta: #c66a46;
    --home-terracotta-dark: #a75034;
    --home-text: #45352b;
    --home-muted: #806c5f;
    --home-card: #fffaf2;
    --home-border: rgba(84, 55, 40, 0.12);
}

/* PAGE */
.home-page {
    color: var(--home-text);
}

/* HERO */
.home-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 85% 20%, rgba(198,106,70,.22), transparent 28%), linear-gradient(135deg, #4b3327 0%, #684834 50%, #4a3025 100%);
    color: #fff7eb;
}

    .home-hero::before {
        content: "";
        position: absolute;
        width: 420px;
        height: 420px;
        right: -180px;
        bottom: -220px;
        border-radius: 50%;
        border: 60px solid rgba(255,255,255,.035);
        pointer-events: none;
    }

    .home-hero h1 {
        line-height: .98;
        letter-spacing: -.04em;
    }

.home-accent {
    color: #e8b18f;
}

.home-hero-text {
    max-width: 720px;
    color: rgba(255,247,235,.75);
    line-height: 1.7;
}

.home-badge {
    padding: 10px 16px;
    background: rgba(232,177,143,.12);
    border: 1px solid rgba(232,177,143,.28);
    color: #efbd9d;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* HERO BUTTONS */
.home-btn-primary {
    border: none;
    background: var(--home-terracotta);
    color: #fff;
}

    .home-btn-primary:hover {
        background: var(--home-terracotta-dark);
        color: #fff;
    }

.home-btn-outline {
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    background: rgba(255,255,255,.04);
}

    .home-btn-outline:hover {
        border-color: rgba(255,255,255,.6);
        color: #fff;
        background: rgba(255,255,255,.09);
    }

/* HERO BOARD */
.home-board-card {
    max-width: 420px;
    margin-left: auto;
    padding: 18px;
    border-radius: 28px;
    background: #332219;
    transform: rotate(2deg);
}

.home-board-inner {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: linear-gradient(135deg, transparent 0 46%, rgba(60,37,27,.3) 46% 54%, transparent 54%), repeating-linear-gradient(90deg, #c96e4e 0 30px, #d7b07e 30px 60px, #5a392b 60px 90px, #d7b07e 90px 120px);
}

.home-checker {
    position: absolute;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 6px rgba(255,255,255,.08), 0 15px 25px rgba(0,0,0,.28);
}

.checker-light {
    background: #f0d5ad;
}

.checker-dark {
    background: #34231c;
}

.checker-one {
    top: 55px;
    left: 50px;
}

.checker-two {
    right: 45px;
    bottom: 55px;
}

.checker-three {
    left: 110px;
    bottom: 45px;
}

.home-die {
    position: absolute;
    top: 95px;
    right: 70px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #d7b07e;
    color: var(--home-brown-dark);
    font-size: 2.6rem;
    box-shadow: 0 15px 25px rgba(0,0,0,.25);
    transform: rotate(12deg);
}

/* SECTION HEADING */
.home-section-label {
    color: var(--home-terracotta-dark);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.home-section-intro {
    max-width: 650px;
}

/* CARDS */
.home-card {
    border-radius: 24px;
    background: var(--home-card);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .home-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 45px rgba(83,54,39,.12) !important;
    }

.home-card-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #f0dfc8;
    color: var(--home-terracotta-dark);
    font-size: 1.25rem;
}

.home-card-category {
    color: var(--home-terracotta);
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.home-card h3 {
    color: var(--home-brown-dark);
}

.home-card p {
    line-height: 1.75;
}

.home-card-link {
    color: var(--home-terracotta-dark);
    text-decoration: none;
    font-weight: 700;
}

    .home-card-link:hover {
        color: var(--home-brown-dark);
    }

/* MINI STATS */
.home-mini-stat {
    padding: 16px 8px;
    border-radius: 15px;
    background: #f1e2cd;
}

    .home-mini-stat strong {
        display: block;
        color: var(--home-brown-dark);
        font-size: 1.45rem;
    }

    .home-mini-stat span {
        display: block;
        margin-top: 3px;
        color: var(--home-muted);
        font-size: .7rem;
        font-weight: 700;
        text-transform: uppercase;
    }

/* STRATEGY LIST */
.home-strategy-list .list-group-item {
    padding-left: 0;
    padding-right: 0;
    border-color: var(--home-border);
    background: transparent;
    color: var(--home-text);
}

    .home-strategy-list .list-group-item::before {
        content: "•";
        margin-right: 10px;
        color: var(--home-terracotta);
        font-weight: 900;
    }

/* FEATURED CARD */
.home-card-featured {
    background: linear-gradient(135deg, var(--home-brown-dark), #684734);
    color: #fff7eb;
}

    .home-card-featured h3 {
        color: #fff7eb;
    }

    .home-card-featured p {
        color: rgba(255,247,235,.72);
    }


.home-card-category-light {
    color: #efb997;
}

/* PLAY FEATURES */
.home-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    font-weight: 600;
}

.home-play-btn {
    background: #e4ad88;
    color: var(--home-brown-dark);
    font-weight: 700;
}

    .home-play-btn:hover {
        background: #f0c6aa;
        color: var(--home-brown-dark);
    }

/* GNU ACTION BUTTONS */
.home-gnu-actions .btn {
    min-height: 48px;
    padding: 10px 8px;
    font-size: .9rem;
    line-height: 1.3;
    border-radius: 12px;
    white-space: normal;
}

.home-gnu-btn-secondary {
    background: transparent;
    color: #f0c6aa;
    border-color: rgba(240,198,170,.55) !important;
}

    .home-gnu-btn-secondary:hover,
    .home-gnu-btn-secondary:focus-visible {
        background: rgba(240,198,170,.12);
        color: #fff7eb;
        border-color: #f0c6aa !important;
    }

/* GNU AI FEATURE */
.home-gnu-card {
    position: relative;
    overflow: hidden;
}

    .home-gnu-card::before {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        top: -120px;
        right: -100px;
        border-radius: 50%;
        background: rgba(232,177,143,.07);
        pointer-events: none;
    }

    .home-gnu-card .card-body {
        position: relative;
        z-index: 1;
    }

.home-gnu-avatar-frame {
    max-width: 126px;
    margin: 0 auto;
    padding: 6px;
    border: 1px solid rgba(239,189,157,.35);
    border-radius: 22px;
    background: rgba(255,255,255,.08);
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

.home-gnu-avatar {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.home-gnu-card .home-feature-row {
    justify-content: flex-start;
    color: #fff7eb;
}

    .home-gnu-card .home-feature-row i {
        width: 22px;
        text-align: center;
        color: #efb997;
    }


/* SCROLLBAR */
::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: #ead8bd;
}

::-webkit-scrollbar-thumb {
    border: 2px solid #ead8bd;
    border-radius: 20px;
    background: var(--home-brown-light);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--home-terracotta);
    }

html {
    scrollbar-width: thin;
    scrollbar-color: var(--home-brown-light) #ead8bd;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .home-board-card {
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .home-hero h1 {
        font-size: 3rem;
    }

    .home-board-inner {
        min-height: 300px;
    }

    .home-checker {
        width: 72px;
        height: 72px;
    }

    .home-die {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }

    .home-gnu-avatar-frame {
        max-width: 100px;
        border-radius: 18px;
    }
}

/* TEXT CONTRAST */
.home-card .text-muted {
    color: #6f5a4c !important;
}

.home-card .card-text {
    color: #4b392f;
}

.home-section-intro {
    color: #6f5a4c !important;
}

.home-card-featured .card-text, .home-card-featured .text-muted {
    color: rgba(255,247,235,.82) !important;
}

.home-card-featured .home-feature-row {
    color: #fff7eb;
}
