:root {
  --bg-start: #2b0a5c;
  --bg-end: #b12684;
  --card: #18062f;
  --card-2: #230c47;
  --text: #f7eaff;
  --muted: #ccb6e6;
  --accent: #ff5bbd;
  --accent-2: #ffa83a;
  --shadow: 0 20px 40px rgba(0,0,0,.35), 0 8px 24px rgba(177,38,132,.25);
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  color: var(--text);
  background-color: #2b0a5c;
  background-image: -webkit-gradient(linear, left bottom, right top, from(#2b0a5c), to(#b12684));
  background-image: -webkit-linear-gradient(225deg, #2b0a5c, #b12684);
  background-image: -moz-linear-gradient(225deg, #2b0a5c, #b12684);
  background-image: -o-linear-gradient(225deg, #2b0a5c, #b12684);
  background-image: linear-gradient(135deg, #2b0a5c, #b12684);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: -2;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.bg-left {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 100vh;
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  -webkit-animation: floatLeft 6s ease-in-out infinite;
  animation: floatLeft 6s ease-in-out infinite;
  opacity: 0.7;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

.bg-right {
  position: fixed;
  right: 0;
  top: 0;
  width: 40%;
  height: 100vh;
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
  -webkit-animation: floatRight 6s ease-in-out infinite;
  animation: floatRight 6s ease-in-out infinite;
  opacity: 0.7;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}

.legal { margin-top: 34px; color: var(--muted); font-size: 12px; text-align: center; }

/* Payment Icons */
.offer-payments,
.listing-payments {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.payment-icon {
  width: 50px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 4px;
  background-color: rgba(255,255,255,0.95);
  display: inline-block;
  padding: 2px;
  position: relative;
  cursor: pointer;
}
.payment-icon[title] {
  position: relative;
}
.payment-icon[title]::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  z-index: 100;
}
.payment-icon[title]::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--accent);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
  z-index: 100;
}
.payment-icon[title]:hover::after,
.payment-icon[title]:hover::before {
  opacity: 1;
  visibility: visible;
}
.payment-visa { background-image: url('../images/payments/visa.svg'); }
.payment-mastercard { background-image: url('../images/payments/mastercard.svg'); }
.payment-maestro { background-image: url('../images/payments/maestro.svg'); }
.payment-american-express { background-image: url('../images/payments/american-express.svg'); }
.payment-paypal { background-image: url('../images/payments/paypal.svg'); }
.payment-paysafecard { background-image: url('../images/payments/paysafecard.svg'); }
.payment-paynplay { background-image: url('../images/payments/PaynPlay.svg'); }
.payment-skrill { background-image: url('../images/payments/skrill.svg'); }
.payment-neteller { background-image: url('../images/payments/neteller.svg'); }
.payment-klarna { background-image: url('../images/payments/klarna.svg'); }
.payment-trustly { background-image: url('../images/payments/trustly.svg'); }
.payment-zimpler { background-image: url('../images/payments/zimpler.svg'); }
.payment-brite { background-image: url('../images/payments/brite.svg'); }
.payment-swish { background-image: url('../images/payments/swish.svg'); }
.payment-trumopay { background-image: url('../images/payments/trumopay.svg'); }
.payment-giropay { background-image: url('../images/payments/giropay.svg'); }
.payment-ideal { background-image: url('../images/payments/ideal.svg'); }
.payment-sepa { background-image: url('../images/payments/sepa.svg'); }
.payment-apple-pay { background-image: url('../images/payments/apple-pay.svg'); }
.payment-google-pay { background-image: url('../images/payments/google-pay.svg'); }
.payment-amazon-pay { background-image: url('../images/payments/amazon-pay.svg'); }

/* Breadcrumbs: all styles are inline via ysivitonen_breadcrumbs() */
@-webkit-keyframes floatLeft {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(-20px); transform: translateY(-20px); }
}
@keyframes floatLeft {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(-20px); transform: translateY(-20px); }
}

@-webkit-keyframes floatRight {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(20px); transform: translateY(20px); }
}
@keyframes floatRight {
  0%, 100% { -webkit-transform: translateY(0); transform: translateY(0); }
  50% { -webkit-transform: translateY(20px); transform: translateY(20px); }
}

@-webkit-keyframes marquee {
  0% { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}
@keyframes marquee {
  0% { -webkit-transform: translateX(0); transform: translateX(0); }
  100% { -webkit-transform: translateX(-50%); transform: translateX(-50%); }
}

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

@keyframes snowfall {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(360deg);
  }
}
.marquee-banner {
  display: block;
  background: #ffc63b;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid #ff9500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
}

.marquee-banner:hover {
  background: #ffb020;
}

.marquee-track {
  display: flex;
  width: max-content;
  -webkit-animation: marquee 30s linear infinite;
  animation: marquee 30s linear infinite;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
}

.marquee-content span {
  display: inline-block;
  padding: 0 60px;
  font-weight: 900;
  font-size: 16px;
  color: #1e0c35;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  white-space: nowrap;
}
.btn {
  width: 100%;
  max-width: 100%;
  display: -webkit-inline-flex;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--button-border);
  text-decoration: none;
  font-weight: 800;
  color: var(--button-text);
  background: var(--button-bg);
  background: linear-gradient(180deg, var(--button-bg), var(--button-bg-end));
  box-shadow: 0 10px 24px var(--button-shadow);
  -webkit-transition: -webkit-transform .15s ease;
  transition: transform .15s ease;
}
.btn:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

/* Default card button colors (will be overridden by dynamic CSS) */
.card1-btn {
  background: #53FC18;
  color: #000;
  border: 1px solid #45D013;
}

.card2-btn {
  background: #5865F2;
  color: #fff;
  border: 1px solid #4752C4;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  -webkit-transition: -webkit-transform .15s ease, box-shadow .15s ease;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,.4);
  width: 100%;
  max-width: 100%;
}

.hero-btn:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,.5);
}

.hero-btn svg {
  width: 28px;
  height: 28px;
}

.listing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--button-border);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  color: var(--button-text);
  background: var(--button-bg);
  background: linear-gradient(180deg, var(--button-bg), var(--button-bg-end));
  box-shadow: 0 6px 16px var(--button-shadow);
  -webkit-transition: -webkit-transform .15s ease;
  transition: transform .15s ease;
  white-space: nowrap;
}

.listing-btn:hover {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.listing-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.listing-btn-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.08);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.listing-btn-review:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

/* Listing Filter Buttons */
.listing-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 24px;
  justify-content: center;
  background: var(--card);
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.1);
}
.filter-btn {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.15);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}
.filter-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
/* Colored filter buttons */
.filter-btn.filter-new-casinos {
  border-color: var(--accent);
}
.filter-btn.filter-new-casinos.active {
  background: linear-gradient(135deg, #f39c12, #d68910);
  border-color: var(--accent);
}
.filter-btn.filter-non-sticky.active {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  border-color: #27ae60;
}
.filter-btn.filter-paynplay.active {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-color: #3498db;
}
.filter-btn.filter-freespins.active {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  border-color: #9b59b6;
}

/* Show More Button (Homepage Filter) */
.show-more-container {
  margin-top: 25px;
  text-align: center;
}

.show-more-btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--accent), #ff9500);
  color: #1e0c35;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.show-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,198,59,0.4);
}

.view-all-btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent), #ff9500);
  color: #1e0c35;
  text-decoration: none;
  font-weight: 700;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,198,59,0.4);
}
/* Top 3 Offer Cards */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin: 0 auto;
  padding: 0 0 40px;
}
.offer {
  position: relative;
  background: var(--card);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.2s, transform 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.offer:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}
.offer.center {
  transform: translateY(-20px);
}
.offer.center:hover {
  transform: translateY(-26px);
}

/* Offer Logo */
.offer-logo {
  display: grid;
  place-items: center;
  width: 360px;
  max-width: calc(100% - 40px);
  height: 180px;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.15s ease;
}
.offer-logo:hover {
  transform: translateY(-2px);
}
.offer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Offer top area (logo + bonus + cta + payments) */
.offer > .offer-logo,
.offer > .offer-bonus-text,
.offer > .offer-cta,
.offer > .offer-payments {
  /* These sit in the padded area above the info grid */
}

/* Bonus text */
.offer-bonus-text {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  text-align: center;
  display: block;
  line-height: 1.3;
  transition: color 0.2s;
  padding: 0 20px;
}
.offer-bonus-text:hover {
  color: var(--accent);
}

/* CTA area — below info grid, pushed to bottom */
.offer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: auto;
}
.offer-cta .btn {
  width: 100%;
}

/* Arvostelu button */
.offer-review-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.offer-review-btn:hover {
  color: var(--accent);
}

/* Payment icons in offer */
.offer-payments {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

/* Offer padded top section */
.offer > .ribbon ~ .offer-logo,
.offer > .offer-logo {
  margin-top: 16px;
}
.offer > .offer-bonus-text { margin-top: 16px; padding: 0 20px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.offer > .offer-payments { margin-top: 0; margin-bottom: 0; padding: 8px 20px 16px; }

/* If ribbon present, add top padding for it */
.offer { padding-top: 0; }
.offer > .ribbon + .offer-logo { margin-top: 52px; }
.offer > .offer-logo:first-child { margin-top: 20px; }

/* Offer Info Grid — 2 columns like listing cards */
.offer-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.offer-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 10px 14px;
  min-height: 54px;
  background: rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.offer-info-item:nth-child(2n) {
  border-right: none;
}
.offer-info-item:nth-child(n+3) {
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Hero Cards */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 0 auto;
}

.hero-card {
  background: var(--card);
  background: -webkit-linear-gradient(top, var(--card-2), var(--card));
  background: -moz-linear-gradient(top, var(--card-2), var(--card));
  background: -o-linear-gradient(top, var(--card-2), var(--card));
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid #ffc63b;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  min-height: 280px;
}

.hero-card > p {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  text-align: center;
}

.hero-card-title {
  font-weight: 900;
  font-size: 18px;
  color: #ffc63b !important;
  margin-bottom: 8px !important;
}

/* Listing Section */
.listing-section {
  margin: 0;
  padding: 0 0 40px;
}
.listing-section h3 {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  margin: 0 0 20px;
  text-shadow: 0 3px 14px rgba(0,0,0,0.6);
}

.listing-cards { display: grid; gap: 16px; }

/* ═══ Listing Card — 2-Row Desktop Design ═══ */

.listing-card {
  background: var(--card);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0 0 0 60px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.listing-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

/* Content wrapper (everything except rank) */
.listing-content {
  display: flex;
  flex-direction: column;
}

/* ── Row 1: Logo | Bonus | CTA ── */
.listing-row-top {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}

/* Logo */
.listing-logo {
  width: 100%;
  height: 72px;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .15s ease;
  background: rgba(0,0,0,0.25);
  border-radius: 12px;
  padding: 10px;
}
.listing-logo:hover {
  transform: translateY(-2px);
}
.listing-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Bonus Text Area */
.listing-bonus-area {
  min-width: 0;
}
.listing-bonus-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.listing-bonus-text:hover {
  color: var(--accent);
}

/* CTA Area: Button + Payments stacked */
.listing-cta-area {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 160px;
}
.listing-cta-area .listing-btn {
  width: 100%;
  box-sizing: border-box;
}
.listing-cta-area .listing-payments {
  display: flex;
  gap: 4px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Row 2: Info Grid ── */
.listing-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.listing-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.25);
  border-right: 1px solid rgba(255,255,255,0.06);
}
.listing-info-item:nth-child(4n) {
  border-right: none;
}
.listing-info-item:nth-child(n+5) {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.info-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.info-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.info-value.has-code {
  color: var(--accent);
  font-weight: 800;
}
.info-value.rating-value {
  color: var(--accent);
}

/* ── Row 3: Review Button ── */
.listing-review-btn {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s, color 0.2s;
}
.listing-review-btn:hover {
  background: rgba(255,255,255,0.06);
  color: var(--accent);
}

.ribbon {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--ribbon-bg);
  color: var(--ribbon-text);
  font-weight: 900;
  font-size: 14px;
  padding: 10px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 3;
  border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

/* Left Ribbon Rank — absolute overlay */
.listing-rank {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50px;
  background: linear-gradient(180deg, var(--rank-bg-start), var(--rank-bg-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  color: var(--rank-text);
  border-right: 1px solid rgba(0,0,0,0.2);
  box-shadow: 2px 0 8px rgba(0,0,0,0.3);
}

.listing-rank::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 10px solid var(--rank-bg-end);
}

/* Badges container */
.listing-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Bonus Type Badges */
.bonus-type-badge {
  font-weight: 700;
  font-size: 11px;
  color: #fff !important;
  padding: 3px 10px;
  border-radius: 12px;
  white-space: nowrap;
  line-height: 1.4;
}
.bonus-type-non-sticky {
  background: linear-gradient(135deg, #27ae60, #1e8449) !important;
}
.bonus-type-paynplay {
  background: linear-gradient(135deg, #3498db, #2980b9) !important;
}
.bonus-type-freespins {
  background: linear-gradient(135deg, #9b59b6, #8e44ad) !important;
}
.bonus-type-new-casinos {
  background: linear-gradient(135deg, #f39c12, #d68910) !important;
}
.listing-rating-score {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent);
}

.listing-rating-text {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  max-width: 200px;
  text-align: center;
  margin-top: 4px;
}
/* ═══ Frontpage SEO Section ═══ */
.frontpage-seo {
  margin: 40px 0 0;
  padding: 0;
}

/* Main Title */
.seo-main-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 30px;
  text-shadow: 0 3px 14px rgba(0,0,0,0.6);
  line-height: 1.2;
}

/* ── Table of Contents ── */
.seo-toc {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0;
  margin: 0 0 40px;
  overflow: hidden;
}
.seo-toc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.seo-toc-icon {
  font-size: 18px;
  color: var(--accent);
}
.seo-toc-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.seo-toc-list {
  list-style: none;
  counter-reset: toc-counter;
  margin: 0;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
}
.seo-toc-list li {
  counter-increment: toc-counter;
}
.seo-toc-list li a {
  display: block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s;
}
.seo-toc-list li a::before {
  content: counter(toc-counter) ". ";
  color: var(--accent);
  font-weight: 700;
}
.seo-toc-list li a:hover {
  color: var(--accent);
}

/* ── Content Sections ── */
.seo-section {
  margin: 0 0 20px;
  scroll-margin-top: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}
.seo-section-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.3;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.06);
}
.seo-section-content {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
}
.seo-section-content p {
  margin: 0 0 16px;
  color: rgba(247, 234, 255, 0.85);
}
.seo-section-content h3 {
  font-size: clamp(17px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--text);
  margin: 28px 0 12px;
}
.seo-section-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin: 20px 0 8px;
}
.seo-section-content strong {
  color: var(--text);
  font-weight: 700;
}
.seo-section-content ul,
.seo-section-content ol {
  padding-left: 20px;
  margin: 12px 0 16px;
}
.seo-section-content li {
  margin-bottom: 6px;
  color: rgba(247, 234, 255, 0.85);
  line-height: 1.6;
}

/* ── Comparison Tables ── */
.seo-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 16px 0;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.08);
}
.seo-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}
.seo-comparison-table thead {
  background: rgba(255,255,255,0.05);
}
.seo-comparison-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.seo-comparison-table td {
  padding: 12px 16px;
  color: var(--text);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.seo-comparison-table tbody tr:hover {
  background: rgba(255,255,255,0.03);
}
.seo-comparison-table .comp-rank {
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  width: 40px;
}
.seo-comparison-table .comp-casino a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.seo-comparison-table .comp-casino a:hover {
  color: var(--accent);
}
.seo-comparison-table .comp-logo {
  width: 80px;
  height: 36px;
  object-fit: contain;
  background: rgba(0,0,0,0.3);
  border-radius: 6px;
  padding: 4px 6px;
}
.seo-comparison-table .comp-rating {
  color: var(--accent);
  font-weight: 800;
}

/* ── Casino Slider ── */
.seo-slider-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.seo-slider-track::-webkit-scrollbar {
  height: 6px;
}
.seo-slider-track::-webkit-scrollbar-track {
  background: transparent;
}
.seo-slider-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}
.seo-slider-card {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  scroll-snap-align: start;
  transition: border-color 0.2s, transform 0.2s;
}
.seo-slider-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.seo-slider-logo {
  width: 120px;
  height: 56px;
  object-fit: contain;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 8px;
}
.seo-slider-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}
.seo-slider-bonus {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
}
.seo-slider-rating {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
}

/* ── FAQ within SEO section ── */
.seo-faq-accordion .faq-item {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.seo-faq-accordion .faq-question {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}
.seo-faq-accordion .faq-question:hover {
  color: var(--accent);
}
.seo-faq-accordion .faq-icon {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.seo-faq-accordion .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: rgba(247, 234, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

/* ── Author Box ── */
.seo-author-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  margin: 40px 0 0;
}
.seo-author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--accent);
}
.seo-author-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,91,189,0.2);
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
}
.seo-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.seo-author-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 600;
}
.seo-author-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}
.seo-author-bio {
  font-size: 13px;
  color: rgba(247, 234, 255, 0.75);
  line-height: 1.6;
  margin: 4px 0 0;
}
.seo-author-updated {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* ── Mobile Responsive ── */
@media (max-width: 767px) {
  .seo-toc-list {
    grid-template-columns: 1fr;
    padding: 12px 16px;
  }
  .seo-toc-list li a {
    font-size: 13px;
    padding: 6px 0;
  }
  .seo-comparison-table {
    font-size: 12px;
  }
  .seo-comparison-table th,
  .seo-comparison-table td {
    padding: 10px 12px;
  }
  .seo-comparison-table .comp-logo {
    width: 60px;
    height: 28px;
  }
  .seo-slider-card {
    flex: 0 0 160px;
    padding: 16px 12px;
  }
  .seo-slider-logo {
    width: 100px;
    height: 48px;
  }
  .seo-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }
  .seo-author-info {
    align-items: center;
  }
  .seo-section {
    padding: 20px 16px;
    margin: 0 0 14px;
  }
  .seo-section-content {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .seo-toc-list {
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }
}
/* ── FAQ Accordion (shared component) ─────────────────────── */

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: rgba(255,255,255,0.04);
}

.faq-question[aria-expanded="true"] {
  background: rgba(255,255,255,0.06);
}

.faq-icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.faq-answer p {
  padding: 0 0 18px;
  margin: 0;
}

/* FAQ section titles */
.category-faq-section .section-title,
.arvonta-faq-section .arvonta-section-title {
  margin-bottom: 16px;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px 40px;
  position: relative;
  z-index: 1;
}
header { display: flex; align-items: center; justify-content: center; padding: 20px 0 0; }
@media (max-width: 1024px) {
  header { padding: 6px 0 0; }
  .logo img { max-width: 280px; }
}
.logo { width: 100%; text-align: center; }
.logo a { display: inline-block; text-decoration: none; }
.logo img { width: 100%; max-width: 600px; height: auto; display: inline-block; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }

/* Sub-page logo: 2/3 size */
header.is-subpage { padding: 14px 0 0; }
header.is-subpage .logo img { max-width: 400px; }
@media (max-width: 1024px) {
  header.is-subpage { padding: 4px 0 0; }
  header.is-subpage .logo img { max-width: 187px; }
}

/* ============================================
   CATEGORY NAVIGATION
   ============================================ */
.category-nav {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
  padding: 12px 0;
  position: relative;
  z-index: 10;
}

.category-nav-inner {
  max-width: var(--site-width, 1200px);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.category-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 25px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-align: center;
}

.category-nav-link:hover {
  background: var(--accent);
  color: #1e0c35;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.category-nav-link.active {
  background: var(--accent);
  color: #1e0c35;
  border-color: var(--accent);
}

/* ============================================
   MOBILE HEADER & HAMBURGER MENU
   ============================================ */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 15px;
  background: linear-gradient(180deg, var(--card), var(--card-2));
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  justify-content: space-between;
  align-items: center;
}

.mobile-kick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-end, #ff9500));
  color: var(--card);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  border-radius: 25px;
  transition: transform 0.2s ease;
}

.mobile-kick-btn:hover {
  transform: scale(1.05);
}

.kick-icon {
  font-size: 12px;
}

.kick-icon-img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  vertical-align: middle;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Fullscreen Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: linear-gradient(180deg, var(--bg-start), var(--bg-end));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px 40px;
  text-align: center;
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.2);
}

.mobile-menu-logo {
  display: block;
  margin-bottom: 40px;
  text-decoration: none;
}

.mobile-menu-logo img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 300px;
  margin-bottom: 40px;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 25px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1e0c35;
}

.mobile-menu-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 8px 0;
}

.mobile-menu-link-small {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu-icon {
  font-size: 18px;
}

.mobile-menu-kick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 35px;
  background: linear-gradient(135deg, var(--accent), var(--accent-end, #ff9500));
  color: var(--card);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-radius: 30px;
  transition: transform 0.2s ease;
}

.mobile-menu-kick:hover {
  transform: scale(1.05);
}
/* ============================================
   SITE FOOTER
   ============================================ */

.site-footer {
  background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
}

.footer-container {
  max-width: var(--site-width, 1140px);
  margin: 0 auto;
  padding: 0 20px;
}

/* Main Footer Grid */
.footer-main {
  padding: 32px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-col {
  min-width: 0;
}

/* About Column */
.footer-about-col {
  padding-right: 20px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
}

.footer-logo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-about-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 16px;
}

/* Footer Social Icons */
.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social-link:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.social-icon {
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-social-link:hover .social-icon {
  opacity: 1;
  filter: brightness(0) invert(0.1);
}

/* Social Icon SVGs */
.social-icon-facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.social-icon-instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.social-icon-twitter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E");
}

.social-icon-youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

.social-icon-tiktok {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12.525.02c1.31-.02 2.61-.01 3.91-.02.08 1.53.63 3.09 1.75 4.17 1.12 1.11 2.7 1.62 4.24 1.79v4.03c-1.44-.05-2.89-.35-4.2-.97-.57-.26-1.1-.59-1.62-.93-.01 2.92.01 5.84-.02 8.75-.08 1.4-.54 2.79-1.35 3.94-1.31 1.92-3.58 3.17-5.91 3.21-1.43.08-2.86-.31-4.08-1.03-2.02-1.19-3.44-3.37-3.65-5.71-.02-.5-.03-1-.01-1.49.18-1.9 1.12-3.72 2.58-4.96 1.66-1.44 3.98-2.13 6.15-1.72.02 1.48-.04 2.96-.04 4.44-.99-.32-2.15-.23-3.02.37-.63.41-1.11 1.04-1.36 1.75-.21.51-.15 1.07-.14 1.61.24 1.64 1.82 3.02 3.5 2.87 1.12-.01 2.19-.66 2.77-1.61.19-.33.4-.67.41-1.06.1-1.79.06-3.57.07-5.36.01-4.03-.01-8.05.02-12.07z'/%3E%3C/svg%3E");
}

.social-icon-twitch {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.571 4.714h1.715v5.143H11.57zm4.715 0H18v5.143h-1.714zM6 0L1.714 4.286v15.428h5.143V24l4.286-4.286h3.428L22.286 12V0zm14.571 11.143l-3.428 3.428h-3.429l-3 3v-3H6.857V1.714h13.714z'/%3E%3C/svg%3E");
}

.social-icon-kick {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M1.333 0v24h5.334v-8h2.666l4 8h6.334l-5.334-10.666 5.334-5.334H14l-5.333 5.333V0z'/%3E%3C/svg%3E");
}

.social-icon-discord {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189z'/%3E%3C/svg%3E");
}

.social-icon-telegram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.962 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z'/%3E%3C/svg%3E");
}

/* Footer Column Titles */
.footer-col-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* Footer Payments */
.footer-payments {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-payments .footer-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-payments-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.footer-payments-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-payments-icons .payment-icon {
  width: 45px;
  height: 28px;
  filter: grayscale(1) brightness(1.2);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.footer-payments-icons .payment-icon:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Footer Affiliate Disclosure */
.footer-affiliate-disclosure {
  text-align: center;
  padding: 12px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-affiliate-disclosure a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
}

.footer-affiliate-disclosure a:hover {
  color: var(--text);
}

/* Footer Disclaimer */
.footer-disclaimer {
  padding: 16px 0;
  text-align: center;
}

.footer-affiliate {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
  opacity: 0.8;
}

.footer-legal {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Footer Copyright */
.footer-copyright {
  padding: 12px 0;
  background: rgba(0,0,0,0.3);
  text-align: center;
}

.footer-copyright p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  opacity: 0.6;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-about-col {
    grid-column: span 2;
    padding-right: 0;
    text-align: center;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 20px;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  /* ═══ RADICAL MOBILE FOOTER — minimal height ═══ */

  .site-footer {
    margin-top: 24px;
  }

  .footer-main {
    padding: 16px 0 8px;
  }

  /* Hide the entire grid — categories/links are in bottom nav */
  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  /* Hide all link columns — bottom nav + more menu covers these */
  .footer-col:not(.footer-about-col) {
    display: none;
  }

  .footer-about-col {
    padding-right: 0;
    text-align: center;
  }

  .footer-about-text {
    display: none;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 8px;
  }

  .footer-logo img {
    max-height: 28px;
  }

  .footer-social {
    justify-content: center;
    gap: 6px;
  }

  .footer-social-link {
    width: 30px;
    height: 30px;
    border-radius: 6px;
  }

  .social-icon {
    width: 14px;
    height: 14px;
  }

  /* Payments: single compact row */
  .footer-payments {
    padding: 8px 0;
  }

  .footer-payments .footer-container {
    justify-content: center;
    text-align: center;
    gap: 6px;
  }

  .footer-payments-label {
    display: none;
  }

  .footer-payments-icons {
    justify-content: center;
    gap: 4px;
  }

  .footer-payments-icons .payment-icon {
    width: 30px;
    height: 20px;
  }

  /* Disclaimer: ultra compact */
  .footer-disclaimer {
    padding: 6px 0;
  }

  .footer-affiliate {
    font-size: 9px;
    line-height: 1.4;
    margin-bottom: 4px;
    opacity: 0.6;
  }

  .footer-legal {
    font-size: 9px;
    gap: 4px;
  }

  .age-badge {
    min-width: 22px;
    height: 22px;
    font-size: 9px;
    border-radius: 4px;
  }

  .footer-copyright {
    padding: 6px 0;
  }

  .footer-copyright p {
    font-size: 9px;
  }
}
/* Tablet styles - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .wrap {
    padding: 0 20px 40px;
  }
  .hero-cards {
    grid-template-columns: 1fr;
  }
  .offers {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 0 40px;
  }
  .offer {
    transform: none !important;
    width: 100%;
  }
  .offer:hover {
    transform: none !important;
    box-shadow: var(--shadow) !important;
  }
  .offer.center {
    transform: none !important;
    order: -1;
  }
  .offer.center:hover {
    transform: none !important;
  }
  .offer:first-child { order: 1; }
  .offer:last-child { order: 2; }

  /* Tablet listing */
  .listing-card {
    padding: 0 0 0 50px;
  }
  .listing-row-top {
    gap: 16px;
    padding: 16px 18px;
  }
  .listing-row-top .listing-logo {
    width: 120px;
    height: 60px;
  }
  .listing-bonus-text {
    font-size: 17px;
  }
  .listing-info-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Xmas Calendar Tablet */
  .xmas-card-columns {
    grid-template-columns: 200px 1fr;
    min-height: 260px;
  }
  .xmas-prize-image {
    width: 150px;
    height: 150px;
  }
  .xmas-card-right {
    padding: 20px;
  }
  .xmas-card-title {
    font-size: 22px;
  }
  .xmas-form-row {
    grid-template-columns: 1fr 1fr;
  }
  .xmas-form-btn {
    grid-column: span 2;
  }
  .xmas-submit-btn {
    width: 100%;
  }
}

/* Medium screens - 1025px to 1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
  .wrap {
    padding: 0 30px 40px;
  }
  .offers {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .offer.center {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  .offer.center:hover {
    -webkit-transform: translateY(-28px);
    transform: translateY(-28px);
  }
}

/* Mobile styles - below 768px */
@media (max-width: 767px) {
  .wrap {
    padding: 0 16px 30px;
  }
  .marquee-content span {
    padding: 0 40px;
    font-size: 14px;
  }

  /* Consistent section spacing */
  .hero {
    padding-bottom: 24px;
    margin-top: -10px;
  }

  .offers {
    padding: 0 0 24px;
    gap: 16px;
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }

  .hero-bottom {
    padding: 0 0 24px;
  }

  .listing-section {
    padding: 0;
  }
  .listing-section h3 {
    margin-bottom: 12px;
  }

  /* Mobile Filter Buttons */
  .listing-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 8px;
    margin-bottom: 16px;
    padding: 12px 16px;
  }
  .filter-btn {
    flex: none;
    padding: 10px 8px;
    font-size: 11px;
  }
  .filter-btn[data-filter="all"] {
    grid-column: 1;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero cards */
  .hero-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-card {
    padding: 24px 20px;
    min-height: auto;
  }
  .hero-card p {
    font-size: 15px;
  }
  .hero-btn {
    width: 100%;
  }

  /* Top 3 offers */
  .offer {
    order: 0;
    transform: none !important;
    width: 100%;
  }
  .offer:hover {
    transform: none !important;
  }
  .offer.center {
    transform: none !important;
    order: -1;
  }
  .offer.center:hover {
    transform: none !important;
  }
  .offer:first-child { order: 1; }
  .offer:last-child { order: 2; }
  .offer-logo {
    width: 360px;
    max-width: calc(100% - 40px);
    height: 180px;
  }
  .offer-bonus-text {
    font-size: 17px;
  }
  .offer-cta .btn {
    width: 100%;
  }
  .offer-payments { gap: 6px; }
  .offer-payments .payment-icon { width: 52px; height: 36px; }
  .payment-icon { width: 32px; height: 22px; }
  .ribbon { font-size: 12px; padding: 8px 16px; }
  .bg-left, .bg-right {
    opacity: 0.5;
  }

  /* ═══ Listing Mobile ═══ */
  .listing-cards {
    gap: 12px;
  }
  .listing-card {
    padding: 52px 0 0 0;
  }

  /* Row 1: Stack vertically on mobile */
  .listing-row-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px 16px 12px;
    text-align: center;
  }
  .listing-logo {
    width: 280px;
    height: 140px;
  }
  .listing-bonus-text {
    font-size: 17px;
    text-align: center;
  }
  .listing-cta-area {
    width: 100%;
    min-width: auto;
  }
  .listing-cta-area .listing-btn {
    width: 100%;
  }
  .listing-cta-area .listing-payments {
    justify-content: center;
  }

  /* Info grid: 2 columns on mobile */
  .listing-info-grid {
    grid-template-columns: 1fr 1fr;
  }
  .listing-info-item:nth-child(4n) {
    border-right: 1px solid rgba(255,255,255,0.06);
  }
  .listing-info-item:nth-child(2n) {
    border-right: none;
  }
  .listing-info-item:nth-child(n+3) {
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .listing-info-item {
    padding: 10px 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .listing-payments .payment-icon {
    width: 52px;
    height: 36px;
  }

  /* Embed Section Mobile */
  .embed-section {
    padding: 0 0 30px;
  }
  .embed-container {
    padding: 12px;
  }

  /* Xmas Calendar Mobile */
  .xmas-calendar {
    padding: 0 0 30px;
  }
  .xmas-header h2 {
    font-size: 22px;
  }
  .xmas-header p {
    font-size: 13px;
  }
  .xmas-weeks-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .xmas-week-nav {
    padding: 10px 6px;
    border-radius: 10px;
  }
  .xmas-week-num {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }
  .xmas-week-nav-title {
    font-size: 10px;
  }
  .xmas-lock {
    font-size: 11px;
  }
  .xmas-check {
    font-size: 11px;
  }
  .xmas-winners-section {
    margin: 0 15px 15px;
    padding: 15px;
  }
  .xmas-winners-header {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .xmas-winner-item {
    padding: 8px 12px;
  }
  .xmas-winner-email {
    font-size: 12px;
  }
  .xmas-card {
    border-radius: 16px;
  }
  .xmas-card-columns {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .xmas-card-left {
    padding: 20px 20px 0;
    border-right: none;
    border-bottom: none;
    order: -1;
    background: transparent;
    text-align: center;
  }
  .xmas-prize-image {
    width: 70%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto 0;
    border-radius: 14px;
  }
  .xmas-prize-image img {
    border-radius: 14px;
  }
  .xmas-prize-placeholder {
    font-size: 56px;
    border-radius: 14px;
    background: rgba(0,0,0,0.3);
  }
  .xmas-prize-text {
    font-size: 15px;
    padding: 12px 20px;
    background: transparent;
    margin: 0;
    text-align: center;
  }
  .xmas-week-title-below {
    font-size: 18px;
    padding: 8px 20px 0;
    background: transparent;
    margin: 0;
    text-align: center;
  }
  .xmas-card-right {
    padding: 12px 20px 20px;
    gap: 10px;
    text-align: center;
    align-items: center;
  }
  .xmas-card-badge {
    align-self: center;
  }
  .xmas-card-title {
    font-size: 20px;
    text-align: center;
  }
  .xmas-card-dates {
    font-size: 13px;
    justify-content: center;
  }
  .xmas-card-description {
    font-size: 13px;
    line-height: 1.6;
    word-break: break-word;
    text-align: center;
  }
  .xmas-card-casinos {
    text-align: center;
    align-items: center;
  }
  .xmas-casinos-label {
    display: block;
    text-align: center;
    margin-bottom: 8px;
  }
  .xmas-casinos-list {
    gap: 10px;
    justify-content: center;
  }
  .xmas-casino-chip {
    padding: 10px 14px;
  }
  .xmas-casino-chip img {
    max-height: 36px;
    max-width: 110px;
  }
  .xmas-card-form {
    padding: 20px;
    text-align: center;
  }
  .xmas-card-form h4 {
    font-size: 14px;
    margin-bottom: 14px;
    text-align: center;
  }
  .xmas-form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .xmas-form-field input,
  .xmas-form-field select {
    padding: 11px 12px;
    font-size: 14px;
  }
  .xmas-submit-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
  .listing-rank {
    left: 0;
    right: 0;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 44px;
    font-size: 20px;
    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    border-radius: 17px 17px 0 0;
  }
  .listing-rank::after {
    display: none;
  }
  .listing-rank::before {
    content: "#";
    margin-right: 2px;
  }
}

/* Mobile header visibility */
@media (max-width: 1024px) {
  .mobile-header {
    display: flex;
  }

  .mobile-menu-overlay {
    display: block;
  }

  .category-nav {
    display: none !important;
  }

  body {
    padding-top: 0;
  }

  .marquee-banner {
    margin-top: 0;
  }
}


/* Giveaway Responsive - Tablet */
@media (max-width: 900px) {
  .giveaway-main {
    grid-template-columns: 1fr;
  }

  .giveaway-image-col {
    min-height: 200px;
    max-height: 250px;
  }

  .giveaway-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .giveaway-image-placeholder {
    min-height: 200px;
  }

  .giveaway-info-col {
    text-align: center;
    align-items: center;
  }

  .giveaway-terms-trigger {
    margin: 0 auto;
  }

  .giveaway-terms-modal {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }

  .giveaway-terms-trigger:hover .giveaway-terms-modal {
    transform: translateX(-50%) translateY(0);
  }

  .giveaway-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .giveaway-mainprize-box,
  .giveaway-prize-box,
  .giveaway-countdown-box {
    text-align: center;
    align-items: center;
  }

  .giveaway-casinos {
    text-align: center;
  }

  .giveaway-casinos .casinos-grid {
    justify-content: center;
  }

  .giveaway-form-section {
    text-align: center;
  }

  .giveaway-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .giveaway-form-btn {
    grid-column: span 2;
  }

  .giveaway-submit-btn {
    width: 100%;
  }
}

/* Giveaway Responsive - Mobile */
@media (max-width: 600px) {
  .giveaway-section {
    padding: 30px 0;
  }

  .giveaway-section.above {
    padding-bottom: 50px;
  }

  .giveaway-image-col {
    min-height: 180px;
    max-height: 220px;
  }

  .giveaway-info-col {
    padding: 20px;
    text-align: center;
    align-items: center;
  }

  .giveaway-title {
    font-size: 20px;
    text-align: center;
  }

  .giveaway-description {
    text-align: center;
  }

  .giveaway-terms-modal {
    width: 300px;
  }

  .giveaway-stats {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .giveaway-mainprize-box,
  .giveaway-prize-box,
  .giveaway-countdown-box {
    width: 100%;
    text-align: center;
    align-items: center;
  }

  .giveaway-countdown-box .countdown-timer {
    justify-content: center;
    flex-wrap: wrap;
  }

  .giveaway-casinos {
    width: 100%;
  }

  .giveaway-casinos .casinos-label {
    text-align: center;
  }

  .giveaway-casinos .casinos-grid {
    justify-content: center;
  }

  .giveaway-form-section {
    padding: 20px;
    text-align: center;
  }

  .giveaway-form-section h4 {
    text-align: center;
  }

  .giveaway-form-row {
    grid-template-columns: 1fr;
  }

  .giveaway-form-field {
    text-align: left;
  }

  .giveaway-form-btn {
    grid-column: auto;
  }

  .giveaway-submit-btn {
    width: 100%;
  }
}
/* ═══ Mobile Bottom Navigation ═══ */
/* App Shell layout: body is flex column, .app-scroll fills remaining space and scrolls,
   bottom nav sits outside the scroll wrapper — no position:fixed needed (fixes iOS Safari) */

.ysv-bottom-nav {
    display: none;
}

@media (max-width: 1024px) {
    html {
        height: 100%;
        overflow: hidden;
    }
    body {
        height: 100%;
        min-height: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-bottom: 0 !important; /* override app-shell.php padding */
    }
    .app-scroll {
        flex: 1 1 0%;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
    .ysv-bottom-nav {
        display: flex;
        flex-shrink: 0;
        background: #18062f;
        z-index: 9990;
        justify-content: space-around;
        align-items: center;
        height: calc(60px + env(safe-area-inset-bottom, 0px));
        padding-bottom: env(safe-area-inset-bottom, 0px);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ysv-bnav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: rgba(247, 234, 255, 0.5);
        text-decoration: none;
        font-size: 10px;
        font-weight: 500;
        padding: 6px 12px;
        height: 100%;
        border: none;
        background: none;
        cursor: pointer;
        transition: color 0.15s;
        -webkit-tap-highlight-color: transparent;
        min-width: 44px;
        box-sizing: border-box;
    }

    .ysv-bnav-item svg {
        width: 22px;
        height: 22px;
    }

    .ysv-bnav-item.active {
        color: var(--accent, #ffc63b);
    }

    .ysv-bnav-item.active::after {
        content: '';
        display: block;
        width: 4px;
        height: 4px;
        background: var(--accent, #ffc63b);
        border-radius: 50%;
        margin-top: 2px;
    }

    .ysv-bnav-item:active {
        transform: scale(0.92);
    }

    /* Blink animation for active giveaway */
    .ysv-bnav-blink {
        animation: ysvNavBlink 2s ease-in-out infinite;
    }

    /* Hide old mobile header */
    .mobile-header {
        display: none !important;
    }
}

@keyframes ysvNavBlink {
    0%, 100% { color: rgba(247, 234, 255, 0.5); }
    50% { color: var(--accent, #ffc63b); }
}

/* ═══ Search (inside menu) ═══ */

.ysv-more-search {
    margin-bottom: 20px;
}

.ysv-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.ysv-search-bar svg {
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.ysv-search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: #f7eaff;
    font-size: 16px;
    font-family: inherit;
    outline: none;
}

.ysv-search-bar input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.ysv-search-results {
    overflow-y: auto;
}

.ysv-search-results:empty {
    display: none;
}

.ysv-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #f7eaff;
    transition: background 0.15s;
}

.ysv-search-item:hover, .ysv-search-item:active {
    background: rgba(255, 255, 255, 0.06);
}

.ysv-search-logo {
    width: 48px;
    height: 36px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 4px;
    flex-shrink: 0;
}

.ysv-search-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ysv-search-name {
    font-weight: 600;
    font-size: 15px;
}

.ysv-search-rating {
    font-size: 12px;
    color: var(--accent, #ffc63b);
}

.ysv-search-empty {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 15px;
}

/* ═══ More Menu (fullscreen) ═══ */

.ysv-more-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.ysv-more-overlay.open {
    display: block;
}

.ysv-more-overlay.open .ysv-more-panel {
    animation: ysvSlideIn 0.25s ease;
}

.ysv-more-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #18062f;
    display: flex;
    flex-direction: column;
}

.ysv-more-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ysv-more-header .ysv-search-bar {
    flex: 1;
    margin-bottom: 0;
}

.ysv-more-title {
    font-size: 18px;
    font-weight: 700;
    color: #f7eaff;
}

.ysv-more-close {
    background: none;
    border: none;
    color: rgba(247, 234, 255, 0.6);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.ysv-more-close:active {
    background: rgba(255, 255, 255, 0.06);
}

.ysv-more-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 40px;
    -webkit-overflow-scrolling: touch;
}

.ysv-more-logo {
    display: block;
    text-align: center;
    margin-bottom: 28px;
}

.ysv-more-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Kick Button */
.ysv-more-kick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    margin-bottom: 8px;
    background: #53FC18;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    flex-shrink: 0;
}
.ysv-more-kick-btn svg,
.ysv-more-kick-btn .ysv-kick-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}
.ysv-more-kick-btn:active {
    background: #45D013;
    transform: scale(0.97);
}

/* Navigation items */
.ysv-more-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}
.ysv-more-nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.ysv-more-nav-grid .ysv-more-nav-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 16px 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13px;
}

.ysv-more-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    color: #f7eaff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: background 0.15s, border-color 0.15s;
}

.ysv-more-nav-item:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 198, 59, 0.3);
}

.ysv-more-nav-item svg {
    color: var(--accent, #ffc63b);
    flex-shrink: 0;
}

/* Section titles */
.ysv-more-section {
    margin-bottom: 8px;
}

.ysv-more-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(247, 234, 255, 0.35);
    margin: 0 0 12px 4px;
    font-weight: 600;
}

/* Category cards — 2 column grid */
.ysv-more-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.ysv-more-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: #f7eaff;
    transition: background 0.15s, border-color 0.15s;
}

.ysv-more-card:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 198, 59, 0.3);
}

.ysv-more-card-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

/* Social links */
.ysv-more-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ysv-more-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    color: #f7eaff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.15s;
}

.ysv-more-social-item:active {
    background: rgba(255, 255, 255, 0.1);
}

/* Info page links */
.ysv-more-info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ysv-more-info-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    color: rgba(247, 234, 255, 0.7);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.ysv-more-info-link:active {
    background: rgba(255, 255, 255, 0.08);
    color: #f7eaff;
}

/* ═══ Animations ═══ */

@keyframes ysvFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes ysvSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes ysvSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
