@font-face {
	font-family: 'GT America Std';
	src: url('/assetts/fonts/GT-America-Standard-Regular%20(1).otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root { --bg:#151A42; --card:#0f1539; --muted:#A9B1D6; --txt:#FFFFFF; --acc:#22c55e; }
* { box-sizing: border-box; }
html,body { margin:0; padding:0; font-family: 'GT America Std', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial; color: var(--txt); background: var(--bg); }
a { color: #93c5fd; }
.hero { padding: 40px 16px 16px; text-align:center; }
.hero__inner { max-width: 800px; margin: 0 auto; }
.brand { width: 320px; max-width: 70vw; height:auto; opacity:.95; margin-bottom:16px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
h1 { margin: 8px 0 6px; font-weight: 700; font-size: 26px; }
.container { max-width: 720px; margin: 24px auto 80px; padding: 0 16px; }
.card { background: rgba(7,12,42,.7); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
label { display:block; font-size:16px; color: var(--txt); margin: 12px 0 6px; }
input, select { width: 100%; padding: 16px 16px; background: #0d1240; color: var(--txt); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; outline: none; font-size: 16px; }
input::placeholder { color: var(--txt); opacity:.8; }
select.placeholder { color: var(--txt); opacity:.8; }
input:focus, select:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,.25); }
.card label > input:not([type="checkbox"]),
.card label > select { margin-top: 4px; }
.grid { display:grid; grid-template-columns: 1fr; gap: 12px; }
.captcha { margin-top: 12px; }
.consent { display:flex; gap:12px; align-items:center; justify-content:flex-start; margin-top: 10px; color: var(--muted); text-align:left; }
.consent input[type="checkbox"]{ width: 22px; height: 22px; accent-color: var(--acc); }
button { margin-top: 14px; padding: 14px 16px; width: 100%; background: var(--acc); color:#052e12; border: none; border-radius: 10px; font-weight: 700; cursor:pointer; }
button:disabled{ opacity: .7; cursor: not-allowed; }
#msg { margin-top: 10px; min-height: 22px; color: #fef3c7; }
.footer { text-align:center; padding: 32px 16px; color: #94a3b8; }

/* Utilities */
.hidden { display: none !important; }

/* Inline help text */
.help { display:block; font-size: 12px; margin-top: 4px; color: var(--muted); }
.help.error { color: #dc3545; }

/* Success view */
.success { display: grid; place-items: center; padding: 40px 16px; text-align: center; }
.success__inner { max-width: 700px; background: rgba(7,12,42,.6); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.success__icon { font-size: 48px; margin-bottom: 10px; }
.success__title { margin: 6px 0; font-size: 26px; }
.success__subtitle { margin: 0; color: var(--muted); }

/* Popup */
.popup { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; padding: 16px; z-index: 1000; }
.popup__dialog { width: min(560px, 92vw); background: #0d1240; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.4); padding: 18px; }
.popup__message { color: #fde68a; margin: 6px 0 12px; white-space: pre-line; }
.popup__close { width: 100%; background: #22c55e; color:#052e12; border: none; border-radius: 10px; font-weight: 700; cursor:pointer; padding: 12px 14px; }

/* Gifts grid */
.gifts { margin-top: 16px; border: 0; padding: 0; }
.gifts legend { font-weight: 700; margin-bottom: 10px; color: var(--txt); }
.gift-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 520px){ .gift-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px){ .gift-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gift-card { position: relative; }
.gift-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.gift-card label { display: block; border: 1px solid rgba(255,255,255,.15); background: #0d1240; border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.gift-card picture { display: block; width: 100%; }
.gift-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; background: #0d1240; }
.gift-card span { display: block; padding: 12px 14px; color: var(--txt); font-weight: 600; font-size: 16px; }
.gift-card input[type="radio"]:focus + label { box-shadow: 0 0 0 3px rgba(96,165,250,.25); border-color: #60a5fa; }
.gift-card input[type="radio"]:checked + label { border-color: #22c55e; box-shadow: 0 0 0 2px rgba(34,197,94,.35) inset; }
