/* PokeGens Spin Wheel (frontend)
   Goal: match the original polished mockup style (deep red panel, bold headline,
   bright wheel, big CTA) while keeping a real responsive UI.
*/

:root{
  --pgsa-spin-accent:#e11d2e;      /* PokeGens red */
  --pgsa-spin-accent-2:#b30712;    /* darker red */
  --pgsa-spin-gold:#facc15;        /* WIN highlight */
  --pgsa-spin-panel:#5a0000;       /* deep red */
  --pgsa-spin-panel-2:#2a0000;     /* deeper red */
  --pgsa-spin-surface:#ffffff;
  --pgsa-spin-text:#ffffff;
  --pgsa-spin-text-muted:rgba(255,255,255,.78);
  --pgsa-spin-border:rgba(255,255,255,.22);
}

.pgsa-spin-fab{
  position:fixed;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  left:18px;
  left:calc(18px + env(safe-area-inset-left, 0px));
  right:auto;
  top:50%;
  bottom:auto;
  transform:translateY(-50%);
  /* Very high z-index to survive theme widgets/overlays on mobile */
  z-index:2147483645;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  cursor:pointer;
  font-weight:800;
  letter-spacing:.3px;
  text-transform:uppercase;
  background:linear-gradient(180deg, var(--pgsa-spin-accent), var(--pgsa-spin-accent-2));
  color:#fff;
  box-shadow:
    0 8px 24px rgba(0,0,0,.28),
    0 0 0 0 rgba(239,68,68,.55);
  animation:pgsaSpinPulse 2.2s infinite;
}
.pgsa-spin-fab:hover{opacity:.95}

@keyframes pgsaSpinPulse{
  0%{ box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(239,68,68,.55); }
  70%{ box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 14px rgba(239,68,68,0); }
  100%{ box-shadow: 0 8px 24px rgba(0,0,0,.28), 0 0 0 0 rgba(239,68,68,0); }
}

.pgsa-spin-modal{
  position:fixed;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  inset:0;
  z-index:2147483646;
  display:none;
}
.pgsa-spin-modal.is-active{display:block}

.pgsa-spin-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}
.pgsa-spin-modal__panel{
  position:relative;
  max-width:1040px;
  width:calc(100% - 24px);
  margin:clamp(10px, 6vh, 40px) auto;
  max-height:calc(100vh - 24px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  /* Deep red background + subtle "sparkle" pattern */
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 82% 28%, rgba(255,255,255,.08), transparent 44%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.06), transparent 46%),
    linear-gradient(180deg, var(--pgsa-spin-panel), var(--pgsa-spin-panel-2));
  color:var(--pgsa-spin-text);
  border-radius:18px;
  border:2px solid var(--pgsa-spin-border);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
  padding:18px 18px 16px 18px;
}

.pgsa-spin-modal__panel::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  /* fine sparkle grid */
  background-image:
    radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.6px),
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.8px);
  background-size: 92px 92px, 140px 140px;
  background-position: 0 0, 34px 46px;
  opacity:.25;
  mix-blend-mode: screen;
}

.pgsa-spin-modal__panel::after{
  content:'';
  position:absolute;
  inset:-40px;
  border-radius:inherit;
  pointer-events:none;
  /* bokeh / depth */
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.14), transparent 42%),
    radial-gradient(circle at 78% 24%, rgba(255,255,255,.10), transparent 44%),
    radial-gradient(circle at 28% 78%, rgba(255,255,255,.08), transparent 46%),
    radial-gradient(circle at 86% 82%, rgba(255,255,255,.06), transparent 48%);
  opacity:.35;
}

.pgsa-spin-modal__panel > *{
  position:relative;
  z-index:1;
}

.pgsa-spin-modal__close{
  position:absolute;
  right:16px;
  top:16px;
  /* Theme CSS often adds padding/min-sizes to <button>. Force a compact close. */
  width:20px !important;
  height:20px !important;
  padding:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  border-radius:7px;
  border:0;
  background:rgba(225,29,46,.95);
  color:#fff;
  cursor:pointer;
  font-size:14px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.35);
}

.pgsa-spin-modal__close:hover{filter:brightness(1.05)}

/* Polished headline (mock style) */
.pgsa-sw__headline{margin:4px 0 8px 0;}
.pgsa-sw__title{
  font-weight:1000;
  letter-spacing:.8px;
  text-transform:uppercase;
  font-size:50px;
  line-height:1;
}
.pgsa-sw__title-a{color:#fff;}
.pgsa-sw__title-b{color:var(--pgsa-spin-gold);}
.pgsa-sw__subtitle{
  margin-top:6px;
  font-size:20px;
  font-weight:900;
  color:var(--pgsa-spin-gold);
}
.pgsa-sw__pill{
  margin:12px 0 14px;
  background:rgba(225,29,46,.92);
  color:#fff;
  text-align:center;
  font-weight:900;
  text-transform:uppercase;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
}

.pgsa-sw__toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:16px;
}
.pgsa-sw__game{min-width:300px;}
.pgsa-spin-label{
  font-weight:900;
  font-size:13px;
  color:rgba(255,255,255,.9);
  display:block;
  margin-bottom:6px;
}
.pgsa-spin-select{
  width:100%;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;
  background:rgba(0,0,0,.15);
  color:#fff;
}
.pgsa-spin-select option{color:#111;}
.pgsa-spin-note{
  color:rgba(255,255,255,.85);
  font-size:13px;
  margin-top:6px;
}

.pgsa-sw__game-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}

.pgsa-spin-game-confirm{
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10);
  color:#fff;
  padding:8px 12px;
  border-radius:999px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.3px;
  cursor:pointer;
}

.pgsa-spin-game-confirm:hover{filter:brightness(1.05)}

.pgsa-spin-game-locked{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.14);
  width:100%;
}

.pgsa-spin-game-locked-text{
  color:rgba(255,255,255,.92);
  font-weight:900;
}

.pgsa-spin-game-change{
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:7px 10px;
  border-radius:999px;
  font-weight:900;
  cursor:pointer;
}
.pgsa-spin-game-change:hover{filter:brightness(1.05)}

.pgsa-spin-select.is-locked{
  opacity:.95;
}


.pgsa-spin-tabs{
  display:flex;
  gap:10px;
  border:0;
  margin:0;
  padding:0;
}
.pgsa-spin-tab{
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.08);
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
  color:#fff;
  text-transform:uppercase;
}
.pgsa-spin-tab.is-active{
  background:var(--pgsa-spin-accent);
  color:#fff;
  border-color:rgba(255,255,255,.25);
}

/* Premium wheel styling (glow + gold accent) */
.pgsa-spin-tab[data-wheel="premium"]{
  border-color: rgba(250,204,21,.55);
  color: rgba(250,204,21,.98);
  background: rgba(250,204,21,.08);
}
.pgsa-spin-tab[data-wheel="premium"]:hover{filter:brightness(1.06);}

.pgsa-spin-modal.is-premium .pgsa-spin-tab[data-wheel="premium"].is-active{
  background: linear-gradient(180deg, #facc15, #f59e0b);
  color: #2a0000;
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 10px 28px rgba(250,204,21,.35), 0 0 0 0 rgba(250,204,21,.55);
  position: relative;
  overflow: hidden;
}
.pgsa-spin-modal.is-premium .pgsa-spin-tab[data-wheel="premium"].is-active::after{
  content: '';
  position: absolute;
  top: -20%;
  left: -40%;
  width: 60%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: rotate(18deg);
  animation: pgsaPremiumShine 2.2s infinite;
}
@keyframes pgsaPremiumShine{
  0%{transform: translateX(-40%) rotate(18deg); opacity:.0;}
  20%{opacity:.35;}
  100%{transform: translateX(240%) rotate(18deg); opacity:0;}
}

.pgsa-spin-modal.is-premium .pgsa-spin-wheel{
  border-color: rgba(250,204,21,.95);
  box-shadow:
    0 16px 36px rgba(0,0,0,.35),
    0 0 0 6px rgba(250,204,21,.18),
    0 0 26px rgba(250,204,21,.35),
    inset 0 0 0 2px rgba(0,0,0,.12);
}
.pgsa-spin-modal.is-premium .pgsa-sw__pointer{
  border-bottom-color: #facc15;
}
.pgsa-spin-modal.is-premium .pgsa-sw__center-btn{
  background: linear-gradient(180deg, #facc15, #f59e0b);
  color: #2a0000;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 24px rgba(250,204,21,.35);
}
.pgsa-spin-modal.is-premium .pgsa-spin-action{
  background: linear-gradient(180deg, #facc15, #f59e0b);
  color: #2a0000;
  box-shadow: 0 16px 34px rgba(0,0,0,.35), 0 0 24px rgba(250,204,21,.25);
}
.pgsa-spin-modal.is-premium .pgsa-spin-premium-cta .button{
  background: linear-gradient(180deg, #facc15, #f59e0b);
  border: 0;
  color: #2a0000;
  font-weight: 1000;
  border-radius: 12px;
  padding: 10px 14px;
  display: inline-block;
  text-decoration: none;
}

.pgsa-spin-body{
  display:grid;
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  gap:22px;
}
@media (max-width: 820px){
  .pgsa-spin-body{grid-template-columns:1fr}
  .pgsa-spin-modal__panel{margin:12px auto;}
  .pgsa-sw__toolbar{flex-direction:column; align-items:stretch;}
  .pgsa-sw__game{min-width:0;}
  .pgsa-spin-select{width:100%; min-width:0;}
  .pgsa-sw__title{font-size:38px;}
  .pgsa-sw__subtitle{font-size:18px;}
}

.pgsa-spin-wheel-wrap{
  position:relative;
  width:420px;
  height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto;
}
.pgsa-spin-wheel{
  position:relative;
  width:400px;
  height:400px;
  border-radius:50%;
  border:12px solid #ffffff;
  background:#fff;
  overflow:hidden;
  box-shadow:
    0 16px 36px rgba(0,0,0,.35),
    inset 0 0 0 2px rgba(0,0,0,.12);
  transform:rotate(0deg);
  transition:transform 3.6s cubic-bezier(.19,1,.22,1);
}
.pgsa-spin-wheel canvas{
  width:100%;
  height:100%;
  display:block;
}
.pgsa-spin-pointer{
  position:absolute;
  top:18px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:14px solid transparent;
  border-right:14px solid transparent;
  border-bottom:26px solid var(--pgsa-spin-accent);
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.3));
  z-index:2;
}

/* Big center button (mock style) */
.pgsa-sw__center-btn{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:128px;
  height:128px;
  border-radius:50%;
  border:8px solid rgba(255,255,255,.95);
  background:linear-gradient(180deg, var(--pgsa-spin-accent), var(--pgsa-spin-accent-2));
  color:#fff;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.6px;
  text-align:center;
  white-space:pre-line;
  padding:0 14px;
  cursor:pointer;
  box-shadow:0 18px 40px rgba(0,0,0,.45);
}
.pgsa-sw__center-btn:disabled{opacity:.55; cursor:not-allowed; filter:saturate(.8)}

.pgsa-spin-side{padding-top:6px;}
.pgsa-sw__copy{
  color:rgba(255,255,255,.9);
  font-size:16px;
  line-height:1.35;
  margin:8px 0 14px;
}

.pgsa-sw__currency-helper{
  color:rgba(255,255,255,.75);
  font-size:12px;
  line-height:1.3;
  margin:-6px 0 12px;
}

.pgsa-spin-status{
  font-size:14px;
  min-height:22px;
  color:rgba(255,255,255,.92);
}
.pgsa-spin-premium-cta{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  padding:12px;
  margin:10px 0 14px;
  color:#fff;
}
.pgsa-spin-progress{
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  overflow:hidden;
  margin-top:8px;
}
.pgsa-spin-progress > div{
  height:10px;
  background:var(--pgsa-spin-accent);
  width:0%;
}

.pgsa-spin-prize-heading{
  margin-top:14px;
  margin-bottom:10px;
  font-weight:1000;
  font-size:16px;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:.3px;
}

/* Cards (preferred) */
.pgsa-sw__cards{display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px;}
.pgsa-sw__card{
  border-radius:14px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.2px;
  box-shadow:0 10px 24px rgba(0,0,0,.25);
}
.pgsa-sw__card small{
  display:block;
  margin-top:2px;
  font-size:12px;
  font-weight:900;
  text-transform:none;
  letter-spacing:0;
  color:rgba(255,255,255,.85);
}

.pgsa-spin-prize-list{
  list-style:disc;
  padding-left:18px;
  margin:10px 0 16px;
  color:rgba(255,255,255,.9);
}
.pgsa-spin-prize-list li{margin:6px 0}

.pgsa-sw__cta-area{margin-top:14px;}

.pgsa-spin-action{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:0;
  cursor:pointer;
  font-weight:1000;
  font-size:17px;
  text-transform:uppercase;
  background:linear-gradient(180deg, var(--pgsa-spin-accent), var(--pgsa-spin-accent-2));
  color:#fff;
  box-shadow:0 16px 34px rgba(0,0,0,.35);
}
.pgsa-spin-action[disabled]{opacity:.5; cursor:not-allowed}

.pgsa-spin-reset{
  margin-top:12px;
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.35);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-weight:1000;
  cursor:pointer;
}
.pgsa-spin-reset:hover{background:rgba(255,255,255,.12)}

.pgsa-spin-terms{
  margin-top:10px;
  font-size:13px;
}
.pgsa-spin-terms-link{color:#fff; text-decoration:underline; text-underline-offset:3px}

.pgsa-sw__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:10px;
  color:rgba(255,255,255,.85);
  font-size:13px;
}
.pgsa-sw__footer-status{white-space:nowrap; text-align:right;}

@media (max-width: 420px){
  .pgsa-spin-wheel-wrap{width:320px;height:320px;}
  .pgsa-spin-wheel{width:300px;height:300px;}
  .pgsa-sw__center-btn{width:108px;height:108px; font-size:14px; border-width:7px;}
}


@media (max-width: 820px){
  .pgsa-sw__cards{grid-template-columns: 1fr;}
}

@media (max-width: 560px){
  .pgsa-spin-modal__panel{
    width:calc(100% - 12px);
    margin:6px auto;
    padding:16px 14px 14px 14px;
    border-radius:16px;
  }
  .pgsa-spin-modal__close{
    right:12px;
    top:12px;
  }
  .pgsa-spin-fab{
    left:12px;
    top:auto;
    bottom:calc(14px + env(safe-area-inset-bottom, 0px));
    transform:none;
    padding:10px 12px;
    font-size:13px;
  }
}

@media (max-width: 420px){
  .pgsa-spin-modal__panel{
    width:100%;
    margin:0;
    height:100%;
    max-height:100vh;
    border-radius:0;
  }
}


/* Home page countdown widget */
.pgsa-spin-home-widget{
  width:100%;
  margin:0 0 18px;
  padding:0;
}
.pgsa-spin-home-widget__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.14), transparent 40%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.10), transparent 44%),
    linear-gradient(180deg, rgba(225,29,46,.92), rgba(90,0,0,.92));
  box-shadow:0 18px 50px rgba(0,0,0,.28);
  color:#fff;
  overflow:hidden;
}
.pgsa-spin-home-widget__left{min-width:170px;}
.pgsa-spin-home-widget__mid{flex:1 1 auto; text-align:center; min-width:0;}
.pgsa-spin-home-widget__right{display:flex; align-items:center; justify-content:flex-end;}

.pgsa-spin-home-widget__badge{
  display:inline-block;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.35px;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.12);
}
.pgsa-spin-home-widget__title{
  font-weight:1100;
  text-transform:uppercase;
  letter-spacing:.6px;
  font-size:22px;
  line-height:1.1;
  margin-top:6px;
}

.pgsa-spin-home-widget__subtext{
  color:rgba(255,255,255,.92);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.35px;
  font-size:13px;
}

.pgsa-spin-home-widget__currency{
  margin-top:4px;
  color:rgba(255,255,255,.75);
  font-size:11px;
  line-height:1.2;
}
.pgsa-spin-home-widget__timer{
  margin-top:4px;
  font-weight:1100;
  font-size:30px;
  letter-spacing:1.2px;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 10px 22px rgba(0,0,0,.35);
  animation: pgsaHomeTimerPulse 1.2s infinite;
}
@keyframes pgsaHomeTimerPulse{
  0%{filter:brightness(1);}
  50%{filter:brightness(1.08);}
  100%{filter:brightness(1);}
}

.pgsa-spin-home-action{
  border:0;
  cursor:pointer;
  padding:12px 16px;
  border-radius:14px;
  font-weight:1100;
  text-transform:uppercase;
  letter-spacing:.35px;
  color:#fff;
  background:linear-gradient(180deg, var(--pgsa-spin-accent), var(--pgsa-spin-accent-2));
  box-shadow:0 14px 30px rgba(0,0,0,.35);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}
.pgsa-spin-home-action:disabled{
  opacity:.65;
  cursor:not-allowed;
  filter:saturate(.8);
}

@media (max-width: 820px){
  .pgsa-spin-home-widget__inner{flex-direction:column; align-items:stretch; text-align:left;}
  .pgsa-spin-home-widget__mid{text-align:left;}
  .pgsa-spin-home-action{width:100%;}
  .pgsa-spin-home-widget__timer{font-size:28px;}
}


/* --------------------------------------------------------------------------
   Confetti + win result overlay
   -------------------------------------------------------------------------- */

.pgsa-sw__confetti{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border-radius:18px;
  pointer-events:none;
  z-index:80;
  display:none;
}

.pgsa-sw__result{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  border-radius:18px;
  z-index:90;
}
.pgsa-sw__result.is-active{
  display:flex;
}
.pgsa-sw__result::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:18px;
  background:rgba(0,0,0,.40);
  backdrop-filter: blur(2px);
}

.pgsa-sw__result-card{
  position:relative;
  z-index:1;
  width:min(580px, 100%);
  max-height:calc(100vh - 140px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.22);
  /*
    IMPORTANT: This card must NOT be see-through.
    The last background layer is fully opaque to prevent the underlying wheel
    from bleeding through (users found the translucent result window confusing).
  */
  background:
    radial-gradient(circle at 22% 18%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 80% 26%, rgba(250,204,21,.10), transparent 46%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    linear-gradient(180deg, #2a0b0b, #150606);
  box-shadow:0 18px 60px rgba(0,0,0,.55);
  padding:18px 18px 16px;
}

.pgsa-sw__result-x{
  position:absolute;
  right:12px;
  top:12px;
  width:26px;
  height:26px;
  padding:0;
  border-radius:9px;
  border:0;
  background:rgba(225,29,46,.95);
  color:#fff;
  font-weight:900;
  font-size:16px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.pgsa-sw__result-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(250,204,21,.18);
  color:var(--pgsa-spin-gold);
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.5px;
  font-size:12px;
}

#pgsa-spin-result.is-lose .pgsa-sw__result-kicker{
  background:rgba(255,255,255,.12);
  color:rgba(255,255,255,.92);
}

.pgsa-sw__result-title{
  margin-top:12px;
  font-size:28px;
  font-weight:1100;
  letter-spacing:.4px;
  line-height:1.12;
}

.pgsa-sw__result-desc{
  margin-top:10px;
  color:rgba(255,255,255,.90);
  font-size:15px;
  line-height:1.5;
}

.pgsa-sw__result-meta{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pgsa-sw__code{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(0,0,0,.20);
  font-weight:1000;
  letter-spacing:.8px;
  font-size:16px;
}

.pgsa-sw__copy{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#fff;
  border-radius:12px;
  padding:8px 10px;
  font-weight:900;
  cursor:pointer;
  text-transform:uppercase;
  letter-spacing:.3px;
  font-size:12px;
}

.pgsa-sw__result-actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.pgsa-sw__result-actions .pgsa-sw__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-weight:1100;
  text-transform:uppercase;
  letter-spacing:.35px;
  cursor:pointer;
  text-decoration:none;
  min-width:180px;
}

.pgsa-sw__result-actions .pgsa-sw__btn--primary{
  background:linear-gradient(180deg, var(--pgsa-spin-accent), var(--pgsa-spin-accent-2));
  border-color:rgba(255,255,255,.12);
  box-shadow:0 14px 34px rgba(0,0,0,.35);
}

#pgsa-spin-result.is-win .pgsa-sw__result-actions .pgsa-sw__btn--primary{
  box-shadow:0 0 0 0 rgba(250,204,21,.45), 0 14px 34px rgba(0,0,0,.35);
}

.pgsa-sw__result-terms{
  margin-top:12px;
  font-size:13px;
}

.pgsa-sw__result-dismiss{
  margin-top:14px;
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px dashed rgba(255,255,255,.28);
  background:rgba(0,0,0,.12);
  color:rgba(255,255,255,.95);
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.45px;
  cursor:pointer;
}

@media (max-width: 820px){
  .pgsa-sw__result{ padding:14px; }
  .pgsa-sw__result-card{ max-height:calc(100vh - 110px); }
  .pgsa-sw__result-title{ font-size:24px; }
  .pgsa-sw__result-actions .pgsa-sw__btn{ width:100%; min-width:0; }
}
