:root {
  --bg: #160719;
  --panel: #fff7d9;
  --panel-strong: #ffc928;
  --text: #260b05;
  --muted: #6f3106;
  --line: rgba(255, 190, 24, 0.34);
  --pink: #ff6422;
  --cyan: #ffd43b;
  --lime: #25b35a;
  --gold: #ffad16;
  --amber: #ffd035;
  --danger: #c93b22;
  --stripe: #3b1005;
  --shadow: 0 22px 60px rgba(46, 9, 3, 0.28);
}

[hidden] {
  display: none !important;
}

/* Signal card layout */
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.filter-toggle {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(98, 54, 7, 0.2);
  border-radius: 8px;
  color: #130b05;
  background: linear-gradient(135deg, var(--amber), var(--gold));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(100, 58, 6, 0.16);
}

.filter-toggle.active {
  background: linear-gradient(135deg, #60ffad, var(--gold));
}

.filter-box[hidden] {
  display: none;
}

.filter-box {
  position: sticky;
  top: 104px;
  z-index: 5;
}

.game-grid {
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 8px;
}

.slot-card {
  position: relative;
  gap: 0;
  min-height: 418px;
  padding: 0 0 10px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, var(--slot-a), var(--slot-b));
  box-shadow: 0 18px 30px rgba(34, 9, 24, 0.28);
}

.slot-card .game-hit-area {
  gap: 0;
}

.slot-media {
  aspect-ratio: 1.16;
  border: 0;
  border-radius: 0;
  background: #1a0c22;
  box-shadow: none;
}

.slot-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.58));
}

.slot-heart {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  font-size: 1.05rem;
  line-height: 1;
}

.slot-hot {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  color: #b6ff9a;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.slot-distribution {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  z-index: 2;
  text-align: center;
  color: #fff;
  font-size: 0.78rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.78);
}

.slot-title-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 66px;
  padding: 8px 12px 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.slot-thumb {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 1rem;
}

.slot-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slot-card h3 {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.05;
  text-align: left;
  white-space: normal;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.42);
}

.slot-bars {
  display: grid;
  gap: 5px;
  padding: 0 14px 8px;
}

.slot-bar strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.42);
}

.slot-bar span {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(239, 246, 255, 0.88);
}

.slot-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.slot-bar.red i {
  background: #ef2730;
}

.slot-bar.yellow i {
  background: #f0cb08;
}

.slot-bar.green i {
  background: #21cf64;
}

.slot-stakes {
  display: grid;
  gap: 9px;
  margin: 6px 10px 10px;
  padding: 12px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.slot-card .game-tags {
  min-height: 0;
  padding: 0 10px 8px;
  justify-content: center;
}

.slot-card .game-tags span {
  min-height: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.62rem;
}

.slot-generate {
  min-height: 44px;
  margin: auto 10px 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #16a34a;
  font-weight: 900;
}

.slot-generate:hover {
  background: #22c55e;
}

.signal-details {
  background: rgba(0, 58, 46, 0.62);
}

.signal-modal-card {
  position: relative;
  width: min(452px, calc(100vw - 34px));
  max-height: min(92vh, 760px);
  padding: 0 0 8px;
  overflow: hidden auto;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #920000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.signal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 1.25rem;
  line-height: 1;
}

.signal-modal-card .signal-preview {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 3 / 1;
  background: #3b0505;
}

.signal-modal-card .signal-preview img {
  object-position: center 35%;
}

.signal-modal-card h2 {
  display: grid;
  place-items: center;
  min-height: 34px;
  margin: 0;
  color: #fff;
  background: linear-gradient(90deg, #5f0000, #8a170d, #a76016);
  font-size: 0.86rem;
  text-align: center;
}

.signal-machine {
  display: grid;
  gap: 18px;
  padding: 24px 14px 20px;
}

.signal-row {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 0 18px;
  border: 1px solid rgba(36, 0, 0, 0.58);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)),
    #991c1c;
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.55);
}

.signal-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  font-size: 1.15rem;
}

.turbo-icon {
  font-size: 1rem;
}

.signal-row strong,
.signal-row b {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
}

.signal-row b {
  min-width: 70px;
}

.modal-generate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0 0 8px 8px;
  color: #fff;
  background: #650000;
  font-weight: 900;
}

.modal-generate:not(.loading):hover {
  background: #16a34a;
}

.modal-generate.loading {
  background: #650000;
}

.signal-spinner,
.inline-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 780ms linear infinite;
}

.inline-spinner {
  width: 20px;
  height: 20px;
}

.signal-description {
  margin: 12px 14px 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 232, 130, 0.45);
  border-radius: 8px;
  color: #ffd970;
  background: rgba(36, 0, 0, 0.72);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.92);
}

.game-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.game-info-grid:empty {
  display: none;
}

.game-info-grid div {
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 214, 92, 0.26);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255, 187, 55, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(74, 0, 0, 0.56);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.26);
}

.game-info-grid span {
  display: block;
  color: #ffd970;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-info-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: #fff8df;
  font-size: 0.75rem;
  line-height: 1.2;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 247, 223, 0.9), rgba(255, 226, 152, 0.82)),
    var(--page-bg-image, url("tiger-head.svg")) center top / cover fixed,
    linear-gradient(135deg, #fff7df 0%, #ffe3a0 48%, #fff2cd 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: rgba(255, 246, 220, 0.78);
  backdrop-filter: blur(10px) saturate(1.18);
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.game-collage {
  position: fixed;
  top: 84px;
  bottom: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(2, 74px);
  align-content: start;
  gap: 10px;
  width: 170px;
  pointer-events: none;
  opacity: 0.34;
  filter: saturate(1.14);
}

.game-collage-left {
  left: 8px;
}

.game-collage-right {
  right: 8px;
}

.game-collage img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border: 2px solid rgba(255, 250, 240, 0.84);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(82, 45, 7, 0.22);
  transform: translateX(var(--x)) translateY(calc(var(--d) * -3px)) rotate(var(--r));
}

.win-ticker {
  overflow: hidden;
  margin: 12px 0 0;
  border: 1px solid rgba(111, 63, 9, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, #2a1706, #6b3308);
  box-shadow: 0 12px 26px rgba(100, 58, 6, 0.16);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-height: 42px;
  align-items: center;
  gap: 28px;
  padding: 0 18px;
  color: #ffe7a7;
  font-size: 0.88rem;
  font-weight: 800;
  animation: tickerMove 34s ease-in-out infinite alternate;
  will-change: transform;
}

.ticker-track span {
  white-space: nowrap;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--ticker-distance, -45%));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: 0 12px 34px rgba(100, 58, 6, 0.14);
}

.brand {
  position: relative;
  display: inline-flex;
  grid-column: 2;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-self: center;
  padding: 6px 14px;
  border-radius: 8px;
  isolation: isolate;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(98, 54, 7, 0.14);
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 211, 90, 0.44));
  box-shadow: 0 12px 30px rgba(242, 109, 24, 0.16);
  opacity: 0.95;
}

.brand::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.5), transparent);
  filter: blur(12px);
  animation: brandGlow 2.8s ease-in-out infinite;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(98, 54, 7, 0.22);
  border-radius: 8px;
  color: #130b05;
  background: linear-gradient(135deg, var(--amber), var(--gold));
  font-weight: 800;
  box-shadow: 0 0 24px rgba(242, 143, 22, 0.28);
  animation: tigerMarkPulse 2.8s ease-in-out infinite;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand-text {
  background: linear-gradient(135deg, #5a2602, #ff7a1a 42%, #2a1706);
  background-clip: text;
  color: transparent;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 2px 0 rgba(255, 247, 223, 0.65);
  text-transform: uppercase;
  white-space: nowrap;
  animation: tigerTitleShine 3.4s linear infinite;
}

.nav-actions {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

@keyframes tigerTitleShine {
  0% {
    background-position: 0 0, 0 0;
    transform: translateY(0) scale(1);
  }
  50% {
    background-position: 42px 0, 120px 0;
    transform: translateY(-1px) scale(1.02);
  }
  100% {
    background-position: 84px 0, 240px 0;
    transform: translateY(0) scale(1);
  }
}

@keyframes tigerMarkPulse {
  0%,
  100% {
    transform: rotate(-2deg) scale(1);
    box-shadow: 0 0 18px rgba(242, 143, 22, 0.26);
  }
  50% {
    transform: rotate(2deg) scale(1.07);
    box-shadow: 0 0 32px rgba(242, 109, 24, 0.36);
  }
}

@keyframes brandGlow {
  0%,
  100% {
    opacity: 0.35;
    transform: translateX(-8px);
  }
  50% {
    opacity: 0.85;
    transform: translateX(8px);
  }
}

.nav-actions a:hover {
  color: var(--amber);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(720px, calc(100vh - 112px));
  align-items: center;
  overflow: hidden;
  padding: clamp(44px, 8vw, 92px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 246, 220, 0.76), rgba(255, 232, 171, 0.9)),
    var(--hero-banner, linear-gradient(135deg, transparent, transparent)),
    repeating-linear-gradient(115deg, rgba(42, 23, 6, 0.12) 0 12px, transparent 12px 58px),
    radial-gradient(circle at 82% 18%, rgba(242, 109, 24, 0.32), transparent 18rem),
    linear-gradient(135deg, #fff7df 0%, #ffc95c 52%, #fff0c4 100%);
  box-shadow: var(--shadow);
  background-size: cover, cover, auto, auto, auto;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(transparent, rgba(242, 109, 24, 0.16));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: #a65408;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.3rem, 7vw, 5.8rem);
  line-height: 0.95;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.75;
}

.hero-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.filter-box {
  display: grid;
  gap: 16px;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid rgba(98, 54, 7, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.9);
  box-shadow: 0 16px 34px rgba(100, 58, 6, 0.12);
}

.filter-title {
  display: grid;
  gap: 4px;
}

.filter-title span,
.filter-group > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-title strong {
  color: #7a3d07;
  font-size: 1.05rem;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-height: 56px;
  margin: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-options .category-button,
.filter-options .platform-tab {
  flex: 0 0 auto;
  min-width: 96px;
  min-height: 46px;
}

.category-button,
.generate-button,
.music-toggle {
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.category-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(98, 54, 7, 0.18);
  color: var(--text);
  background: rgba(255, 250, 240, 0.74);
}

.music-toggle {
  min-height: 54px;
  min-width: 156px;
  padding: 0 18px;
  border: 1px solid rgba(98, 54, 7, 0.18);
  color: #7a3d07;
  background: rgba(255, 255, 255, 0.64);
}

.music-toggle:hover {
  color: #130b05;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.category-button:hover,
.category-button.active {
  color: #130b05;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.signal-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(660px, 100%);
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(98, 54, 7, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 16px 34px rgba(100, 58, 6, 0.14);
}

.panel-label,
.signal-panel small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.signal-panel strong {
  display: block;
  margin: 4px 0;
  color: #9a5008;
  font-size: 1.8rem;
}

.generate-button {
  min-height: 54px;
  min-width: 168px;
  padding: 0 22px;
  color: #130b05;
  background: linear-gradient(135deg, #ff7a1a, #ffd35a);
  box-shadow: 0 14px 30px rgba(242, 109, 24, 0.26);
}

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

.hero-orbit {
  display: none;
}

.hero-orbit span {
  position: absolute;
  display: block;
  border: 1px solid rgba(98, 54, 7, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(242, 143, 22, 0.14);
}

.hero-orbit span:nth-child(1) {
  right: 8%;
  top: 15%;
  width: 180px;
  height: 180px;
}

.hero-orbit span:nth-child(2) {
  right: 18%;
  bottom: 16%;
  width: 82px;
  height: 82px;
  border-color: rgba(255, 122, 26, 0.34);
}

.hero-orbit span:nth-child(3) {
  right: -90px;
  bottom: -90px;
  width: 320px;
  height: 320px;
}

.toolbar {
  margin: 26px 0 10px;
}

.social-section {
  margin: 18px 0 0;
  padding: 18px;
  border: 2px solid rgba(255, 196, 30, 0.42);
  border-radius: 22px;
  background: rgba(62, 11, 17, 0.72);
  box-shadow: 0 16px 36px rgba(33, 5, 10, 0.2);
}

.social-heading {
  margin-bottom: 12px;
}

.social-heading h2 {
  margin: 0;
  color: #ffd970;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.55);
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid rgba(255, 232, 130, 0.48);
  border-radius: 999px;
  color: #351001;
  background: linear-gradient(180deg, #ffe267, #ffad10);
  box-shadow: 0 10px 22px rgba(42, 8, 0, 0.18);
  font-weight: 800;
}

.social-link:hover {
  color: #130b05;
  background: linear-gradient(135deg, #fff2a8, var(--gold));
  transform: translateY(-1px);
}

.social-link.telegram-link {
  border-color: rgba(171, 221, 255, 0.72);
  color: #fff;
  background: linear-gradient(135deg, #229ed9, #0b66d8);
  box-shadow: 0 12px 26px rgba(9, 101, 216, 0.28);
}

.social-link.whatsapp-link {
  border-color: rgba(191, 255, 214, 0.72);
  color: #fff;
  background: linear-gradient(135deg, #25d366, #0b8f44);
  box-shadow: 0 12px 26px rgba(11, 143, 68, 0.28);
}

.social-link.instagram-link {
  border-color: rgba(255, 220, 160, 0.72);
  color: #fff;
  background:
    radial-gradient(circle at 18% 110%, #fdf497 0 18%, transparent 28%),
    linear-gradient(135deg, #f58529, #dd2a7b 45%, #8134af 72%, #515bd4);
  box-shadow: 0 12px 26px rgba(221, 42, 123, 0.28);
}

.social-link.telegram-link:hover,
.social-link.whatsapp-link:hover,
.social-link.instagram-link:hover {
  color: #fff;
  filter: brightness(1.12);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: 0 12px 28px rgba(100, 58, 6, 0.1);
}

.search-box span {
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.search-box input::placeholder {
  color: #9a7242;
}

.platform-section {
  padding: 54px 0 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.platform-grid {
  grid-template-columns: repeat(auto-fill, minmax(82px, 104px));
  gap: 8px;
  justify-content: start;
}

.platform-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 18px;
}

.theme-tabs {
  margin-top: 0;
}

.platform-tab {
  min-height: 42px;
  border: 1px solid rgba(98, 54, 7, 0.18);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.8);
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.platform-tab:hover,
.platform-tab.active {
  color: #130b05;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  transform: translateY(-1px);
}

.platform-card {
  display: grid;
  gap: 14px;
  min-height: 310px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 239, 190, 0.62)),
    var(--panel);
  box-shadow: 0 18px 42px rgba(100, 58, 6, 0.14);
}

.platform-vip-card {
  aspect-ratio: 1;
  min-height: 0;
  padding: 6px;
  align-content: stretch;
  transform-origin: 50% 100%;
}

.platform-hit-area {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 5px;
  width: 100%;
  height: 100%;
  min-width: 0;
  color: inherit;
}

.platform-vip-card:hover {
  animation: tigerWobble 720ms ease-in-out infinite;
}

.platform-hit-area:hover .card-media {
  border-color: rgba(255, 207, 69, 0.75);
  box-shadow: 0 0 34px rgba(255, 207, 69, 0.28);
}

@keyframes tigerWobble {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  25% {
    transform: rotate(-2deg) translateY(-2px);
  }
  50% {
    transform: rotate(2deg) translateY(-3px);
  }
  75% {
    transform: rotate(-1deg) translateY(-2px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}

.card-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  color: #130b05;
  background:
    linear-gradient(135deg, var(--amber), var(--gold), var(--pink));
  border: 1px solid rgba(98, 54, 7, 0.16);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(167, 255, 79, 0.35);
  border-radius: 999px;
  color: var(--lime);
  background: rgba(167, 255, 79, 0.08);
  font-size: 0.76rem;
  font-weight: 800;
}

.vip-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 207, 69, 0.55);
  border-radius: 999px;
  color: #130b05;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 0 18px rgba(255, 207, 69, 0.3);
  font-size: 0.78rem;
  font-weight: 900;
}

.hot-badge {
  border-color: rgba(255, 122, 26, 0.7);
  color: #fff6db;
  background: linear-gradient(135deg, #ff5d1f, #f6a91a);
  box-shadow: 0 0 22px rgba(255, 122, 26, 0.38);
}

.verified-badge {
  border-color: rgba(96, 255, 173, 0.58);
  color: #06150d;
  background: linear-gradient(135deg, #60ffad, #ffd45a);
  box-shadow: 0 0 22px rgba(96, 255, 173, 0.28);
}

.custom-badge {
  border-color: rgba(255, 255, 255, 0.45);
  color: #130b05;
  background: linear-gradient(135deg, #fff7dc, var(--amber));
  box-shadow: 0 0 22px rgba(255, 207, 69, 0.3);
}

.platform-vip-card .vip-badge {
  top: 5px;
  left: 5px;
  min-height: 20px;
  padding: 0 6px;
  font-size: 0.58rem;
}

.platform-card h3 {
  margin: 0;
  overflow: hidden;
  font-size: clamp(0.68rem, 1vw, 0.84rem);
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.game-card {
  min-height: 280px;
  cursor: pointer;
}

.game-hit-area {
  display: grid;
  gap: 14px;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: inherit;
}

.platform-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.card-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(98, 54, 7, 0.13);
  border-radius: 999px;
  color: #603507;
  background: rgba(255, 226, 143, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
}

.game-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
}

.game-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #130b05;
  background: linear-gradient(135deg, rgba(255, 207, 69, 0.95), rgba(96, 255, 173, 0.72));
  font-size: 0.72rem;
  font-weight: 900;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid rgba(98, 54, 7, 0.18);
  border-radius: 8px;
  color: #7a3d07;
  background: rgba(255, 250, 240, 0.78);
  font-weight: 800;
}

.card-link:hover {
  color: #130b05;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
}

.empty-state {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: var(--panel);
}

.signal-details {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 22px;
  background: rgba(42, 23, 6, 0.34);
  backdrop-filter: blur(10px);
}

.signal-details[hidden] {
  display: none;
}

.signal-modal-card {
  width: min(980px, calc(100vw - 28px));
  max-height: min(88vh, 860px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(98, 54, 7, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 207, 69, 0.12), rgba(255, 122, 26, 0.04)),
    var(--panel);
  box-shadow: 0 26px 90px rgba(42, 23, 6, 0.34);
}

.signal-preview {
  width: min(760px, 100%);
  margin: 0 0 16px;
  overflow: hidden;
  border: 1px solid rgba(98, 54, 7, 0.16);
  border-radius: 8px;
  background: #130b05;
  aspect-ratio: 16 / 9;
}

.signal-preview video,
.signal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.signal-preview .gif-preview {
  pointer-events: none;
}

.preview-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #130b05;
  background: linear-gradient(135deg, var(--amber), var(--gold));
  font-size: clamp(2.4rem, 10vw, 5rem);
  font-weight: 900;
}

.signal-description {
  max-width: 900px;
  margin: 12px 14px 10px;
  color: #ffd970;
  line-height: 1.6;
}

.signal-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.signal-detail-grid div {
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(98, 54, 7, 0.13);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
}

.signal-detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.signal-detail-grid strong {
  display: block;
  margin-top: 10px;
  color: #9a5008;
  font-size: 1.25rem;
}

.site-footer {
  display: grid;
  gap: 12px;
  margin: 36px 0 26px;
  padding: 22px;
  border: 1px solid rgba(201, 59, 34, 0.22);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 250, 240, 0.86);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #19040a;
  background: var(--danger);
}

.site-footer p {
  margin: 0;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .page-shell {
    width: min(100% - 22px, 680px);
  }

  .navbar,
  .section-heading,
  .signal-panel {
    align-items: stretch;
  }

  .navbar {
    grid-template-columns: 1fr;
  }

  .brand,
  .nav-actions {
    grid-column: 1;
    justify-self: center;
  }

  .nav-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
    padding: 40px 18px;
  }

  .hero-orbit {
    opacity: 0.55;
  }

  .category-button,
  .generate-button,
  .music-toggle {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }

  .platform-tab {
    flex: 1 1 100%;
  }

  .signal-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 881px) and (max-width: 1080px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .platform-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 104px));
  }
}

/* Final signal-card overrides */
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.filter-toggle {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(98, 54, 7, 0.2);
  border-radius: 8px;
  color: #130b05;
  background: linear-gradient(135deg, var(--amber), var(--gold));
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(100, 58, 6, 0.16);
}

.filter-toggle.active {
  background: linear-gradient(135deg, #60ffad, var(--gold));
}

.filter-box[hidden] {
  display: none;
}

.game-grid.cards-grid {
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 8px;
}

.slot-card.platform-card {
  gap: 0;
  min-height: 418px;
  padding: 0 0 10px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 34%), linear-gradient(145deg, var(--slot-a), var(--slot-b));
}

.slot-card .game-hit-area {
  gap: 0;
}

.slot-card .card-media {
  aspect-ratio: 1.16;
  border: 0;
  border-radius: 0;
  background: #1a0c22;
  box-shadow: none;
}

.slot-title-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 66px;
  padding: 8px 12px 4px;
  background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.08));
}

.slot-card h3 {
  color: #fff;
  font-size: .95rem;
  line-height: 1.05;
  text-align: left;
  white-space: normal;
}

.slot-generate {
  min-height: 44px;
  margin: auto 10px 0;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #16a34a;
  font-weight: 900;
}

.signal-details {
  background: rgba(0, 58, 46, .62);
}

.signal-modal-card {
  width: min(452px, calc(100vw - 34px));
  padding: 0 0 8px;
  overflow: hidden auto;
  border: 0;
  color: #fff;
  background: #920000;
}

.signal-modal-card .signal-preview {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  aspect-ratio: 3 / 1;
}

.signal-modal-card h2 {
  display: grid;
  place-items: center;
  min-height: 34px;
  margin: 0;
  color: #fff;
  background: linear-gradient(90deg, #5f0000, #8a170d, #a76016);
  font-size: .86rem;
}

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

  .filter-toggle {
    width: 100%;
  }

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

/* Tiger Slots themed finish */
body {
  font-family: "Trebuchet MS", "Arial Black", Arial, sans-serif;
  color: #2b0904;
  background:
    linear-gradient(180deg, rgba(20, 4, 23, 0.22), rgba(20, 4, 23, 0.48)),
    var(--page-bg-image, url("/uploads/nv-tiger-background.webp")) center top / cover fixed,
    linear-gradient(135deg, #1b071d 0%, #f08b17 48%, #4b0c17 100%);
}

body::before {
  background:
    linear-gradient(90deg, rgba(12, 3, 18, 0.34), transparent 24%, transparent 76%, rgba(12, 3, 18, 0.34));
  backdrop-filter: none;
}

.page-shell {
  width: min(1320px, calc(100% - 28px));
}

.win-ticker {
  margin-top: 10px;
  border: 2px solid rgba(255, 196, 30, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(92, 22, 2, 0.94), rgba(255, 159, 15, 0.92), rgba(83, 10, 18, 0.94));
  box-shadow: 0 10px 30px rgba(42, 8, 0, 0.32), inset 0 0 0 2px rgba(255, 247, 200, 0.18);
}

.ticker-track {
  color: #fff6bf;
  text-shadow: 0 2px 6px rgba(52, 8, 0, 0.5);
  transition: none;
}

.ticker-track.is-swapping {
  opacity: 1;
}

.notice-strip {
  overflow: hidden;
  margin: 10px auto 0;
  border-radius: 999px;
  background: rgba(255, 219, 72, 0.2);
}

.notice-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 8px;
  animation: noticeMove 34s linear infinite;
}

.notice-track span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 2px solid rgba(255, 202, 34, 0.78);
  border-radius: 999px;
  color: #321001;
  background: linear-gradient(180deg, #ffe071, #ffaf13);
  box-shadow: 0 8px 18px rgba(52, 12, 0, 0.18);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes noticeMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.site-header {
  padding-top: 12px;
}

.navbar {
  min-height: 86px;
  border: 2px solid rgba(255, 202, 34, 0.55);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 231, 107, 0.94), rgba(255, 171, 16, 0.86));
  box-shadow: 0 18px 44px rgba(45, 9, 0, 0.24), inset 0 0 0 3px rgba(255, 255, 255, 0.16);
}

.brand {
  gap: 14px;
  padding: 6px 22px;
  border-radius: 22px;
}

.brand::before {
  border: 2px solid rgba(255, 245, 183, 0.62);
  background: linear-gradient(135deg, rgba(56, 8, 18, 0.94), rgba(120, 31, 7, 0.9), rgba(255, 176, 20, 0.7));
}

.brand::after {
  background: linear-gradient(90deg, transparent, rgba(255, 232, 93, 0.95), transparent);
}

.brand-mark {
  width: 72px;
  height: 72px;
  border: 2px solid rgba(255, 221, 77, 0.84);
  border-radius: 50%;
  background: radial-gradient(circle, #fff1a5, #f89f17 62%, #4b0907);
  box-shadow: 0 0 32px rgba(255, 188, 21, 0.52);
}

.brand-mark img {
  object-fit: contain;
}

.brand-text {
  color: #fff2a8;
  background: none;
  font-family: "Arial Black", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.7rem, 4.8vw, 4.2rem);
  text-shadow:
    0 3px 0 #6a1705,
    0 0 16px rgba(255, 225, 64, 0.78),
    0 0 34px rgba(255, 103, 24, 0.5);
}

.nav-actions {
  color: #4b1503;
}

.hero {
  min-height: min(580px, calc(100vh - 145px));
  border: 2px solid rgba(255, 206, 32, 0.48);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(15, 3, 20, 0.46), rgba(15, 3, 20, 0.12) 46%, rgba(15, 3, 20, 0.58)),
    var(--hero-banner, var(--page-bg-image, url("/uploads/nv-tiger-background.webp"))) center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(25, 3, 14, 0.42);
}

.hero::after {
  background: linear-gradient(transparent, rgba(255, 163, 17, 0.16));
}

.hero-content {
  padding: clamp(10px, 2vw, 20px);
  border-radius: 22px;
  text-shadow: 0 2px 12px rgba(22, 4, 4, 0.52);
}

.eyebrow {
  color: #ffe36d;
  text-shadow: 0 2px 7px rgba(30, 2, 0, 0.65);
}

h1,
h2 {
  font-family: "Arial Black", "Trebuchet MS", Arial, sans-serif;
}

h1 {
  color: #fff4ab;
  text-shadow: 0 4px 0 #6a1705, 0 0 30px rgba(255, 176, 20, 0.62);
}

.hero-copy {
  color: #fff2c2;
  font-weight: 900;
}

.signal-panel {
  position: relative;
  width: min(610px, 100%);
  margin-inline: auto;
  padding: 18px 20px 18px 86px;
  border: 5px solid #d58606;
  border-radius: 28px;
  color: #2c0c02;
  background: linear-gradient(180deg, #ffd850, #ffb30c);
  box-shadow: 0 18px 36px rgba(58, 12, 0, 0.28), inset 0 0 0 3px rgba(255, 248, 183, 0.35);
}

.signal-panel::before {
  content: "⟳";
  position: absolute;
  left: 22px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 4px solid #a76208;
  border-radius: 50%;
  color: #fff1a8;
  background: radial-gradient(circle, #ffdc51, #c56b08);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
  font-size: 1.7rem;
  font-weight: 900;
  transform: translateY(-50%);
}

.panel-label,
.signal-panel small {
  color: #4b1702;
  font-weight: 900;
}

.signal-panel strong {
  color: #2b0800;
  font-family: "Arial Black", "Trebuchet MS", Arial, sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
}

.panel-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.panel-social-actions[hidden] {
  display: none;
}

.panel-social-actions .social-link {
  min-height: 28px;
  padding: 0 9px;
  border: 2px solid rgba(83, 23, 3, 0.18);
  border-radius: 999px;
  box-shadow: none;
  font-size: 0.72rem;
}

.social-link span {
  display: inline-grid;
  place-items: center;
  margin-right: 5px;
  font-weight: 900;
}

.music-toggle {
  border: 2px solid rgba(80, 22, 3, 0.28);
  border-radius: 999px;
  color: #2c0c02;
  background: rgba(255, 248, 203, 0.72);
}

.toolbar {
  max-width: 760px;
  margin: 28px auto 10px;
}

.search-box {
  min-height: 62px;
  border: 3px solid rgba(175, 93, 8, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(44, 8, 0, 0.22);
}

.search-box span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: -8px;
  border: 4px solid #a76208;
  border-radius: 50%;
  color: #6a2104;
  background: radial-gradient(circle, #ffe47a, #d97908);
  font-size: 1.45rem;
}

.search-box input {
  color: #251006;
  font-weight: 900;
}

.search-box input::placeholder {
  color: #251006;
}

.filter-toggle,
.category-button,
.platform-tab {
  border-radius: 999px;
  color: #2b0c02;
  background: linear-gradient(180deg, #ffe267, #ffad10);
  box-shadow: 0 8px 18px rgba(42, 8, 0, 0.16);
}

.filter-box {
  border: 3px solid rgba(255, 196, 30, 0.46);
  border-radius: 22px;
  background: rgba(255, 243, 190, 0.93);
}

.game-collage {
  top: 112px;
  bottom: 0;
  display: block;
  width: 270px;
  opacity: 0.7;
  filter: saturate(1.18) contrast(1.03);
  overflow: hidden;
}

.game-collage-left {
  left: 0;
}

.game-collage-right {
  right: 0;
}

.game-collage img {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: var(--z);
  width: var(--s);
  height: var(--s);
  border-color: rgba(255, 216, 61, 0.82);
  box-shadow: 0 10px 20px rgba(32, 5, 4, 0.38);
  transform: rotate(var(--r));
}

.platform-section {
  position: relative;
  z-index: 1;
}

.section-heading {
  padding: 18px 22px;
  border: 3px solid rgba(255, 196, 30, 0.48);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 216, 73, 0.94), rgba(255, 173, 18, 0.9));
  box-shadow: 0 18px 40px rgba(42, 8, 0, 0.22);
}

.section-heading h2 {
  color: #491202;
  text-shadow: 0 1px 0 rgba(255, 246, 190, 0.7);
}

.section-heading .eyebrow,
#plataformas .eyebrow {
  color: #5a1700;
  text-shadow: 0 1px 0 rgba(255, 234, 139, 0.58);
}

.section-heading h2,
#platformTitle,
#gamesTitle {
  color: #4a1300;
  font-family: "Arial Black", "Trebuchet MS", Arial, sans-serif;
  text-shadow:
    0 3px 0 rgba(255, 232, 136, 0.88),
    0 6px 0 rgba(110, 27, 0, 0.26),
    0 0 12px rgba(255, 245, 184, 0.36);
  animation: sectionTitlePop 2.8s ease-in-out infinite;
}

@keyframes sectionTitlePop {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translateY(-1px) scale(1.025);
    filter: brightness(1.22);
  }
}

.site-footer {
  border: 2px solid rgba(255, 196, 30, 0.5);
  color: #ffeec0;
  background: rgba(32, 6, 19, 0.82);
}

@media (max-width: 1180px) {
  .game-collage {
    width: 210px;
    opacity: 0.46;
  }

  .game-collage img {
    width: calc(var(--s) * 0.82);
    height: calc(var(--s) * 0.82);
  }
}

@media (max-width: 880px) {
  .page-shell {
    width: min(100% - 18px, 700px);
  }

  .game-collage {
    display: none;
  }

  .navbar {
    border-radius: 20px;
  }

  .brand {
    padding-inline: 10px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-text {
    font-size: clamp(1.45rem, 9vw, 2.8rem);
  }

  .hero {
    min-height: 500px;
    padding: 28px 14px;
    background-position: center top;
  }

  .signal-panel {
    display: grid;
    padding: 76px 16px 16px;
    text-align: center;
  }

  .signal-panel::before {
    left: 50%;
    top: 18px;
    transform: translateX(-50%);
  }

  .toolbar {
    max-width: 100%;
  }

  .notice-track span {
    font-size: 0.78rem;
  }
}

/* Badges, favorites and launch notification */
.section-subtitle {
  margin: 14px 0 0;
  color: #5a1a03;
  font-weight: 900;
}

#plataformas {
  margin-top: 54px;
  padding: 26px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 213, 44, 0.96), rgba(255, 184, 12, 0.94));
  box-shadow: 0 22px 54px rgba(60, 11, 0, 0.24);
}

#plataformas .section-heading {
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#plataformas .section-heading h2 {
  color: #4a1300;
}

.platform-grid {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#plataformas .platform-vip-card {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 4px;
}

#plataformas .platform-hit-area {
  grid-template-rows: 1fr;
}

#plataformas .card-media {
  border: 0;
  box-shadow: 0 8px 18px rgba(65, 13, 0, 0.18);
}

.game-quick-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -8px 0 20px;
  padding: 10px;
  border: 3px solid rgba(255, 196, 30, 0.48);
  border-radius: 22px;
  background: rgba(62, 11, 17, 0.68);
  box-shadow: 0 16px 36px rgba(33, 5, 10, 0.22);
}

.game-quick-tabs .platform-tab {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.78rem;
}

.slot-hot {
  top: 7px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff7bf;
  background: linear-gradient(135deg, #ff2d00, #ff9d00 58%, #ffe15a);
  box-shadow: 0 0 14px rgba(255, 88, 0, 0.68);
  font-size: 0.58rem;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(90, 8, 0, 0.72);
  animation: fireBadge 920ms ease-in-out infinite;
}

.slot-hot i {
  display: inline-block;
  font-style: normal;
  animation: fireFlicker 520ms ease-in-out infinite alternate;
}

@keyframes fireBadge {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter: saturate(1.05);
  }
  50% {
    transform: translateY(-1px) scale(1.06);
    filter: saturate(1.45);
  }
}

@keyframes fireFlicker {
  from {
    transform: rotate(-7deg) scale(0.92);
  }
  to {
    transform: rotate(7deg) scale(1.14);
  }
}

.slot-heart.favorite-toggle {
  z-index: 4;
  border: 1px solid rgba(255, 248, 210, 0.68);
  color: #fff;
  background: rgba(44, 8, 16, 0.34);
  backdrop-filter: blur(5px);
}

.slot-heart.favorite-toggle.active {
  color: #ff2d55;
  background: rgba(255, 244, 209, 0.92);
  box-shadow: 0 0 18px rgba(255, 45, 85, 0.56);
  animation: heartPulse 1.1s ease-in-out infinite;
}

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

.slot-card .game-tags {
  min-height: 20px;
  padding: 0 8px 6px;
  gap: 4px;
}

.slot-card .game-tags span {
  min-height: 16px;
  padding: 0 5px;
  border: 1px solid rgba(255, 210, 58, 0.48);
  color: #fff7bd;
  background: linear-gradient(135deg, rgba(255, 58, 0, 0.75), rgba(255, 157, 0, 0.58));
  box-shadow: 0 0 8px rgba(255, 112, 0, 0.28);
  font-size: 0.5rem;
  line-height: 1;
}

.vip-badge {
  color: #351001;
  background: linear-gradient(135deg, #fff2a8, #ffbe12, #ff8a00);
  box-shadow: 0 0 22px rgba(255, 202, 34, 0.56), inset 0 0 0 1px rgba(255, 255, 255, 0.34);
  animation: vipGlow 1.45s ease-in-out infinite;
}

.platform-vip-card .vip-badge {
  min-height: 18px;
  padding: 0 5px;
  font-size: 0.54rem;
}

.platform-vip-card .vip-badge::first-letter {
  font-size: 0.72rem;
}

@keyframes vipGlow {
  0%,
  100% {
    filter: brightness(1);
    transform: translateY(0);
  }
  50% {
    filter: brightness(1.28);
    transform: translateY(-1px);
  }
}

.launch-toast {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 90;
  width: min(330px, calc(100vw - 28px));
  animation: toastEnter 420ms ease both;
}

.launch-toast[hidden] {
  display: none;
}

.launch-toast a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 12px;
  border: 1px solid rgba(118, 183, 255, 0.64);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #045cff, #0840bb);
  box-shadow: 0 14px 32px rgba(3, 34, 128, 0.34);
}

.launch-toast strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9rem;
}

.launch-toast i {
  color: #cde8ff;
  font-style: normal;
}

.launch-toast button {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
  font-size: 1rem;
}

.winner-toast {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 92;
  width: min(360px, calc(100vw - 28px));
  padding: 16px;
  border: 2px solid rgba(255, 221, 91, 0.9);
  border-radius: 18px;
  color: #fff7cf;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 242, 147, 0.72), transparent 26%),
    linear-gradient(155deg, #3e0700 0%, #910d00 42%, #ff9d00 100%);
  box-shadow:
    0 22px 46px rgba(34, 0, 0, 0.42),
    0 0 30px rgba(255, 178, 0, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  animation: winnerPop 520ms cubic-bezier(0.2, 1.25, 0.42, 1) both, winnerGlow 1.8s ease-in-out infinite;
}

.winner-toast[hidden] {
  display: none;
}

.winner-toast::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -1;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(255, 196, 0, 0), rgba(255, 196, 0, 0.52), rgba(255, 196, 0, 0));
  filter: blur(12px);
  opacity: 0.7;
}

.winner-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(39, 0, 0, 0.34);
  font-size: 1.05rem;
  cursor: pointer;
}

.winner-spark {
  padding-right: 24px;
  color: #fff4ae;
  text-shadow: 0 2px 0 #6d1700, 0 0 18px rgba(255, 255, 255, 0.55);
  font-weight: 950;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.winner-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(37, 0, 0, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 238, 170, 0.16);
}

.winner-line span {
  color: #ffe8a3;
  font-weight: 800;
}

.winner-line strong {
  color: #fff;
  text-align: right;
}

.winner-money strong {
  color: #62ff9a;
  text-shadow: 0 0 12px rgba(67, 255, 130, 0.58);
}

.winner-call {
  display: block;
  margin-top: 12px;
  padding: 10px;
  border-radius: 999px;
  color: #501300;
  background: linear-gradient(90deg, #fff3a3, #ffb300, #fff3a3);
  text-align: center;
  box-shadow: 0 8px 18px rgba(82, 12, 0, 0.22);
}

@keyframes toastEnter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes winnerPop {
  from {
    opacity: 0;
    transform: translateX(22px) scale(0.9) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0);
  }
}

@keyframes winnerGlow {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.12);
  }
}

.initial-launch {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 12, 24, 0.72);
  backdrop-filter: blur(7px);
}

.initial-launch[hidden] {
  display: none;
}

.initial-launch-card {
  position: relative;
  width: min(370px, calc(100vw - 32px));
  display: grid;
  justify-items: center;
  gap: 12px;
  animation: toastEnter 360ms ease both;
}

.initial-launch-card img {
  width: 100%;
  max-height: min(68vh, 560px);
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
}

.initial-launch-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.28);
  font-size: 1.45rem;
  line-height: 1;
}

.initial-launch-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.initial-launch-check input {
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
}

.initial-launch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.initial-launch-actions a,
.initial-launch-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 6px;
  font-weight: 900;
}

.initial-launch-actions a {
  color: #fff;
  background: #16a34a;
}

.initial-launch-actions button {
  border: 1px solid rgba(255, 222, 128, 0.48);
  color: #fff8da;
  background: rgba(26, 12, 0, 0.34);
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 3, 18, 0.78);
  backdrop-filter: blur(8px);
}

.access-gate[hidden] {
  display: none;
}

.access-card {
  width: min(430px, calc(100vw - 28px));
  padding: 24px;
  border: 3px solid rgba(255, 196, 30, 0.62);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 216, 73, 0.96), rgba(255, 173, 18, 0.94));
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

.access-card h2 {
  margin: 0 0 14px;
  color: #4a1300;
  font-family: "Arial Black", "Trebuchet MS", Arial, sans-serif;
}

.access-card label {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  color: #4a1300;
  font-weight: 900;
}

.access-card input {
  min-height: 48px;
  border: 2px solid rgba(74, 19, 0, 0.22);
  border-radius: 10px;
  padding: 0 12px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  width: 100%;
  padding-right: 52px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #3a1200;
  background: linear-gradient(180deg, #ffe267, #ffad10);
  box-shadow: 0 4px 10px rgba(65, 13, 0, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  filter: brightness(1.06);
}

.access-card .generate-button {
  width: 100%;
  margin-top: 16px;
}

.access-group-link {
  display: block;
  margin-top: 14px;
  color: #4a1300;
  font-weight: 900;
  text-align: center;
  text-decoration: underline;
}

@media (max-width: 880px) {
  .platform-grid {
    padding: 16px;
    border-radius: 22px;
  }

  .game-quick-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .game-quick-tabs .platform-tab {
    flex: 0 0 auto;
  }

  .launch-toast {
    right: 12px;
    bottom: 14px;
  }

  .winner-toast {
    right: 12px;
    bottom: 84px;
  }
}

@media (max-width: 480px) {
  .signal-details {
    padding: 12px;
  }

  .signal-modal-card {
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100dvh - 24px);
  }

  .signal-machine {
    gap: 10px;
    padding: 14px 10px;
  }

  .signal-row {
    grid-template-columns: 44px 1fr auto;
    min-height: 68px;
    padding: 0 12px;
  }

  .game-info-grid {
    grid-template-columns: 1fr;
  }
}

.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 22px auto 0;
}

.page-button,
.page-dots {
  min-width: 42px;
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: #3a1200;
  font-weight: 900;
  background: linear-gradient(180deg, #ffe267, #ffad10);
  box-shadow: 0 5px 12px rgba(65, 13, 0, 0.18);
}

.page-button {
  cursor: pointer;
}

.page-button.active {
  color: #fff7d6;
  background: linear-gradient(180deg, #7d1c00, #3a1000);
}

.page-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.page-dots {
  display: grid;
  place-items: center;
  background: rgba(255, 222, 82, 0.5);
}

/* Soft polish pass */
:root {
  --soft-panel: rgba(255, 246, 211, 0.9);
  --soft-panel-strong: rgba(255, 198, 44, 0.92);
  --soft-border: rgba(98, 54, 7, 0.14);
  --soft-shadow: 0 18px 42px rgba(46, 9, 3, 0.18);
}

body {
  color: #2d1208;
}

.page-shell {
  padding-bottom: 10px;
}

.win-ticker {
  border: 0;
  background: linear-gradient(90deg, rgba(57, 18, 5, 0.88), rgba(122, 49, 10, 0.9), rgba(57, 18, 5, 0.88));
  box-shadow: 0 10px 24px rgba(42, 8, 0, 0.14);
}

.ticker-track {
  color: #fff1bd;
  font-size: 0.84rem;
  text-shadow: none;
}

.notice-strip {
  border-radius: 999px;
  opacity: 0.96;
}

.site-header {
  padding: 12px 0;
}

.navbar {
  min-height: 62px;
  border: 1px solid rgba(255, 210, 71, 0.42);
  background: rgba(255, 248, 226, 0.78);
  box-shadow: 0 14px 34px rgba(57, 18, 5, 0.12);
}

.brand::before {
  border-color: rgba(98, 54, 7, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 217, 103, 0.46));
}

.brand::after {
  opacity: 0.45;
  filter: blur(16px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  box-shadow: 0 8px 20px rgba(201, 98, 12, 0.2);
}

.brand-text {
  color: #4a1300;
  background: none;
  text-shadow: 0 2px 0 rgba(255, 232, 136, 0.82), 0 8px 22px rgba(242, 109, 24, 0.18);
}

.nav-actions {
  gap: 8px;
}

.nav-actions a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #5a2602;
}

.nav-actions a:hover {
  color: #351001;
  background: rgba(255, 207, 69, 0.34);
}

.hero {
  min-height: min(620px, calc(100vh - 120px));
  border: 0;
  background:
    linear-gradient(rgba(255, 246, 220, 0.54), rgba(255, 230, 163, 0.72)),
    var(--hero-banner, linear-gradient(135deg, transparent, transparent)),
    radial-gradient(circle at 84% 16%, rgba(255, 195, 42, 0.24), transparent 18rem),
    linear-gradient(135deg, #fff4cf 0%, #ffc954 58%, #fff0c7 100%);
  box-shadow: var(--soft-shadow);
}

.hero::after {
  height: 26%;
  background: linear-gradient(transparent, rgba(122, 49, 10, 0.08));
}

.hero h1 {
  color: #3d1306;
  text-shadow: 0 3px 0 rgba(255, 232, 136, 0.68), 0 12px 28px rgba(82, 27, 6, 0.18);
}

.hero-copy {
  max-width: 620px;
  color: #54230a;
  font-weight: 700;
}

.signal-panel {
  border: 1px solid rgba(98, 54, 7, 0.16);
  background: rgba(255, 246, 211, 0.86);
  box-shadow: 0 16px 34px rgba(82, 27, 6, 0.14);
}

.signal-panel strong {
  color: #3d1306;
}

.toolbar,
.social-section {
  position: relative;
  z-index: 1;
}

.search-box,
.filter-box,
.social-section,
.empty-state {
  border: 1px solid var(--soft-border);
  background: rgba(255, 248, 226, 0.86);
  box-shadow: 0 14px 30px rgba(57, 18, 5, 0.1);
}

.search-box {
  border-radius: 999px;
}

.search-box span {
  color: #9b4a08;
}

.filter-toggle,
.category-button,
.platform-tab,
.page-button,
.page-dots,
.music-toggle,
.generate-button {
  border: 0;
  background: linear-gradient(180deg, #ffe477, #f5a916);
  box-shadow: 0 8px 18px rgba(65, 13, 0, 0.13);
}

.filter-toggle:hover,
.category-button:hover,
.platform-tab:hover,
.page-button:hover,
.generate-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.filter-box {
  padding: 18px;
  border-radius: 18px;
}

.filter-title strong,
.filter-group > span {
  color: #4a1300;
}

.section-heading {
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 218, 82, 0.92), rgba(255, 178, 24, 0.9));
  box-shadow: 0 16px 36px rgba(65, 13, 0, 0.14);
}

.section-heading h2,
#platformTitle,
#gamesTitle {
  color: #3d1306;
  text-shadow: 0 2px 0 rgba(255, 232, 136, 0.72), 0 10px 22px rgba(82, 27, 6, 0.16);
  animation-duration: 4.2s;
}

.section-heading .eyebrow,
#plataformas .eyebrow {
  color: #6a2c06;
}

#plataformas {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 211, 54, 0.92), rgba(255, 179, 22, 0.9));
  box-shadow: 0 18px 40px rgba(65, 13, 0, 0.16);
}

.section-subtitle {
  color: #4d1c05;
  font-size: 0.92rem;
}

.platform-grid {
  gap: 10px;
}

.platform-vip-card {
  transition: transform 180ms ease, filter 180ms ease;
}

#plataformas .card-media {
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(65, 13, 0, 0.16);
}

.platform-vip-card:hover {
  filter: saturate(1.08) brightness(1.03);
}

.game-quick-tabs {
  border: 1px solid rgba(255, 210, 71, 0.36);
  border-radius: 18px;
  background: rgba(72, 18, 7, 0.68);
  box-shadow: 0 14px 30px rgba(33, 5, 10, 0.16);
}

.game-grid.cards-grid {
  gap: 12px;
}

.slot-card.platform-card {
  min-height: 392px;
  border: 1px solid rgba(255, 226, 143, 0.22);
  border-radius: 12px;
  box-shadow: 0 16px 30px rgba(34, 9, 24, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.slot-card.platform-card:hover {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow: 0 20px 38px rgba(34, 9, 24, 0.28);
}

.slot-card .card-media {
  border-radius: 12px 12px 0 0;
}

.slot-title-row {
  min-height: 60px;
}

.slot-title-row h3 {
  font-size: 0.92rem;
  text-align: left;
  white-space: normal;
}

.slot-bars {
  padding-inline: 12px;
}

.slot-bar strong,
.slot-stakes span {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

.slot-stakes {
  margin: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.16);
}

.slot-generate {
  width: calc(100% - 20px);
  margin: auto 10px 0;
  border-radius: 10px;
  background: linear-gradient(180deg, #20be63, #0b8f44);
}

.slot-hot,
.slot-card .game-tags span,
.vip-badge {
  animation-duration: 1.8s;
}

.signal-details {
  background: rgba(29, 12, 8, 0.46);
}

.signal-modal-card {
  border: 1px solid rgba(255, 210, 71, 0.28);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(77, 12, 8, 0.95), rgba(119, 15, 10, 0.96));
  box-shadow: 0 28px 82px rgba(14, 4, 4, 0.42);
}

.signal-preview {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(10, 2, 2, 0.32);
}

.signal-modal-card h2 {
  color: #fff7dc;
  text-align: center;
}

.signal-description {
  color: #fff0b4;
  text-align: center;
}

.game-info-grid div,
.signal-detail-grid div {
  border: 1px solid rgba(255, 226, 143, 0.2);
  background: rgba(255, 238, 189, 0.1);
}

.game-info-grid span,
.signal-detail-grid span {
  color: #ffd970;
}

.game-info-grid strong,
.signal-detail-grid strong {
  color: #fff7dc;
}

.signal-row {
  border-color: rgba(255, 226, 143, 0.24);
  background: rgba(255, 247, 220, 0.08);
}

.site-footer {
  border: 1px solid rgba(255, 196, 30, 0.28);
  border-radius: 16px;
  background: rgba(43, 13, 9, 0.82);
  box-shadow: 0 14px 34px rgba(33, 5, 10, 0.18);
}

.footer-image-section {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 34px auto 12px;
  padding: clamp(12px, 2vw, 18px);
}

.footer-image-section img {
  display: block;
  width: min(100%, 980px);
  height: auto;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(28, 8, 2, 0.28));
}

@media (max-width: 880px) {
  .navbar {
    gap: 10px;
    border-radius: 18px;
  }

  .nav-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-actions a {
    justify-content: center;
    min-width: 0;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding: 30px 14px;
  }

  .hero h1 {
    font-size: clamp(2rem, 13vw, 3.4rem);
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .filter-toggle {
    width: 100%;
  }

  .social-section,
  #plataformas,
  .section-heading {
    border-radius: 18px;
  }

  #plataformas {
    padding: 18px 14px;
  }

  .platform-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
  }

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

  .slot-card.platform-card {
    min-height: 350px;
  }

  .slot-stakes {
    display: none;
  }
}

@media (max-width: 520px) {
  .nav-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-text {
    font-size: clamp(1.45rem, 10vw, 2.35rem);
  }

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

  .game-grid.cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .slot-card.platform-card {
    min-height: 322px;
  }

  .slot-title-row {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 52px;
    padding: 7px 8px 3px;
  }

  .slot-thumb {
    width: 34px;
    height: 34px;
  }

  .slot-title-row h3 {
    font-size: 0.78rem;
  }

  .slot-bar strong {
    font-size: 0.68rem;
  }

  .slot-distribution {
    font-size: 0.66rem;
  }

  .slot-generate {
    min-height: 38px;
    font-size: 0.72rem;
  }
}

/* Display typography upgrade */
.brand-text,
.hero h1,
.section-heading h2,
#platformTitle,
#gamesTitle {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Black", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  font-weight: 900;
}

.brand-text {
  color: transparent;
  background:
    linear-gradient(180deg, #fff3a4 0%, #ffb018 42%, #5b1803 43%, #2f0b02 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1px rgba(65, 18, 2, 0.22);
  text-shadow:
    0 2px 0 rgba(255, 244, 177, 0.68),
    0 5px 0 rgba(92, 25, 3, 0.24),
    0 14px 24px rgba(112, 40, 5, 0.22);
}

.hero h1 {
  color: transparent;
  background:
    linear-gradient(180deg, #fff6bd 0%, #ffbd22 36%, #812807 37%, #351001 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1px rgba(65, 18, 2, 0.26);
  filter: drop-shadow(0 4px 0 rgba(255, 236, 151, 0.58)) drop-shadow(0 13px 18px rgba(72, 18, 7, 0.24));
  text-shadow: none;
}

.section-heading h2,
#platformTitle,
#gamesTitle {
  color: transparent;
  background:
    linear-gradient(180deg, #fff2a6 0%, #ffb51c 45%, #742105 46%, #351001 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 0.7px rgba(65, 18, 2, 0.22);
  text-shadow:
    0 2px 0 rgba(255, 240, 159, 0.58),
    0 7px 16px rgba(82, 27, 6, 0.18);
}

@media (max-width: 520px) {
  .hero h1 {
    -webkit-text-stroke: 0.6px rgba(65, 18, 2, 0.26);
  }

  .brand-text {
    -webkit-text-stroke: 0.6px rgba(65, 18, 2, 0.22);
  }
}

/* Golden script logo like the reference */
.brand-text {
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", "Snell Roundhand", cursive;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  color: transparent;
  background:
    linear-gradient(110deg, #4a1603 0 7%, transparent 7% 100%),
    linear-gradient(180deg, #fff9ca 0%, #ffe46f 17%, #ffb31a 34%, #9b4805 56%, #fff0a6 68%, #c56a05 82%, #3d1202 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-stroke: 1.6px rgba(20, 7, 2, 0.92);
  text-shadow:
    0 2px 0 #fff0a0,
    0 4px 0 #8b3d04,
    0 8px 0 rgba(13, 5, 1, 0.95),
    0 16px 24px rgba(28, 8, 2, 0.42);
}

.brand-text {
  font-size: clamp(2rem, 4.7vw, 4.15rem);
  line-height: 0.86;
  transform: rotate(-1.5deg);
}

.brand {
  overflow: visible;
}

.brand-wordmark {
  display: block;
  width: clamp(210px, 32vw, 430px);
  max-height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(28, 8, 2, 0.32));
}

.brand:has(.brand-wordmark) .brand-text-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 880px) {
  .brand-text {
    font-size: clamp(2rem, 11vw, 3.35rem);
  }

  .brand-wordmark {
    width: clamp(190px, 58vw, 330px);
    max-height: 78px;
  }
}

@media (max-width: 520px) {
  .brand-text {
    -webkit-text-stroke: 1px rgba(20, 7, 2, 0.92);
    text-shadow:
      0 1px 0 #fff0a0,
      0 3px 0 #8b3d04,
      0 6px 0 rgba(13, 5, 1, 0.88),
      0 12px 18px rgba(28, 8, 2, 0.36);
  }

  .brand-wordmark {
    width: clamp(170px, 64vw, 260px);
    max-height: 62px;
  }
}

/* Header layout: bigger VIP logo on the left */
.navbar {
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 118px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 205, 77, 0.42);
  background:
    linear-gradient(90deg, rgba(255, 252, 239, 0.94), rgba(255, 235, 155, 0.92) 46%, rgba(255, 215, 92, 0.9)),
    radial-gradient(circle at 20% 35%, rgba(255, 255, 255, 0.72), transparent 28rem);
  box-shadow: 0 16px 36px rgba(67, 18, 4, 0.2);
}

.brand {
  grid-column: 1;
  justify-self: start;
  align-self: start;
  gap: 14px;
  padding: 6px 20px 8px 8px;
  transform: translateY(-2px);
}

.brand::before {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.brand::after {
  inset: 10px 6px 0 74px;
  background: radial-gradient(circle, rgba(255, 199, 44, 0.42), transparent 70%);
  filter: blur(18px);
}

.brand-mark {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(33, 6, 1, 0.28);
}

.brand-wordmark {
  width: clamp(340px, 42vw, 560px);
  max-height: 126px;
  margin-top: -8px;
  filter: drop-shadow(0 12px 18px rgba(28, 8, 2, 0.36));
}

.nav-actions {
  grid-column: 2;
  justify-self: end;
  align-self: center;
  padding-left: 18px;
}

@media (max-width: 1040px) {
  .navbar {
    min-height: 104px;
  }

  .brand-wordmark {
    width: clamp(280px, 42vw, 420px);
    max-height: 104px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 880px) {
  .navbar {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 12px;
  }

  .brand,
  .nav-actions {
    grid-column: 1;
  }

  .brand {
    justify-self: start;
    width: 100%;
    padding: 4px 4px 2px;
  }

  .brand-wordmark {
    width: min(72vw, 330px);
    max-height: 82px;
    margin-top: -4px;
  }

  .nav-actions {
    justify-self: stretch;
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-wordmark {
    width: min(72vw, 270px);
    max-height: 66px;
  }
}

/* Reference-like header composition */
.navbar {
  min-height: 150px;
  padding: 14px 28px 14px 18px;
  border: 2px solid rgba(95, 38, 8, 0.26);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255, 249, 224, 0.96), rgba(255, 235, 169, 0.93) 38%, rgba(255, 247, 225, 0.92) 72%, rgba(255, 234, 186, 0.94)),
    radial-gradient(circle at 18% 50%, rgba(255, 193, 45, 0.34), transparent 26rem);
}

.brand {
  align-self: center;
  gap: 18px;
  padding: 0;
  transform: none;
}

.brand-mark {
  width: clamp(96px, 9vw, 132px);
  height: clamp(96px, 9vw, 132px);
  border: 3px solid rgba(255, 198, 44, 0.8);
  background: #120602;
  box-shadow:
    0 0 0 3px rgba(72, 20, 4, 0.42),
    0 12px 28px rgba(33, 6, 1, 0.34),
    inset 0 0 18px rgba(255, 198, 44, 0.28);
}

.brand-mark img {
  object-fit: cover;
}

.brand-wordmark {
  width: clamp(430px, 40vw, 640px);
  max-height: 132px;
  margin: -6px 0 0 -10px;
}

.nav-actions {
  gap: clamp(18px, 2.3vw, 38px);
  padding-left: 26px;
  font-size: clamp(0.96rem, 1.25vw, 1.22rem);
}

.nav-actions a {
  font-weight: 900;
}

@media (max-width: 1120px) {
  .navbar {
    min-height: 128px;
    padding-inline: 14px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 86px;
    height: 86px;
  }

  .brand-wordmark {
    width: clamp(300px, 38vw, 440px);
    max-height: 104px;
  }

  .nav-actions {
    gap: 14px;
    font-size: 0.92rem;
  }
}

@media (max-width: 880px) {
  .navbar {
    min-height: auto;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 70px;
    height: 70px;
  }

  .brand-wordmark {
    width: min(70vw, 340px);
    max-height: 86px;
    margin-left: -6px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-wordmark {
    width: min(68vw, 260px);
    max-height: 68px;
  }
}

/* Single complete logo image */
.brand-full-logo {
  display: block;
  width: clamp(210px, 18vw, 300px);
  max-height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(28, 8, 2, 0.34));
}

.brand:has(.brand-full-logo) {
  min-width: clamp(230px, 20vw, 320px);
}

.brand:has(.brand-full-logo)::after {
  inset: 10px 6px 0 26px;
}

@media (max-width: 1120px) {
  .brand-full-logo {
    width: clamp(180px, 22vw, 240px);
    max-height: 116px;
  }

  .brand:has(.brand-full-logo) {
    min-width: clamp(190px, 24vw, 260px);
  }
}

@media (max-width: 880px) {
  .brand-full-logo {
    width: min(46vw, 210px);
    max-height: 108px;
  }

  .brand:has(.brand-full-logo) {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .brand-full-logo {
    width: min(48vw, 170px);
    max-height: 90px;
  }
}

/* Mobile polish: keep text inside cards and show full background image */
.hero h1,
.section-heading h2,
.platform-section h2 {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 880px) {
  body {
    background:
      linear-gradient(180deg, rgba(20, 4, 23, 0.12), rgba(20, 4, 23, 0.32)),
      var(--page-bg-image, url("/uploads/nv-tiger-background.webp")) center top / contain no-repeat fixed,
      linear-gradient(135deg, #1b071d 0%, #f08b17 48%, #4b0c17 100%) !important;
  }

  .page-shell {
    width: min(100% - 14px, 1320px);
  }

  .site-header {
    margin-top: 6px;
  }

  .navbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    overflow: hidden;
  }

  .brand {
    width: 100%;
    min-width: 0;
    justify-content: center;
    padding: 8px 10px !important;
  }

  .brand-mark {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px;
  }

  .brand-wordmark {
    width: min(76vw, 320px) !important;
    max-height: 74px;
    object-fit: contain;
  }

  .nav-actions {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    gap: 8px !important;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: none;
  }

  .nav-actions::-webkit-scrollbar {
    display: none;
  }

  .nav-actions a {
    flex: 0 0 auto;
    min-width: 92px;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    text-align: center;
    font-size: 0.82rem !important;
    white-space: nowrap;
  }

  .hero {
    min-height: auto !important;
    padding: 34px 16px 24px !important;
    background:
      linear-gradient(180deg, rgba(255, 196, 86, 0.72), rgba(255, 196, 86, 0.38)),
      var(--hero-banner, var(--page-bg-image, url("/uploads/nv-tiger-background.webp"))) center top / contain no-repeat,
      linear-gradient(135deg, #fff0bb, #ffb43a) !important;
  }

  .hero-content {
    width: 100% !important;
    padding: 0 !important;
  }

  .hero .eyebrow {
    font-size: 0.78rem !important;
    line-height: 1.1;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 12vw, 3.05rem) !important;
    line-height: 0.98 !important;
    text-wrap: balance;
  }

  .hero-copy {
    max-width: 100%;
    font-size: clamp(0.98rem, 4vw, 1.14rem) !important;
    line-height: 1.25 !important;
  }

  .signal-panel {
    width: 100% !important;
    margin-top: 26px !important;
    padding: 72px 16px 18px !important;
    text-align: center;
  }

  .signal-panel::before {
    left: 50% !important;
    top: 14px !important;
    transform: translateX(-50%) !important;
  }

  .music-toggle {
    width: min(100%, 240px);
    margin-inline: auto;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(1.72rem, 10.5vw, 2.45rem) !important;
  }

  .nav-actions a {
    min-width: 84px;
    font-size: 0.76rem !important;
  }

  .signal-panel strong {
    font-size: 1.35rem !important;
  }
}
/* Desktop hero fix: prevent headline clipping after mobile tuning */
@media (min-width: 881px) {
  .hero {
    min-height: 520px !important;
    align-items: center !important;
    padding: clamp(44px, 5vw, 72px) !important;
    overflow: hidden;
  }

  .hero-content {
    width: min(680px, 58vw) !important;
    max-width: 680px !important;
  }

  .hero h1 {
    max-width: 100% !important;
    font-size: clamp(2.45rem, 4.25vw, 4.35rem) !important;
    line-height: 1.02 !important;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy {
    max-width: 620px !important;
  }
}
/* Mobile fix: last update card only */
@media (max-width: 640px) {
  .signal-panel {
    width: 100% !important;
    margin-top: 22px !important;
    padding: 72px 16px 18px !important;
    border-width: 0 !important;
    border-radius: 24px !important;
    background: rgba(255, 247, 211, 0.92) !important;
    box-shadow: 0 12px 28px rgba(52, 12, 0, 0.18) !important;
    text-align: center;
  }

  .signal-panel::before {
    left: 50% !important;
    top: 14px !important;
    transform: translateX(-50%) !important;
  }

  .signal-panel strong {
    font-size: clamp(1.35rem, 8vw, 1.9rem) !important;
    line-height: 1.05 !important;
  }

  .signal-panel small,
  .panel-label {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
  }

  .music-toggle {
    width: min(100%, 240px);
    margin-inline: auto;
  }
}
/* Cleaner hero title coloring */
.hero h1 {
  color: #fff4b8 !important;
  background: linear-gradient(180deg, #fffbe0 0%, #ffd45a 46%, #f49b18 100%) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-text-stroke: 1px rgba(63, 18, 3, 0.42) !important;
  filter: drop-shadow(0 3px 0 rgba(78, 22, 3, 0.55)) drop-shadow(0 10px 18px rgba(70, 16, 0, 0.32)) !important;
  text-shadow: none !important;
}

@media (max-width: 640px) {
  .hero h1 {
    -webkit-text-stroke: 0.55px rgba(63, 18, 3, 0.38) !important;
    filter: drop-shadow(0 2px 0 rgba(78, 22, 3, 0.42)) drop-shadow(0 7px 12px rgba(70, 16, 0, 0.22)) !important;
  }
}
/* Keep last-update icon aligned inside the card */
@media (max-width: 640px) {
  .signal-panel::before {
    position: static !important;
    display: grid !important;
    margin: 0 auto 12px !important;
    transform: none !important;
  }

  .signal-panel {
    display: grid !important;
    justify-items: center !important;
    gap: 6px !important;
    padding: 18px 16px !important;
  }
}