:root {
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-active-tab: #eff6ff;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --theme-primary: #3b82f6;
  --theme-accent: #4f46e5;
  --theme-green: #10b981;
  --theme-green-bg: #ecfdf5;
  --theme-red: #ef4444;
  --theme-red-bg: #fef2f2;
  --theme-warning: #f59e0b;
  
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #4f46e5 100%);
  --gradient-success: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --gradient-spotlight: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  
  --shadow-premium: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 10px 15px -6px rgba(15, 23, 42, 0.06);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
  
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --sidebar-width: 260px;
  --header-height: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px; /* Space for mobile bottom-nav */
}

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

/* APP SHELL STRUCTURE */
.app-shell {
  display: block;
  min-height: 100vh;
}

/* SITE HEADER NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  width: 100%;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo svg {
  width: 24px;
  height: 24px;
}

.logo span {
  letter-spacing: 0.5px;
}

/* Header actions & hamburger menu button */
.quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 12px;
}

.quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s;
}

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

.quick-icon.wa {
  background: #25D366;
}

.quick-icon.tele {
  background: #0088cc;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-body);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}

.menu-toggle:hover {
  background: var(--border-color);
}

.menu-toggle svg {
  transition: transform 0.2s;
}

.menu-toggle.active svg {
  transform: rotate(90deg);
}

/* Nav Menu (Mobile Default: Dropdown) */
.nav-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--border-color);
  flex-direction: column;
  padding: 12px;
  gap: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  z-index: 1000;
}

.nav-menu.open {
  display: flex;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.nav-item:hover {
  background: var(--bg-body);
  color: var(--theme-primary);
}

.nav-item.active {
  background: var(--bg-active-tab);
  color: var(--theme-primary);
}

.nav-item.nav-wa {
  color: #25D366;
}

.nav-item.nav-tele {
  color: #0088cc;
}

.nav-item.nav-play {
  background: var(--gradient-primary);
  color: #ffffff;
  justify-content: center;
  margin-top: 6px;
}

/* MAIN CONTENT CONTAINER */
.main-content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 14px 12px 80px 12px; /* Bottom padding for bottom navigation space */
}

.wrap {
  width: 100%;
}

/* BOTTOM NAVIGATION BAR (MOBILE) */
.bottom-nav {
  display: grid;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-color);
  height: 60px;
  z-index: 1000;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04);
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  gap: 3px;
  text-transform: uppercase;
  transition: color 0.15s;
}

.bottom-nav-item svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.bottom-nav-item.active {
  color: var(--theme-primary);
}

.bottom-nav-item.active svg {
  transform: translateY(-1px);
}

/* LIVE CLOCK / STATUS BAR */
.status-bar {
  display: flex;
  flex-direction: column; /* Mobile first: stacked layout */
  gap: 8px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-premium);
}

.status-clock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  font-size: 14px;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--theme-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--theme-green);
  animation: blink 1.5s infinite;
}

.status-refresh {
  font-size: 12px;
  font-weight: 700;
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.status-refresh:hover {
  opacity: 0.8;
}

/* CARDS */
.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md); /* Mobile first: smaller radius */
  padding: 14px 10px; /* Mobile first: compact padding */
  margin-bottom: 12px;
  box-shadow: var(--shadow-premium);
  transition: box-shadow 0.2s ease;
}

.premium-card:hover {
  box-shadow: var(--shadow-hover);
}

.sec-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.sec-title span.badge {
  font-size: 11px;
  background: var(--theme-primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: auto;
}

/* SPOTLIGHT BOX */
.spl-box {
  background: var(--gradient-spotlight);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  margin-bottom: 20px;
}

.spl-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.spl-badge.coming {
  background: var(--theme-red);
  animation: pulse 1.5s infinite;
}

.spl-tagline {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 6px;
}

.spl-name {
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.spl-result {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(56px, 12vw, 84px);
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  color: var(--theme-accent);
}

.spl-countdown {
  font-family: 'Rajdhani', sans-serif;
  color: var(--theme-red);
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 700;
  margin-top: 8px;
}

.spl-time {
  color: var(--text-muted);
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}

/* DISAWAR FEATURE CARD */
.dw-card {
  display: flex;
  flex-direction: column; /* Mobile first: stacked */
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 14px;
}

.dw-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dw-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dw-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 700;
  color: var(--text-main);
}

.dw-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.dw-res-box {
  text-align: center; /* Mobile first: centered */
  margin-top: 10px;
}

.dw-result {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(36px, 8vw, 48px);
  font-weight: 800;
  color: var(--theme-primary);
  line-height: 1;
}

.dw-wait {
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-red);
  background: var(--theme-red-bg);
  padding: 4px 10px;
  border-radius: 20px;
  animation: pulse-border 1.5s infinite;
}

.dw-yday {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.dw-yday span {
  font-weight: 700;
  color: var(--text-main);
}

/* NOTICE BOARD */
.notice-board {
  background: #fdfdfd;
  border-left: 4px solid var(--theme-primary);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-main);
  white-space: pre-line;
  box-shadow: var(--shadow-inner);
}

/* FILTER TABS & SEARCH */
.dashboard-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.search-bar {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: var(--bg-card);
  color: var(--text-main);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-inner);
}

.search-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.filter-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* SCORECARD GRID */
.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns on mobile */
  gap: 8px;
  margin-bottom: 20px;
}

.scorecard {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--theme-primary); /* premium brand top accent border */
  border-radius: var(--radius-md);
  padding: 12px 10px; /* compact mobile padding */
  box-shadow: var(--shadow-premium);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.scorecard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(59, 130, 246, 0.2);
}

.scorecard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  position: relative;
  padding-right: 18px; /* reserve space for absolute star button */
}

.scorecard-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
}

.scorecard-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--theme-accent); /* Highlight game names with indigo */
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
}

.scorecard-time {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}

.star-btn {
  position: absolute;
  top: -2px;
  right: -4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--text-muted);
  transition: color 0.15s;
  z-index: 5;
}

.star-btn:hover {
  color: var(--theme-warning);
}

.star-btn.active {
  color: var(--theme-warning);
}

.star-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Results Content */
.scorecard-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px; /* compact height for mobile cards */
  margin-bottom: 8px;
}

.scorecard-waiting {
  display: flex;
  align-items: center;
  gap: 4px;
}

.waiting-spinner {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--border-color);
  border-top-color: var(--theme-red);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

.waiting-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--theme-red);
  text-transform: uppercase;
}

.scorecard-result-box {
  text-align: center;
}

.scorecard-result-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px; /* Scaled down from 36px to look clean on mobile */
  font-weight: 800;
  color: var(--theme-green);
  line-height: 1;
  background: var(--theme-green-bg);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  min-width: 52px;
}

.scorecard-yesterday {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.scorecard-yesterday span {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-body);
  padding: 1px 4px;
  border-radius: 3px;
}

.scorecard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
  margin-top: auto;
}

.card-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; /* Circular icon button on mobile */
  height: 26px;
  border-radius: 50%;
  color: var(--text-muted);
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.15s;
}

.card-action-btn span {
  display: none; /* Hide button text on mobile */
}

.card-action-btn:hover {
  color: var(--theme-primary);
  background: var(--bg-active-tab);
  border-color: var(--theme-primary);
}

.card-action-btn svg {
  width: 12px;
  height: 12px;
}

/* APP DOWNLOAD BANNER */
.app-banner-wrap {
  padding: 16px 0;
  display: flex;
  justify-content: center;
}

.app-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
  transition: transform 0.2s ease;
}

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

.app-banner-text strong {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.app-banner-text span {
  font-size: 11px;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
}

.app-banner-btn {
  background: #fff;
  color: var(--theme-primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* LUCKY NUMBER WIDGET */
.lucky-gen-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

.lucky-display {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}

.lucky-slot-reel {
  width: 52px; /* Mobile first: compact reels */
  height: 68px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: var(--theme-accent);
  box-shadow: var(--shadow-inner);
  position: relative;
  overflow: hidden;
}

.slot-spinning {
  animation: slot-roll 0.15s infinite linear;
}

.lucky-haruf-box {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.lucky-haruf-box span {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--theme-primary);
  background: var(--bg-active-tab);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
}

.neon-btn {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(59, 130, 246, 0.2);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.neon-btn:hover {
  box-shadow: 0 12px 20px rgba(59, 130, 246, 0.3);
  transform: translateY(-1px);
}

.neon-btn:active {
  transform: translateY(1px);
}

/* RATE LIST board */
.rate-list-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rate-item {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-inner);
}

.rate-item-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rate-item-val {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--theme-accent);
}

/* SEO CONTENT & ACCORDION */
.seo-block {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.seo-block h2 {
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.seo-block p {
  margin-bottom: 12px;
}

.seo-block strong {
  color: var(--theme-primary);
  font-weight: 600;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}

.accordion-header {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: #fafafa;
}

.accordion-header:hover {
  background: #f5f5f5;
}

.accordion-header svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-header svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0, 1, 0, 1);
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--bg-card);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding: 14px 16px;
}

/* LATEST NEWS POSTS */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.post-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  box-shadow: var(--shadow-inner);
}

.post-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  background: var(--bg-active-tab);
}

.post-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
}

.post-date {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* MONTHLY CHART SCROLL IN HOME */
.chart-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-primary) transparent;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.chart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 550px;
}

.chart-table th {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  padding: 10px 8px;
  border: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: 0.5px;
}

.chart-table td {
  padding: 8px 6px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-main);
}

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

.chart-table td.empty {
  color: var(--text-muted);
  font-weight: 400;
}

.chart-table td.ch-date {
  background: var(--bg-body);
  color: var(--theme-primary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  white-space: nowrap;
}

.chart-link-btn {
  display: block;
  text-align: center;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--theme-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  transition: all 0.2s;
}

.chart-link-btn:hover {
  background: var(--bg-active-tab);
  border-color: var(--theme-primary);
}

/* WHATSAPP FLOAT BUTTON */
.wa-btn {
  position: fixed;
  bottom: 80px;
  right: 18px;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.wa-btn svg {
  width: 26px;
  height: 26px;
}

/* STATS / FOOTER */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 30px 16px;
  text-align: center;
  margin-top: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background: var(--bg-body);
  transition: all 0.2s;
}

.footer-links a:hover {
  color: var(--theme-primary);
  border-color: var(--theme-primary);
  background: var(--bg-active-tab);
}

.footer-disc {
  font-size: 10px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
}

/* CHART PAGE HIGHLIGHTER & MATRICES */
.chart-hdr {
  font-family: 'Rajdhani', sans-serif;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--theme-accent);
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-premium);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--theme-primary);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.game-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}

.game-card-lnk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.game-card-lnk:hover {
  border-color: var(--theme-primary);
  background: var(--bg-active-tab);
  transform: translateY(-2px);
}

.game-card-lnk strong {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.game-card-lnk span {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

.year-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.year-btn {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.year-btn:hover {
  border-color: var(--theme-primary);
  color: var(--theme-primary);
}

.year-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.yearly-table-wrap {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-primary) transparent;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.yearly-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11px;
  min-width: 600px;
}

.yearly-table th {
  padding: 8px 4px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.yearly-table th.month {
  background: var(--bg-body);
  color: var(--text-main);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
}

.yearly-table th.day {
  background: var(--theme-primary);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 10px;
}

.yearly-table td {
  text-align: center;
  padding: 5px 3px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 12px;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.yearly-table td.day-num {
  background: var(--bg-body);
  color: var(--text-main);
  font-weight: 700;
}

.yearly-table td.highlight {
  background: rgba(59, 130, 246, 0.15) !important;
  color: var(--theme-accent) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: 2px solid var(--theme-primary) !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.yearly-table .r-empty {
  color: var(--text-muted);
  font-weight: 400;
}

/* ANIMATIONS */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.9); }
}

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

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0); }
}

@keyframes slot-roll {
  0% { transform: translateY(0); }
  50% { transform: translateY(-30%); opacity: 0.5; }
  100% { transform: translateY(-60%); opacity: 0.1; }
}

/* LUCKY SYSTEM UPGRADES */
.lucky-select-wrap {
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.lucky-select-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lucky-select {
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-inner);
  transition: border-color 0.2s;
}

.lucky-select:focus {
  border-color: var(--border-focus);
}

.lucky-chance-box {
  margin-top: 18px;
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-inner);
  text-align: left;
}

.lucky-chance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.lucky-chance-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lucky-chance-percent {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  color: var(--theme-green);
  font-weight: 800;
}

.lucky-chance-track {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.lucky-chance-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TABLET VIEWPORT (min-width: 601px) */
@media (min-width: 601px) {
  .game-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    gap: 12px;
  }
  
  .card-action-btn {
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 6px 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
  }

  .card-action-btn span {
    display: inline; /* show text on tablet */
  }
}

/* DESKTOP VIEWPORT (min-width: 901px) */
@media (min-width: 901px) {
  .menu-toggle {
    display: none; /* Hide hamburger menu on desktop */
  }

  .nav-menu {
    display: flex !important; /* Always display menu on desktop */
    position: static;
    flex-direction: row;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    gap: 8px;
    z-index: auto;
  }

  .nav-item {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
  }

  .nav-item:hover {
    background: var(--bg-body);
    color: var(--theme-primary);
  }

  .nav-item.active {
    background: var(--bg-active-tab);
    color: var(--theme-primary);
  }

  .nav-item.nav-play {
    margin-top: 0;
    padding: 6px 14px;
  }

  .main-content {
    padding: 24px 16px 40px 16px;
  }
  
  .bottom-nav {
    display: none; /* Hide mobile-only bottom nav */
  }
  
  .status-bar {
    flex-direction: row; /* Horizontal status clock bar */
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }
  
  .premium-card {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: var(--radius-lg);
  }
  
  .dw-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
  }
  
  .dw-res-box {
    text-align: right;
    margin-top: 0;
  }
  
  .game-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 16px;
  }
  
  .scorecard {
    padding: 16px;
  }
  
  .scorecard-header {
    padding-right: 0; /* reset mobile space */
  }

  .scorecard-name {
    font-size: 15px;
  }

  .scorecard-time {
    font-size: 10px;
  }
  
  .scorecard-body {
    min-height: 70px;
    margin-bottom: 12px;
  }
  
  .scorecard-result-num {
    font-size: 34px;
    padding: 4px 16px;
    min-width: 64px;
  }
  
  .scorecard-yesterday span {
    padding: 1px 6px;
  }
  
  .card-action-btn {
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 6px 12px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
  }

  .card-action-btn span {
    display: inline;
  }
  
  }
  
  .lucky-slot-reel {
    width: 64px;
    height: 80px;
    font-size: 48px;
  }
}

/* ═══════════════════════════════════════════
   NEW FEATURE STYLES — v2 Upgrade
═══════════════════════════════════════════ */

/* SCORECARD GAME IMAGE / ICON */
.scorecard-game-img {
  width: 36px; height: 36px; object-fit: cover;
  border-radius: 8px; border: 2px solid var(--border-color); flex-shrink: 0;
}
.scorecard-game-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-body); border: 2px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.scorecard-title { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.scorecard-title-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scorecard-result-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 10px; font-weight: 700; margin-top: 4px;
}
.scorecard-result-badge.declared { background: #dcfce7; color: #166534; }
.scorecard-result-badge.waiting  { background: #fff7ed; color: #9a3412; }

/* PREMIUM SATTA RESULTS TABLE */
.satta-table-container {
  margin: 0 0 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2.5px solid #1a3a6e;
  box-shadow: 0 10px 30px rgba(26, 58, 110, 0.15);
}

.satta-table-header-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 3.5px solid #ffd700;
  font-family: 'Rajdhani', sans-serif;
}

.table-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trophy-badge {
  font-size: 20px;
  filter: drop-shadow(0 0 6px rgba(255,215,0,.6));
}

.table-header-title {
  font-size: clamp(16px, 4.5vw, 22px);
  font-weight: 900;
  color: #ffd700;
  letter-spacing: 0.5px;
}

.table-header-live {
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  animation: pulse 1.5s infinite;
}

.table-header-right {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.satta-result-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 13.5px;
  background: #fff;
}

.satta-result-table th {
  background: #1e3a8a;
  color: #fff;
  font-weight: 700;
  padding: 10px 8px;
  font-size: 12px;
  border: 1px solid #3b82f630;
  text-transform: uppercase;
}

.satta-result-table td {
  padding: 8px 6px;
  border: 1px solid #e2e8f0;
  vertical-align: middle;
}

.satta-result-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.game-name-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.game-icon-small {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.game-icon-default {
  font-size: 18px;
}

.game-name-txt {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  text-transform: uppercase;
  flex: 1;
}

.star-btn-inline {
  background: none;
  border: none;
  cursor: pointer;
  color: #cbd5e1;
  padding: 4px;
  transition: color 0.15s;
}

.star-btn-inline.active {
  color: #f59e0b;
}

.time-capsule {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e3a8a;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  font-family: 'Rajdhani', sans-serif;
}

.result-number-y {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: #334155;
}

.circle-result {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

.circle-result.declared {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 0 10px rgba(22, 163, 74, 0.4);
}

.circle-result.waiting {
  border: 2px dashed #f97316;
  color: #ea580c;
  font-size: 9px;
  font-weight: 800;
  background: #fff7ed;
  animation: rotate-dashed 8s infinite linear;
}

.result-dash {
  font-weight: 700;
  color: #94a3b8;
}

.status-pill {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  text-align: center;
}

.status-pill.declared {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.status-pill.waiting {
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fed7aa;
}

.status-pill.upcoming {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* SPECIAL TIPS & TRENDING NUMBERS BOX */
.tips-trending-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #0f172a;
  border: 2px solid #ffd700;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tips-box, .trending-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tips-box {
  border-right: 1px solid #334155;
  padding-right: 10px;
}

.tips-header-row, .trending-header-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tips-crown {
  font-size: 16px;
  filter: drop-shadow(0 0 4px rgba(255,215,0,.5));
}

.trending-target {
  font-size: 16px;
}

.tips-title, .trending-title {
  font-size: 12px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
}

.tips-numbers-row, .trending-numbers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.number-badge-tip, .number-badge-trend {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 14px;
  color: #0f172a;
}

.number-badge-tip {
  background: #ffd700;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.number-badge-trend {
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* TODAY'S PICK GAMES WIDGET */
.pick-games-section-wrap {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-premium);
}

.pick-section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.pick-games-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pick-game-card {
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pick-game-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
}

.pick-game-tag {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: center;
  text-transform: uppercase;
}

.pick-game-result {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

/* NEXT DAY FIRST GAME BAR */
.next-game-bar-wrap {
  display: flex;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.ng-left-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ng-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.ng-game-pill {
  background: #cbd5e1;
  color: #0f172a;
  font-size: 12.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'Rajdhani', sans-serif;
}

.ng-stat-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ng-stat-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
}

.ng-stat-val {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 900;
  font-size: 18px;
  color: #0f172a;
}

.ng-stat-val.accent {
  color: #16a34a;
}

.ng-reminder-btn {
  background: #16a34a;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}

.ng-reminder-btn:hover {
  background: #15803d;
}

/* BOTTOM TRUST BAR */
.trust-info-footer-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #0f172a;
  border-radius: var(--radius-md);
  padding: 10px;
  margin-bottom: 20px;
  border-bottom: 3px solid #ffd700;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.trust-item:not(:last-child) {
  border-right: 1px solid #334155;
}

.trust-icon {
  font-size: 18px;
}

.trust-txt {
  font-size: 10px;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.3;
}

.trust-txt small {
  color: #ffd700;
  font-weight: 600;
}

.trust-wa-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
}

.trust-wa-share-btn svg {
  color: #22c55e;
}

/* ADVANCED KHAIWAL ADS 2-COLUMN GRID */
.khaiwal-section-grid-title {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #1e3a8a;
  text-transform: uppercase;
  margin: 25px 0 14px;
  letter-spacing: 0.5px;
}

.khaiwal-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}

.khaiwal-card-modern {
  background: #fff;
  border: 2px solid #1a3a6e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26,58,110,.14);
  display: flex;
  flex-direction: column;
}

.khaiwal-modern-header {
  background: linear-gradient(135deg, #1a3a6e 0%, #2563eb 100%);
  color: #fbbf24;
  padding: 12px 14px;
  text-align: center;
  border-bottom: 3.5px solid #fbbf24;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.khaiwal-modern-header .crown-icon {
  font-size: 16px;
}

.khaiwal-modern-header .header-main {
  font-size: 10px;
  font-weight: 800;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.khaiwal-name-banner {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(18px, 4.5vw, 24px);
  font-weight: 900;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.khaiwal-modern-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.khaiwal-timings-list {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 10px;
}

.khaiwal-timings-list .timings-title {
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.khaiwal-timings-list .timings-lines {
  font-family: monospace;
  font-size: 11.5px;
  color: #475569;
  line-height: 1.5;
  text-align: center;
}

.signal-app-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eff6ff;
  border: 1.5px dashed #3b82f6;
  border-radius: var(--radius-md);
  padding: 8px 10px;
  gap: 8px;
}

.signal-banner-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.signal-logo {
  font-size: 18px;
}

.signal-banner-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.signal-banner-txt strong {
  font-size: 10.5px;
  color: #1e3a8a;
}

.signal-banner-txt span {
  font-size: 9.5px;
  color: #4b5563;
}

.signal-dl-btn {
  background: #3b82f6;
  color: #fff;
  text-decoration: none;
  font-size: 9.5px;
  font-weight: 800;
  padding: 5px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.khaiwal-qr-scan-title {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  margin-top: 4px;
}

.khaiwal-qr-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 6px 4px;
}

.qr-label {
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 3px;
  color: #fff;
  text-transform: uppercase;
}

.qr-label.gpay { background: #ea4335; }
.qr-label.phonepe { background: #5f259f; }
.qr-label.paytm { background: #00baf2; }

.qr-item img {
  width: 100%;
  max-width: 60px;
  aspect-ratio: 1;
  object-fit: contain;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.qr-upi-name {
  font-size: 8px;
  color: #64748b;
  font-weight: 600;
  word-break: break-all;
}

.khaiwal-links-action-title {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
}

.khaiwal-links-action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 6px;
}

.khaiwal-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 6px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: transform 0.15s;
}

.khaiwal-action-btn:hover {
  transform: translateY(-1px);
}

.khaiwal-action-btn.whatsapp { background: #22c55e; color: #fff; }
.khaiwal-action-btn.telegram { background: #0ea5e9; color: #fff; }
.khaiwal-action-btn.signal { background: #3b82f6; color: #fff; }

.khaiwal-action-btn .btn-icon {
  font-size: 14px;
}

.khaiwal-action-btn .btn-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 11px;
  font-weight: 800;
}

.khaiwal-action-btn .btn-txt small {
  font-size: 8px;
  font-weight: 500;
  opacity: 0.85;
}

.khaiwal-note-modern {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 11px;
  color: #78350f;
  line-height: 1.5;
  text-align: center;
}

.khaiwal-modern-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-trust-grid {
  display: flex;
  justify-content: space-around;
  width: 100%;
  font-size: 9px;
  font-weight: 700;
  color: #64748b;
}

.footer-bottom-txt {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
}

.khaiwal-note {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  color: #78350f;
  line-height: 1.6;
  text-align: center;
}

.khaiwal-note-label {
  font-weight: 800;
  color: #b45309;
  margin-right: 4px;
}

/* Responsive fixes for 2-column Khaiwal */
@media (max-width: 680px) {
  .khaiwal-grid-container {
    grid-template-columns: 1fr;
  }
  .tips-trending-container {
    grid-template-columns: 1fr;
  }
  .tips-box {
    border-right: none;
    border-bottom: 1px solid #334155;
    padding-right: 0;
    padding-bottom: 10px;
  }
  .trust-info-footer-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .trust-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #334155;
    padding-bottom: 8px;
  }
}



/* TODAY'S PICK GAMES */
.pick-games-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 10px; }
.pick-game-card { border-radius: var(--radius-md); padding: 14px 10px; text-align: center; }
.pick-game-name  { font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.pick-game-time  { font-size: 10px; color: #6b7280; margin-bottom: 6px; font-weight: 600; }
.pick-game-result{ font-size: 32px; font-weight: 900; font-family:'Rajdhani',sans-serif; line-height: 1; margin-bottom: 6px; }
.pick-game-badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 10px; font-weight: 700; }

/* LUCKY HOT & TRENDING */
.lucky-stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.lucky-stat-box { border-radius: var(--radius-md); padding: 12px 14px; }
.lucky-stat-box.hot       { background: linear-gradient(135deg,#1a1a2e,#2d2450); border: 1px solid rgba(251,191,36,.2); }
.lucky-stat-box.trending  { background: linear-gradient(135deg,#0f3460,#1a4a7a); border: 1px solid rgba(59,130,246,.2); }
.lucky-stat-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 8px; text-transform: uppercase; }
.lucky-stat-nums  { display: flex; flex-wrap: wrap; gap: 6px; }
.lucky-num-badge  {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 14px; font-weight: 900; font-family: 'Rajdhani',sans-serif;
}
.lucky-num-badge.hot      { background: linear-gradient(135deg,#fbbf24,#f59e0b); color: #1a1a2e; }
.lucky-num-badge.trending { background: linear-gradient(135deg,#3b82f6,#1d4ed8); color: #fff; }

/* FAQ BANNER HEADER */
.faq-header-banner {
  background: linear-gradient(135deg,#1a1a2e 0%,#16213e 100%);
  border-radius: var(--radius-md); padding: 18px 16px; margin-bottom: 4px;
}
.faq-header-content { display: flex; align-items: center; justify-content: center; gap: 14px; }
.faq-header-icon {
  width: 44px; height: 44px; background: rgba(59,130,246,.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: #3b82f6;
  border: 2px solid rgba(59,130,246,.3); flex-shrink: 0;
}
.faq-header-chat    { font-size: 28px; flex-shrink: 0; }
.faq-header-title   { font-size: 18px; font-weight: 900; color: #fff; letter-spacing: 1px; }
.faq-header-subtitle{ font-size: 14px; font-weight: 700; color: #fbbf24; letter-spacing: .5px; }
.accordion-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--theme-primary); color: #fff;
  font-size: 12px; font-weight: 800; flex-shrink: 0; margin-right: 4px;
}
.accordion-header { display: flex; align-items: center; gap: 8px; }
.faq-trust-badges {
  display: flex; margin-top: 16px;
  border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden;
}
.faq-trust-item {
  flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 10px;
  border-right: 1px solid var(--border-color); font-size: 12px; font-weight: 700; color: var(--text-main);
}
.faq-trust-item:last-child { border-right: none; }
.faq-trust-item span { font-size: 18px; }

/* SOCIAL JOIN SECTION */
.social-join-section { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.social-join-card {
  background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border-color);
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; box-shadow: var(--shadow-premium);
}
.social-join-left  { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.social-join-icon  {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 24px;
}
.wa-icon   { background: #dcfce7; color: #25d366; }
.tele-icon { background: #dbeafe; color: #2aabee; }
.site-icon { background: #f0f9ff; color: #0ea5e9; }
.social-join-text { font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.social-join-right { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.social-qr-img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; border: 2px solid var(--border-color); }
.social-join-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  border-radius: 24px; font-size: 13px; font-weight: 700; text-decoration: none;
  white-space: nowrap; transition: .2s;
}
.wa-btn-big   { background: #25d366; color: #fff; }
.tele-btn-big { background: #2aabee; color: #fff; }
.site-btn     { background: linear-gradient(135deg,#3b82f6,#4f46e5); color: #fff; }
.social-join-btn:hover { transform: translateY(-1px); opacity: .9; }
.social-join-subtext { font-size: 10px; color: var(--text-muted); font-weight: 600; text-align: center; }

/* BOTTOM ACTION BAR */
.bottom-action-bar { display: flex; gap: 10px; margin: 16px 0; }
.bottom-bar-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 14px 10px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 800; text-decoration: none; border: none;
  cursor: pointer; transition: .2s; text-align: center; line-height: 1.2;
}
.bottom-bar-btn small { font-size: 10px; font-weight: 600; opacity: .8; }
.bottom-bar-btn.wa      { background: #25d366; color: #fff; }
.bottom-bar-btn.refresh { background: #1d4ed8; color: #fff; }
.bottom-bar-btn:hover   { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }

/* Mobile tweaks */
@media (max-width: 480px) {
  .pick-games-row { gap: 6px; }
  .pick-game-result { font-size: 24px; }
  .lucky-stats-row { grid-template-columns: 1fr; }
  .khaiwal-ad-card { min-width: 170px; }
  .social-join-card { flex-wrap: wrap; }
  .social-join-right { flex-direction: row; width: 100%; justify-content: space-between; }
  .faq-trust-badges { flex-direction: column; }
  .faq-trust-item { border-right: none; border-bottom: 1px solid var(--border-color); }
  .faq-trust-item:last-child { border-bottom: none; }
}


/* ==========================================================================
   FRONTEND SECTION REARRANGEMENT & MODERN STYLING UPGRADES
   ========================================================================== */

/* 1st Section: Marquee Ticker */
.marquee-ticker-container {
  background: var(--text-main);
  color: #ffffff;
  padding: 10px 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  box-shadow: var(--shadow-premium);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.marquee-ticker-inner {
  display: flex;
  width: max-content;
}
.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  padding-left: 20px;
}
.marquee-content:hover {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-right: 28px;
}
.ticker-item.declared .num {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.ticker-item.upcoming .num {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.ticker-item small {
  color: #94a3b8;
  font-weight: 600;
  font-size: 11px;
}
.divider {
  color: #3b82f6;
  margin-right: 28px;
  font-weight: 900;
}
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* 2nd Section: Opening Hero Grid */
.opening-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.hero-card-header {
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-card-header.dw-header {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero-card-header.recent-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero-card-header.upcoming-header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero-card-body {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.hero-game-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-game-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--border-color);
}
.hero-game-time {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}
.hero-result-display {
  text-align: center;
  padding: 14px 6px;
  background: var(--bg-body);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-color);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90px;
}
.hero-result-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1px;
}
.hero-result-num.declared {
  color: var(--theme-green);
  text-shadow: 0 2px 10px rgba(16, 185, 129, 0.15);
}
.hero-result-num.waiting {
  color: var(--theme-warning);
}
.hero-result-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 700;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  margin-top: 4px;
}
.share-btn-mini {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: .15s;
}
.share-btn-mini:hover {
  transform: scale(1.05);
  background: #20ba5a;
}
.hero-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.hero-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: background 0.2s;
}
.hero-list-item:hover {
  background: var(--bg-active-tab);
}
.hero-list-item .item-name {
  font-weight: 700;
  font-size: 13px;
  color: var(--text-main);
}
.hero-list-item .item-result {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 18px;
}
.hero-list-item .item-result.declared {
  color: var(--theme-green);
}
.hero-list-item .item-status {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}
.hero-list-item .item-status.pulse-text {
  color: var(--theme-warning);
  background: rgba(245, 158, 11, 0.1);
  animation: pulse 1s infinite;
}
.hero-list-item .item-status.text-muted {
  color: var(--text-muted);
  background: var(--border-color);
}
.hero-list-item .item-time {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.03);
  padding: 2px 6px;
  border-radius: 4px;
}
.no-data-msg {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  padding: 20px 10px;
}

/* 4th Section: Lucky Zone Consolidation */
.predictions-zone-section {
  margin-top: 24px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-premium);
}
.section-main-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-premium);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.section-main-title.purple {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
}
.predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.predictions-grid #lucky-generator {
  box-shadow: none;
  border: 1.5px solid var(--border-color);
  padding: 14px;
  margin-bottom: 0;
}
.predictions-grid .tips-trending-container {
  box-shadow: none;
  border: 1.5px solid var(--border-color);
  background: var(--bg-body);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.predictions-grid .tips-trending-container .tips-box,
.predictions-grid .tips-trending-container .trending-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
}
.predictions-zone-section .pick-games-section-wrap {
  margin-top: 20px;
  margin-bottom: 20px;
}
.predictions-zone-section .next-game-bar-wrap {
  margin-top: 20px;
}

/* 5th Section: Site Owner Ad Card */
.owner-ad-section {
  margin-bottom: 24px;
}
.owner-ad-box {
  position: relative;
  padding: 24px !important;
  border: 2px dashed var(--theme-primary) !important;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-premium);
}
.ad-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--theme-primary);
  color: #fff;
  padding: 3px 16px;
  font-size: 10px;
  font-weight: 800;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ad-content-wrapper {
  margin-top: 12px;
}
.default-ad-style h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}
.default-ad-style p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.ad-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.ad-contact-btn:hover {
  transform: translateY(-1px);
  background: #20ba5a;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* 8th Section: Homepage Social Join Channels */
.homepage-social-join-section {
  margin-bottom: 24px;
}
.homepage-social-join-section .social-join-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.homepage-social-join-section .social-join-card {
  margin: 0;
  box-shadow: var(--shadow-premium);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.homepage-social-join-section .social-join-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.homepage-social-join-section .social-join-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.homepage-social-join-section .social-join-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  font-weight: 600;
}
.homepage-social-join-section .social-join-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.homepage-social-join-section .social-qr-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}
.homepage-social-join-section .social-join-btn {
  padding: 8px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.homepage-social-join-section .social-join-btn:hover {
  transform: translateY(-1px);
}
.homepage-social-join-section .wa-btn-big {
  background: #25d366;
}
.homepage-social-join-section .tele-btn-big {
  background: #0088cc;
}

@media (max-width: 768px) {
  .opening-hero-grid {
    grid-template-columns: 1fr;
  }
  .predictions-grid {
    grid-template-columns: 1fr;
  }
  .homepage-social-join-section .social-join-grid {
    grid-template-columns: 1fr;
  }
  .homepage-social-join-section .social-join-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .homepage-social-join-section .social-join-left {
    flex-direction: column;
  }
  .homepage-social-join-section .social-join-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
  }
}
