/* ARC Spin & Win — styles are scoped to .arc-promo / .arc-overlay only,
   so this never touches the rest of the site's theme. */

.arc-promo, .arc-promo *, .arc-overlay, .arc-overlay *, .arc-confetti-piece{
  box-sizing:border-box;
}

.arc-promo{
  --navy:#122043;
  --navy-deep:#0b1730;
  --red:#c8102e;
  --cream:#f6f1e6;
  --gold:#c9a227;
  --gold-light:#e8c860;
  --ink:#1c1a17;
  --bg:#faf7f0;
  --whatsapp:#25d366;

  max-width:1120px;
  margin:0 auto;
  padding:28px 20px 52px;
  background:var(--bg);
  color:var(--ink);
  font-family:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Header ---------- */
.arc-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:18px;
  padding-bottom:22px;
  border-bottom:1px solid rgba(18,32,67,0.1);
  margin-bottom:30px;
}

.arc-logo{display:flex; flex-direction:column; align-items:flex-start; line-height:1;}
.arc-logo-img{
  height:34px;
  width:auto;
  display:block;
  margin-bottom:6px;
}
.arc-logo .sub{
  font-size:11px;
  font-weight:700;
  letter-spacing:2px;
  color:var(--navy);
  margin-top:3px;
}
.arc-logo .tag{
  font-size:10px;
  letter-spacing:1.5px;
  color:#8a8578;
  margin-top:5px;
}

.arc-trust{
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}
.arc-trust .item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  font-size:11.5px;
  font-weight:600;
  color:var(--navy);
  text-align:center;
  width:88px;
}
.arc-trust .item svg{width:24px; height:24px; stroke:var(--navy);}
.arc-trust .divider{width:1px; height:34px; background:rgba(18,32,67,0.15);}

/* ---------- Hero ---------- */
.arc-hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.arc-copy h1{
  font-size:clamp(32px, 4.2vw, 48px);
  line-height:1.12;
  margin:0 0 16px;
  font-weight:800;
}
.arc-copy h1 .line-navy{color:var(--navy);}
.arc-copy h1 .line-red{color:var(--red);}

.arc-rule{
  width:64px; height:4px; background:var(--gold);
  margin:14px 0 18px; border-radius:2px;
}

.arc-copy p.sub{
  font-size:17px;
  color:#4a473f;
  margin:0 0 26px;
  max-width:38ch;
}

.arc-whatsapp-btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  background:var(--whatsapp);
  color:#fff;
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  padding:14px 22px;
  border-radius:40px;
  box-shadow:0 8px 18px rgba(37,211,102,0.35);
  transition:transform .15s ease, box-shadow .15s ease;
}
.arc-whatsapp-btn:hover{transform:translateY(-2px); box-shadow:0 12px 22px rgba(37,211,102,0.42);}
.arc-whatsapp-btn svg{width:22px; height:22px; fill:#fff; flex-shrink:0;}

.arc-finePrint{
  font-size:11.5px;
  color:#8a8578;
  margin-top:14px;
}

/* ---------- Wheel ---------- */
.arc-wheel-stage{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.arc-wheel-frame{
  position:relative;
  width:min(380px, 82vw);
  height:min(380px, 82vw);
}

.arc-pointer{
  position:absolute;
  top:-6px;
  left:50%;
  transform:translateX(-50%);
  width:0; height:0;
  border-left:16px solid transparent;
  border-right:16px solid transparent;
  border-top:28px solid var(--gold);
  filter:drop-shadow(0 2px 3px rgba(0,0,0,0.25));
  z-index:5;
}

.arc-wheel-outer{
  width:100%;
  height:100%;
  border-radius:50%;
  background:linear-gradient(145deg, var(--gold-light), var(--gold));
  padding:10px;
  box-shadow:0 18px 34px rgba(18,32,67,0.28);
}

.arc-wheel{
  position:relative;
  width:100%;
  height:100%;
  border-radius:50%;
  overflow:hidden;
  background:conic-gradient(
    from -25.7143deg,
    var(--red) 0deg 51.4286deg,
    var(--cream) 51.4286deg 102.8571deg,
    var(--navy) 102.8571deg 154.2857deg,
    var(--cream) 154.2857deg 205.7143deg,
    var(--red) 205.7143deg 257.1429deg,
    var(--navy) 257.1429deg 308.5714deg,
    var(--cream) 308.5714deg 360deg
  );
  border:3px solid rgba(255,255,255,0.6);
}

.arc-label{
  position:absolute;
  width:88px;
  text-align:center;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
}
.arc-label svg{width:20px; height:20px; margin-bottom:3px;}
.arc-label.on-cream{color:var(--navy);}
.arc-label.on-cream svg{stroke:var(--navy);}
.arc-label.on-dark{color:#fff;}
.arc-label.on-dark svg{stroke:#fff;}
.arc-label.fill-icon svg{fill:currentColor; stroke:none;}

.arc-hub{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:92px; height:92px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, var(--gold-light), var(--gold) 70%);
  border:4px solid #fff;
  box-shadow:0 6px 14px rgba(0,0,0,0.3);
  color:var(--navy-deep);
  font-weight:800;
  font-size:14px;
  letter-spacing:0.5px;
  line-height:1.15;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  cursor:pointer;
  z-index:6;
  transition:transform .12s ease;
  padding:4px;
}
.arc-hub:active{transform:translate(-50%,-50%) scale(0.96);}
.arc-hub:disabled, .arc-hub.is-disabled{
  cursor:not-allowed;
  opacity:0.75;
}
.arc-hub:focus-visible{outline:3px solid var(--navy); outline-offset:3px;}

.arc-status{
  margin-top:18px;
  font-size:13px;
  color:#6b6759;
  min-height:18px;
  text-align:center;
}

/* ---------- Result overlay ---------- */
.arc-overlay{
  position:fixed;
  inset:0;
  background:rgba(11,23,48,0.62);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:100000;
  padding:20px;
}
.arc-overlay.is-open{display:flex;}

.arc-modal{
  background:#fff;
  border-radius:18px;
  max-width:380px;
  width:100%;
  padding:32px 26px 26px;
  text-align:center;
  position:relative;
  box-shadow:0 24px 60px rgba(0,0,0,0.35);
  animation:arcPop .35s cubic-bezier(.2,.9,.3,1.2);
  font-family:'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}
@keyframes arcPop{from{transform:scale(.85); opacity:0;} to{transform:scale(1); opacity:1;}}

.arc-modal .close{
  position:absolute; top:12px; right:14px;
  border:none; background:none; font-size:20px;
  color:#9a9689; cursor:pointer; line-height:1;
}

.arc-modal .badge{
  width:64px; height:64px;
  border-radius:50%;
  background:var(--cream, #f6f1e6);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  color:var(--red, #c8102e);
}
.arc-modal .badge svg{width:32px; height:32px; stroke:currentColor;}
.arc-modal .badge.fill svg{fill:currentColor; stroke:none;}

.arc-modal h3{
  margin:0 0 8px;
  font-size:22px;
  color:var(--navy, #122043);
}
.arc-modal p{
  margin:0 0 22px;
  font-size:14.5px;
  color:#5c584d;
  line-height:1.45;
}

.arc-claim-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  background:#25d366;
  color:#fff;
  font-weight:700;
  font-size:15px;
  text-decoration:none;
  padding:13px 18px;
  border-radius:40px;
}
.arc-claim-btn svg{width:20px;height:20px;fill:#fff;}

/* ---------- Confetti ---------- */
.arc-confetti-piece{
  position:fixed;
  top:-12px;
  width:8px; height:14px;
  z-index:100001;
  pointer-events:none;
  animation:arcFall linear forwards;
}
@keyframes arcFall{
  to{ transform:translateY(105vh) rotate(540deg); opacity:0.9; }
}

/* ---------- Responsive ---------- */
@media (max-width:820px){
  .arc-hero{grid-template-columns:1fr; gap:30px;}
  .arc-copy{order:1; text-align:center;}
  .arc-copy p.sub{margin-left:auto; margin-right:auto;}
  .arc-rule{margin-left:auto; margin-right:auto;}
  .arc-wheel-stage{order:2;}
  .arc-header{justify-content:center; text-align:center;}
  .arc-logo{align-items:center;}
  .arc-trust{justify-content:center;}
}

@media (prefers-reduced-motion: reduce){
  .arc-wheel{transition:none !important;}
  .arc-confetti-piece{display:none;}
  .arc-modal{animation:none;}
}
