:root {
  --bg: #090909;
  --panel: rgba(18, 18, 18, 0.88);
  --panel-strong: #101010;
  --border: rgba(255, 187, 74, 0.18);
  --primary: #ff8f1f;
  --primary-dark: #d46700;
  --yellow: #ffd54f;
  --white: #f8f8f8;
  --muted: #b8b8b8;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 143, 31, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 213, 79, 0.08), transparent 25%),
    var(--bg);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

code {
  color: var(--yellow);
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 8px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.page-glow-left {
  top: 90px;
  left: -100px;
  background: var(--primary);
}

.page-glow-right {
  top: 280px;
  right: -120px;
  background: var(--yellow);
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(255, 143, 31, 0.28);
}

.brand-title {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.brand-subtitle,
.section-label,
.quick-stat-label,
.price-box span,
.status-board span,
.form-note,
.notice-box,
.footer-inner p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: #e9e9e9;
  font-weight: 600;
  opacity: 0.85;
}

.site-nav a.active,
.site-nav a:hover,
.text-link:hover {
  color: var(--yellow);
  opacity: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), #ffb300);
  color: #141414;
  box-shadow: 0 12px 30px rgba(255, 143, 31, 0.25);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.08);
}

.button-small {
  padding: 12px 16px;
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35), rgba(8, 8, 8, 0.88)),
    linear-gradient(90deg, rgba(8, 8, 8, 0.92), rgba(8, 8, 8, 0.35));
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
  padding: 64px 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: 28px;
}

.glass {
  backdrop-filter: blur(14px);
}

.pill,
.rule-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 143, 31, 0.12);
  color: var(--yellow);
  border: 1px solid rgba(255, 213, 79, 0.24);
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1,
.inner-page-header h1,
.donate-card h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  margin: 18px 0 18px;
}

.hero-copy h1 span,
.card h2,
.card h3,
.inner-page-header h1,
.donate-card h1 {
  color: var(--yellow);
}

.hero-copy p,
.card p,
li {
  color: #e8e8e8;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.quick-stats,
.status-board,
.section-grid,
.cards-three,
.donate-layout {
  display: grid;
  gap: 18px;
}

.quick-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 16px;
}

.quick-stat strong,
.status-board strong,
.price-box strong {
  display: block;
  font-size: 22px;
  margin-top: 6px;
}

.quick-stat-meta {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
}

.copy-button {
  margin-top: 12px;
  background: transparent;
  color: var(--yellow);
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 700;
}

.status-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
}

.status-inline i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--yellow);
  box-shadow: 0 0 14px rgba(255, 213, 79, 0.75);
}

.featured-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.featured-card-season {
  gap: 14px;
}

.hero-side {
  padding-top: 20px;
  padding-bottom: 20px;
}

.season-content {
  width: 100%;
  display: grid;
  gap: 12px;
}

.hero-social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.hero-social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.hero-social-button:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 213, 79, 0.34);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 28px rgba(0,0,0,0.24);
}

.hero-social-button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-social-button span {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-social-discord {
  background: rgba(10, 10, 10, 0.94);
}

.hero-social-twitch {
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.22), rgba(64, 24, 128, 0.52));
}

.season-content {
  width: 100%;
  align-items: center;
}

.season-caption {
  margin: 2px 0 0;
  text-align: center;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.season-timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.season-time-box {
  padding: 14px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 213, 79, 0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.season-time-box strong {
  display: block;
  font-size: clamp(22px, 3.6vw, 32px);
  line-height: 1;
  color: var(--yellow);
}

.season-time-box span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.season-note {
  margin: 0;
  color: #ececec;
  line-height: 1.5;
}


.pig-image,
.donate-pig {
  width: min(210px, 56%);
  filter: drop-shadow(0 22px 42px rgba(255, 143, 31, 0.28));
}

.section {
  padding: 40px 0 24px;
}

.section-tight {
  padding-top: 28px;
}

.section-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 143, 31, 0.12);
  color: var(--yellow);
  font-weight: 800;
}

.cards-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card {
  min-height: 100%;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--yellow);
  font-weight: 700;
}

.site-footer {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 8, 0.7);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.inner-page {
  padding-bottom: 30px;
}

.inner-page-header h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin: 8px 0 10px;
}

.rules-card ul,
.clean-list {
  padding-left: 20px;
}

.notice-box {
  margin-top: 18px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.donate-layout {
  grid-template-columns: 1.1fr 0.9fr;
}

.donate-form {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.donate-form label {
  display: grid;
  gap: 10px;
}

.donate-form span {
  color: var(--muted);
  font-weight: 600;
}

input[type='text'],
input[type='number'] {
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  outline: none;
}

input[type='range'] {
  width: 100%;
}

.range-block {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.range-marks {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}

.price-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-box > div {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ordered-list li {
  margin-bottom: 10px;
}

@media (max-width: 980px) {
  .hero-content,
  .section-grid,
  .cards-three,
  .donate-layout,
  .status-board,
  .quick-stats {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {

  .season-timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-social-links {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .inner-page-header h1,
  .donate-card h1 {
    line-height: 1.03;
  }

  .card {
    padding: 22px;
    border-radius: 22px;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}


.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(255, 143, 31, 0.18), transparent 36%),
    rgba(6, 6, 6, 0.96);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-box {
  width: min(420px, calc(100% - 32px));
  text-align: center;
  padding: 30px;
  border-radius: 28px;
  background: rgba(16, 16, 16, 0.95);
  border: 1px solid rgba(255, 187, 74, 0.22);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.42);
}

.loader-image {
  width: 140px;
  height: 140px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 24px;
  border: 2px solid rgba(255, 213, 79, 0.24);
  box-shadow: 0 12px 30px rgba(255, 143, 31, 0.24);
}

.loader-title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--yellow);
}

.loader-subtitle {
  margin-top: 8px;
  color: var(--muted);
}

.loader-bar {
  margin-top: 20px;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.loader-bar span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--yellow));
  animation: loaderMove 1.1s infinite ease-in-out;
}

@keyframes loaderMove {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}

.rules-stack {
  display: grid;
  gap: 18px;
}

.rules-section-card {
  padding-top: 24px;
}

.rules-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.rules-title-row h2 {
  margin: 0;
}

.rules-list {
  margin: 0;
  padding-left: 20px;
}

.rules-list li + li {
  margin-top: 10px;
}

.rules-final-card {
  border-color: rgba(255, 213, 79, 0.28);
  background: linear-gradient(180deg, rgba(255, 187, 74, 0.06), rgba(18, 18, 18, 0.92));
}

.case-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.case-main-card {
  display: grid;
  gap: 22px;
}

.case-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.case-head h2 {
  margin: 8px 0 10px;
}

.case-description {
  max-width: 760px;
}

.price-chip {
  white-space: nowrap;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 143, 31, 0.12);
  border: 1px solid rgba(255, 213, 79, 0.22);
  color: var(--yellow);
  font-weight: 800;
}

.case-machine {
  display: grid;
  gap: 20px;
}

.minecraft-chest {
  width: 180px;
  height: 128px;
  position: relative;
  cursor: pointer;
  margin: 0 auto;
  transform: translateY(0);
  transition: transform 0.18s ease;
}

.minecraft-chest:hover {
  transform: translateY(-4px);
}

.chest-top,
.chest-bottom {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  background:
    repeating-linear-gradient(90deg, #8a511a 0 18px, #995a1e 18px 36px),
    linear-gradient(180deg, #b86f22, #854612);
}

.chest-top {
  top: 0;
  height: 54px;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
}

.chest-bottom {
  bottom: 0;
  height: 82px;
}

.chest-latch {
  position: absolute;
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  width: 30px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffcc3f, #bb7b00);
  border: 2px solid rgba(0, 0, 0, 0.2);
  z-index: 3;
}

.case-roller-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px 0;
}

.case-pointer {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 20px rgba(255, 213, 79, 0.5);
  z-index: 2;
}

.case-roller {
  display: flex;
  gap: 12px;
  padding: 0 20px;
  width: max-content;
}

.case-item {
  flex: 0 0 200px;
  min-height: 140px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(17, 17, 17, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  align-content: start;
  gap: 12px;
}

.case-item strong {
  font-size: 18px;
}

.case-item small {
  color: var(--muted);
  line-height: 1.5;
}

.case-item-tag {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rarity-common .case-item-tag { background: rgba(255,255,255,0.08); color: #d8d8d8; }
.rarity-rare .case-item-tag { background: rgba(60,145,255,0.18); color: #8ec2ff; }
.rarity-epic .case-item-tag { background: rgba(183,81,255,0.18); color: #d9a4ff; }
.rarity-legendary .case-item-tag { background: rgba(255,180,0,0.18); color: #ffd54f; }

.case-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.case-status {
  color: var(--muted);
  font-weight: 600;
}

.case-result-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 24px;
}

.case-result-card strong {
  font-size: 24px;
  margin-top: 8px;
  display: block;
  color: var(--yellow);
}

.case-prize-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.case-prize-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.case-prize-item span {
  min-width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 143, 31, 0.12);
  color: var(--yellow);
  font-weight: 900;
}

@media (max-width: 980px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== Smoothness + loader refresh ===== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  overflow-x: hidden;
}

main {
  isolation: isolate;
}

.section,
.card,
.quick-stat,
.feature-item,
.site-nav a,
.brand-icon,
.button,
.text-link,
.copy-button,
.hero-media img,
.pig-image,
.donate-pig,
.rule-badge {
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.42s ease,
    background-color 0.42s ease,
    color 0.3s ease,
    opacity 0.3s ease,
    filter 0.42s ease;
}

.card:hover,
.quick-stat:hover,
.mini-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 213, 79, 0.34);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.52);
}

.feature-item:hover {
  transform: translateX(6px);
}

.brand:hover .brand-icon {
  transform: scale(1.06) rotate(-4deg);
}

.hero:hover .hero-media img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.54);
}

.pig-image:hover,
.donate-pig:hover {
  transform: translateY(-6px) rotate(-2deg) scale(1.03);
}

.copy-button:hover,
.text-link:hover {
  transform: translateX(4px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  filter: blur(16px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 170, 54, 0.2), transparent 32%),
    radial-gradient(circle at bottom, rgba(255, 213, 79, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.98), rgba(4, 4, 4, 0.98));
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-backdrop,
.loader-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-backdrop::before,
.loader-backdrop::after,
.loader-stars::before,
.loader-stars::after {
  content: '';
  position: absolute;
  inset: -10%;
}

.loader-backdrop::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.28;
  transform: perspective(800px) rotateX(70deg) scale(1.4);
  transform-origin: center bottom;
  animation: loaderGridMove 10s linear infinite;
}

.loader-backdrop::after {
  background: radial-gradient(circle at center, rgba(255, 170, 48, 0.2), transparent 40%);
  filter: blur(70px);
  opacity: 0.9;
}

.loader-stars::before {
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255,213,79,0.9) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255,143,31,0.85) 0 1px, transparent 1.8px);
  background-size: 220px 220px, 300px 300px, 380px 380px;
  background-position: 0 0, 80px 120px, 140px 40px;
  opacity: 0.28;
  animation: twinkleFloat 12s linear infinite;
}

.loader-stars::after {
  background: radial-gradient(circle at 50% 18%, rgba(255, 213, 79, 0.18), transparent 20%);
  filter: blur(44px);
}

.loader-box {
  position: relative;
  width: min(560px, calc(100% - 32px));
  text-align: center;
  padding: 34px 32px 28px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(10, 10, 10, 0.94));
  border: 1px solid rgba(255, 196, 94, 0.25);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.loader-kicker,
.loader-progress-label {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 213, 79, 0.92);
}

.loader-kicker {
  margin-bottom: 12px;
}

.loader-emblem {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 10px auto 22px;
  display: grid;
  place-items: center;
}

.loader-image {
  width: 142px;
  height: 142px;
  margin: 0;
  object-fit: cover;
  border-radius: 30px;
  border: 2px solid rgba(255, 213, 79, 0.26);
  box-shadow: 0 16px 34px rgba(255, 143, 31, 0.18);
  position: relative;
  z-index: 3;
  animation: loaderPulse 2.6s ease-in-out infinite;
}

.loader-core-glow {
  position: absolute;
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 160, 48, 0.44), rgba(255, 160, 48, 0.08) 55%, transparent 72%);
  filter: blur(10px);
  animation: glowPulse 2.4s ease-in-out infinite;
}

.loader-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 213, 79, 0.18);
}

.loader-orbit::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), var(--primary));
  box-shadow: 0 0 18px rgba(255, 198, 86, 0.75);
}

.loader-orbit-a {
  animation: orbitSpin 6.8s linear infinite;
}

.loader-orbit-b {
  inset: 16px;
  animation: orbitSpinReverse 4.8s linear infinite;
}

.loader-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  text-wrap: balance;
}

.loader-subtitle {
  margin-top: 10px;
  color: #ececec;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: balance;
}

.loader-tip {
  margin: 16px auto 0;
  width: min(460px, 100%);
  min-height: 30px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.loader-bar {
  position: relative;
  margin-top: 22px;
  width: 100%;
  height: 16px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 213, 79, 0.1);
}

.loader-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
  animation: barShine 2.2s linear infinite;
}

.loader-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  position: relative;
  background: linear-gradient(90deg, #ff8f1f, #ffd54f 60%, #fff2be);
  box-shadow: 0 0 24px rgba(255, 185, 74, 0.36);
  animation: none;
  transition: width 0.2s ease;
}

.loader-status-row {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@keyframes loaderGridMove {
  from { transform: perspective(800px) rotateX(70deg) translateY(0) scale(1.4); }
  to { transform: perspective(800px) rotateX(70deg) translateY(36px) scale(1.4); }
}

@keyframes twinkleFloat {
  from { transform: translateY(0); }
  to { transform: translateY(32px); }
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.72; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes barShine {
  from { transform: translateX(-100%); }
  to { transform: translateX(180%); }
}

@media (max-width: 640px) {

  .season-timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loader-box {
    padding: 26px 20px 22px;
    border-radius: 26px;
  }

  .loader-emblem {
    width: 162px;
    height: 162px;
    margin-bottom: 18px;
  }

  .loader-image {
    width: 122px;
    height: 122px;
    border-radius: 26px;
  }

  .loader-title {
    font-size: 28px;
  }

  .loader-subtitle {
    font-size: 15px;
  }

  .loader-status-row {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Loader redesign: nose only ===== */
html[data-skip-loader='1'] .site-loader {
  display: none !important;
}

.site-loader {
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 180, 50, 0.18), transparent 28%),
    radial-gradient(circle at 50% 85%, rgba(255, 140, 20, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.985), rgba(3, 3, 3, 0.985));
}

.loader-box {
  width: min(560px, calc(100% - 32px));
}

.loader-emblem {
  width: 210px;
  height: 210px;
  margin: 12px auto 24px;
}

.loader-emblem::before {
  content: '';
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 32%, rgba(255, 246, 180, 0.95), rgba(255, 208, 84, 0.95) 24%, rgba(255, 157, 34, 0.92) 48%, rgba(255, 112, 0, 0.58) 68%, rgba(255, 112, 0, 0) 74%);
  box-shadow:
    0 0 34px rgba(255, 199, 96, 0.45),
    0 0 86px rgba(255, 128, 18, 0.26);
  animation: loaderHaloPulse 2.4s ease-in-out infinite;
}

.loader-emblem::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255, 211, 97, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 150, 43, 0.06);
}

.loader-core-glow {
  width: 176px;
  height: 176px;
  background: radial-gradient(circle, rgba(255, 212, 92, 0.46), rgba(255, 158, 32, 0.18) 58%, transparent 76%);
  filter: blur(14px);
  animation: loaderGlowBreath 1.9s ease-in-out infinite;
}

.loader-orbit,
.loader-orbit::after {
  display: none;
}

.loader-image {
  width: 134px;
  height: 134px;
  object-fit: contain;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
  animation: loaderSpinNose 1.45s linear infinite;
}

.loader-title {
  max-width: 500px;
  margin: 0 auto;
}

.loader-tip {
  color: #d0d0d0;
}

@keyframes loaderSpinNose {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes loaderHaloPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.86; }
  50% { transform: scale(1.05); opacity: 1; }
}

@keyframes loaderGlowBreath {
  0%, 100% { transform: scale(0.92); opacity: 0.76; }
  50% { transform: scale(1.08); opacity: 1; }
}

@media (max-width: 640px) {

  .season-timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loader-emblem {
    width: 178px;
    height: 178px;
  }

  .loader-image {
    width: 116px;
    height: 116px;
  }
}


/* ===== Loader redesign: orange pig-loader with arrows ===== */
html[data-skip-loader='1'] .site-loader {
  display: none !important;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.55s ease,
    visibility 0.55s ease;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 186, 49, 0.96) 0%, rgba(255, 171, 25, 0.92) 16%, rgba(255, 150, 18, 0.78) 28%, rgba(255, 127, 10, 0.60) 40%, rgba(248, 116, 8, 0.40) 54%, rgba(241, 104, 4, 0.18) 66%, rgba(0, 0, 0, 0) 72%),
    radial-gradient(circle at 50% 50%, rgba(255, 208, 102, 0.18) 0%, rgba(255, 167, 39, 0.12) 18%, rgba(255, 131, 18, 0.06) 34%, rgba(0, 0, 0, 0) 54%),
    linear-gradient(135deg, #ff6b00 0%, #ff830b 38%, #ff9f12 68%, #ff7e07 100%);
}

.site-loader::before,
.site-loader::after {
  content: '';
  position: absolute;
  inset: auto;
  width: 56vw;
  height: 56vw;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.site-loader::before {
  left: -12vw;
  top: -12vw;
  background: rgba(255, 112, 0, 0.22);
}

.site-loader::after {
  right: -16vw;
  bottom: -16vw;
  background: rgba(255, 214, 76, 0.18);
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-backdrop,
.loader-stars,
.loader-orbit,
.loader-core-glow {
  display: none !important;
}

.loader-box {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 28px));
  text-align: center;
  padding: 24px 18px 16px;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.loader-kicker,
.loader-progress-label {
  color: rgba(255, 245, 208, 0.92);
  text-shadow: 0 4px 18px rgba(145, 58, 0, 0.18);
}

.loader-kicker {
  margin-bottom: 14px;
}

.loader-emblem {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.loader-sun-glow {
  position: absolute;
  inset: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 235, 164, 0.98) 0%, rgba(255, 206, 82, 0.98) 24%, rgba(255, 156, 24, 0.96) 46%, rgba(255, 116, 0, 0.70) 63%, rgba(255, 116, 0, 0) 76%);
  box-shadow:
    0 0 26px rgba(255, 208, 93, 0.32),
    0 0 84px rgba(255, 125, 0, 0.24);
  animation: loaderSunPulse 2.2s ease-in-out infinite;
}

.loader-outer-ring {
  position: absolute;
  inset: 26px;
  border-radius: 50%;
  border: 2px solid rgba(255, 241, 184, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(255, 189, 72, 0.18),
    0 0 26px rgba(255, 133, 0, 0.16);
}

.loader-arrow-ring {
  position: absolute;
  inset: 0;
  animation: loaderArrowSpin 2.6s linear infinite;
}

.loader-arrow-ring span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  transform:
    rotate(calc(var(--i) * 36deg))
    translateY(-106px)
    rotate(88deg);
  transform-origin: center;
}

.loader-arrow-ring span::before {
  content: '➜';
  display: block;
  font-size: 28px;
  line-height: 1;
  color: #ff5835;
  text-shadow:
    0 0 10px rgba(255, 70, 36, 0.34),
    0 3px 8px rgba(159, 39, 0, 0.24);
}

.loader-image {
  position: relative;
  z-index: 2;
  width: 122px;
  height: 122px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  filter:
    drop-shadow(0 10px 16px rgba(88, 28, 0, 0.22))
    drop-shadow(0 0 20px rgba(255, 214, 120, 0.20));
  animation: loaderNoseFloat 1.9s ease-in-out infinite;
}

.loader-title {
  margin: 0 auto 12px;
  max-width: 560px;
  color: #fffaf1;
  text-shadow: 0 4px 18px rgba(125, 48, 0, 0.24);
}

.loader-subtitle {
  color: rgba(255, 247, 227, 0.92);
  text-shadow: 0 3px 12px rgba(115, 48, 0, 0.18);
}

.loader-tip,
.loader-status-row {
  color: rgba(255, 245, 220, 0.94);
  text-shadow: 0 3px 10px rgba(125, 46, 0, 0.18);
}

.loader-bar {
  margin-top: 18px;
  background: rgba(255, 244, 220, 0.22);
  border: 1px solid rgba(255, 236, 182, 0.26);
  box-shadow: inset 0 1px 6px rgba(115, 51, 0, 0.16);
}

.loader-bar::after {
  display: none;
}

.loader-bar span {
  background: linear-gradient(90deg, #fff0a4 0%, #ffd54a 35%, #ffab1a 72%, #ff7a00 100%);
  box-shadow:
    0 0 16px rgba(255, 203, 78, 0.30),
    0 0 26px rgba(255, 126, 0, 0.18);
}

@keyframes loaderArrowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes loaderSunPulse {
  0%, 100% { transform: scale(0.96); opacity: 0.92; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes loaderNoseFloat {
  0%, 100% { transform: translateY(0) scale(0.985); }
  50% { transform: translateY(-6px) scale(1.02); }
}

@media (max-width: 640px) {

  .season-timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .loader-box {
    padding-top: 12px;
  }

  .loader-emblem {
    width: 208px;
    height: 208px;
    margin-bottom: 18px;
  }

  .loader-sun-glow {
    inset: 38px;
  }

  .loader-outer-ring {
    inset: 24px;
  }

  .loader-arrow-ring span {
    transform:
      rotate(calc(var(--i) * 36deg))
      translateY(-91px)
      rotate(88deg);
  }

  .loader-arrow-ring span::before {
    font-size: 24px;
  }

  .loader-image {
    width: 108px;
    height: 108px;
  }
}


.discord-float-button-unused {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  z-index: 40;
  background: #000;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38), 0 0 0 8px rgba(255, 143, 31, 0.12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.discord-float-button-unused:hover {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(255, 213, 79, 0.45);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(255, 143, 31, 0.16);
}

.discord-float-button-unused:focus-visible {
  outline: 3px solid rgba(255, 213, 79, 0.75);
  outline-offset: 4px;
}

.discord-float-button-unused img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}

.discord-float-ring {
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.22), 0 0 36px rgba(255, 213, 79, 0.12);
  pointer-events: none;
}

@media (max-width: 720px) {
  .discord-float-button-unused {
    width: 64px;
    height: 64px;
    right: 16px;
    bottom: 16px;
  }
}


.links-section {
  padding-top: 12px;
}

.links-panel {
  display: grid;
  gap: 22px;
}

.links-panel-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 10px 0 8px;
  color: var(--yellow);
}

.link-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 213, 79, 0.3);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.link-card-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 14px 28px rgba(0, 0, 0, 0.24);
}

.link-card-icon img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.link-card-text {
  display: grid;
  gap: 4px;
}

.link-card-text strong {
  font-size: 22px;
  color: var(--white);
}

.link-card-text small {
  color: var(--muted);
  line-height: 1.5;
}

.link-card-discord .link-card-icon {
  border-radius: 999px;
  padding: 10px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.08), rgba(255,255,255,0.02)), rgba(9, 9, 9, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04), 0 0 26px rgba(255,255,255,0.08);
}

.link-card-twitch .link-card-icon {
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.30), rgba(64, 24, 128, 0.78));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 0 28px rgba(145, 70, 255, 0.24);
}

.social-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 12px;
  z-index: 40;
}

.social-circle {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 12, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  padding: 10px;
}

.social-circle:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 213, 79, 0.38);
  box-shadow: 0 20px 34px rgba(0,0,0,0.42), 0 0 0 8px rgba(255, 185, 64, 0.08);
}

.social-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.discord-circle {
  background: rgba(9, 9, 9, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.02), 0 0 26px rgba(255,255,255,0.10);
}

.twitch-circle {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.30), rgba(64, 24, 128, 0.78));
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35), 0 0 28px rgba(145, 70, 255, 0.24);
}

@media (max-width: 900px) {
  .link-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .social-dock {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }

  .social-circle {
    width: 58px;
    height: 58px;
  }

  .link-card {
    align-items: flex-start;
  }

  .link-card-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
  }

  .link-card-text strong {
    font-size: 18px;
  }
}


/* timer lock */
.featured-card-season {
  align-items: center;
}

.season-content {
  display: grid !important;
  gap: 12px !important;
  width: 100% !important;
}

.season-timer {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.season-note {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* final static season timer fix */
.hero {
  min-height: auto;
}

.hero-content {
  align-items: start;
  padding-top: 44px;
  padding-bottom: 36px;
}

.hero-side {
  align-self: start;
}

.featured-card-season {
  justify-content: flex-start;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.pig-image {
  width: min(168px, 44%);
}

.season-content {
  gap: 10px !important;
}

.season-timer {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

.season-time-box {
  padding: 12px 8px;
}

#season-note {
  display: none !important;
}

@media (max-width: 980px) {
  .hero-content {
    align-items: stretch;
  }

  .pig-image {
    width: min(160px, 48%);
  }
}

.section-label {
  letter-spacing: 0.06em;
}

.season-timer.season-ended .season-time-box strong {
  animation: seasonBlink 0.9s linear infinite;
}

.season-timer.season-ended .season-time-box {
  border-color: rgba(255, 72, 72, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 72, 72, 0.14), inset 0 1px 0 rgba(255,255,255,0.03);
}

@keyframes seasonBlink {
  0%, 100% { opacity: 1; text-shadow: 0 0 8px rgba(255, 213, 79, 0.5); }
  50% { opacity: 0.15; text-shadow: 0 0 18px rgba(255, 60, 60, 0.95); }
}

.season-event-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.season-event-popup.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.season-event-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.season-event-popup__card {
  position: relative;
  width: min(860px, 100%);
  padding: 34px 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(20, 12, 12, 0.98), rgba(14, 8, 8, 0.98));
  border: 3px solid rgba(255, 65, 65, 0.9);
  box-shadow: 0 0 0 8px rgba(255, 0, 0, 0.14), 0 30px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  overflow: hidden;
}

.season-event-popup__card::before {
  content: '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!';
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(255, 60, 60, 0.88);
  border-radius: 22px;
  color: rgba(255, 60, 60, 0.9);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.22em;
  pointer-events: none;
  overflow: hidden;
  white-space: nowrap;
}

.season-event-popup__alarm {
  position: relative;
  z-index: 1;
  color: #ff3e3e;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.28em;
  margin-bottom: 16px;
  text-shadow: 0 0 16px rgba(255, 62, 62, 0.95);
}

.season-event-popup__label {
  position: relative;
  z-index: 1;
  font-size: clamp(34px, 7vw, 64px);
  line-height: 0.96;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-shadow: 0 0 24px rgba(255, 92, 92, 0.45);
}

.season-event-popup__text {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  color: #fff3f3;
  font-size: clamp(18px, 2.5vw, 28px);
  line-height: 1.5;
  font-weight: 800;
}

.season-event-popup__text a {
  color: #ffd54f;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .season-event-popup__card {
    padding: 28px 18px;
  }

  .season-event-popup__card::before {
    font-size: 12px;
    letter-spacing: 0.12em;
  }

  .season-event-popup__alarm {
    font-size: 13px;
    letter-spacing: 0.15em;
  }

  .season-event-popup__text {
    font-size: 16px;
  }
}


/* plain caption under season timer */
.season-caption {
  display: block !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  text-align: center !important;
  color: #ffd54f !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}
.season-caption::before, .season-caption::after {
  content: none !important;
  display: none !important;
}


/* remove frame behind pig and timer */
.hero-side.hero-side-plain {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  align-self: start !important;
  justify-self: center;
}

.hero-side.hero-side-plain::before,
.hero-side.hero-side-plain::after {
  content: none !important;
  display: none !important;
}

.hero-side.hero-side-plain .pig-image {
  margin: 0 auto 18px !important;
  width: min(220px, 62%) !important;
  filter: drop-shadow(0 0 28px rgba(255, 143, 31, 0.35));
}

.hero-side.hero-side-plain .season-content {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

.hero-side.hero-side-plain .season-timer {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
}

.hero-side.hero-side-plain .season-caption {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
  position: relative !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@media (max-width: 980px) {
  .hero-side.hero-side-plain .pig-image {
    width: min(180px, 52%) !important;
  }
}

@media (max-width: 560px) {
  .hero-side.hero-side-plain .season-timer {
    gap: 8px !important;
  }
  .hero-side.hero-side-plain .season-time-box {
    padding: 10px 6px !important;
    border-radius: 14px !important;
  }
  .hero-side.hero-side-plain .season-time-box strong {
    font-size: 20px !important;
  }
  .hero-side.hero-side-plain .season-time-box span {
    font-size: 11px !important;
  }
}


.rules-stack {
  display: grid;
  gap: 18px;
}

.checkbox-line {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.checkbox-line input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox-line span,
.checkbox-line a {
  color: var(--white);
}

.checkbox-line a {
  color: var(--yellow);
  text-decoration: underline;
}

.compact-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
}

.docs-cards,
.legal-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.legal-links-card h2 {
  margin: 4px 0 18px;
}

.document-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.document-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 60px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.document-link::after {
  content: '→';
  color: var(--yellow);
}

.document-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 213, 79, 0.34);
  background: rgba(255,255,255,0.06);
}

.legal-page-wrap {
  max-width: 980px;
}

.legal-card h1 {
  margin: 8px 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--yellow);
}

.legal-text {
  display: grid;
  gap: 14px;
}

.legal-text h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 24px;
}

.legal-text p,
.legal-text li {
  color: #e8e8e8;
  line-height: 1.75;
}

.legal-mini-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.legal-mini-list strong {
  color: var(--yellow);
}

.footer-inner-legal {
  align-items: flex-start;
}

.footer-links-wide {
  max-width: 720px;
}

.legal-summary-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .document-links,
  .docs-cards,
  .legal-summary-grid {
    grid-template-columns: 1fr;
  }
}
