/* ======================================================================
   EN HOMEPAGE — review layout
   Loaded only by /en/index.html (after style.css so it can override).
   Scoped here rather than in style.css because the other languages still
   use the original homepage template and must keep the old banner sizing.
   ====================================================================== */

/* ----------------------------------------------------------------------
   HERO BANNER — H1 + bonus line + CTA + availability disclosure
   ---------------------------------------------------------------------- */
.section_image .top_button {
    text-align: center;
}

/* Desktop: widen the banner block so the H1 sits beside the artwork */
@media (min-width: 768px) {
    .section_image .top_button {
        width: min(560px, 46%);
        margin-left: 60px;
    }
}

/* The frame carries the panel so the H1 itself is free to use a
   background-clip gradient fill (which would otherwise eat the panel). */
.top_button .hero_frame {
    margin: 0 0 18px;
    padding: 16px 22px;
    background: color-mix(in srgb, var(--color-dark) 55%, transparent);
    border: 2px solid color-mix(in srgb, var(--color-accent-3) 55%, transparent);
    border-radius: 6px;
}

/* Gold lettering, two-layer technique (same as the center_popup component):
   1) base element  — dark gradient + transparent stroke, painted stroke-first,
                      so the stroke expansion forms the dark edge;
   2) ::after       — repeats the text via attr(data-text) and lays the gold
                      gradient on top, with no stroke.
   The markup must therefore carry data-text with the same value. */
.top_button .hero_title {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    font: 900 clamp(20px, 3vw, 40px)/1.15 Font-Secondary, Arial, Helvetica, sans-serif;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #C23222 0%, #570100 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px transparent;
    paint-order: stroke fill;
    text-shadow: none;
}

.top_button .hero_title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #FEFA47 0%, #FFF83D 44.23%, #F9D821 60.58%, #FBA109 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0 transparent;
    text-shadow: none;
}

/* Bonus amount with a fading rule on each side.
   Kept as flat gold: at this size the two-layer stroke reads as a red ghost. */
.top_button .bonus_line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0 0 16px;
}

.top_button .bonus_line::before,
.top_button .bonus_line::after {
    content: '';
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(to right, transparent, var(--color-accent-2));
}

.top_button .bonus_line::after {
    background: linear-gradient(to left, transparent, var(--color-accent-2));
}

.top_button .bonus_amount {
    display: block;
    padding: 8px 0;
    font: bold 20px/1.2 Font-Base, sans-serif;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-accent-3);
    filter: drop-shadow(2px 2px 2px var(--color-dark));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.75);
}

.top_button .btn_2 {
    font-size: clamp(15px, 1.8vw, 22px);
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Availability disclosure sits under the button, not inside it */
.top_button .cta_disclosure {
    max-width: 380px;
    margin: 12px auto 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--color-white);
    opacity: 0.85;
}

/* ----------------------------------------------------------------------
   BODY SECTIONS
   ---------------------------------------------------------------------- */

/* Standalone CTAs would otherwise stretch the full container width */
#howto > .container > .btn,
#bonuses > .container > .btn,
#sectionSummary > .container > .btn {
    display: inline-block;
    width: auto;
    white-space: nowrap;
    padding-left: 34px;
    padding-right: 34px;
    margin-top: 24px;
}

#howto > .container > .btn span,
#bonuses > .container > .btn span,
#sectionSummary > .container > .btn span {
    display: inline-block;
    white-space: nowrap;
}

/* Breathing room above the "Step N" headings */
#howto h3 {
    margin-top: 30px;
}

/* Readable FAQ cards — the default accent background was too low-contrast */
#sectionFaq .faq_item {
    background: var(--color-dark-2);
    border-color: color-mix(in srgb, var(--color-accent) 35%, transparent);
}

#sectionFaq .faq_item:hover {
    background: color-mix(in srgb, var(--color-dark-2) 82%, var(--color-accent));
}

#sectionFaq .faq_item h3,
#sectionFaq .faq_open,
#sectionFaq .faq_open p {
    color: var(--color-white);
}
