/* ============================================================
   STAR BRISBANE CASINO — PREMIUM VISUAL UPGRADE v3.0
   The Star Entertainment Group — Warm Gold Identity
   ============================================================ */

/* === 1. GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* === 2. BRAND PALETTE — THE STAR WARM GOLD === */
:root {
  /* Override all existing color vars to The Star palette */
  --rc-bg: #09080A;
  --rc-surface: #110F0A;
  --rc-surface-2: #1A1610;
  --rc-accent: #C9A84C;
  --rc-accent-hover: #A8863A;
  --rc-link: #C9A84C;
  --rc-text: #F0E8D5;
  --rc-focus: rgba(201,168,76,0.45);

  /* Extended Star palette */
  --star-gold: #C9A84C;
  --star-gold-light: #E8C96A;
  --star-gold-muted: #9A7B35;
  --star-gold-dim: rgba(201,168,76,0.12);
  --star-gold-glow: 0 0 24px rgba(201,168,76,0.4);
  --star-gold-rgb: 201,168,76;

  --star-dark: #09080A;
  --star-surface: #110F0A;
  --star-surface-2: #1A1610;
  --star-surface-3: #241E14;
  --star-warm-white: #F0E8D5;
  --star-warm-muted: rgba(240,232,213,0.55);
}

/* === 3. BODY & TYPOGRAPHY === */
body {
  background-color: var(--rc-bg) !important;
  color: var(--rc-text) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

html, body, body *:not(.myfont):not([class*="icon-"]):not([class*="slick-"]):not(.cinzel-head) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

h1, h2, h3, .section-title, .offer-title, .offer-desc strong {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif !important;
}

/* === 4. HEADER PREMIUM UPGRADE === */
.header {
  background: linear-gradient(180deg, #09080A 0%, rgba(9,8,10,0.97) 100%) !important;
  border-bottom: 1px solid rgba(201,168,76,0.18) !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.6) !important;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.custom-logo {
  max-height: 52px !important;
  width: auto !important;
  filter: brightness(1.05);
}

.menu a {
  color: var(--rc-text) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s ease;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--star-gold);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.menu a:hover {
  color: var(--star-gold) !important;
}

.menu a:hover::after {
  transform: scaleX(1);
}

/* === 5. BUTTONS — PREMIUM GOLD === */
.btn,
body.banner-btn .offer-btn,
.header .btn-danger,
.btn.btn-primary,
.btn.btn-danger,
.btn.offer-btn {
  font-family: 'Cinzel', Georgia, serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

.btn-danger,
.offer-btn {
  background: linear-gradient(135deg, #C9A84C 0%, #A8863A 50%, #C9A84C 100%) !important;
  background-size: 200% 100% !important;
  color: #09080A !important;
  box-shadow: 0 6px 20px rgba(201,168,76,0.35) !important;
  border: none !important;
  animation: star-btn-shimmer 3s ease-in-out infinite !important;
}

.btn-primary {
  background: transparent !important;
  border: 1.5px solid rgba(201,168,76,0.45) !important;
  color: var(--star-gold) !important;
}

.btn-danger:hover,
.offer-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(201,168,76,0.5) !important;
}

.btn-primary:hover {
  border-color: var(--star-gold) !important;
  background: rgba(201,168,76,0.08) !important;
  color: var(--star-gold-light) !important;
}

@keyframes star-btn-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}

/* === 6. JACKPOT TICKER === */
.star-jackpot-ticker {
  background: linear-gradient(90deg, #09080A 0%, #1A1610 30%, #1A1610 70%, #09080A 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.star-jackpot-ticker::before,
.star-jackpot-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.star-jackpot-ticker::before {
  left: 0;
  background: linear-gradient(90deg, #09080A, transparent);
}

.star-jackpot-ticker::after {
  right: 0;
  background: linear-gradient(-90deg, #09080A, transparent);
}

.star-jackpot-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: star-ticker-scroll 45s linear infinite;
  padding: 10px 0;
}

.star-jackpot-track:hover {
  animation-play-state: paused;
}

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

.star-jackpot-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 28px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: rgba(240,232,213,0.7);
  border-right: 1px solid rgba(201,168,76,0.12);
}

.star-jackpot-item .tjk-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #A8863A);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.star-jackpot-item .tjk-label {
  color: var(--star-gold);
  font-weight: 700;
}

.star-jackpot-item .tjk-val {
  color: #6EE7A4;
  font-weight: 700;
  font-size: 13px;
}

/* === 7. LIVE WINS FEED === */
.star-live-wins {
  padding: 40px 0;
  background: linear-gradient(180deg, var(--star-surface) 0%, var(--star-surface-2) 100%);
  border-top: 1px solid rgba(201,168,76,0.08);
}

.star-live-wins .section-title {
  font-family: 'Cinzel', serif !important;
  font-size: 22px;
  color: var(--star-gold);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.star-wins-feed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 900px) {
  .star-wins-feed { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .star-wins-feed { grid-template-columns: 1fr; }
}

.star-win-card {
  background: var(--star-surface-3, #241E14);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.star-win-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.star-win-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201,168,76,0.3);
}

.swc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A84C, #5A3A00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  color: #09080A;
  font-weight: 700;
}

.swc-info {
  flex: 1;
  min-width: 0;
}

.swc-player {
  font-size: 13px;
  font-weight: 600;
  color: var(--star-warm-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.swc-game {
  font-size: 11px;
  color: var(--star-warm-muted);
  margin-top: 2px;
}

.swc-amount {
  font-size: 15px;
  font-weight: 800;
  color: #6EE7A4;
  white-space: nowrap;
}

/* === 8. SECTION IMPROVEMENTS === */
.page-section {
  position: relative;
}

.screen {
  background: linear-gradient(160deg, #0E0B06 0%, #1A1610 45%, #0A0808 100%) !important;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.slots.page-section,
.games.page-section {
  background: var(--star-surface) !important;
}

.section-title {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--star-gold) !important;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 28px !important;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--star-gold);
}

/* === 9. SLOTS GRID — HOVER EFFECTS === */
.slot-element {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.slot-element:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0,0,0,0.6), 0 0 0 1px rgba(201,168,76,0.3);
}

.slot-element .item__img {
  aspect-ratio: 540 / 330;
  overflow: hidden;
}

.slot-element img {
  transition: transform 0.35s ease;
}

.slot-element:hover img {
  transform: scale(1.06);
}

.slot-element::after {
  content: '▶ Play';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9,8,10,0.85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 12px;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--star-gold);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.slot-element:hover::after {
  opacity: 1;
}

/* === 10. HERO OFFER ZONE === */
.offer-title {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: clamp(28px, 4vw, 46px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: var(--star-warm-white) !important;
  letter-spacing: 0.02em;
}

.offer-desc {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: rgba(240,232,213,0.75) !important;
}

/* Hero gold badge pill */
.star-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--star-gold);
  margin-bottom: 18px;
}

/* Hero star accent in gold text */
.star-accent {
  color: var(--star-gold) !important;
}

/* === 11. SBRI-MOCKUP — UPGRADED COLORS === */
/* Override the blue-ish background to warm dark */
.sbri-mockup {
  background: linear-gradient(155deg, #0D0B06 0%, #1A1610 55%, #09080A 100%) !important;
  border: 1px solid rgba(201,168,76,0.12);
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.8), 0 0 0 1px rgba(201,168,76,0.08), var(--star-gold-glow) !important;
}

/* Upgrade gold tag to use The Star gold */
.sbri-bonus-tag {
  background: linear-gradient(90deg, #C9A84C, #A8863A) !important;
  color: #09080A !important;
  box-shadow: 0 6px 14px -4px rgba(201,168,76,0.5) !important;
}

/* Replace green amount with gold+green mix */
.sbri-amount {
  color: #6EE7A4 !important;
  text-shadow: 0 0 14px rgba(110,231,164,0.4) !important;
}

/* CTA button gold */
.sbri-cta {
  background: linear-gradient(90deg, #C9A84C, #A8863A) !important;
  color: #09080A !important;
  font-family: 'Cinzel', serif !important;
  box-shadow: 0 8px 18px -6px rgba(201,168,76,0.5) !important;
}

/* Override the old skywheel bluish sky to warm dark */
.sbri-skywheel-sky {
  background: linear-gradient(180deg, #0D0B06 0%, #1A160A 50%, #2A1F10 100%) !important;
}

.sbri-skywheel-tower {
  background: linear-gradient(180deg, #2A2210 0%, #0D0B06 100%) !important;
}

/* Bridge warm tone */
.sbri-skywheel-bridge {
  background: linear-gradient(180deg, #6A4A20, #3A2A10) !important;
}

/* Pearl/oyster shell warm */
.sbri-pearl-shell {
  border-color: rgba(201,168,76,0.3) !important;
}

/* Bridge pylon gold */
.sbri-bridge-pylon {
  background: linear-gradient(180deg, #C9A84C 0%, #6A4A20 100%) !important;
}

.sbri-bridge-tier {
  background: linear-gradient(135deg, #C9A84C, #A8863A) !important;
  color: #09080A !important;
}

/* Stars on Southern Cross */
.sbri-cross-star {
  background: var(--star-gold) !important;
  box-shadow: 0 0 8px rgba(201,168,76,0.7) !important;
}

/* === 12. FOOTER === */
.footer {
  background: linear-gradient(180deg, #09080A 0%, #060508 100%) !important;
  border-top: 1px solid rgba(201,168,76,0.12) !important;
}

.footer-menu a {
  color: rgba(240,232,213,0.6) !important;
  font-size: 13px !important;
  transition: color 0.2s ease;
}

.footer-menu a:hover {
  color: var(--star-gold) !important;
}

/* === 13. MAIN TEXT CONTENT === */
.main-text-content h2,
.page-text-content h2,
.page-content h2 {
  font-family: 'Cinzel', Georgia, serif !important;
  color: var(--star-gold) !important;
  font-size: 22px !important;
  margin-top: 36px !important;
  margin-bottom: 14px !important;
  letter-spacing: 0.04em;
}

.main-text-content h3,
.page-text-content h3,
.page-content h3 {
  font-family: 'Cinzel', Georgia, serif !important;
  color: var(--star-warm-white) !important;
  font-size: 17px !important;
  margin-top: 24px !important;
}

.main-text-content p,
.page-text-content p,
.page-content p {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: rgba(240,232,213,0.82) !important;
  margin-bottom: 20px !important;
}

.main-text-content a {
  color: var(--star-gold) !important;
  border-bottom: 1px solid rgba(201,168,76,0.3);
  transition: border-color 0.2s ease;
}

.main-text-content a:hover {
  border-color: var(--star-gold);
}

/* === 14. CARDS / ITEMS === */
.page-item,
.mobile-wrap {
  background: var(--star-surface-2) !important;
  border: 1px solid rgba(201,168,76,0.08) !important;
}

/* === 15. TABLES — PREMIUM CASINO STYLE === */
.main-text-content table,
.page-text-content table,
.page-content table {
  background: var(--star-surface-2, #1A1610) !important;
  border: 1px solid rgba(201,168,76,0.15) !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.main-text-content table th,
.page-text-content table th {
  background: linear-gradient(135deg, rgba(201,168,76,0.18), rgba(201,168,76,0.08)) !important;
  color: var(--star-gold) !important;
  font-family: 'Cinzel', serif !important;
  font-size: 13px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

.main-text-content table td,
.page-text-content table td {
  border-color: rgba(201,168,76,0.08) !important;
  color: rgba(240,232,213,0.8) !important;
  font-size: 15px !important;
}

.main-text-content table tr:hover td {
  background: rgba(201,168,76,0.04) !important;
}

/* === 16. RESPONSIBLE GAMING BAR === */
.star-rg-bar {
  background: rgba(9,8,10,0.95);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(240,232,213,0.38);
  letter-spacing: 0.04em;
}

.star-rg-bar a {
  color: rgba(201,168,76,0.5);
  text-decoration: none;
  margin: 0 6px;
}

.star-rg-bar a:hover {
  color: var(--star-gold);
}

/* === 17. NEW HERO MOCKUPS === */

/* ---- A. VAULT HERO (bonuses.html) ---- */
.sbri-vault {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sbri-vault-body {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #3A2A10, #1A1208);
  border: 6px solid #C9A84C;
  box-shadow: 0 0 0 3px #09080A, 0 0 0 5px rgba(201,168,76,0.25), var(--star-gold-glow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: sbri-vault-throb 4s ease-in-out infinite;
}

@keyframes sbri-vault-throb {
  0%, 100% { box-shadow: 0 0 0 3px #09080A, 0 0 0 5px rgba(201,168,76,0.25), 0 0 24px rgba(201,168,76,0.3); }
  50%       { box-shadow: 0 0 0 3px #09080A, 0 0 0 5px rgba(201,168,76,0.45), 0 0 48px rgba(201,168,76,0.55); }
}

.sbri-vault-dial {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #C9A84C 0deg, #6A4A20 60deg, #C9A84C 120deg, #A8863A 180deg, #C9A84C 240deg, #6A4A20 300deg, #C9A84C 360deg);
  border: 3px solid #09080A;
  animation: sbri-vault-turn 8s linear infinite;
  position: relative;
}

@keyframes sbri-vault-turn {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sbri-vault-dial::after {
  content: '';
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4A3A1A, #1A1208);
  border: 2px solid rgba(201,168,76,0.3);
}

.sbri-vault-hinge {
  position: absolute;
  width: 16px;
  height: 40px;
  background: linear-gradient(180deg, #C9A84C, #6A4A20);
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.sbri-vault-hinge.h1 { left: -8px; top: 25%; }
.sbri-vault-hinge.h2 { left: -8px; bottom: 25%; }

.sbri-vault-sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--star-gold-light);
  animation: sbri-sparkle-float 3s ease-in-out infinite;
}

.sbri-vault-sparkle:nth-child(1) { top: 15%; right: 18%; animation-delay: 0s; }
.sbri-vault-sparkle:nth-child(2) { top: 30%; right: 10%; animation-delay: 0.8s; }
.sbri-vault-sparkle:nth-child(3) { top: 55%; right: 22%; animation-delay: 1.6s; }
.sbri-vault-sparkle:nth-child(4) { top: 70%; right: 12%; animation-delay: 0.4s; }
.sbri-vault-sparkle:nth-child(5) { top: 20%; left: 15%; animation-delay: 1.2s; }

@keyframes sbri-sparkle-float {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  50%  { opacity: 1; transform: translateY(-20px) scale(1.2); }
  100% { opacity: 0; transform: translateY(-40px) scale(0.3); }
}

/* ---- B. VIP CARD HERO (login.html) ---- */
.sbri-vip-card {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sbri-card-face {
  width: 240px;
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1A1610 0%, #2A2010 35%, #0D0B06 65%, #1A1610 100%);
  border: 1px solid rgba(201,168,76,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.1), var(--star-gold-glow);
  position: relative;
  overflow: hidden;
  transform: perspective(600px) rotateY(-8deg) rotateX(4deg);
  animation: sbri-card-float 5s ease-in-out infinite;
}

@keyframes sbri-card-float {
  0%, 100% { transform: perspective(600px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%       { transform: perspective(600px) rotateY(-8deg) rotateX(4deg) translateY(-8px); }
}

.sbri-card-shine {
  position: absolute;
  inset: -100%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0%, transparent 75%, rgba(201,168,76,0.15) 82%, transparent 100%);
  animation: sbri-card-hologram 6s linear infinite;
}

@keyframes sbri-card-hologram {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sbri-card-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(201,168,76,0.03) 0px,
    rgba(201,168,76,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
}

.sbri-card-logo-area {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sbri-card-star-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #C9A84C, #6A4A20);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: sbri-star-pulse 2s ease-in-out infinite;
}

@keyframes sbri-star-pulse {
  0%, 100% { filter: brightness(1) drop-shadow(0 0 4px rgba(201,168,76,0.4)); }
  50%       { filter: brightness(1.2) drop-shadow(0 0 10px rgba(201,168,76,0.7)); }
}

.sbri-card-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  font-family: 'Cinzel', serif;
}

.sbri-card-chip {
  position: absolute;
  left: 16px;
  top: 54px;
  width: 40px;
  height: 30px;
  border-radius: 5px;
  background: linear-gradient(135deg, #C9A84C, #6A4A20);
  border: 1px solid rgba(201,168,76,0.4);
  overflow: hidden;
}

.sbri-card-chip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(9,8,10,0.4);
  transform: translateY(-50%);
}

.sbri-card-chip::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(9,8,10,0.4);
  transform: translateX(-50%);
}

.sbri-card-number {
  position: absolute;
  bottom: 30px;
  left: 16px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  color: rgba(240,232,213,0.7);
}

.sbri-card-name {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--star-gold);
}

.sbri-card-wave {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201,168,76,0.12) 0%, transparent 70%);
}

/* ---- C. PHONE APP HERO (download.html) ---- */
.sbri-phone {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sbri-phone-frame {
  width: 160px;
  height: 280px;
  border-radius: 30px;
  background: linear-gradient(180deg, #1A1610 0%, #0D0B06 100%);
  border: 3px solid rgba(201,168,76,0.35);
  box-shadow: 0 24px 60px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.08), var(--star-gold-glow);
  position: relative;
  overflow: hidden;
  animation: sbri-phone-tilt 6s ease-in-out infinite;
}

@keyframes sbri-phone-tilt {
  0%, 100% { transform: perspective(600px) rotateX(4deg) rotateY(6deg) translateY(0); }
  50%       { transform: perspective(600px) rotateX(4deg) rotateY(6deg) translateY(-10px); }
}

.sbri-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 14px;
  border-radius: 0 0 10px 10px;
  background: #09080A;
  z-index: 2;
}

.sbri-phone-screen {
  position: absolute;
  inset: 6px;
  border-radius: 26px;
  background: linear-gradient(180deg, #0D0B06, #1A1610);
  overflow: hidden;
}

.sbri-phone-header {
  background: linear-gradient(90deg, #C9A84C, #A8863A);
  padding: 22px 12px 10px;
  text-align: center;
  font-size: 9px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #09080A;
}

.sbri-phone-reels {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  justify-content: center;
}

.sbri-phone-reel {
  width: 36px;
  height: 48px;
  border-radius: 6px;
  background: var(--star-surface-3, #241E14);
  border: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
  position: relative;
}

.sbri-phone-reel-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: sbri-reel-spin 0.9s steps(3) infinite;
}

.sbri-phone-reel:nth-child(2) .sbri-phone-reel-strip {
  animation-delay: 0.1s;
  animation-duration: 0.7s;
}

.sbri-phone-reel:nth-child(3) .sbri-phone-reel-strip {
  animation-delay: 0.2s;
  animation-duration: 1.1s;
}

@keyframes sbri-reel-spin {
  from { transform: translateY(0); }
  to   { transform: translateY(-75%); }
}

.sbri-reel-sym {
  width: 36px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.sbri-phone-bonus-notif {
  margin: 6px 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 9px;
  color: var(--star-gold);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sbri-phone-bonus-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6EE7A4;
  flex-shrink: 0;
  animation: sbri-dot-pulse 1.5s ease-in-out infinite;
}

@keyframes sbri-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.6); }
}

.sbri-phone-cta-row {
  padding: 8px 10px;
}

.sbri-phone-cta-btn {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #C9A84C, #A8863A);
  color: #09080A;
  font-size: 9px;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
}

/* ---- D. WELCOME GIFT HERO (welcome-offer.html) ---- */
.sbri-gift {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sbri-gift-box {
  width: 160px;
  height: 140px;
  background: linear-gradient(180deg, #1A1610, #0D0B06);
  border: 2px solid rgba(201,168,76,0.4);
  border-radius: 8px 8px 4px 4px;
  position: relative;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6), var(--star-gold-glow);
  animation: sbri-gift-float 4s ease-in-out infinite;
}

@keyframes sbri-gift-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}

.sbri-gift-lid {
  position: absolute;
  top: -20px;
  left: -6px;
  right: -6px;
  height: 28px;
  background: linear-gradient(180deg, #2A2010, #1A1610);
  border: 2px solid rgba(201,168,76,0.4);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -4px 12px rgba(201,168,76,0.2);
}

.sbri-gift-ribbon-v {
  position: absolute;
  left: 50%;
  top: -20px;
  bottom: 0;
  width: 20px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #C9A84C, #A8863A);
  z-index: 2;
}

.sbri-gift-ribbon-h {
  position: absolute;
  top: -8px;
  left: -6px;
  right: -6px;
  height: 20px;
  background: linear-gradient(90deg, #C9A84C, #A8863A, #C9A84C);
  z-index: 2;
}

.sbri-gift-bow-l,
.sbri-gift-bow-r {
  position: absolute;
  top: -40px;
  width: 40px;
  height: 30px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(135deg, #C9A84C, #A8863A);
  z-index: 3;
}

.sbri-gift-bow-l {
  left: calc(50% - 38px);
  transform-origin: right bottom;
  transform: rotate(-35deg);
}

.sbri-gift-bow-r {
  right: calc(50% - 38px);
  transform-origin: left bottom;
  transform: rotate(35deg);
}

.sbri-gift-star-inside {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  opacity: 0.15;
}

.sbri-gift-confetti {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  animation: sbri-confetti-fall 3s ease-in-out infinite;
}

.sbri-gift-confetti:nth-child(1)  { background: #C9A84C; top: -50px; left: 20%; animation-delay: 0s; }
.sbri-gift-confetti:nth-child(2)  { background: #6EE7A4; top: -50px; left: 35%; animation-delay: 0.5s; }
.sbri-gift-confetti:nth-child(3)  { background: #C9A84C; top: -50px; left: 50%; animation-delay: 1s; }
.sbri-gift-confetti:nth-child(4)  { background: #6EE7A4; top: -50px; left: 65%; animation-delay: 1.5s; }
.sbri-gift-confetti:nth-child(5)  { background: #C9A84C; top: -50px; left: 80%; animation-delay: 0.3s; }

@keyframes sbri-confetti-fall {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  20%  { opacity: 1; }
  80%  { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(200px) rotate(720deg); }
}

/* === 18. RESPONSIVE FIXES === */
@media (max-width: 1000px) {
  .star-wins-feed {
    grid-template-columns: repeat(2, 1fr);
  }
  .sbri-card-face {
    width: 200px;
    height: 125px;
  }
  .sbri-phone-frame {
    width: 130px;
    height: 230px;
  }
}

@media (max-width: 700px) {
  .star-jackpot-ticker {
    display: none; /* Hidden on very small screens */
  }
}
