@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ============================================================
   sorteo-new.css — GetWorkly Raffle Site
   2025 UI: glassmorphism, bold typography, dark-first
   ============================================================ */

/* === CITYO WRAPPER OVERRIDE === */
body.page-template-template-sorteo-php {
  font-family: 'Montserrat', sans-serif !important;
  background: #243d2b !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-template-template-sorteo-php #main,
body.page-template-template-sorteo-php .site-main,
body.page-template-template-sorteo-php #content,
body.page-template-template-sorteo-php #primary,
body.page-template-template-sorteo-php .content-area,
body.page-template-template-sorteo-php .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

/* === SLIM NAVBAR === */
body.page-template-template-sorteo-php .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(13, 13, 13, 0.97) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

body.page-template-template-sorteo-php .site-header .header-inner {
  padding: 8px 24px !important;
  min-height: 0 !important;
}

body.page-template-template-sorteo-php .site-header .logo img {
  max-height: 28px !important;
}

body.page-template-template-sorteo-php .site-header a,
body.page-template-template-sorteo-php .site-header .login-account,
body.page-template-template-sorteo-php .site-header .apus-user-account a {
  color: #ffffff !important;
}

/* === ANIMATIONS === */
@keyframes srt-fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes srt-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 194, 117, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(235, 194, 117, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 194, 117, 0);
  }
}

@keyframes srt-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes srt-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes srt-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes srt-countIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes srt-confetti {
  from {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  to {
    transform: translateY(110vh) rotate(720deg);
    opacity: 0;
  }
}

/* Scroll reveal */
.srt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.srt-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.srt-d1 { transition-delay: 0.1s; }
.srt-d2 { transition-delay: 0.2s; }
.srt-d3 { transition-delay: 0.3s; }
.srt-d4 { transition-delay: 0.4s; }
.srt-d5 { transition-delay: 0.5s; }

/* === TICKER BAR === */
.srt-ticker {
  background: #ebc275;
  padding: 10px 0;
  white-space: nowrap;
  overflow: hidden;
  color: #ffffff;
  font-weight: 700;
}

.srt-ticker__track {
  display: inline-block;
  animation: srt-ticker 35s linear infinite;
}

.srt-ticker__sep {
  color: #ffffff;
  margin: 0 16px;
}

/* === HERO === */
.srt-hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  background: #243d2b;
}

.srt-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 0;
}

.srt-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(235, 194, 117, 0.18) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.srt-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.srt-badge {
  display: inline-block;
  background: rgba(235, 194, 117, 0.12);
  border: 1px solid rgba(235, 194, 117, 0.3);
  color: #ebc275;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.srt-hero__title {
  font-size: clamp(2.8em, 7vw, 5.2em);
  font-weight: 900;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.srt-hero__title em {
  color: #ebc275;
  font-style: normal;
}

.srt-hero__sub {
  font-size: clamp(1em, 1.8vw, 1.15em);
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

/* Stats row */
.srt-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 0;
  margin-bottom: 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.srt-stat {
  padding: 0 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.srt-stat:last-child {
  border-right: none;
}

.srt-stat__num {
  display: block;
  font-size: 2em;
  font-weight: 900;
  color: #ebc275;
}

.srt-stat__lbl {
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

/* Buttons */
.srt-btn {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95em;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
}

.srt-btn--primary {
  background: #ebc275;
  color: #fff;
  animation: srt-pulse 2.5s ease infinite;
  box-shadow: 0 0 0 0 rgba(235, 194, 117, 0.4);
}

.srt-btn--primary:hover {
  background: #c9a450;
  transform: translateY(-3px);
  animation: none;
  color: #fff;
  box-shadow: 0 12px 32px rgba(235, 194, 117, 0.35);
}

.srt-btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  margin-left: 12px;
}

.srt-btn--ghost:hover {
  border-color: #ebc275;
  color: #ebc275;
  transform: translateY(-2px);
}

.srt-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* === COUNTDOWN BAND === */
.srt-cd {
  background: #ebc275;
  padding: 18px 24px;
  text-align: center;
}

.srt-cd__label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75em;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.srt-cd__blocks {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.srt-cd__block {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 18px;
  min-width: 68px;
  text-align: center;
}

.srt-cd__num {
  display: block;
  font-size: 2em;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.srt-cd__lbl {
  font-size: 0.62em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.srt-cd__sep {
  font-size: 1.8em;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 10px;
  line-height: 1;
}

/* === TRUST BAR === */
.srt-trust {
  background: #1a3020;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 24px;
}

.srt-trust__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: center;
  align-items: center;
}

.srt-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.srt-trust__item i {
  font-size: 1.1em;
  color: #ebc275;
}

/* === GENERIC SECTIONS === */
.srt-section {
  display: block;
  width: 100%;
  padding: 88px 24px;
  box-sizing: border-box;
}

.srt-section--dark {
  background: #243d2b;
}

.srt-section--mid {
  background: #1a3020;
}

.srt-section--light {
  background: #f4f4f4;
}

.srt-container {
  max-width: 1180px;
  margin: 0 auto;
}

.srt-section-hd {
  text-align: center;
  margin-bottom: 56px;
}

.srt-section-tag {
  display: inline-block;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.srt-section-tag--dark {
  background: rgba(235, 194, 117, 0.12);
  color: #ebc275;
  border: 1px solid rgba(235, 194, 117, 0.2);
}

.srt-section-tag--light {
  background: rgba(235, 194, 117, 0.1);
  color: #ebc275;
}

.srt-section-title {
  font-size: clamp(1.9em, 3.5vw, 2.8em);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.srt-section--dark .srt-section-title,
.srt-section--mid .srt-section-title {
  color: #fff;
}

.srt-section--light .srt-section-title {
  color: #243d2b;
}

.srt-section-sub {
  font-size: 1em;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

.srt-section--dark .srt-section-sub,
.srt-section--mid .srt-section-sub {
  color: rgba(255, 255, 255, 0.45);
}

.srt-section--light .srt-section-sub {
  color: #666;
}

/* === PRIZE CARDS === */
.srt-prizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.srt-prize {
  background: #1a3020;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.srt-prize:first-child {
  border-color: rgba(235, 194, 117, 0.3);
}

.srt-prize:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.srt-prize__top {
  padding: 40px 28px 28px;
  position: relative;
}

.srt-prize:first-child .srt-prize__top {
  background: linear-gradient(135deg, rgba(235, 194, 117, 0.15), transparent);
}

.srt-prize__rank {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
}

.srt-prize:first-child .srt-prize__rank {
  color: rgba(235, 194, 117, 0.7);
}

.srt-prize__icon {
  font-size: 3em;
  display: block;
  margin-bottom: 14px;
  animation: srt-float 4s ease infinite;
}

.srt-prize:nth-child(2) .srt-prize__icon {
  animation-delay: 1s;
}

.srt-prize:nth-child(3) .srt-prize__icon {
  animation-delay: 2s;
}

.srt-prize__name {
  font-size: 1.25em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.srt-prize__desc {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin-bottom: 16px;
}

.srt-prize__value {
  font-size: 1.8em;
  font-weight: 900;
  color: #ebc275;
  font-variant-numeric: tabular-nums;
}

.srt-prize__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ebc275;
  color: #fff;
  font-size: 0.66em;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.srt-prize:first-child .srt-prize__badge {
  background: rgba(235, 194, 117, 0.15);
  border: 1px solid rgba(235, 194, 117, 0.4);
  color: #ebc275;
}

/* === HOW IT WORKS STEPS === */
.srt-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
}

.srt-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 194, 117, 0.2), transparent);
  pointer-events: none;
}

.srt-step {
  text-align: center;
  position: relative;
}

.srt-step__num {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #ebc275;
  color: #fff;
  font-size: 1.1em;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

.srt-step:hover .srt-step__num {
  transform: rotate(8deg) scale(1.1);
}

.srt-step__title {
  font-size: 0.95em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.srt-step__desc {
  font-size: 0.83em;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* === WINNERS === */
.srt-winners {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.srt-winner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.srt-winner:hover {
  background: rgba(235, 194, 117, 0.05);
  border-color: rgba(235, 194, 117, 0.2);
}

.srt-winner__av {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #ebc275;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1em;
  flex-shrink: 0;
}

.srt-winner__name {
  font-size: 0.88em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.srt-winner__detail {
  font-size: 0.75em;
  color: rgba(255, 255, 255, 0.35);
}

.srt-winner__prize {
  margin-left: auto;
  background: rgba(235, 194, 117, 0.12);
  color: #ebc275;
  font-size: 0.7em;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(235, 194, 117, 0.2);
}

/* === FAQ === */
.srt-faq {
  max-width: 740px;
  margin: 0 auto;
}

.srt-faq__item {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(36,61,43,0.1);
  border-radius: 12px;
  padding: 0 22px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.srt-section--dark .srt-faq__item,
.srt-section--mid .srt-faq__item {
  background: rgba(255,255,255,0.06);
  box-shadow: none;
  border: 1px solid rgba(255,255,255,0.1);
}

.srt-faq__q {
  /* button reset */
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  /* layout */
  padding: 18px 0;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.97em;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: #243d2b;
  transition: color 0.2s;
}

.srt-section--dark .srt-faq__q,
.srt-section--mid .srt-faq__q {
  color: #fff;
}

.srt-faq__q:hover {
  color: #ebc275;
}

.srt-faq__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(235, 194, 117, 0.1);
  color: #ebc275;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  font-weight: 400;
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
  border: 1px solid rgba(235, 194, 117, 0.2);
}

.srt-faq__item.open .srt-faq__icon {
  transform: rotate(45deg);
  background: #ebc275;
  color: #fff;
  border-color: #ebc275;
}

.srt-faq__a {
  display: none;
  padding-bottom: 20px;
  font-size: 0.9em;
  line-height: 1.78;
  color: #666;
}

.srt-section--dark .srt-faq__a,
.srt-section--mid .srt-faq__a {
  color: rgba(255, 255, 255, 0.45);
}

.srt-faq__item.open .srt-faq__a {
  display: block;
}

/* === FINAL CTA === */
.srt-cta {
  background: #243d2b;
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.srt-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(235, 194, 117, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.srt-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.srt-cta__title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.1;
}

.srt-cta__title em {
  color: #ebc275;
  font-style: normal;
}

.srt-cta__sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.05em;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* === GRACIAS PAGE === */
.srt-ty-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92vh;
  text-align: center;
  padding: 100px 24px;
  background: #243d2b;
  position: relative;
  overflow: hidden;
}

.srt-ty-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(235, 194, 117, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.srt-ty-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.srt-ty-check {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #ebc275;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  animation: srt-countIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.srt-ty-check svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.srt-ty-tag {
  display: inline-block;
  background: rgba(235, 194, 117, 0.12);
  border: 1px solid rgba(235, 194, 117, 0.25);
  color: #ebc275;
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
  animation: srt-fadeUp 0.6s ease 0.5s both;
}

.srt-ty-title {
  font-size: clamp(2.2em, 6vw, 3.5em);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 16px;
  animation: srt-fadeUp 0.6s ease 0.65s both;
}

.srt-ty-title em {
  color: #ebc275;
  font-style: normal;
}

.srt-ty-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1em;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: srt-fadeUp 0.6s ease 0.75s both;
}

/* Ticket card */
.srt-ticket {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 32px;
  text-align: center;
  animation: srt-fadeUp 0.6s ease 0.85s both;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.srt-ticket::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(235, 194, 117, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.srt-ticket__label {
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 12px;
}

.srt-ticket__num {
  font-size: 4em;
  font-weight: 900;
  color: #ebc275;
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.srt-ticket__sub {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

.srt-ticket__divider {
  border: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  margin: 20px -32px;
  position: relative;
}

.srt-ticket__divider::before,
.srt-ticket__divider::after {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #243d2b;
  position: absolute;
  top: -8px;
}

.srt-ticket__divider::before {
  left: -8px;
}

.srt-ticket__divider::after {
  right: -8px;
}

.srt-ticket__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}

.srt-ticket__detail dt {
  font-size: 0.68em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}

.srt-ticket__detail dd {
  font-size: 0.88em;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.srt-ticket__status {
  color: #4ade80;
  font-weight: 700;
}

.srt-ty-steps {
  background: #1a3020;
  padding: 64px 24px;
}

.srt-ty-steps__inner {
  max-width: 800px;
  margin: 0 auto;
}

.srt-ty-steps__title {
  text-align: center;
  font-size: 1.35em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 36px;
}

.srt-ty-steps__title span {
  color: #ebc275;
}

.srt-ty-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.srt-ty-step {
  text-align: center;
}

.srt-ty-step__num {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #ebc275;
  color: #fff;
  font-size: 1em;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.srt-ty-step__title {
  font-size: 0.92em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.srt-ty-step__desc {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.65;
}

.srt-ty-footer {
  background: #243d2b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 24px;
  text-align: center;
}

.srt-ty-footer p {
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.srt-ty-footer a {
  color: #ebc275;
  text-decoration: none;
}

.srt-ty-footer a:hover {
  text-decoration: underline;
}

/* === CANCELACION PAGE === */
.srt-cx-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  text-align: center;
  padding: 100px 24px;
  background: #243d2b;
  position: relative;
  overflow: hidden;
}

.srt-cx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(235, 194, 117, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.srt-cx-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.srt-cx-icon {
  font-size: 3em;
  margin-bottom: 24px;
  display: block;
  animation: srt-fadeUp 0.5s ease 0.2s both;
}

.srt-cx-title {
  font-size: clamp(2em, 5vw, 3em);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 14px;
  animation: srt-fadeUp 0.6s ease 0.4s both;
}

.srt-cx-desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.98em;
  line-height: 1.75;
  margin-bottom: 36px;
  animation: srt-fadeUp 0.6s ease 0.5s both;
}

.srt-cx-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 28px;
  text-align: left;
  animation: srt-fadeUp 0.6s ease 0.65s both;
}

.srt-cx-card__title {
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
}

.srt-cx-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.srt-cx-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88em;
  line-height: 1.55;
}

.srt-cx-list li:last-child {
  border-bottom: none;
}

.srt-cx-list__icon {
  color: #ebc275;
  font-size: 0.9em;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 900;
}

.srt-cx-grid {
  background: #1a3020;
  padding: 64px 24px;
}

.srt-cx-grid__inner {
  max-width: 880px;
  margin: 0 auto;
}

.srt-cx-grid__title {
  text-align: center;
  font-size: 1.3em;
  font-weight: 800;
  color: #fff;
  margin-bottom: 28px;
}

.srt-cx-grid__title em {
  color: #ebc275;
  font-style: normal;
}

.srt-cx-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.srt-cx-minicard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 20px;
  border-left: 3px solid #ebc275;
}

.srt-cx-minicard h4 {
  font-size: 0.88em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  margin-top: 0;
}

.srt-cx-minicard p {
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 0;
}

.srt-cx-footer {
  background: #243d2b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 24px;
  text-align: center;
}

.srt-cx-footer p {
  font-size: 0.78em;
  color: rgba(255, 255, 255, 0.3);
  margin: 0;
}

.srt-cx-footer a {
  color: #ebc275;
  text-decoration: none;
}

.srt-cx-footer a:hover {
  text-decoration: underline;
}

/* === GWX PLANES OVERRIDE === */
.srt-planes-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.gwx-plans-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 20px !important;
  justify-content: center !important;
}

.gwx-plan-card {
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: #1a3020 !important;
  overflow: hidden !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
  flex: 1 !important;
  min-width: 280px !important;
  max-width: 340px !important;
}

.gwx-plan-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4) !important;
}

.gwx-plan-header {
  background: #1e2e1a !important;
  padding: 24px !important;
}

.gwx-plan-card.gwx-plan-featured .gwx-plan-header {
  background: linear-gradient(135deg, #ebc275, #c9a450) !important;
}

.gwx-plan-name {
  font-size: 1.1em !important;
  font-weight: 800 !important;
  color: #fff !important;
}

.gwx-plan-price {
  font-size: 1em !important;
}
.gwx-price-amount {
  font-size: 1.7em !important;
  font-weight: 900 !important;
  color: #ebc275 !important;
}
.gwx-price-period {
  font-size: 0.85em !important;
  opacity: .75 !important;
  color: rgba(255,255,255,.7) !important;
}

.gwx-plan-card.gwx-plan-featured .gwx-price-amount {
  color: #fff !important;
}

.gwx-plan-body {
  padding: 20px 24px !important;
}

.gwx-plan-features {
  list-style: none !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
}

.gwx-plan-features li {
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.88em !important;
}

.gwx-plan-features li:last-child {
  border-bottom: none !important;
}

.gwx-btn-subscribe {
  background: #ebc275 !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 13px 28px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  width: 100% !important;
  border: none !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.2s !important;
}

.gwx-btn-subscribe:hover {
  background: #c9a450 !important;
  transform: translateY(-2px) !important;
}

.gwx-plan-card.gwx-plan-featured .gwx-btn-subscribe {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
}

.gwx-plan-card.gwx-plan-featured .gwx-btn-subscribe:hover {
  background: rgba(255, 255, 255, 0.3) !important;
}

.gwx-plan-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 100px !important;
  font-size: 0.68em !important;
  padding: 3px 10px !important;
}

.gwx-modal-overlay {
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.gwx-modal-inner {
  border-radius: 16px !important;
  background: #1e2e1a !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.gwx-modal-title {
  color: #fff !important;
  font-weight: 800 !important;
}

.gwx-btn-checkout {
  background: #ebc275 !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* === CONFETTI PIECES === */
.srt-confetti {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  animation: srt-confetti 4s ease both;
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .srt-hero {
    min-height: auto;
    padding: 80px 16px 60px;
  }

  .srt-stats {
    margin-bottom: 28px;
  }

  .srt-stat {
    padding: 0 16px;
  }

  .srt-btn--ghost {
    margin-left: 0;
  }

  .srt-btns {
    flex-direction: column;
    align-items: center;
  }

  .srt-section {
    padding: 60px 16px;
  }

  .srt-cta {
    padding: 72px 16px;
  }

  .srt-ticket {
    padding: 22px 20px;
  }

  .srt-ticket__divider {
    margin: 16px -20px;
  }

  .srt-ticket__details {
    grid-template-columns: 1fr;
  }

  .srt-ty-hero,
  .srt-cx-hero {
    min-height: auto;
    padding: 80px 16px;
  }

  .srt-steps::before {
    display: none;
  }

  .srt-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    width: 100%;
  }

  .srt-stat:last-child {
    border-bottom: none;
  }

  .srt-prizes {
    grid-template-columns: 1fr;
  }
}



/* === LOGO OVERRIDE for sorteo page === */
body.page-template-template-sorteo-php .site-header .logo img {
  display: none !important;
}
body.page-template-template-sorteo-php .site-header .logo {
  display: flex !important;
  align-items: center !important;
}
body.page-template-template-sorteo-php .site-header .logo::after {
  content: '' !important;
  display: block !important;
  background: url('../../../uploads/gwx/logo-blanco.svg') left center / contain no-repeat !important;
  width: 227px !important;
  height: 68px !important;
}

/* ============================================================
   MI CUENTA — Portal del suscriptor
   ============================================================ */

/* Página completa empuja el footer abajo */
body.page-id-12 #apus-main-content,
body.page-template-template-sorteo-php #apus-main-content {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}
body.page-id-12 #apus-main-content > *,
body.page-template-template-sorteo-php #apus-main-content > * {
  flex: 1;
}

.gwx-account-wrap {
  max-width: 640px;
  margin: 48px auto;
  padding: 0 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  width: 100%;
}

/* ── Login box ── */
.gwx-login-box {
  background: #1a3020;
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 8px 48px rgba(0,0,0,.35);
  max-width: 440px;
  margin: 0 auto;
}
.gwx-login-icon { font-size: 44px; margin-bottom: 16px; }
.gwx-login-box h2 {
  font-size: 1.5em;
  margin: 0 0 8px;
  color: #fff;
}
.gwx-login-box > p {
  color: rgba(255,255,255,.55);
  margin: 0 0 28px;
  font-size: .95em;
}

/* WordPress login form — ID #loginform */
#loginform { text-align: left; }

#loginform .login-username,
#loginform .login-password {
  margin: 0 0 16px;
}
#loginform label {
  display: block;
  font-size: .82em;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
#loginform input[type="text"],
#loginform input[type="password"] {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: #fff;
  font-size: .95em;
  transition: border-color .2s, background .2s;
  outline: none;
  box-sizing: border-box;
}
#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus {
  border-color: #ebc275;
  background: rgba(255,255,255,.11);
}
#loginform .login-remember {
  margin: 4px 0 20px;
}
#loginform .login-remember label {
  font-size: .82em;
  color: rgba(255,255,255,.4);
  text-transform: none;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
#loginform input[type="submit"],
#loginform #wp-submit {
  width: 100%;
  background: linear-gradient(135deg, #ebc275, #c9a450);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s, transform .1s;
  box-shadow: 0 4px 16px rgba(235,194,117,.4);
}
#loginform input[type="submit"]:hover { opacity: .9; transform: translateY(-1px); }

.gwx-forgot {
  margin-top: 20px;
  font-size: .85em;
}
.gwx-forgot a { color: rgba(255,255,255,.4); text-decoration: none; }
.gwx-forgot a:hover { color: #ebc275; }

/* ── Account header ── */
.gwx-ac-header {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1a3020;
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.gwx-ac-avatar {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 50%;
  background: #ebc275;
  color: #fff;
  font-size: 1.4em;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gwx-ac-hello { flex: 1; }
.gwx-ac-greeting { font-size: 1.1em; font-weight: 700; color: #fff; }
.gwx-ac-plan {
  font-size: .88em;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gwx-ac-badge {
  font-size: .78em;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.gwx-ac-badge-active   { background: #d1fae5; color: #065f46; }
.gwx-ac-badge-inactive,
.gwx-ac-badge-cancelled { background: #fee2e2; color: #991b1b; }
.gwx-ac-badge-pastdue  { background: #fef3c7; color: #92400e; }
.gwx-ac-logout {
  font-size: .82em;
  color: rgba(255,255,255,.3);
  text-decoration: none;
  white-space: nowrap;
}
.gwx-ac-logout:hover { color: #ebc275; }

/* ── Sections ── */
.gwx-ac-section {
  background: #1a3020;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.gwx-ac-section-title {
  font-size: .75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .9px;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gwx-ac-ficha-total {
  background: #ebc275;
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 1em;
  text-transform: none;
  letter-spacing: 0;
}

/* Fichas grid */
.gwx-ac-fichas { display: flex; flex-wrap: wrap; gap: 12px; }
.gwx-ac-ficha {
  background: linear-gradient(135deg, #ebc275, #c9a450);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  min-width: 88px;
  box-shadow: 0 4px 16px rgba(235,194,117,.35);
}
.gwx-ac-ficha-num  { display: block; font-size: 2em; font-weight: 900; line-height: 1; }
.gwx-ac-ficha-label { display: block; font-size: .65em; opacity: .7; text-transform: uppercase; letter-spacing: .8px; margin-top: 5px; }
.gwx-ac-no-fichas  { color: rgba(255,255,255,.35); font-size: .9em; margin: 0; }

/* Details */
.gwx-ac-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.gwx-ac-detail-row:last-child { border-bottom: none; }
.gwx-ac-detail-row span  { color: rgba(255,255,255,.4); font-size: .9em; }
.gwx-ac-detail-row strong { color: #fff; font-size: .9em; }

/* Actions */
.gwx-ac-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.gwx-ac-btn-primary {
  background: linear-gradient(135deg, #ebc275, #c9a450);
  color: #fff !important;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .9em;
  display: inline-block;
  transition: opacity .2s, transform .1s;
  box-shadow: 0 4px 16px rgba(235,194,117,.35);
}
.gwx-ac-btn-primary:hover { opacity: .9; transform: translateY(-1px); }

/* Empty state */
.gwx-ac-empty {
  background: #1a3020;
  border-radius: 16px;
  padding: 56px 26px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.gwx-ac-empty-icon { font-size: 44px; margin-bottom: 16px; }
.gwx-ac-empty p    { color: rgba(255,255,255,.45); margin: 0 0 24px; }

/* Responsive */
@media (max-width: 480px) {
  .gwx-account-wrap { margin: 24px auto; }
  .gwx-login-box    { padding: 32px 24px; }
  .gwx-ac-header    { flex-wrap: wrap; }
  .gwx-ac-ficha     { min-width: 76px; padding: 14px 18px; }
  .gwx-ac-ficha-num { font-size: 1.6em; }
}

/* Plan card title — always white on dark header */
.gwx-plan-header h3,
.gwx-plan-card .gwx-plan-header h3 {
  color: #fff !important;
}
