:root {
	/* Cor */
	--pitch:        #0b0705;   /* piche — fundo mais profundo, quente, nunca cinza */
	--basalt:       #14100d;   /* pedra escura das faixas */
	--stone:        #1e1814;   /* face dos painéis */
	--stone-lit:    #2b231c;   /* bisel iluminado */
	--stone-edge:   #0a0705;   /* junta escura entre as pedras */
	--gold:         #d9a441;   /* ouro batido — a cor institucional da página */
	--gold-hot:     #ffe08a;   /* brilho / relevo */
	--gold-dim:     #8a6a2b;   /* ouro apagado, bordas e réguas */
	--bordo:        #6e1220;   /* vinho — botões e selos */
	--bordo-hot:    #a81b2c;
	--parchment:    #e6d3a8;   /* texto corrido */
	--parchment-dim:#a9967a;   /* texto secundário */
	--chronicle:    #57d98a;   /* verde das crônicas */

	/* Raridade */
	--r-comum:      #9aa6b2;
	--r-incomum:    #6fb3f2;
	--r-premium:    #c98cf5;
	--r-jackpot:    #ff9d3c;

	/* Tipografia */
	--display: 'Grenze Gotisch', 'Palatino Linotype', 'Book Antiqua', serif;
	--body:    'Spectral', Georgia, 'Times New Roman', serif;
	--hud:     'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;

	/* Layout */
	--wrap: 1180px;
	--radius: 3px;

	/* Textura de pedra: ruído fractal em data-URI */
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pitch);
	color: var(--parchment);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.02; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--gold-hot); font-weight: 600; }
img, svg { max-width: 100%; }

a { color: var(--gold); text-decoration-color: rgba(217, 164, 65, .4); text-underline-offset: 3px; }
a:hover { color: var(--gold-hot); }

:focus-visible {
	outline: 2px solid var(--gold-hot);
	outline-offset: 3px;
	border-radius: 2px;
}

.svg-defs { position: absolute; width: 0; height: 0; }

.sr-only {
	position: absolute; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--bordo); color: var(--gold-hot);
	padding: .7rem 1.1rem; font-family: var(--hud);
	text-transform: uppercase; letter-spacing: .08em;
	transition: top .18s ease;
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(var(--wrap), 92vw); margin-inline: auto; }

/* ---------------------------------------------------------------------------
   3. PEÇAS COMPARTILHADAS
   --------------------------------------------------------------------------- */

.stone-face {
	position: relative;
	background:
		linear-gradient(180deg, var(--stone-lit) 0%, var(--stone) 34%, var(--basalt) 100%);
	border: 1px solid var(--stone-edge);
	box-shadow:
		inset 0 1px 0 rgba(255, 224, 138, .13),
		inset 0 -18px 34px rgba(0, 0, 0, .55),
		0 18px 38px rgba(0, 0, 0, .5);
}
.stone-face::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--grain);
	opacity: .05;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.eyebrow {
	font-family: var(--hud);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--gold-dim);
}
.eyebrow--dark { color: #7a5c2a; }

.section-head {
	max-width: 62ch;
	margin: 0 auto clamp(2rem, 4vw, 3rem);
	text-align: center;
}

.section-title {
	font-size: clamp(2.6rem, 6.4vw, 4.4rem);
	letter-spacing: .01em;
	margin: .35rem 0 .8rem;
	background: linear-gradient(178deg, var(--gold-hot) 0%, var(--gold) 46%, #7d5a1c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 3px 0 rgba(0, 0, 0, .35);
}
.section-title--sm  { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-title--dark {
	background: linear-gradient(178deg, #5c3f14 0%, #37240c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .28);
}

.section-lede { font-size: 1.08rem; color: var(--parchment); }
.section-lede--dark { color: #4a361c; }
.section-lede--dark strong { color: #2c1c07; }

.section-note {
	margin-top: .6rem;
	font-size: .92rem;
	font-style: italic;
	color: var(--parchment-dim);
}

.band { position: relative; padding: clamp(3.6rem, 7vw, 6.2rem) 0; }
.band::before {
	content: "";
	position: absolute; inset-inline: 0; top: 0; height: 1px;
	background: linear-gradient(90deg, transparent, var(--gold-dim) 22%, var(--gold) 50%, var(--gold-dim) 78%, transparent);
	opacity: .5;
}

/* ---------------------------------------------------------------------------
   4. BOTÕES
   --------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	padding: .95rem 1.9rem;
	font-family: var(--hud);
	font-size: 1.12rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.btn--primary {
	color: var(--gold-hot);
	background: linear-gradient(180deg, var(--bordo-hot) 0%, var(--bordo) 55%, #4a0b16 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 224, 138, .45),
		inset 0 0 0 1px rgba(217, 164, 65, .5),
		0 8px 0 -2px #2c060d,
		0 14px 26px rgba(120, 12, 26, .42);
	text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.btn--primary:hover {
	filter: brightness(1.12);
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255, 224, 138, .6),
		inset 0 0 0 1px rgba(255, 224, 138, .7),
		0 10px 0 -2px #2c060d,
		0 18px 34px rgba(168, 27, 44, .5);
}
.btn--primary:active { transform: translateY(2px); }

.btn--ghost {
	color: var(--gold);
	background: rgba(217, 164, 65, .05);
	box-shadow: inset 0 0 0 1px rgba(217, 164, 65, .38);
}
.btn--ghost:hover {
	color: var(--gold-hot);
	background: rgba(217, 164, 65, .12);
	box-shadow: inset 0 0 0 1px rgba(255, 224, 138, .6);
}

.btn[disabled],
.btn[aria-disabled="true"] {
	cursor: not-allowed;
	filter: grayscale(.7) brightness(.6);
	transform: none;
}

/* ---------------------------------------------------------------------------
   5. HERO
   --------------------------------------------------------------------------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3rem, 6vw, 5rem);
	background:
		radial-gradient(120% 80% at 50% -10%, #3a1210 0%, transparent 58%),
		radial-gradient(90% 60% at 50% 0%, rgba(217, 164, 65, .16) 0%, transparent 60%),
		linear-gradient(180deg, #16100c 0%, var(--pitch) 88%);
}

.hero__vault {
	position: absolute;
	inset: -20% -10% auto -10%;
	height: 130%;
	background:
		conic-gradient(from 200deg at 50% 0%, transparent 0deg, rgba(217, 164, 65, .07) 14deg, transparent 30deg),
		conic-gradient(from 130deg at 50% 0%, transparent 0deg, rgba(217, 164, 65, .07) 14deg, transparent 30deg);
	pointer-events: none;
}
.hero::after {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--grain);
	opacity: .045;
	pointer-events: none;
}

.hero__inner { position: relative; text-align: center; }

.hero__title { margin: 1rem 0 2.2rem; }

.hero__title-sm {
	display: block;
	font-family: var(--hud);
	font-size: clamp(1.05rem, 2.4vw, 1.4rem);
	font-weight: 600;
	letter-spacing: .5em;
	text-indent: .5em;
	text-transform: uppercase;
	color: var(--parchment-dim);
	margin-bottom: .9rem;
}

.hero__title-lg {
	display: block;
	font-size: clamp(3.1rem, 10.5vw, 7.5rem);
	line-height: .94;
	letter-spacing: .005em;
	background: linear-gradient(176deg, #fff6d8 0%, var(--gold-hot) 24%, var(--gold) 52%, #7a5518 88%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 6px 16px rgba(217, 164, 65, .22));
}

.bonus {
	display: flex;
	align-items: center;
	gap: clamp(1.2rem, 3vw, 2.2rem);
	max-width: 720px;
	margin: 0 auto 2.4rem;
	padding: 1.3rem clamp(1.2rem, 3vw, 2rem);
	text-align: left;
	background: linear-gradient(180deg, rgba(43, 35, 28, .85), rgba(11, 7, 5, .85));
	border-top: 1px solid rgba(217, 164, 65, .35);
	border-bottom: 1px solid rgba(217, 164, 65, .35);
	box-shadow: inset 0 0 60px rgba(168, 27, 44, .18);
}

.bonus__medal {
	position: relative;
	flex: none;
	display: grid;
	grid-auto-flow: column;
	place-content: center;
	align-items: baseline;
	width: clamp(88px, 18vw, 118px);
	height: clamp(88px, 18vw, 118px);
	border-radius: 50%;
	background:
		radial-gradient(circle at 34% 26%, #ffefc0 0%, var(--gold) 42%, #6d4a12 100%);
	box-shadow:
		0 0 0 3px #2c060d,
		0 0 0 5px rgba(217, 164, 65, .55),
		0 0 42px rgba(255, 224, 138, .38),
		inset 0 -8px 16px rgba(0, 0, 0, .4);
	animation: medal-breathe 4.5s ease-in-out infinite;
}
.bonus__medal::after {
	content: "";
	position: absolute; inset: 9px;
	border-radius: 50%;
	border: 1px dashed rgba(60, 34, 4, .45);
}

.bonus__x {
	font-family: var(--hud);
	font-size: clamp(1.1rem, 3vw, 1.5rem);
	font-weight: 700;
	line-height: 1;
	color: #4a300a;
	margin-right: .04em;
}
.bonus__n {
	font-family: var(--display);
	font-size: clamp(2.9rem, 7vw, 3.9rem);
	font-weight: 800;
	line-height: 1;
	color: #3b2405;
	text-shadow: 0 1px 0 rgba(255, 245, 214, .6);
}

.bonus__copy { font-size: 1.02rem; color: var(--parchment); }

@keyframes medal-breathe {
	0%, 100% { box-shadow: 0 0 0 3px #2c060d, 0 0 0 5px rgba(217, 164, 65, .55), 0 0 30px rgba(255, 224, 138, .28), inset 0 -8px 16px rgba(0, 0, 0, .4); }
	50%      { box-shadow: 0 0 0 3px #2c060d, 0 0 0 5px rgba(255, 224, 138, .75), 0 0 60px rgba(255, 224, 138, .5),  inset 0 -8px 16px rgba(0, 0, 0, .4); }
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2.6rem;
}

.hero__terms {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem 2.4rem;
	font-size: .96rem;
	color: var(--parchment-dim);
}
.hero__terms-k {
	display: inline-block;
	margin-right: .55rem;
	font-family: var(--hud);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
}

/* ---------------------------------------------------------------------------
   6. ALTAR — grade roleta + relicário
   --------------------------------------------------------------------------- */
.band--altar { background: linear-gradient(180deg, var(--pitch) 0%, #100b08 100%); }

.altar {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
	gap: clamp(2rem, 4vw, 3.4rem);
	align-items: start;
}

.altar__wheel { display: flex; flex-direction: column; align-items: center; }

/* ---------------------------------------------------------------------------
   7. ROSETA DE PEDRA + RODA
   --------------------------------------------------------------------------- */
.rosette {
	--talon-w: clamp(46px, 10vw, 66px);
	--ring: clamp(16px, 3.4vw, 26px);
	position: relative;
	width: min(100%, 520px);
	aspect-ratio: 1;
	border-radius: 50%;
	background:
		conic-gradient(from 0deg,
			#2f271f 0deg, #191410 18deg, #352c22 40deg, #1c1712 62deg,
			#312820 84deg, #171310 108deg, #33291f 132deg, #1a1511 156deg,
			#2e261e 180deg, #181310 204deg, #342a20 228deg, #1b1612 252deg,
			#302720 276deg, #171310 300deg, #33291f 324deg, #221b15 348deg, #2f271f 360deg);
	box-shadow:
		inset 0 0 0 2px rgba(217, 164, 65, .28),
		inset 0 0 34px rgba(0, 0, 0, .8),
		0 0 0 1px var(--stone-edge),
		0 26px 60px rgba(0, 0, 0, .62),
		0 0 80px rgba(217, 164, 65, .07);
}
.rosette::after {
	content: "";
	position: absolute; inset: 0;
	border-radius: 50%;
	background-image: var(--grain);
	opacity: .09;
	mix-blend-mode: overlay;
	pointer-events: none;
}

@supports not (aspect-ratio: 1 / 1) {
	.rosette::before { content: ""; display: block; padding-top: 100%; }
}

.rosette__rivets { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.rivet {
	position: absolute;
	top: 0; left: 50%;
	width: 12px; height: 50%;
	margin-left: -6px;
	transform-origin: 50% 100%;
}
.rivet::after {
	content: "";
	position: absolute;
	top: 5px; left: 50%;
	width: 11px; height: 11px;
	margin-left: -5.5px;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, #ffe9b6 0%, var(--gold) 45%, #4b3410 100%);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .9), inset 0 -1px 2px rgba(0, 0, 0, .5);
}

.rosette__plate {
	position: absolute;
	inset: var(--ring);
	border-radius: 50%;
	overflow: hidden;
	box-shadow:
		inset 0 0 0 3px #0a0705,
		inset 0 0 0 4px rgba(217, 164, 65, .5),
		inset 0 0 46px rgba(0, 0, 0, .75);
}

.wheel { display: block; width: 100%; height: 100%; }
.wheel__rotor { will-change: transform; }

.rosette__hub {
	position: absolute;
	top: 50%; left: 50%;
	width: 21%; height: 21%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: radial-gradient(circle at 36% 28%, #4a3d2e 0%, #1a1410 55%, #0a0705 100%);
	box-shadow:
		0 0 0 2px rgba(217, 164, 65, .65),
		0 0 0 6px #0a0705,
		0 0 24px rgba(0, 0, 0, .9),
		inset 0 2px 6px rgba(255, 224, 138, .16);
}
.rosette__hub span {
	font-family: var(--display);
	font-size: clamp(.9rem, 2.4vw, 1.35rem);
	font-weight: 800;
	letter-spacing: .06em;
	color: var(--gold);
	text-shadow: 0 1px 3px #000;
}

.talon {
	position: absolute;
	top: -6px; left: 50%;
	z-index: 4;
	width: var(--talon-w);
	margin-left: calc(var(--talon-w) / -2);
	transform-origin: 50% 11%;
	filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .85))
	        drop-shadow(0 0 18px rgba(255, 224, 138, .35));
}
.talon svg { display: block; width: 100%; height: auto; }
.talon__body {
	fill: url(#talon-gold);
	stroke: #2c060d;
	stroke-width: 2.2;
}
.talon__pin   { fill: #2c060d; }
.talon__gleam { fill: rgba(255, 243, 208, .75); }

.talon.is-ticking { animation: talon-tick .09s ease-out; }
@keyframes talon-tick {
	0%   { transform: rotate(0deg); }
	42%  { transform: rotate(-13deg); }
	100% { transform: rotate(0deg); }
}

.wheel-slice__qty,
.wheel-slice__label {
	font-family: var(--hud);
	paint-order: stroke;
	stroke: rgba(0, 0, 0, .82);
	stroke-width: 3.2px;
	stroke-linejoin: round;
}
.wheel-slice__qty {
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .01em;
}
.wheel-slice__label {
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	opacity: .8;
}

.wheel-slice { transition: opacity .3s ease; }
.wheel.is-resolved .wheel-slice:not(.is-won) { opacity: .32; }
.wheel-slice.is-won .wheel-slice__face {
	filter: drop-shadow(0 0 16px rgba(255, 224, 138, .95)) brightness(1.25);
}

.wheel-slice.is-out .wheel-slice__face { filter: grayscale(1) brightness(.45); }
.wheel-slice.is-out .wheel-slice__qty,
.wheel-slice.is-out .wheel-slice__label { opacity: .34; }

/* ---------------------------------------------------------------------------
   8. PAINEL DE GIRO
   --------------------------------------------------------------------------- */

.charslot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: .3rem .7rem;
	margin-top: clamp(1.4rem, 2.6vw, 2rem);
	padding: .5rem 1rem;
	background: rgba(10, 7, 5, .55);
	border: 1px solid rgba(217, 164, 65, .22);
	border-radius: var(--radius);
}
.charslot[hidden] { display: none; }

.charslot__label {
	font-family: var(--hud);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--parchment-dim);
}
.charslot__name {
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1;
	color: var(--gold-hot);
}
.charslot__swap {
	font-family: var(--hud);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(217, 164, 65, .45);
	padding: 0 0 1px;
	cursor: pointer;
}
.charslot__swap:hover { color: var(--gold-hot); border-bottom-color: var(--gold-hot); }

.spinbox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.spinbox__counter {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: .5rem 1.3rem;
	border-inline: 1px solid rgba(217, 164, 65, .3);
}
.spinbox__label {
	font-family: var(--hud);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--parchment-dim);
}
.spinbox__value {
	font-family: var(--display);
	font-size: 2.6rem;
	font-weight: 800;
	line-height: 1;
	color: var(--gold-hot);
	text-shadow: 0 0 22px rgba(255, 224, 138, .45);
}

.btn--spin { padding-inline: 2.6rem; font-size: 1.22rem; }

.sound-toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem .95rem;
	font-family: var(--hud);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--parchment-dim);
	background: transparent;
	border: 1px solid rgba(217, 164, 65, .22);
	border-radius: var(--radius);
	cursor: pointer;
	transition: color .16s ease, border-color .16s ease;
}
.sound-toggle:hover { color: var(--gold); border-color: rgba(217, 164, 65, .55); }
.sound-toggle[aria-pressed="true"] { color: var(--gold); border-color: rgba(217, 164, 65, .5); }

.sound-toggle__icon {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 10px currentColor;
}
.sound-toggle[aria-pressed="false"] .sound-toggle__icon {
	background: transparent;
	box-shadow: inset 0 0 0 1px currentColor;
}

.spinbox__status {
	min-height: 1.5em;
	margin-top: 1rem;
	font-size: .96rem;
	font-style: italic;
	color: var(--parchment-dim);
	text-align: center;
}
.spinbox__status.is-warn { color: #f0a86a; font-style: normal; }

/* ---------------------------------------------------------------------------
   9. RELICÁRIO (estoque diário)
   --------------------------------------------------------------------------- */
.reliquary {
	position: relative;
	padding: clamp(1.4rem, 2.6vw, 2rem);
	background:
		linear-gradient(180deg, var(--stone-lit) 0%, var(--stone) 30%, var(--basalt) 100%);
	border: 1px solid var(--stone-edge);
	box-shadow:
		inset 0 1px 0 rgba(255, 224, 138, .13),
		inset 0 -20px 40px rgba(0, 0, 0, .55),
		0 18px 38px rgba(0, 0, 0, .5);
}
.reliquary::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--grain);
	opacity: .05;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.reliquary__head { position: relative; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(217, 164, 65, .2); }
.reliquary__title { font-size: 1.9rem; color: var(--gold); }
.reliquary__sub { margin-top: .35rem; font-size: .9rem; color: var(--parchment-dim); }

.reliquary__list { position: relative; display: grid; gap: .7rem; }

.relic {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: .9rem;
	align-items: center;
	padding: .75rem;
	background: rgba(10, 7, 5, .55);
	border: 1px solid rgba(217, 164, 65, .16);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color .2s ease, background .2s ease;
}
.relic:hover { border-color: rgba(217, 164, 65, .4); background: rgba(20, 15, 11, .8); }

.relic__niche {
	display: grid;
	place-items: center;
	width: 54px; height: 54px;
	border-radius: 2px;
	background: radial-gradient(ellipse at 50% 118%, rgba(217, 164, 65, .3) 0%, transparent 62%), #090605;
	box-shadow: inset 0 0 0 1px rgba(217, 164, 65, .22), inset 0 4px 10px rgba(0, 0, 0, .9);
}
.relic__niche svg { width: 32px; height: 32px; }

.relic__body { min-width: 0; }

.relic__rarity {
	font-family: var(--hud);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
}
.relic__name {
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--parchment);
}

.relic__stock { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.relic__pips { display: flex; gap: 3px; }
.pip {
	width: 13px; height: 5px;
	background: var(--gold);
	box-shadow: 0 0 7px rgba(217, 164, 65, .6);
}
.pip.is-spent { background: #2e2721; box-shadow: none; }
.relic__count {
	font-family: var(--hud);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .08em;
	color: var(--parchment-dim);
	white-space: nowrap;
}

.relic.is-out { border-color: rgba(255, 255, 255, .06); background: rgba(6, 5, 4, .7); }
.relic.is-out .relic__niche,
.relic.is-out .relic__body { filter: grayscale(1) brightness(.55); }
.relic.is-out:hover { border-color: rgba(255, 255, 255, .1); }

.relic__seal {
	position: absolute;
	top: 50%; right: -6px;
	transform: translateY(-50%) rotate(-8deg);
	padding: .3rem .7rem;
	font-family: var(--hud);
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #ffd9d9;
	background: linear-gradient(180deg, var(--bordo-hot), #4a0b16);
	border: 1px solid rgba(255, 200, 200, .35);
	box-shadow: 0 3px 10px rgba(0, 0, 0, .7);
}

.reliquary__foot {
	margin-top: 1.1rem;
	padding-top: .9rem;
	border-top: 1px solid rgba(217, 164, 65, .14);
	font-size: .85rem;
	font-style: italic;
	color: var(--parchment-dim);
}

/* ---------------------------------------------------------------------------
   10. TABELA DE CHANCES
   --------------------------------------------------------------------------- */
.oddstable { margin-top: clamp(2rem, 4vw, 3rem); }

.oddstable__summary {
	display: inline-block;
	padding: .7rem 1.2rem;
	font-family: var(--hud);
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--gold);
	cursor: pointer;
	border: 1px solid rgba(217, 164, 65, .28);
	border-radius: var(--radius);
	list-style: none;
}
.oddstable__summary::-webkit-details-marker { display: none; }
.oddstable__summary:hover { color: var(--gold-hot); border-color: rgba(255, 224, 138, .55); }

.oddstable__scroll { margin-top: 1rem; overflow-x: auto; }

.oddstable__table {
	width: 100%;
	min-width: 460px;
	border-collapse: collapse;
	font-size: .95rem;
}
.oddstable__table th,
.oddstable__table td {
	padding: .7rem .9rem;
	text-align: left;
	border-bottom: 1px solid rgba(217, 164, 65, .12);
}
.oddstable__table th {
	font-family: var(--hud);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--gold-dim);
}
.oddstable__table td:last-child {
	font-family: var(--hud);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--gold);
	text-align: right;
}

/* ---------------------------------------------------------------------------
   11. CRÔNICAS DO SALÃO
   --------------------------------------------------------------------------- */
.band--chronicle {
	background:
		linear-gradient(180deg, #0d0907 0%, #120d0a 100%);
}

.chronicle {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	gap: clamp(1.8rem, 4vw, 3.2rem);
	align-items: center;
}

.chronicle__lede { margin-top: .4rem; font-size: 1rem; color: var(--parchment-dim); }

.chronicle__feed {
	position: relative;
	display: grid;
	gap: .5rem;
	padding: 1.1rem;
	background: rgba(6, 4, 3, .6);
	border-left: 2px solid var(--gold-dim);
	box-shadow: inset 0 0 40px rgba(0, 0, 0, .6);
}

.chron {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: .85rem;
	align-items: baseline;
	padding: .55rem .7rem;
	background: linear-gradient(90deg, rgba(217, 164, 65, .07), transparent 70%);
	border-radius: 2px;
}
.chron.is-new { animation: chron-in .5s cubic-bezier(.2, .8, .25, 1); }
@keyframes chron-in {
	from { opacity: 0; transform: translateY(-14px); }
	to   { opacity: 1; transform: none; }
}

.chron__time {
	font-family: var(--hud);
	font-size: .84rem;
	font-weight: 600;
	letter-spacing: .06em;
	color: var(--gold-dim);
	font-variant-numeric: tabular-nums;
}
.chron__text { font-size: .97rem; line-height: 1.45; color: var(--parchment-dim); }
.chron__who  { color: var(--parchment); font-weight: 600; }
.chron__item { color: var(--chronicle); font-weight: 600; }

.chron--jackpot .chron__item {
	color: var(--gold-hot);
	text-shadow: 0 0 14px rgba(255, 224, 138, .6);
}
.chron--jackpot { background: linear-gradient(90deg, rgba(255, 157, 60, .16), transparent 74%); }

.chron--empty {
	display: block;
	background: none;
	font-size: .95rem;
	font-style: italic;
	color: var(--parchment-dim);
	opacity: .75;
}

/* ---------------------------------------------------------------------------
   12. FATHER'S GIFT — painel de pergaminho
   --------------------------------------------------------------------------- */
.band--gift { background: linear-gradient(180deg, #120d0a 0%, var(--pitch) 100%); }

.scroll-panel {
	position: relative;
	padding: clamp(2rem, 5vw, 3.6rem);
	color: #4a361c;
	background:
		radial-gradient(ellipse at 22% 12%, #f4e6c4 0%, transparent 55%),
		radial-gradient(ellipse at 82% 88%, #e9d5aa 0%, transparent 58%),
		linear-gradient(160deg, #ecdcb6 0%, #d9c397 52%, #c9b184 100%);
	border: 1px solid #8a6a3b;
	box-shadow:
		inset 0 0 70px rgba(120, 88, 42, .4),
		0 22px 50px rgba(0, 0, 0, .6);
	clip-path: polygon(
		0% 1.4%, 2% 0%, 24% 1%, 51% 0.2%, 77% 1.2%, 98% 0%, 100% 1.6%,
		99.2% 26%, 100% 52%, 99% 76%, 100% 98.4%, 98% 100%, 74% 99%,
		49% 99.8%, 23% 98.8%, 2% 100%, 0% 98.4%, 0.8% 74%, 0% 48%, 1% 24%
	);
}
.scroll-panel::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--grain);
	opacity: .13;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.section-head--gift { position: relative; max-width: 66ch; }

.scroll-panel strong { color: #2c1c07; }

.drops {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(206px, 1fr));
	gap: 1rem;
	margin-bottom: 2.4rem;
}

.drop {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: .8rem;
	align-items: center;
	padding: .8rem;
	background: rgba(255, 250, 235, .38);
	border: 1px solid rgba(122, 92, 42, .4);
	border-radius: 2px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
}

.drop__icon {
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	color: #7a5c2a;
	border-radius: 2px;
	background: rgba(58, 40, 16, .1);
	box-shadow: inset 0 0 0 1px rgba(122, 92, 42, .3);
}
.drop--jackpot .drop__icon {
	color: #a34410;
	background: rgba(163, 68, 16, .12);
	box-shadow: inset 0 0 0 1px rgba(163, 68, 16, .4);
}
.drop__icon svg { width: 28px; height: 28px; }

.drop__tier {
	font-family: var(--hud);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: #7a5c2a;
}
.drop--jackpot .drop__tier { color: #a34410; }
.drop__name { font-size: .96rem; font-weight: 600; line-height: 1.3; color: #3a2a12; }

.drop--draft { border-style: dashed; background: rgba(255, 250, 235, .2); }
.drop__draft {
	display: inline-block;
	margin-top: .3rem;
	padding: .08rem .42rem;
	font-family: var(--hud);
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #6b4f22;
	border: 1px dashed rgba(107, 79, 34, .6);
}

.gift__cta {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.6rem;
	padding-top: 1.8rem;
	border-top: 1px solid rgba(122, 92, 42, .35);
}
.gift__cta-note { font-size: .92rem; font-style: italic; color: #6b5227; }

/* ---------------------------------------------------------------------------
   12b. AVISO DE ITENS BOUND
   --------------------------------------------------------------------------- */
.band--warn { padding: clamp(2.4rem, 4vw, 3.4rem) 0; background: var(--pitch); }

.warn {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1rem, 2.4vw, 1.5rem);
	align-items: start;
	padding: clamp(1.2rem, 2.6vw, 1.7rem);
	background: linear-gradient(135deg, rgba(168, 27, 44, .16), rgba(217, 164, 65, .06));
	border: 1px solid rgba(168, 27, 44, .5);
	border-radius: var(--radius);
	box-shadow: inset 0 1px 0 rgba(255, 224, 138, .12);
}

.warn__mark {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	color: #ff6b7d;
	border-radius: 50%;
	background: rgba(168, 27, 44, .2);
	box-shadow: inset 0 0 0 1px rgba(255, 107, 125, .4);
}
.warn__mark svg { width: 24px; height: 24px; }

.warn__title {
	font-family: var(--hud);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #ff8a99;
	margin-bottom: .5rem;
}

.warn__text { font-size: .97rem; line-height: 1.6; color: var(--parchment); }
.warn__text strong { color: var(--parchment); font-weight: 600; }
.warn__item { color: var(--gold) !important; }
.warn__tag  { color: #ff6b7d !important; }

@media (max-width: 620px) {
	.warn { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------------------
   13. RODAPÉ
   --------------------------------------------------------------------------- */
.foot {
	padding: 2.6rem 0 3.4rem;
	border-top: 1px solid rgba(217, 164, 65, .16);
	background: var(--pitch);
}
.foot__inner { text-align: center; font-size: .92rem; color: var(--parchment-dim); }
.foot__fine { margin-top: .5rem; font-size: .84rem; color: #6f6152; }

/* ---------------------------------------------------------------------------
   14. MODAL DE PRÊMIO
   --------------------------------------------------------------------------- */
.modal {
	position: fixed; inset: 0; z-index: 60;
	display: grid;
	place-items: center;
	padding: 1.2rem;
}
.modal[hidden] { display: none; }

.modal__backdrop {
	position: absolute; inset: 0;
	background: radial-gradient(ellipse at 50% 45%, rgba(70, 20, 10, .78) 0%, rgba(4, 3, 2, .93) 62%);
	backdrop-filter: blur(3px);
	animation: fade-in .25s ease;
}

.modal__card {
	position: relative;
	width: min(480px, 100%);
	padding: clamp(1.8rem, 4vw, 2.6rem);
	text-align: center;
	background: linear-gradient(180deg, var(--stone-lit) 0%, var(--stone) 34%, #0d0906 100%);
	border: 1px solid rgba(217, 164, 65, .45);
	box-shadow:
		inset 0 1px 0 rgba(255, 224, 138, .2),
		0 0 0 1px #0a0705,
		0 30px 70px rgba(0, 0, 0, .75),
		0 0 90px rgba(217, 164, 65, .12);
	animation: modal-rise .38s cubic-bezier(.2, .9, .25, 1);
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-rise {
	from { opacity: 0; transform: translateY(22px) scale(.96); }
	to   { opacity: 1; transform: none; }
}

.modal__close {
	position: absolute; top: .5rem; right: .7rem;
	width: 38px; height: 38px;
	font-size: 1.7rem;
	line-height: 1;
	color: var(--parchment-dim);
	background: transparent;
	border: 0;
	cursor: pointer;
}
.modal__close:hover { color: var(--gold-hot); }

.modal__eyebrow {
	font-family: var(--hud);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--gold-dim);
}
.modal__title { font-size: clamp(1.9rem, 5vw, 2.5rem); margin: .3rem 0 1.4rem; color: var(--gold); }

.modal__prize { margin-bottom: 1.3rem; }
.modal__icon {
	display: grid;
	place-items: center;
	width: 96px; height: 96px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 118%, rgba(217, 164, 65, .34) 0%, transparent 64%), #0a0705;
	box-shadow: inset 0 0 0 1px rgba(217, 164, 65, .4), 0 0 46px rgba(255, 224, 138, .22);
}
.modal__icon svg { width: 54px; height: 54px; }

.modal__name {
	font-family: var(--display);
	font-size: clamp(1.5rem, 4.4vw, 2rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--gold-hot);
	text-shadow: 0 0 26px rgba(255, 224, 138, .35);
}

.modal__where { font-size: .98rem; color: var(--parchment-dim); margin-bottom: 1.6rem; }
.modal__where--lead { margin-top: -.6rem; }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

.field { margin-bottom: 1.5rem; text-align: left; }

.field__label {
	display: block;
	margin-bottom: .4rem;
	font-family: var(--hud);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--gold-dim);
}

.field__select {
	width: 100%;
	padding: .8rem .9rem;
	font-family: var(--body);
	font-size: 1rem;
	color: var(--parchment);
	background: #0a0705;
	border: 1px solid rgba(217, 164, 65, .35);
	border-radius: var(--radius);
	cursor: pointer;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
	                  linear-gradient(135deg, var(--gold) 50%, transparent 50%);
	background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.4rem;
}
.field__select:hover { border-color: rgba(217, 164, 65, .7); }
.field__select option { background: #14100d; color: var(--parchment); }

.field__error {
	min-height: 1.2em;
	margin-top: .4rem;
	font-size: .88rem;
	color: #f0a86a;
}

/* ---------------------------------------------------------------------------
   15. RESPONSIVO
   --------------------------------------------------------------------------- */
@media (max-width: 980px) {
	.altar     { grid-template-columns: minmax(0, 1fr); }
	.chronicle { grid-template-columns: minmax(0, 1fr); }
	.reliquary { max-width: 520px; margin-inline: auto; }
}

@media (max-width: 620px) {
	body { font-size: 16px; }

	.bonus { flex-direction: column; text-align: center; gap: 1rem; }

	.hero__terms { flex-direction: column; gap: .45rem; }

	.hero__actions .btn,
	.gift__cta .btn,
	.modal__actions .btn { width: 100%; }

	.spinbox { flex-direction: column; gap: .9rem; }
	.spinbox__counter { flex-direction: row; align-items: baseline; gap: .7rem; border: 0; }
	.spinbox__value { font-size: 2rem; }
	.btn--spin { width: 100%; }

	.chron { grid-template-columns: minmax(0, 1fr); gap: .1rem; }

	.relic__seal {
		position: static;
		grid-column: 1 / -1;
		justify-self: start;
		margin-top: .55rem;
		transform: rotate(-1.5deg);
	}

	.scroll-panel { clip-path: none; }
}

/* ---------------------------------------------------------------------------
   16. MOVIMENTO REDUZIDO
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }

	.bonus__medal,
	.talon.is-ticking,
	.chron.is-new,
	.modal__card,
	.modal__backdrop { animation: none !important; }

	.btn { transition: none; }
	.btn--primary:hover { transform: none; }
}
