/* ============================================
   SattaMatkaNo1.Me - Improved Design System
   Mobile-first, professional, accessible
   ============================================ */

:root {
  /* Theme #8f0666 */
  --bg-primary: #000;
  --bg-secondary: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-card-alt: #ffffff;
  --accent-primary: #8f0666;
  --accent-secondary: #ff5cbe;
  --accent-cta: #dc2626;
  --accent-success: #059669;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --red-digit: #ef4444;
  --black-digit: #0f172a;
  --result-live-bg: #fef3c7;
  --result-live-text: #92400e;
}

/* Light mode fallback for system preference */
@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-alt: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --black-digit: #0f172a;
    --result-live-bg: #fef9c3;
    --result-live-text: #854d0e;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

body {
  margin: 0;
  padding: 0 0 4rem;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f0f4f8;
  color: #0f172a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

/* Full width edge-to-edge, content centered */
.site-wrapper {
  width: 100%;
  max-width: 100%;
}

.main-content {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-primary);
  z-index: 1000;
  transform-origin: left;
  transition: width 0.1s ease-out;
}

/* Typography */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-primary);
}

/* ============ HEADER ============ */
.site-header {
  background: #8f0666;
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 0 0px 0px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.site-logo {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: block;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: text-shadow 0.3s;
}

.site-logo:hover {
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.site-tagline {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.25rem;
  font-weight: 700;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.trust-badge {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Date strip - compact */
.hero-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35rem 0.5rem;
  margin: 0 0 0.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(143, 6, 102, 0.2);
  border-radius: 8px;
}

.hero-date {
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
}

.hero-date .date-val {
  color: #8f0666;
}

/* Welcome section */
.welcome-section {
  background: #fff;
  padding: 0.5rem 0.75rem;
  margin: 0 0 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(143, 6, 102, 0.15);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

.welcome-section h2 {
  font-size: 1.1rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.welcome-section p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes livePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(220, 38, 38, 0);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

/* ============ ICON NAV STRIP ============ */
.site-icon-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  background: #fff;
  border-bottom: 2px solid rgba(143, 6, 102, 0.15);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  scrollbar-width: none;
}

.site-icon-nav::-webkit-scrollbar {
  display: none;
}

.site-nav-item {
  flex: 1 1 0;
  min-width: 4.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.45rem 0.25rem;
  text-decoration: none;
  color: #475569;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-right: 1px solid rgba(143, 6, 102, 0.08);
  transition: background 0.15s, color 0.15s;
}

.site-nav-item:last-child {
  border-right: none;
}

.site-nav-item .sni-ico {
  font-size: 1.05rem;
  line-height: 1;
}

.site-nav-item.is-active,
.site-nav-item:hover {
  background: rgba(143, 6, 102, 0.08);
  color: #8f0666;
}

.site-nav-wa {
  color: #15803d;
}

.site-nav-wa:hover {
  background: rgba(21, 128, 61, 0.08);
  color: #15803d;
}

/* ============ LIVE RESULTS SECTION — styles in include/live-result-section.css ============ */

/* Section divider */
.section-divider {
  height: 1px;
  background: rgba(143, 6, 102, 0.2);
  margin: 0.5rem 0;
}

/* ============ CONTACT CTA ============ */
.contact-cta {
  margin: 0 0 0.5rem;
  background: #fff;
  border: 2px solid rgba(220, 38, 38, 0.4);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
}

.contact-cta h2 {
  font-size: 1.1rem;
  color: #ef4444;
  margin-bottom: 0.5rem;
}

.contact-cta p {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1rem;
}

.contact-cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--accent-cta);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* ============ PROMO BOX ============ */
.promo-box {
  margin: 0 0 0.5rem;
  background: #fff;
  border: 2px solid #fbbf24;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.promo-box p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
}

.promo-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #000;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #fbbf24;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.promo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
}

/* ============ MAIN RESULTS SECTION — styles in include/main-result-section.css ============ */

/* Starline section header (shared class name) */
.results-section-header {
  background: #8f0666;
  color: #fff;
  padding: 0.4rem 0.5rem;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}

.results-section-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.result-card-icons {
  display: flex;
  gap: 0.25rem;
}

.result-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #374151;
  color: #fff;
  transition: all 0.2s;
}

.result-icon-btn:hover {
  transform: scale(1.08);
}

.result-icon-btn svg {
  width: 18px;
  height: 18px;
}

.result-icon-btn.whatsapp {
  background: #25d366;
  color: #fff;
}

.result-icon-btn.whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.result-icon-btn.copy {
  background: #8f0666;
  color: #fff;
}

.result-icon-btn.copy:hover {
  background: #b3087a;
  box-shadow: 0 2px 8px rgba(143, 6, 102, 0.4);
}

.result-icon-btn.copied {
  background: #059669;
  color: #fff;
}

/* ============ FREE GAME SECTION — styles in include/free-game-section.css ============ */

/* ============ USEFUL LINKS ============ */
.links-section {
  margin: 0 0 0.5rem;
}

.links-section h3 {
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 0.4rem;
  padding-left: 0.4rem;
  border-left: 3px solid #8f0666;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.link-item {
  display: block;
  padding: 0.45rem 0.5rem;
  background: #fff;
  border: 1px solid rgba(143, 6, 102, 0.25);
  border-radius: 6px;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.link-item:hover {
  border-color: #8f0666;
  background: rgba(143, 6, 102, 0.06);
  color: #8f0666;
}

/* Jodi charts - single column */
.jodi-grid {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.35rem;
}

/* ============ STARLINE RESULTS (New Table) ============ */
.starline-section {
  margin: 0 0 .5rem;
  background: var(--bg-card-alt);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(143, 6, 102, 0.15);
}

.starline-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
}

.my-table {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.sl-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: center;
}

.sl-table th {
  width: 25%;
  background: #fdf2f8;
  /* Light pinkish bg similar to header */
  color: #8f0666;
  font-weight: 700;
  padding: 8px 4px;
  border-bottom: 2px solid rgba(143, 6, 102, 0.1);
}

.sl-table td {
  padding: 6px 4px;
  border-bottom: 1px solid #eee;
  color: #334155;
  font-weight: 600;
}

.sl-table tr:last-child td {
  border-bottom: none;
}

.sl-table tr:nth-child(even) {
  background-color: #fafafa;
}


.jodi-item {
  display: block;
  padding: 0.45rem 0.5rem;
  background: #fff;
  border: 1px solid rgba(143, 6, 102, 0.25);
  border-radius: 6px;
  color: #8f0666;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: border-color 0.2s,
    background 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.jodi-item:hover {
  border-color: #8f0666;
  background: rgba(143, 6, 102, 0.06);
  color: #b3087a;
}

/* ============ FIXED BUTTONS ============ */
.fixed-actions {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.btn-refresh {
  padding: 0.6rem 1rem;
  background: var(--accent-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.25s;
}

.btn-refresh:hover {
  background: var(--accent-secondary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.fixed-left {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 100;
}

.btn-whatsapp {
  display: block;
  padding: 0.5rem 0.75rem;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}

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

.btn-promo-small {
  display: block;
  padding: 0.5rem 0.75rem;
  background: #fbbf24;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  border: 1px solid #f59e0b;
  transition: transform 0.2s;
}

.btn-promo-small:hover {
  transform: scale(1.05);
}

/* ============ FOOTER / BLOG ============ */
.blog-section {
  margin: 0 0 0.5rem;
}

.blog-card {
  background: #fff;
  border: 1px solid rgba(143, 6, 102, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.blog-card h3 {
  font-size: 1.05rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}

.blog-card p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

.disclaimer-box {
  background: #fff;
  color: #92400e;
  border: 2px solid #f59e0b;
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1.45;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.site-footer {
  background: #fff;
  border-top: 1px solid rgba(143, 6, 102, 0.15);
  border-radius: 8px 8px 0 0;
  padding: 0.6rem 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.site-footer p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: #475569;
}

.site-footer a {
  color: #8f0666;
}

.site-footer a:hover {
  color: #b3087a;
}

/* ============ NAVIGATION ============ */
.go-to-top {
  display: block;
  padding: 0.4rem 0.5rem;
  background: #1e40af;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  margin: 0 0 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.go-to-top:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ============ RESPONSIVE ============ */
/* Stagger animation removed — instant render */
.result-card {
  animation: none;
}

.result-card:nth-child(1),
.result-card:nth-child(2),
.result-card:nth-child(3),
.result-card:nth-child(4),
.result-card:nth-child(5),
.result-card:nth-child(6),
.result-card:nth-child(7),
.result-card:nth-child(8),
.result-card:nth-child(9) {
  animation-delay: 0;
}

/* Single column only - no side-by-side boxes at any breakpoint */

/* Touch targets - minimum 44px for mobile */
@media (pointer: coarse) {

  .btn-refresh,
  .link-item,
  .result-card-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ===== Boss-style Homepage Layer ===== */
body {
  background: #f0f4f8;
}

body::before {
  opacity: 0;
}

/* Premium hero card */
.premium-hero-card {
  margin: 0.45rem 0.4rem 0.35rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(143, 6, 102, 0.12);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.premium-hero-inner {
  text-align: center;
  padding: 0.85rem 0.75rem 0.9rem;
  background: linear-gradient(180deg, #fff 0%, #fdf4ff 100%);
}

.premium-hero-date {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8f0666;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.premium-hero-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 800;
  color: #991b1b;
  line-height: 1.35;
}

.premium-hero-sub {
  margin: 0;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.55;
}

/* Lucky numbers strip */
.lucky-strip-card {
  margin: 0 0.4rem 0.4rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(143, 6, 102, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.lucky-strip-banner {
  background: linear-gradient(90deg, #6d054f 0%, #8f0666 100%);
  color: #fff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.5rem;
}

.lucky-strip-body {
  padding: 0.55rem 0.5rem 0.6rem;
}

.lucky-golden {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed rgba(143, 6, 102, 0.15);
  margin-bottom: 0.45rem;
}

.lucky-golden-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #92400e;
  background: #fef3c7;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.lucky-golden-val {
  font-size: 1.15rem;
  font-weight: 900;
  color: #b45309;
  letter-spacing: 0.08em;
}

.lucky-final-wrap {
  overflow: hidden;
}

.lucky-final-label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.lucky-marquee-track {
  overflow: hidden;
  width: 100%;
}

.lucky-marquee-inner {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: luckyMarquee 28s linear infinite;
  font-size: 0.82rem;
  color: #334155;
  font-weight: 600;
}

.lucky-marquee-inner .fa-item b {
  color: #8f0666;
  font-weight: 900;
}

.lucky-marquee-inner .fa-sep {
  color: #cbd5e1;
  padding: 0 0.35rem;
}

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

/* Social join row */
.join-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.4rem 0.45rem;
  justify-content: center;
}

.join-btn {
  flex: 1 1 calc(33.333% - 0.35rem);
  min-width: 5.5rem;
  text-align: center;
  padding: 0.5rem 0.35rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.join-btn-wa {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.join-btn-tg {
  background: linear-gradient(180deg, #38bdf8 0%, #0284c7 100%);
}

.join-btn-fb {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
}

.welcome-compact {
  margin: 0 0.4rem 0.45rem !important;
  border-radius: 10px !important;
}

.welcome-compact h2 {
  font-size: 1rem;
  color: #8f0666;
}

.welcome-compact p {
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.welcome-compact p:last-child {
  margin-bottom: 0;
}

.blog-section {
  margin: 0 0.4rem 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.blog-section .blog-card {
  margin: 0 !important;
  border-radius: 10px !important;
}

/* Light card polish — sections as white cards */
.live-section,
.results-section,
.starline-section,
.free-game-section,
.fav-jodi-section,
.weekly-chart-section,
.contact-cta,
.useful-links-section,
.panel-charts-section,
.blog-section .blog-card,
.disclaimer-box {
  margin-left: 0.4rem !important;
  margin-right: 0.4rem !important;
  margin-bottom: 0.45rem !important;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.07) !important;
  border: 1px solid rgba(143, 6, 102, 0.1) !important;
}

.starline-section .results-section-header {
  border-radius: 10px 10px 0 0 !important;
}

.site-footer {
  margin: 0.45rem 0.4rem 0;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(143, 6, 102, 0.1);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  color: #334155;
}

.site-footer a {
  color: #8f0666;
}

/* ===== Homepage Premium Polish Layer (light) ===== */

.main-content {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Homepage sections — card gutters (boss-style inset) */
.hero-strip {
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  border-radius: 10px;
}

.hero-strip,
.welcome-section,
.starline-section,
.free-game-section .full-width-card,
.links-section,
.contact-cta,
.promo-box {
  border-left: none;
  border-right: none;
}

.welcome-section,
.contact-cta,
.promo-box,
.starline-section,
.links-section,
.blog-card,
.site-footer,
.disclaimer-box,
.free-game-section .full-width-card {
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

.hero-strip,
.welcome-section,
.contact-cta,
.promo-box,
.links-section,
.blog-card,
.site-footer,
.free-game-section .full-width-card,
.starline-section {
  background: #ffffff;
}

.starline-section .results-section-header {
  background: linear-gradient(90deg, #8f0666 0%, #b3127f 100%);
}

.link-item {
  border: 1px solid rgba(143, 6, 102, 0.22);
}

/* Micro-interactions + status accents */
.blog-card,
.link-item {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.free-state.state-closed {
  border-left: 4px solid #dc2626;
}

.free-state.state-ad {
  border-left: 4px solid #f59e0b;
}

/* ============ USEFUL LINKS (standalone section) ============ */
.useful-links-section {
  margin: 0 0 0.5rem;
  background: #fff;
  border-top: 1px solid rgba(143, 6, 102, 0.15);
  border-bottom: 1px solid rgba(143, 6, 102, 0.15);
}

.useful-links-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(90deg, #fdf4ff 0%, #fff 50%, #fdf4ff 100%);
  border-bottom: 1px dashed rgba(143, 6, 102, 0.2);
}

.useful-links-header h3 {
  margin: 0;
  font-size: 1.4rem;
  color: #8f0666;
  letter-spacing: 0.04em;
}

.starline-section .results-section-header h3 {
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.useful-links-icon {
  font-size: 1.1rem;
}

.useful-links-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.useful-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid rgba(143, 6, 102, 0.08);
  color: #1e293b;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  background: #fff;
}

.useful-link-item:last-child {
  border-bottom: none;
}

.useful-link-item:hover {
  background: rgba(143, 6, 102, 0.05);
  color: #8f0666;
}

.useful-link-item .uli-arrow {
  color: #8f0666;
  font-weight: 800;
}

/* Favourite section — styles in include/favourite-section.css */

.fg-center-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.fg-load-ring {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(143, 6, 102, 0.25);
  border-top-color: #8f0666;
  border-radius: 50%;
  animation: fgSpin 1s linear infinite;
}

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

/* ============ PANEL CHARTS (standalone section) ============ */
.panel-charts-section {
  margin: 0 0 0.5rem;
  background: #0f172a;
  border-top: 3px solid #8f0666;
  border-bottom: 3px solid #8f0666;
}

.panel-charts-header {
  padding: 0.65rem 0.75rem 0.5rem;
  text-align: center;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.panel-charts-header h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  color: #f8fafc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-charts-header p {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.panel-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem;
  padding: 0.45rem 0.4rem 0.55rem;
}

.panel-chart-item {
  display: block;
  padding: 0.45rem 0.35rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(143, 6, 102, 0.35);
  text-decoration: none;
  line-height: 1.25;
}

.panel-chart-item span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #f472b6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.panel-chart-item:hover {
  background: rgba(143, 6, 102, 0.25);
  border-color: #8f0666;
  color: #fff;
}

.panel-charts-section {
  display: none;
}

/* ============ CONTACT PAGE ============ */
.contact-page-section {
  margin: 0 0 0.5rem;
  background: #fff;
}

.contact-page-header {
  background: linear-gradient(135deg, #6d054f 0%, #8f0666 55%, #a30d78 100%);
  color: #fff;
  text-align: center;
  padding: 0.85rem 0.75rem;
}

.contact-page-header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.contact-page-header p {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.92;
}

.contact-page-card {
  padding: 0.75rem;
}

.contact-alert {
  padding: 0.55rem 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
}

.contact-alert-success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid rgba(22, 163, 74, 0.3);
}

.contact-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.contact-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.contact-field .req {
  color: #dc2626;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(143, 6, 102, 0.25);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #8f0666;
  box-shadow: 0 0 0 2px rgba(143, 6, 102, 0.15);
}

.contact-char-count {
  text-align: right;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.contact-submit-btn {
  width: 100%;
  padding: 0.65rem;
  border: none;
  border-radius: 4px;
  background: linear-gradient(90deg, #6d054f 0%, #8f0666 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.contact-submit-btn:hover {
  opacity: 0.95;
}

.contact-form-note {
  margin: 0;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

