@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap");
:root {
  --primary: #ffffff;
  --secondary: #373435;
  --accent: #e93b78;
  --soft: #f7f3f4;
  --text: #1f1b1c;
  --border: rgba(55, 52, 53, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  text-decoration: none;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  color: rgba(55, 52, 53, 0.68);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ff80aa);
  color: white;
  font-weight: 800;
}

.brand-mark-img {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  object-fit: contain;
}

.topnav {
  display: flex;
  gap: 20px;
}

.topnav a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0 36px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(233, 59, 120, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h1, h2, h3 {
  font-family: 'DM Sans', sans-serif;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 14px;
  color: var(--secondary);
}

.hero-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(55, 52, 53, 0.8);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  color: var(--secondary);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.hero-card, .panel, .stat-card, .feature-strip article {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(55, 52, 53, 0.08);
}

.hero-card {
  padding: 18px;
  border-radius: 24px;
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  color: rgba(55, 52, 53, 0.76);
  font-size: 0.95rem;
}

.live-pill {
  color: var(--accent);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 12px 0 28px;
}

.stat-card {
  padding: 20px;
  border-radius: 18px;
}

.stat-card strong {
  display: block;
  font-size: 1.3rem;
  color: var(--secondary);
}

.stat-card span {
  margin-top: 8px;
  color: rgba(55, 52, 53, 0.7);
  font-size: 0.95rem;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.panel {
  padding: 24px;
  border-radius: 24px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.chip {
  border: 1px solid var(--border);
  background: white;
  color: var(--secondary);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.chip.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.result-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.result-card:last-child {
  border-bottom: 0;
}

.result-card p {
  margin: 6px 0 0;
  color: rgba(55, 52, 53, 0.7);
}

.result-badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(233, 59, 120, 0.12);
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.chart-wrap {
  background: linear-gradient(180deg, rgba(233, 59, 120, 0.06), rgba(255, 255, 255, 0));
  border-radius: 18px;
  padding: 12px;
}

canvas {
  width: 100%;
  height: auto;
}

.legend {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  color: rgba(55, 52, 53, 0.78);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot-accent {
  background: var(--accent);
}

.dot-dark {
  background: var(--secondary);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.feature-strip article {
  padding: 20px;
  border-radius: 18px;
}

.feature-strip p {
  margin: 10px 0 0;
  color: rgba(55, 52, 53, 0.72);
  line-height: 1.6;
}

.hero-preview {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  background: white;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.preview-row > div {
  min-width: 0;
}

.preview-row strong {
  display: block;
  font-size: 1.15rem;
  color: var(--secondary);
}

.preview-row p {
  margin: 6px 0 0;
  color: rgba(55, 52, 53, 0.72);
}

.hero-preview-line {
  height: 1px;
  background: var(--border);
  opacity: 0.7;
}

.preview-values {
  flex-direction: column;
  gap: 14px;
}

.preview-values div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(233, 59, 120, 0.06);
}

.preview-values strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.lucky-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.lucky-card {
  padding: 24px;
  border-radius: 24px;
}

.lucky-card h2 {
  margin: 10px 0 4px;
  font-size: 1.5rem;
}

.lucky-card .hero-text {
  margin-bottom: 16px;
}

.lucky-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 16px 24px;
  border-radius: 999px;
  background: rgba(233, 59, 120, 0.12);
  color: var(--accent);
  font-size: 1.75rem;
}

.lucky-grid {
  display: grid;
  gap: 12px;
}

.lucky-grid div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(243, 236, 238, 0.7);
  border-radius: 16px;
}

.lucky-grid strong {
  font-weight: 700;
}

.cta-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 22px 28px;
  margin: 24px 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(233, 59, 120, 0.18), rgba(55, 52, 53, 0.05));
  border: 1px solid rgba(233, 59, 120, 0.2);
}

.cta-banner h2 {
  margin: 6px 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--secondary);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.live-result-panel {
  padding: 26px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(233, 59, 120, 0.08), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(233, 59, 120, 0.15);
}

.live-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.live-panel-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vip-pill {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.refresh-button {
  border: none;
  background: var(--secondary);
  color: white;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.live-score-card {
  padding: 24px;
  border-radius: 24px;
  background: white;
}

.live-score-card .hero-text {
  margin-bottom: 10px;
}

.live-score-big {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--accent);
  font-weight: 800;
}

.live-score-subtitle {
  margin-top: 8px;
  color: rgba(55, 52, 53, 0.72);
}

@media (max-width: 960px) {
  .hero, .content-grid, .feature-strip, .stats-grid, .lucky-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
  }
}

@media (max-width: 760px) {
  .cta-banner, .live-result-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner {
    text-align: left;
  }

  .preview-row {
    flex-direction: column;
    gap: 14px;
  }
}

footer {
  text-align: center;
  padding: 28px 0 0;
  color: rgba(55, 52, 53, 0.74);
}

@media (max-width: 960px) {
  .hero, .content-grid, .feature-strip, .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 16px 16px 40px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .panel, .hero-card, .stat-card, .feature-strip article {
    border-radius: 18px;
  }
}

/* ============================================================
   DPBOSS-STYLE HOME PAGE — Blue / Purple / Gold colour scheme
   ============================================================ */

/* Override page shell for home layout — full width feel */
body.home-page .page-shell {
  max-width: 100%;
  padding: 0;
}

body.home-page main {
  padding: 0;
}

body.home-page .topbar {
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 16px 8px;
}

/* ---------- Site Title Banner ---------- */
.site-title-bar {
  background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1565c0 100%);
  border: 3px solid #e93b78;
  text-align: center;
  padding: 18px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-title-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e93b78;
  color: #1a237e;
  font-size: 1.4rem;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}

.site-title-logo-img {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  object-fit: contain;
}

.site-title-text {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #e93b78;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-title-text small {
  font-size: 0.55em;
  color: #f472a8;
  font-weight: 500;
}

/* ---------- Welcome Strip ---------- */
.welcome-strip {
  background: #e8eaf6;
  border: 2px solid #3949ab;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  overflow: hidden;
}

.welcome-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.welcome-msg {
  font-weight: 700;
  font-size: 1rem;
  color: #1a237e;
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.welcome-msg span {
  display: inline-block;
  padding-left: 100%;
  animation: welcomeScroll 14s linear infinite;
}

@keyframes welcomeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ---------- Site Description ---------- */
.site-desc-box {
  background: #1a237e;
  color: #fff;
  padding: 14px 18px;
  border: 2px solid #3949ab;
  border-top: none;
}

.site-desc-title {
  font-weight: 800;
  font-size: 1rem;
  text-align: center;
  color: #e93b78;
  margin: 0 0 8px;
}

.site-desc-body {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #c5cae9;
  text-align: center;
  margin: 0;
}

/* ---------- Section Header Bars ---------- */
.section-header-bar {
  background: linear-gradient(90deg, #7b1fa2 0%, #4a148c 50%, #7b1fa2 100%);
  color: #e93b78;
  font-weight: 800;
  font-size: 1.1rem;
  text-align: center;
  padding: 12px 16px;
  letter-spacing: 0.06em;
  border: 2px solid #ab47bc;
  margin-top: 8px;
}

.live-header {
  background: linear-gradient(90deg, #0d47a1 0%, #1565c0 50%, #0d47a1 100%);
  border-color: #42a5f5;
  color: #ffffff;
}

.lucky-header {
  color: #ffd700;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.9), 0 0 14px rgba(255, 215, 0, 0.6);
  animation: luckyTextGlow 1.8s ease-in-out infinite;
}

@keyframes luckyTextGlow {
  0%, 100% { text-shadow: 0 0 6px rgba(255, 215, 0, 0.9), 0 0 14px rgba(255, 215, 0, 0.6); }
  50% { text-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 22px rgba(255, 215, 0, 1); }
}

/* ---------- Lucky Number Row ---------- */
.lucky-row {
  display: flex;
  border: 2px solid #3949ab;
  border-top: none;
  background: #e8eaf6;
  min-height: 90px;
}

.lucky-col {
  flex: 1;
  padding: 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.lucky-col strong {
  display: block;
  color: #1a237e;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lucky-number {
  font-size: 2rem;
  font-weight: 900;
  color: #7b1fa2;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.1em;
}

.lucky-divider {
  width: 2px;
  background: #3949ab;
  align-self: stretch;
}

.lucky-col-right {
  align-items: flex-start;
  text-align: left;
}

.final-ank-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.final-ank-list p {
  margin: 0;
  font-size: 0.92rem;
  color: #283593;
}

.final-ank-list b {
  color: #7b1fa2;
  font-size: 1.05rem;
}

/* ---------- App Promo Banner ---------- */
.app-promo-banner {
  background: linear-gradient(135deg, #004d40 0%, #00695c 60%, #00796b 100%);
  border: 2px solid #26a69a;
  color: white;
  text-align: center;
  padding: 20px 16px;
  margin-top: 8px;
}

.promo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #e93b78;
  margin: 0 0 6px;
  letter-spacing: 0.05em;
}

.promo-subtitle {
  font-size: 0.95rem;
  color: #b2dfdb;
  margin: 0 0 14px;
}

.promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  background: #1565c0;
  color: white;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #42a5f5;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}

.promo-btn:hover {
  background: #0d47a1;
}

/* ---------- Action Bar ---------- */
.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #e8eaf6;
  border: 2px solid #3949ab;
  border-top: none;
  padding: 10px 16px;
  gap: 8px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 6px;
  background: #1a237e;
  color: white;
  text-decoration: none;
  border: 2px solid #3949ab;
  cursor: pointer;
  transition: background 0.2s;
}

.action-btn:hover { background: #283593; }

.action-btn-vip {
  background: #7b1fa2;
  border-color: #ab47bc;
}

.action-btn-vip:hover { background: #4a148c; }

.action-btn-refresh {
  background: #0d47a1;
  border-color: #42a5f5;
}

.action-btn-refresh:hover { background: #1565c0; }

/* ---------- Result Feed ---------- */
.result-feed {
  border: 2px solid #3949ab;
  border-top: none;
  background: #f8f9ff;
}

.result-feed-label {
  background: #e8eaf6;
  color: #1a237e;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  padding: 10px;
  border-bottom: 1px solid #c5cae9;
  font-style: italic;
}

.result-card-new {
  padding: 16px 20px;
  border-bottom: 1px solid #c5cae9;
  text-align: center;
}

.result-card-new:last-child {
  border-bottom: none;
}

.rc-name {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 1rem;
  color: #1a237e;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rc-number {
  margin: 4px 0;
  font-size: 1.7rem;
  font-weight: 900;
  color: #7b1fa2;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.1em;
}

.rc-sub {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #5c6bc0;
  font-style: italic;
}

/* ---------- Charts Strip ---------- */
.charts-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: #1a237e;
  border: 2px solid #3949ab;
  border-top: 3px solid #e93b78;
  margin-top: 8px;
  justify-content: center;
}

.charts-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  background: #7b1fa2;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  border: 1px solid #ab47bc;
  transition: background 0.2s;
}

.charts-link:hover { background: #4a148c; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .lucky-row {
    flex-direction: column;
  }
  .lucky-divider {
    width: auto;
    height: 2px;
  }
  .lucky-col-right {
    align-items: center;
    text-align: center;
  }
  .action-bar {
    flex-wrap: wrap;
    justify-content: center;
  }
  .charts-strip {
    gap: 6px;
  }
}

/* Auth-related additions */
.link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.link-button:hover {
  color: var(--accent);
}
.auth-wrap {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.auth-card {
  width: min(460px, 100%);
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(55, 52, 53, 0.08);
  padding: 28px;
}
.auth-card h1 {
  font-family: 'DM Sans', sans-serif;
  margin: 0 0 8px;
}
.auth-card form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.auth-card input {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  width: 100%;
}
.auth-card button {
  padding: 12px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
}
.auth-card .error {
  color: var(--accent);
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.9rem;
}
.auth-card .status {
  color: #1c7c3c;
  font-weight: 600;
  margin-top: 10px;
}
.auth-card .note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: rgba(55, 52, 53, 0.72);
}

/* Dashboard */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(55, 52, 53, 0.08);
  padding: 24px;
}
.card h1 {
  font-family: 'DM Sans', sans-serif;
  margin-top: 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.box {
  padding: 16px;
  border-radius: 16px;
  background: var(--soft);
}
.list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}
.item {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--border);
}

/* Hide topbar on home page */
body.home-page .topbar { display: none; }


/* ============================================================
   HOME FOOTER
   ============================================================ */
.home-footer {
  margin-top: 8px;
}

.home-footer-top {
  background: #1a237e;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  border: 2px solid #3949ab;
  border-top: 3px solid #e93b78;
}

.home-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hf-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e93b78;
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  font-family: 'DM Sans', sans-serif;
}

.hf-logo-img {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  object-fit: contain;
}

.home-footer-brand strong {
  display: block;
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
}

.home-footer-brand p {
  margin: 0;
  color: #9fa8da;
  font-size: 0.85rem;
  line-height: 1.5;
}

.hf-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hf-col h4 {
  margin: 0 0 6px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e93b78;
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hf-col a {
  color: #c5cae9;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hf-col a::before {
  content: '›';
  color: #e93b78;
  font-weight: 800;
}

.hf-col a:hover { color: #e93b78; }

.home-footer-bottom {
  background: #0d1350;
  padding: 14px 24px;
  text-align: center;
  border: 2px solid #3949ab;
  border-top: 2px solid #e93b78;
}

.home-footer-bottom p {
  margin: 4px 0;
  color: #9fa8da;
  font-size: 0.82rem;
}

body.home-page footer:not(.home-footer) { display: none; }

@media (max-width: 768px) {
  .home-footer-top { grid-template-columns: 1fr 1fr; padding: 20px; }
}
@media (max-width: 480px) {
  .home-footer-top { grid-template-columns: 1fr; }
}

/* Fix footer links columns side by side */
.home-footer-links {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

/* Fix "Live Results • Premium Charts" text visibility */
.brand small {
  color: #e93b78 !important;
  font-weight: 600;
}

/* Fix footer brand logo alignment — logo beside text */
.home-footer-brand {
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
}

/* Better digit font for result numbers */
.rc-number,
.lucky-number {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 2.4rem !important;
  letter-spacing: 0.15em !important;
  font-weight: 600 !important;
}

/* ==========================================================================
   Admin login page (auth-*) — layout for laravel/resources/views/auth/login.blade.php
   ========================================================================== */

body.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff 0%, var(--soft) 100%);
}

body.auth-page .page-shell {
  max-width: none;
  padding: 0;
}

.auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(55, 52, 53, 0.1);
}

.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.auth-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ff80aa);
  color: white;
  font-weight: 800;
}

.auth-brand-name {
  font-weight: 700;
  color: var(--secondary);
}

.auth-heading {
  margin: 8px 0 4px;
}

.auth-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(233, 59, 120, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.auth-heading h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.auth-heading p {
  color: rgba(55, 52, 53, 0.72);
  line-height: 1.6;
  margin: 0;
}

.auth-alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.auth-alert-success {
  background: rgba(34, 160, 90, 0.12);
  color: #1c8a4f;
  border: 1px solid rgba(34, 160, 90, 0.25);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.auth-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.auth-label-row a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.auth-label-row a:hover {
  text-decoration: underline;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(233, 59, 120, 0.14);
}

.auth-input-wrap svg {
  flex: none;
  width: 18px;
  height: 18px;
  stroke: rgba(55, 52, 53, 0.55);
  stroke-width: 1.6;
}

.auth-input-wrap input {
  flex: 1;
  border: 0;
  outline: none;
  background: transparent;
  padding: 13px 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
}

.auth-input-wrap input::placeholder {
  color: rgba(55, 52, 53, 0.4);
}

.auth-input-wrap input:-webkit-autofill,
.auth-input-wrap input:-webkit-autofill:hover,
.auth-input-wrap input:-webkit-autofill:focus,
.auth-input-wrap input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: 0 0 0 1000px #fff inset;
}

.password-toggle {
  flex: none;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
  color: rgba(55, 52, 53, 0.55);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.6;
}

.auth-error {
  font-size: 0.82rem;
  font-weight: 600;
  color: #d13b3b;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 20px;
  font-size: 0.88rem;
  color: rgba(55, 52, 53, 0.8);
  cursor: pointer;
}

.auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.auth-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.auth-submit:hover {
  box-shadow: 0 10px 24px rgba(233, 59, 120, 0.3);
  transform: translateY(-1px);
}

.auth-submit svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 480px) {
  .auth-panel {
    padding: 32px 20px;
  }
}

/* ---------- Trust / Contact Promo Strip ---------- */
.trust-contact-strip {
  margin-top: 8px;
  padding: 10px;
  background: linear-gradient(135deg, #e8eaf6 0%, #fff8d6 100%);
  border: 2px solid #3949ab;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(26, 35, 126, 0.10);
}

.trust-contact-inner {
  border: 1px solid rgba(255, 215, 0, 0.75);
  border-radius: 7px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.28);
}

.trust-contact-strip h2 {
  margin: 0 0 8px;
  color: #7b1fa2;
  text-align: center;
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  font-weight: 900;
  line-height: 1.35;
}

.trust-contact-copy {
  color: #1a237e;
  font-size: clamp(0.82rem, 2vw, 0.98rem);
  font-weight: 600;
  line-height: 1.55;
}

.trust-contact-copy p {
  margin: 5px 0;
}

.trust-contact-copy strong {
  color: #7b1fa2;
  font-weight: 900;
}

.trust-contact-note {
  margin: 7px 0 8px;
  color: #4a148c;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.trust-contact-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.trust-contact-btn {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.trust-contact-btn:hover,
.trust-contact-btn:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 6px 14px rgba(26, 35, 126, 0.18);
}

.trust-contact-btn-whatsapp {
  background: linear-gradient(90deg, #7b1fa2 0%, #4a148c 100%);
  border-color: #ab47bc;
}

.trust-contact-btn-email {
  background: linear-gradient(90deg, #1565c0 0%, #0d47a1 100%);
  border-color: #42a5f5;
}

@media (min-width: 680px) {
  .trust-contact-strip {
    padding: 10px 14px;
  }
}

@media (max-width: 420px) {
  .trust-contact-strip {
    margin-top: 6px;
    padding: 7px;
    border-radius: 8px;
  }

  .trust-contact-inner {
    padding: 8px;
  }

  .trust-contact-copy {
    font-size: 0.78rem;
  }

  .trust-contact-btn {
    min-height: 38px;
    font-size: 0.82rem;
  }
}