.sorteos-elite-form-container, .ar-sorteos-stage {
	--ar-ink: #010e1a;
	--ar-panel: #0b1d2c;
	--ar-gold: #ba9263;
	--ar-light-gold: #e7c69a;
	--ar-white: #fffaf3;
	box-sizing: border-box;
	font-family: Montserrat, Arial, sans-serif;
}
.sorteos-elite-form-container *, .ar-sorteos-stage * { box-sizing: border-box; }
.sorteos-elite-form-container {
	position: relative;
	width: min(100% - 32px, 720px);
	margin: 48px auto;
	padding: clamp(28px, 6vw, 64px);
	background: linear-gradient(150deg, #fffdf9, #f6eee5);
	color: var(--ar-ink);
	border: 1px solid rgba(186,146,99,.5);
	box-shadow: 0 22px 70px rgba(1,14,26,.15);
}
.sorteos-elite-form-container::before, .ar-sorteos-stage::before {
	content: ''; position: absolute; inset: 10px; border: 1px solid rgba(186,146,99,.35); pointer-events: none;
}
.ar-sorteos-eyebrow {
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--ar-gold);
}
.sorteos-elite-form-title, .sorteos-elite-ruleta-title, .sorteos-elite-sorteo-title {
	font-family: Prata, Georgia, serif;
	font-size: clamp(32px, 4vw, 64px);
	font-weight: 400;
	line-height: 1.14;
	letter-spacing: -.03em;
	margin: 0 0 18px;
}
.sorteos-elite-form-title { color: var(--ar-ink); }
.sorteos-elite-form { display: grid; gap: 22px; margin-top: 34px; }
.sorteos-elite-form-group { display: grid; gap: 8px; }
.sorteos-elite-form-group label { color: #263747; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sorteos-elite-form-group .required { color: #916940; }
.sorteos-elite-form-group .optional { color: #65717b; font-weight: 400; letter-spacing: 0; text-transform: none; }
.sorteos-elite-input {
	width: 100%; min-height: 52px; border: 1px solid #c9b9a9; border-radius: 0; background: #fffdf9;
	padding: 14px 16px; color: var(--ar-ink); font: 500 16px Montserrat, sans-serif;
}
.sorteos-elite-input:focus, .ar-sorteos-password:focus { outline: 2px solid var(--ar-gold); outline-offset: 2px; }
.sorteos-elite-checkbox-label { display: flex !important; align-items: flex-start; gap: 12px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; }
.sorteos-elite-checkbox-label input { margin-top: 3px; accent-color: #a6794b; }
.sorteos-elite-checkbox-text { line-height: 1.5; }
.sorteos-elite-submit-btn, .sorteos-elite-girar-btn, .sorteos-elite-sortear-btn {
	min-height: 56px; border: 1px solid var(--ar-gold); border-radius: 0; background: var(--ar-gold);
	color: #071724; font: 700 12px Montserrat, sans-serif; letter-spacing: .18em; text-transform: uppercase;
	padding: 16px 28px; cursor: pointer; transition: background .2s, color .2s, transform .2s;
}
.sorteos-elite-submit-btn:hover:not(:disabled), .sorteos-elite-girar-btn:hover:not(:disabled), .sorteos-elite-sortear-btn:hover:not(:disabled) { background: var(--ar-light-gold); transform: translateY(-2px); }
.sorteos-elite-submit-btn:disabled, .sorteos-elite-girar-btn:disabled, .sorteos-elite-sortear-btn:disabled { opacity: .55; cursor: wait; }
.sorteos-elite-form-message { display: none; padding: 14px 16px; font-size: 14px; }
.sorteos-elite-form-message.show { display: block; }
.sorteos-elite-form-message.success { color: #164b37; background: #e2f0e8; }
.sorteos-elite-form-message.error { color: #7d2424; background: #f9e6e5; }

.ar-sorteos-stage {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: min(calc(100vw - 40px), 1450px) !important;
	max-width: none !important;
	min-height: min(850px, 90vh);
	margin: 28px 0;
	padding: clamp(36px, 5vw, 70px) clamp(22px, 5vw, 80px);
	text-align: center;
	color: var(--ar-white);
	background: radial-gradient(circle at 50% 35%, #173146 0, #071a2a 46%, #010e1a 82%);
	border: 1px solid rgba(186,146,99,.65);
	box-shadow: 0 30px 90px rgba(1,14,26,.45);
	overflow: hidden;
}
.ar-sorteos-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; background: radial-gradient(circle at 10% 20%, rgba(186,146,99,.13), transparent 30%), radial-gradient(circle at 90% 80%, rgba(186,146,99,.11), transparent 30%); }
.ar-sorteos-stage:fullscreen { left: 0; transform: none; width: 100vw; height: 100vh; max-width: none; margin: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ar-sorteos-stage:fullscreen { padding: 16px 40px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-logo { width: 120px; margin-bottom: 4px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-eyebrow { margin-bottom: 4px; }
.ar-sorteos-stage:fullscreen h3 { font-size: clamp(30px, 4.5vh, 52px); margin-bottom: 6px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-intro { margin-bottom: 5px; font-size: 14px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-meta { margin: 5px 0; }
.ar-sorteos-stage:fullscreen .sorteos-elite-ruleta-wrapper { width: min(42vh, 420px); margin: 8px auto 12px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-wheel-note { margin: 0 0 8px; }
.ar-sorteos-stage:fullscreen .sorteos-elite-ruleta-controls { gap: 4px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-password { min-height: 38px; margin-bottom: 3px; }
.ar-sorteos-stage:fullscreen .sorteos-elite-girar-btn, .ar-sorteos-stage:fullscreen .sorteos-elite-sortear-btn { min-height: 44px; padding: 10px 24px; }
.ar-sorteos-stage:fullscreen #sorteos-elite-slot-container { height: 288px; margin: 10px auto 16px; }
.ar-sorteos-stage:fullscreen.has-winner .sorteos-elite-ruleta-wrapper { width: min(29vh, 300px); }
.ar-sorteos-stage:fullscreen.has-winner .ar-sorteos-intro { display: none; }
.ar-sorteos-stage:fullscreen.has-winner #sorteos-elite-slot-container { height: 160px; }
.ar-sorteos-stage:fullscreen.has-winner #sorteos-elite-slot-container .ar-sorteos-reel { transform: translateY(-3904px) !important; transition: none !important; }
.ar-sorteos-stage:fullscreen .sorteos-elite-ganador { margin-top: 10px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-winner-card { padding: 12px 24px; gap: 4px; }
.ar-sorteos-stage:fullscreen .ar-sorteos-winner-card h4 { font-size: clamp(26px, 4vh, 48px); }
.ar-sorteos-stage > * { position: relative; z-index: 1; }
.ar-sorteos-stage .ar-sorteos-logo { display: block; width: clamp(140px, 15vw, 215px); height: auto; margin: 0 auto 18px; }
.ar-sorteos-stage .ar-sorteos-fullscreen { position: absolute; top: 25px; right: 25px; z-index: 5; min-width: 0; padding: 10px 14px; min-height: 0; background: transparent; border: 1px solid rgba(231,198,154,.45); color: var(--ar-light-gold); font: 600 10px Montserrat, sans-serif; letter-spacing: .13em; text-transform: uppercase; cursor: pointer; }
.ar-sorteos-stage .ar-sorteos-fullscreen:hover { background: rgba(186,146,99,.2); }
.ar-sorteos-stage .ar-sorteos-eyebrow { color: var(--ar-light-gold); }
.ar-sorteos-stage h3 { color: var(--ar-light-gold); }
.ar-sorteos-intro { margin: 0 auto 22px; color: #d9d6d0; font-size: clamp(15px, 1.5vw, 21px); letter-spacing: .08em; }
.ar-sorteos-wheel-note { margin: -12px 0 20px; color: #bfc6c9; font-size: 12px; letter-spacing: .04em; }
.ar-sorteos-meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin: 18px 0; }
.ar-sorteos-count, #sorteos-elite-participantes { color: var(--ar-light-gold); font-size: clamp(12px, 1.3vw, 18px); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.ar-sorteos-status { min-height: 25px; color: #d9d6d0; font-size: 13px; letter-spacing: .08em; }
.ar-sorteos-status.is-error { color: #ffb9a7; }
.sorteos-elite-ruleta-wrapper { width: min(52vh, 560px, 75vw); aspect-ratio: 1; position: relative; margin: 24px auto 34px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); }
#sorteos-elite-ruleta-canvas { display: block; width: 100%; height: 100%; border: 5px solid var(--ar-gold); border-radius: 50%; }
.sorteos-elite-ruleta-pointer { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 17px solid transparent; border-right: 17px solid transparent; border-top: 31px solid var(--ar-light-gold); z-index: 4; filter: drop-shadow(0 4px 4px rgba(0,0,0,.6)); }
.ar-sorteos-wheel-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 17%; aspect-ratio: 1; border: 2px solid var(--ar-light-gold); border-radius: 50%; background: #061625; color: var(--ar-light-gold); font: 32px Prata, Georgia, serif; box-shadow: 0 3px 16px #0008; }
.sorteos-elite-ruleta-controls { display: grid; justify-items: center; gap: 12px; }
.ar-sorteos-password-label { color: var(--ar-light-gold); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.ar-sorteos-password { display: block; width: min(100%, 350px); min-height: 44px; margin: 0 auto 12px; border: 1px solid rgba(231,198,154,.62); border-radius: 0; padding: 10px 14px; background: rgba(1,14,26,.85); color: #fff; text-align: center; font: 15px Montserrat, sans-serif; }
.ar-sorteos-stage button { margin-top: 3px; min-width: 230px; }
.sorteos-elite-ganador { display: none; margin: 30px auto 0; }
.sorteos-elite-ganador.show { display: block; animation: ar-reveal .8s ease-out both; }
.ar-sorteos-winner-card { display: grid; justify-items: center; gap: 14px; width: min(100%, 760px); margin: auto; padding: 36px 30px; background: rgba(186,146,99,.09); border-top: 1px solid var(--ar-gold); border-bottom: 1px solid var(--ar-gold); }
.ar-sorteos-winner-card h4 { margin: 0; color: #fff; font: 400 clamp(32px, 5vw, 68px) Prata, Georgia, serif; overflow-wrap: anywhere; }
.ar-sorteos-winner-card p { margin: 0; color: #e7c69a; font-size: clamp(13px, 1.4vw, 18px); }
@keyframes ar-reveal { from { opacity: 0; transform: translateY(22px) scale(.96); } to { opacity: 1; transform: none; } }

.sorteos-elite-sorteo-container { display: flex; flex-direction: column; align-items: center; }
#sorteos-elite-participantes { margin: 12px 0 0; }
#sorteos-elite-slot-container { position: relative; width: min(100%, 1040px); height: 288px; margin: 28px auto 32px; overflow: hidden; border: 1px solid var(--ar-gold); background: #071522; box-shadow: inset 0 0 40px #0009, 0 20px 40px #0006; }
#sorteos-elite-slot-container::before, #sorteos-elite-slot-container::after { content: ''; position: absolute; left: 0; right: 0; height: 90px; z-index: 3; pointer-events: none; }
#sorteos-elite-slot-container::before { top: 0; background: linear-gradient(#071522, transparent); }
#sorteos-elite-slot-container::after { bottom: 0; background: linear-gradient(transparent, #071522); }
.sorteos-slot-indicator { display: none; }
.ar-sorteos-slot-idle { display: grid; place-items: center; height: 100%; color: var(--ar-gold); font: 400 clamp(36px, 6vw, 80px) Prata, Georgia, serif; letter-spacing: .17em; }
.ar-sorteos-reel { position: absolute; inset: 0 0 auto; will-change: transform; }
.ar-sorteos-reel-item { display: grid; place-items: center; height: 96px; padding: 0 20px; color: #f8f5ee; font: 400 clamp(22px, 3.8vw, 52px) Prata, Georgia, serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-sorteos-reel-item.is-spacer { color: var(--ar-gold); font-size: 24px; }
#sorteos-elite-slot-container::selection { background: transparent; }
.sorteos-elite-sorteo-container > .ar-sorteos-password-label { margin-bottom: 12px; }
.sorteos-elite-sorteo-container > .ar-sorteos-password { margin-bottom: 18px; }
@media (max-width: 700px) {
	.ar-sorteos-stage { min-height: 0; padding: 45px 24px; }
	.ar-sorteos-stage .ar-sorteos-fullscreen { position: relative; top: auto; right: auto; display: block; align-self: flex-end; margin: 0 0 18px auto; }
	.ar-sorteos-stage .ar-sorteos-logo { margin: 0 auto 18px; }
	.ar-sorteos-stage:fullscreen { justify-content: flex-start; padding: 20px 24px; }
	.sorteos-elite-ruleta-wrapper { width: min(78vw, 480px); }
	.ar-sorteos-meta { gap: 6px; flex-direction: column; }
	.ar-sorteos-reel-item { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.sorteos-elite-ganador.show { animation: none; }
	.sorteos-elite-submit-btn, .sorteos-elite-girar-btn, .sorteos-elite-sortear-btn { transition: none; }
}
