/* Hero Top — Value Proposition */

.hero-top {
    background: #FFF8F0;
    background: #FCF8F8;
    padding: 20px 2px 20px;
    text-align: center;
    box-sizing: border-box;
    width: 100vw;                    /* full-width on its own (was inherited from .hero-landing) */
    margin-left: calc(50% - 50vw);
}

.hero-top__title {
    position: relative; /* required for pseudo-element */
}

/* luxury gold line */
.hero-top__title::before {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 0 auto 10px;

    background: linear-gradient(
        90deg,
        #c5a047 0%,
        #ffd700 50%,
        #c5a047 100%
    );

    border-radius: 2px;

    /* subtle glow = premium feel */
    box-shadow:
        0 0 6px rgba(212,175,55,0.45),
        0 0 12px rgba(212,175,55,0.25);

    opacity: 0.95;
}

/* Hero New — Main content area */

.hero-new {
    flex: 1;
    background: var(--text-main);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    padding: 0;
    width: 100vw;                    /* full-width on its own (was inherited from .hero-landing) */
    margin-left: calc(50% - 50vw);
}

.hero-new::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url("/static/images/hero/gold-hero.73dea58d51cd.webp") no-repeat right bottom / contain;
    opacity: 0.25;
    filter: invert(1) sepia(1) saturate(4) brightness(0.75) hue-rotate(-5deg);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-new__price-strip {
    font-family: 'Roboto', sans-serif;
    background-color: #4e4201;
    font-size: 0.875rem;
    letter-spacing: 2px;
    /* solid, not faded: the faded gold read at 2.7 to 1 on this olive */
    color: var(--gold-light);
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    z-index: 1;
}

.hero-new__price-period {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: var(--cream);
}

.hero-new__zones {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 680px;
    margin: 0 auto;
}

.hero-new__zone {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 16px;
    box-sizing: border-box;
    border-bottom: 5px solid rgb(255 195 0 / 42%);
}

.hero-new__zone:last-child {
    border-bottom: 5px solid rgb(255 195 0 / 42%);
}

.hero-new__zone-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin: 0 0 6px;
}

.hero-new__zone-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: var(--accent-gold);
    margin: 0;
    letter-spacing: 1px;
}

.hero-new__zone-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    padding: 14px 12px 0;
    letter-spacing: 0.3px;
    line-height: 1.6;
    position: relative;
    text-align: left;
    overflow: hidden;
    width: 100%;
}

/* The click-to-edit wrappers are the zone's flex children now, so they carry
   the full width the desc used to take for itself. markdown_render wraps every
   line in <p>; the zone supplies its own spacing. */
.hero-new__zone .md-edit { width: 100%; }

.hero-new__zone-title p,
.hero-new__zone-sub p,
.hero-new__zone-desc p { margin: 0; }

.hero-new__zone-desc p + p { margin-top: 0.9em; }

.hero-new__zone-desc::before {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    margin: 0 auto 14px;
    background: linear-gradient(90deg, #c5a047, #ffd700, #c5a047);
    border-radius: 1px;
    opacity: 0.5;
}

@media (max-width: 480px) {
    .hero-new {
        padding: 8px;
    }
    .hero-new::after {
        opacity: 0.15;
    }
}

/* Standalone luxury gold line (same look as hero-top__title::before) */
.hero-top__goldline {
    width: 48px;
    height: 3px;
    margin: 10px auto;

    background: linear-gradient(
        90deg,
        #c5a047 0%,
        #ffd700 50%,
        #c5a047 100%
    );

    border-radius: 2px;

    box-shadow:
        0 0 6px rgba(212,175,55,0.45),
        0 0 12px rgba(212,175,55,0.25);

    opacity: 0.95;
}

/* Place 42 concept image below the svg icon — blends into hero background */
.hero-top__place42 {
    display: block;
    width: 200px;
    margin: 6px auto 0;
}

.hero-top__place42 img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

.hero-top__inner {
    margin: 0 auto;
}

/* ---- FIRE: the player's urgent lines, holding the Place 42 slot ---- */

.fire {
    max-width: 580px;
    margin: 6px auto 0;
    padding: 0 2px;
    text-align: left;
}

.fire__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fire__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 8px 12px;
    border-radius: 3px;
    /* gold edge down the left, charcoal bar behind it */
    background:
        linear-gradient(180deg, #c5a047 0%, #ffd700 50%, #c5a047 100%) left / 4px 100% no-repeat,
        var(--text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.fire__text {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--surface);
    overflow-wrap: anywhere;
}

.fire__done {
    flex-shrink: 0;
    font: 700 0.875rem/1 'Roboto', sans-serif;
    letter-spacing: 0.08em;
    color: var(--ink);
    background: var(--accent-pink);
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 3px 12px;
    cursor: pointer;
}

.fire__done:hover {
    background: var(--accent-pink-soft);
}

.fire__add {
    display: flex;
    gap: 4px;
    max-width: 580px;
    margin: 6px auto 0;
    padding: 0 2px;
}

/* `hidden` must win over the display rules above and on the logo. */
.fire__add[hidden],
.hero-top__place42[hidden] {
    display: none;
}

.fire__add-input {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: 3px;
}

.fire__add-send {
    flex-shrink: 0;
    padding: 6px 14px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(90deg, #c5a047 0%, #ffd700 50%, #c5a047 100%);
    border: 1px solid var(--ink);
    border-radius: 3px;
    cursor: pointer;
}

.fire__add-send:hover {
    background: linear-gradient(90deg, #ffd700 0%, #ffe14d 50%, #ffd700 100%);
}

.fire__error {
    margin: 4px 0 0;
    font: 700 0.875rem/1.3 'Roboto', sans-serif;
    color: var(--accent-pink);
}

.fire__done:focus-visible,
.hero-top__place42:focus-visible,
.fire__add-send:focus-visible,
.fire__add-input:focus-visible {
    outline: 3px solid var(--accent-teal);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .fire {
        padding: 0 2px;
    }
    .fire__item {
        padding: 6px 8px 6px 10px;
    }
    .fire__text {
        font-size: 0.9rem;
    }
    .fire__done {
        padding: 3px 9px;
        font-size: 0.875rem;
    }
}

.hero-top__icon span {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    opacity: 0.4;
}

.hero-top__title {
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    line-height: 1.05;
    color: var(--accent-gold);
    margin: 0;
    text-transform: uppercase;

    text-shadow:
        0 1px 0 rgba(0,0,0,0.15),
        0 2px 6px rgba(0,0,0,0.12);
}

.hero-top__desc {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    margin: 2px auto 0;
    max-width: 580px;
    font-weight: 400;
    line-height: 1.2;     /* optional: tighter text inside lines */
}

/* Dumpster trap block — appended below current hero text */
.hero-top__dumpster {
    margin: 22px auto 0;
    padding: 18px 12px 8px;
    max-width: 580px;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
}

/* Tighten the gap between the two stacked button blocks */
.hero-top__dumpster + .hero-top__dumpster {
    margin-top: 0;
    padding-top: 6px;
}

.hero-top__dumpster + .hero-top__dumpster .hero-top__dumpster-btn {
    margin-top: 6px;
}

.hero-top__dumpster-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-main);
    margin: 8px auto 0;
    font-weight: 400;
}

.hero-top__dumpster-form {
    margin: 0;
    padding: 0;
}

.hero-top__dumpster-btn {
    display: inline-block;
    margin-top: 14px;
    padding: 10px 22px;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--gold-bright) 50%, var(--accent-gold) 100%);
    border: 1px solid var(--ink);
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    transition: transform 0.15s, box-shadow 0.15s;
}

.hero-top__dumpster-btn:hover {
    background: linear-gradient(90deg, var(--accent-gold-dark) 0%, var(--accent-gold-dark) 50%, var(--accent-gold-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,215,0,0.55), 0 2px 6px rgba(0,0,0,0.25);
}

.hero-top__dumpster-btn:active {
    background: linear-gradient(90deg, var(--accent-gold-dark) 0%, var(--accent-gold-dark) 50%, var(--accent-gold-dark) 100%);
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 480px) {
    .hero-top__dumpster {
        padding: 16px 2px 14px;
    }
}

/* Slim banner-style Open Dumpster button (used on catalog pages) */
.dumpster-banner-form {
    margin: 12px auto;
    padding: 0;
    max-width: 720px;
    text-align: center;
}

.dumpster-banner-btn {
    display: block;
    width: 100%;
    padding: 6px 18px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(90deg, var(--accent-gold) 0%, var(--gold-bright) 50%, var(--accent-gold) 100%);
    border: 1px solid var(--ink);
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.18);
    transition: transform 0.15s, box-shadow 0.15s;
}

.dumpster-banner-btn:hover {
    background: linear-gradient(90deg, var(--accent-gold-dark) 0%, var(--accent-gold-dark) 50%, var(--accent-gold-dark) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255,215,0,0.55), 0 2px 6px rgba(0,0,0,0.25);
}

.dumpster-banner-btn:active {
    background: linear-gradient(90deg, var(--accent-gold-dark) 0%, var(--accent-gold-dark) 50%, var(--accent-gold-dark) 100%);
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 480px) {
    .dumpster-banner-form {
        margin: 8px 2px;
    }
    .dumpster-banner-btn {
        font-size: 0.95rem;
        padding: 5px 12px;
    }
}

/* Hero Top Accent Options */

/* Gift box icon accent */
.hero-top__accent--icon {
    text-align: center;
    margin: 0 auto 1px;
    opacity: 0.5;
}

/* Hero Top Dark variant */
.hero-top-dark {
    background: var(--text-main);
    padding: 24px 2px 20px;
    text-align: center;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

