:root {
    --brand-red: #c9340d;
    --hero: #260006;
    --gold: #ffcf37;
    --ink: #242424;
    --muted: #756b6b;
    --page-width: 480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #fff; }
body {
    max-width: var(--page-width);
    margin: 0;
    margin-inline: auto;
    position: relative;
    color: var(--ink);
    background: #fff;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; }
.icon { width: 1.35em; height: 1.35em; flex: 0 0 auto; }

.app-shell {
    width: 100%;
    max-width: var(--page-width);
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: #fff;
}

.hero {
    position: relative;
    isolation: isolate;
    padding: 18px 16px 0;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 7% 14%, #ffd95a 0 4px, transparent 5px),
        radial-gradient(circle at 67% 8%, #ffe16e 0 5px, transparent 6px),
        radial-gradient(circle at 91% 70%, #ffbd2d 0 5px, transparent 6px),
        linear-gradient(155deg, #1b0003 0%, #4b0009 60%, #230004 100%);
}
.hero__glow {
    position: absolute;
    z-index: -1;
    top: 15%;
    right: -30%;
    width: 90%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 75, 10, .72), rgba(130, 18, 0, .15) 55%, transparent 72%);
    filter: blur(18px);
}
.hero__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.brand img { width: auto; height: 44px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .3)); }
.login-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    font-size: 14px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.login-pill .icon:first-child { width: 16px; height: 16px; }
.login-pill .icon:last-child { width: 10px; height: 10px; }
.auth-pill-form { margin: 0; }
.login-pill small { margin-left: 2px; color: rgba(255, 255, 255, .7); font-size: 9px; font-weight: 600; }
button.login-pill { cursor: pointer; color: #fff; }
.hero-nav { display: flex; gap: 6px; align-items: center; margin: 0 0 14px; font-size: 11px; line-height: 1.5; }
.hero-nav a { color: rgba(255, 255, 255, .75); font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.hero-nav span { color: rgba(255, 255, 255, .35); }
.hero__body { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.hero__copy { position: relative; z-index: 2; flex: 1; min-width: 0; padding-top: 2px; }
.hero__copy h1 { margin: 0 0 10px; font-size: 22px; font-weight: 900; letter-spacing: 0; line-height: 1.22; text-shadow: 0 3px 8px rgba(0, 0, 0, .4); }
.hero__copy h1 em { color: var(--gold); font-style: normal; }
.hero__copy p { margin: 0 0 14px; color: rgba(255, 255, 255, .78); font-size: 11.5px; line-height: 1.5; text-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.hero__art { position: relative; width: 158px; height: 228px; flex: 0 0 auto; }
.hero__mascot { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .35)); }
.hero__cta-row { display: flex; align-items: center; gap: 20px; }
.join-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 999px;
    color: #502900;
    background: linear-gradient(120deg, #ffe77c, #ffb91e);
    box-shadow: 0 8px 24px rgba(255, 183, 0, .25);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}
.join-button .icon:first-child { width: 17px; height: 17px; }
.join-button .icon:last-child { width: 10px; height: 10px; }
.token-bonus { width: auto; height: 56px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)) drop-shadow(0 0 8px rgba(255, 207, 55, .35)); }

.feature-panel {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 16px 6px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: rgba(0, 0, 0, .3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.feature { display: flex; align-items: center; flex-direction: column; gap: 6px; min-width: 0; text-align: center; }
.feature__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; color: var(--feature-fg); background: var(--feature-bg); box-shadow: 0 4px 12px rgba(0, 0, 0, .3); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature > span:last-child { max-width: 72px; color: rgba(255, 255, 255, .9); font-size: 9px; font-weight: 700; line-height: 1.2; }

.content-stack { padding: 8px 12px 42px; }
.section { margin-bottom: 22px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.section-heading h2, .section-heading a { display: flex; align-items: center; margin: 0; }
.section-heading h2 { gap: 7px; color: var(--brand-red); font-size: 14px; font-weight: 800; }
.section-heading h2 .icon { width: 17px; }
.section-heading a { gap: 2px; color: var(--brand-red); font-size: 12px; font-weight: 700; white-space: nowrap; }
.section-heading a .icon { width: 14px; }
.section-heading--large h2 { color: #292d32; font-size: 21px; }
.section-heading--large h2 .icon { color: #e43c34; width: 24px; }
.section-heading--large a { color: #e53935; font-size: 16px; }

.rewards { margin: 0; padding: 10px 14px 14px; background: #fff; }
.rewards .section-heading { margin-bottom: 10px; }
.rewards .section-heading h2 { gap: 5px; color: #c0390a; font-size: 12.5px; }
.rewards .section-heading h2 .icon { width: 12px; }
.rewards .section-heading a { color: #c0390a; font-size: 11px; }
.rewards .section-heading a .icon { width: 9px; }
.reward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.reward-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .07);
}
.reward-card__top { display: flex; align-items: center; gap: 7px; padding: 8px 8px 0; }
.reward-card__top img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; background: #f5f5f5; object-fit: cover; }
.reward-card strong { display: -webkit-box; min-height: 3.9em; overflow: hidden; color: #1a1a1a; font-size: 10px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.reward-card small { display: flex; align-items: center; justify-content: center; gap: 3px; padding: 5px 8px 8px; color: #e05e00; font-size: 9px; font-weight: 800; white-space: nowrap; }
.reward-card small .icon { width: 10px; color: #f59e0b; }

.promo { display: block; margin: 3px 0 18px; overflow: hidden; border-radius: 10px; background: #ffac00; }
.promo img { width: 100%; aspect-ratio: 3.25 / 1; object-fit: cover; }

.mart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mart-card { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 8px; border-radius: 15px; background: #fff; box-shadow: 0 4px 17px rgba(38, 29, 29, .09); }
.mart-card__icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #fff; background: var(--mart-color); }
.mart-card__icon .icon { width: 20px; }
.mart-card > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.mart-card strong { font-size: 10.5px; line-height: 1.2; }
.mart-card small { overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 375px) {
    .hero__copy h1 { font-size: 17px; }
    .hero__art { width: 138px; height: 208px; }
    .login-pill { padding: 6px 14px; font-size: 12px; }
    .join-button { padding: 10px 16px; font-size: 12px; }
    .token-bonus { width: auto; height: 48px; }
    .feature__icon { width: 38px; height: 38px; border-radius: 12px; }
    .feature > span:last-child { font-size: 8px; }
    .content-stack { padding-inline: 10px; }
}

@media (max-width: 340px) {
    .hero__copy p { font-size: 10.5px; }
    .hero__art { width: 120px; height: 186px; }
    .feature__icon { width: 32px; height: 32px; border-radius: 11px; }
    .feature__icon .icon { width: 18px; height: 18px; }
    .feature > span:last-child { font-size: 7.5px; }
    .mart-card { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
    .login-pill, .join-button, .feature, .reward-card, .mart-card { transition: transform .18s ease, filter .18s ease; }
    .login-pill:hover, .join-button:hover, .feature:hover, .reward-card:hover, .mart-card:hover { transform: translateY(-2px); filter: brightness(1.04); }
}
