/* =========================================================
   A DEAD MAN'S CHEST GAME PAGE
   Dark / Nautical / Antique Theme
   Responsive / Mobile-Safe Version
   ========================================================= */


/* =========================================================
   GLOBAL WIDTH SAFETY
   ========================================================= */

.deadMansChest-hero,
.deadMansChest-story-section,
.deadMansChest-included,
.game-credit {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}


.deadMansChest-hero *,
.deadMansChest-story-section *,
.deadMansChest-included *,
.game-credit * {
    box-sizing: border-box;
}


/* =========================================================
   TITLE & BYLINE
   ========================================================= */

.deadMansChest-title {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    text-align: center;

    box-sizing: border-box;
}


.deadMansChest-title h1 {
    margin-bottom: 0;

    max-width: 100%;

    white-space: normal;
    overflow-wrap: normal;
}


.deadMansChest-title h1 span {
    white-space: normal;
}


.deadMansChest-byline {
    margin: -25px 0 10px;

    color: #d8d2c7;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;

    letter-spacing: 0.08em;

    text-align: right;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95);
}


/* =========================================================
   HERO
   ========================================================= */

.deadMansChest-hero {
    position: relative;

    min-height: 700px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(8, 10, 12, 0.28),
            rgba(8, 10, 12, 0.80)
        ),
        url("deadMansChestBackground.jpg");

    background-size: cover;
    background-position: center;
}


/* ---------------------------------------------------------
   Hero Overlay
   --------------------------------------------------------- */

.deadMansChest-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 40%,
            rgba(7, 9, 11, 0.30) 100%
        );

    pointer-events: none;
}


.deadMansChest-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;

    padding: 100px 30px 40px;

    box-sizing: border-box;
}


/* =========================================================
   HERO EYEBROW
   ========================================================= */

.deadMansChest-hero .eyebrow {
    display: inline-block;

    max-width: 100%;

    margin: 0 0 25px;
    padding: 7px 16px;

    color: #e8e6df;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    background: rgba(10, 12, 14, 0.76);

    border: 1px solid rgba(198, 161, 91, 0.48);

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95);
}


/* =========================================================
   MAIN TITLE
   ========================================================= */

.deadMansChest-hero h1 {
    max-width: 100%;

    margin-bottom: 15px;

    color: #f4f0e8;

    font-family: 'Cinzel', serif;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 500;
    line-height: 1;

    letter-spacing: 3px;

    text-align: center;

    overflow-wrap: normal;

    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.98),
        0 4px 9px rgba(0, 0, 0, 0.85);
}


.deadMansChest-hero h1 span {
    color: var(--light-gold);

    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.98),
        0 4px 9px rgba(0, 0, 0, 0.85);
}


/* =========================================================
   SUBTITLE
   ========================================================= */

.deadMansChest-subtitle {
    max-width: 100%;

    margin-bottom: 30px;

    color: #ddd8cf;

    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 500;

    letter-spacing: 3px;

    overflow-wrap: break-word;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.95),
        0 3px 7px rgba(0, 0, 0, 0.80);
}


/* =========================================================
   TAGLINE
   ========================================================= */

.deadMansChest-hero .tagline {
    max-width: 100%;

    color: #e8e6df;

    white-space: nowrap;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.98),
        0 3px 7px rgba(0, 0, 0, 0.80);
}


.deadMansChest-hero .tagline strong {
    color: #fffaf0;

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.98),
        0 3px 7px rgba(0, 0, 0, 0.80);
}


/* =========================================================
   HERO DETAILS
   ========================================================= */

.deadMansChest-hero-details {
    width: 100%;
    max-width: 100%;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    gap: 30px;

    margin-top: 35px;
}


/* ---------------------------------------------------------
   Individual Detail
   --------------------------------------------------------- */

.deadMansChest-hero-details > div {
    flex: 1 1 0;

    min-width: 0;
    max-width: 220px;

    padding-top: 12px;

    border-top: 1px solid rgba(198, 161, 91, 0.65);
}


/* ---------------------------------------------------------
   Detail Label
   --------------------------------------------------------- */

.deadMansChest-hero-details span {
    display: block;

    margin-bottom: 4px;

    color: #d4b778;

    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   Detail Information
   --------------------------------------------------------- */

.deadMansChest-hero-details strong {
    display: block;

    color: #e8e6df;

    font-size: 12px;
    font-weight: 400;

    line-height: 1.35;

    overflow-wrap: break-word;

    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.9);
}


/*
 * Keep the primary player count together.
 *
 * This prevents:
 *
 *     10–
 *     14 Guests
 *
 * while still allowing the longer player-requirement
 * lines beneath it to wrap normally.
 */
.deadMansChest-hero-details > div:first-child strong {
    white-space: normal;
}


.deadMansChest-hero-details > div:first-child strong:first-line {
    white-space: nowrap;
}


/* =========================================================
   HERO SCHEDULE BUTTON
   ========================================================= */

.deadMansChest-hero-content .button {
    display: block;

    width: fit-content;
    max-width: 100%;

    margin: 45px auto 0;
}


/* =========================================================
   SCHEDULE AVAILABILITY
   ========================================================= */

.deadMansChest-hero .schedule-availability {
    max-width: 100%;

    color: #bdb7ad;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;

    letter-spacing: 0.04em;
    text-align: center;

    overflow-wrap: break-word;
}


.deadMansChest-hero-content > .schedule-availability {
    margin: 0.75rem 0 0;
}


/* =========================================================
   STORY SECTION
   ========================================================= */

.deadMansChest-story-section {
    position: relative;

    padding: 70px 8% 55px;

    background: #242526;
}


.deadMansChest-story-container {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;
}


.deadMansChest-story-text {
    width: 100%;
    max-width: 100%;

    text-align: center;
}


/* =========================================================
   STORY EYEBROW
   ========================================================= */

.deadMansChest-story-text .eyebrow {
    color: var(--gold);
}


/* =========================================================
   STORY HEADING
   ========================================================= */

.deadMansChest-story-text h2 {
    max-width: 100%;

    margin-bottom: 30px;

    color: #e8e6df;

    font-family: 'Cinzel', serif;
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 500;
    line-height: 1.2;

    overflow-wrap: break-word;
}


.deadMansChest-story-text h2 span {
    color: var(--gold);
}


/* ---------------------------------------------------------
   Divider
   --------------------------------------------------------- */

.deadMansChest-story-text h2::after {
    content: "";

    display: block;

    width: 70px;
    height: 1px;

    margin: 25px auto 0;

    background: var(--gold);
}


/* ---------------------------------------------------------
   Story Paragraphs
   --------------------------------------------------------- */

.deadMansChest-story-text p {
    max-width: 100%;

    margin-bottom: 20px;

    color: #d2d0ca;

    overflow-wrap: break-word;
}


/* =========================================================
   BETA / PRICING SECTION
   ========================================================= */

.deadMansChest-included {
    padding: 0 2rem 4rem;

    background: #242526;
}


.deadMansChest-included-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   PRICE BOX
   ========================================================= */

.deadMansChest-price {
    position: relative;

    width: 100%;
    max-width: 600px;

    margin: 0 auto;

    padding: 3.5rem 3rem;

    box-sizing: border-box;

    text-align: center;

    background: #101a1b;

    border: 1px solid rgba(198, 161, 91, 0.70);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.42);
}


/* ---------------------------------------------------------
   Inner Border
   --------------------------------------------------------- */

.deadMansChest-price::before {
    content: "";

    position: absolute;
    inset: 8px;

    border: 1px solid rgba(198, 161, 91, 0.18);

    pointer-events: none;
}


/* =========================================================
   BETA HEADING
   ========================================================= */

.deadMansChest-price-eyebrow {
    max-width: 100%;

    margin: 0 0 0.5rem;

    color: var(--gold);

    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    overflow-wrap: break-word;
}


/* =========================================================
   REMAINING SPOTS
   ========================================================= */

.deadMansChest-spots-remaining {
    max-width: 100%;

    margin: 0 0 1.75rem;

    color: #aaa59d;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;

    letter-spacing: 0.08em;
    text-transform: uppercase;

    overflow-wrap: break-word;
}


/* =========================================================
   PRICE
   ========================================================= */

.deadMansChest-price-amount {
    max-width: 100%;

    margin: 0;

    color: #e8e6df;

    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;

    overflow-wrap: break-word;

    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5);
}


/* =========================================================
   TAX NOTE
   ========================================================= */

.deadMansChest-tax-note {
    margin: 0.45rem 0 1.25rem;

    color: #96918a;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-style: italic;
}


/* =========================================================
   DEPOSIT
   ========================================================= */

.deadMansChest-deposit-note {
    max-width: 100%;

    margin: 0 0 1.25rem;

    color: var(--gold);

    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;

    overflow-wrap: break-word;
}


/* =========================================================
   BETA EXPLANATION
   ========================================================= */

.deadMansChest-beta-note {
    width: 100%;
    max-width: 470px;

    margin: 0 auto 1.5rem;

    color: #aaa59d;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;

    overflow-wrap: break-word;
}


/* =========================================================
   PRICE DESCRIPTION
   ========================================================= */

.deadMansChest-price-description {
    max-width: 100%;

    margin: 0;

    color: #e5dfd5;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;

    overflow-wrap: break-word;
}


/* =========================================================
   PER PERSON
   ========================================================= */

.deadMansChest-price-per-person {
    max-width: 100%;

    margin: 1rem 0 0;

    color: #96918a;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-style: italic;

    overflow-wrap: break-word;
}


/* =========================================================
   PRICE SCHEDULE BUTTON
   ========================================================= */

.deadMansChest-price .schedule-button {
    display: inline-block;

    max-width: 100%;

    margin-top: 2rem;
}


.deadMansChest-price .schedule-availability {
    max-width: 100%;

    margin: 0.75rem 0 0;

    overflow-wrap: break-word;
}


/* =========================================================
   ACCENT DETAILS
   ========================================================= */

.deadMansChest-story-text strong {
    color: var(--gold);
}


.deadMansChest-story-text a {
    color: var(--light-gold);

    text-decoration-color: rgba(226, 201, 137, 0.45);
    text-underline-offset: 3px;

    overflow-wrap: break-word;
}


.deadMansChest-story-text a:hover {
    color: #f0dfad;
}


/* =========================================================
   GAME CREDIT
   ========================================================= */

.game-credit {
    text-align: center;
}


.game-credit p,
.game-credit h2,
.game-credit a {
    max-width: 100%;

    overflow-wrap: break-word;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {


    /* -----------------------------------------------------
       Hero
       ----------------------------------------------------- */

    .deadMansChest-hero {
        min-height: 650px;
    }


    .deadMansChest-hero-content {
        padding: 90px 20px 40px;
    }


    .deadMansChest-hero .eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.13em;

        padding: 6px 12px;
    }


    .deadMansChest-hero h1 {
        font-size: clamp(38px, 11vw, 55px);

        letter-spacing: 1.5px;

        line-height: 1.05;

        white-space: normal;
    }


    .deadMansChest-subtitle {
        font-size: 13px;
        letter-spacing: 2px;
    }


    /* -----------------------------------------------------
       Tagline
       ----------------------------------------------------- */

    .deadMansChest-hero .tagline {
        font-size: clamp(9px, 3.4vw, 16px);

        letter-spacing: 0;

        white-space: nowrap;

        max-width: 100%;
    }


    /* -----------------------------------------------------
       Title / Byline
       ----------------------------------------------------- */

    .deadMansChest-title {
        width: 100%;
        max-width: 100%;
    }


    .deadMansChest-byline {
        margin-top: -12px;

        font-size: 0.55rem;

        letter-spacing: 0.07em;
    }


    /* -----------------------------------------------------
       Hero Details
       ----------------------------------------------------- */

    .deadMansChest-hero-details {
        display: flex;

        flex-wrap: nowrap;

        gap: 12px;

        margin-top: 30px;

        width: 100%;
    }


    .deadMansChest-hero-details > div {
        flex: 1 1 0;

        min-width: 0;
        max-width: none;
    }


    .deadMansChest-hero-details span {
        font-size: 8px;

        letter-spacing: 1.3px;
    }


    .deadMansChest-hero-details strong {
        font-size: 10px;

        line-height: 1.3;
    }


    /*
     * The main player count should never split
     * between "10–14" and "Guests".
     */
    .deadMansChest-hero-details > div:first-child strong {
        white-space: normal;
    }


    /* -----------------------------------------------------
       Hero Button
       ----------------------------------------------------- */

    .deadMansChest-hero-content .button {
        max-width: calc(100% - 10px);

        white-space: normal;

        text-align: center;
    }


    /* -----------------------------------------------------
       Story
       ----------------------------------------------------- */

    .deadMansChest-story-section {
        padding: 65px 20px 45px;
    }


    .deadMansChest-story-text h2 {
        font-size: clamp(32px, 10vw, 45px);
    }


    /* -----------------------------------------------------
       Pricing
       ----------------------------------------------------- */

    .deadMansChest-included {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 5rem;
    }


    .deadMansChest-price {
        padding: 3rem 1.5rem;
    }


    .deadMansChest-price-amount {
        font-size: 3.75rem;
    }


    .deadMansChest-price::before {
        inset: 6px;
    }


    /* -----------------------------------------------------
       Game Credit
       ----------------------------------------------------- */

    .game-credit {
        padding-left: 20px;
        padding-right: 20px;
    }

}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {


    .deadMansChest-hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }


    .deadMansChest-hero h1 {
        font-size: 36px;

        letter-spacing: 1px;
    }


    .deadMansChest-hero .eyebrow {
        font-size: 0.56rem;

        letter-spacing: 0.10em;

        padding-left: 9px;
        padding-right: 9px;
    }


    /* -----------------------------------------------------
       Very Small Phone Tagline
       ----------------------------------------------------- */

    .deadMansChest-hero .tagline {
        font-size: 9px;

        letter-spacing: -0.1px;

        white-space: nowrap;
    }


    /* -----------------------------------------------------
       Very Small Phone Hero Details
       ----------------------------------------------------- */

    .deadMansChest-hero-details {
        gap: 8px;
    }


    .deadMansChest-hero-details span {
        font-size: 7px;

        letter-spacing: 1px;
    }


    .deadMansChest-hero-details strong {
        font-size: 9px;

        line-height: 1.25;
    }


    .deadMansChest-price {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }


    .deadMansChest-price-amount {
        font-size: 3.25rem;
    }


    .deadMansChest-price-eyebrow {
        font-size: 0.7rem;
    }

}


/* =========================================================
   END
   ========================================================= */