@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

:root {
  --primary-color: #ffcc00;
  /* Yellow from screenshot */
  --secondary-color: #000;
  --dark: #2a2a2a;
  --black: #000;
  --white: #fff;
  --body-bg: #ffffff;
  /* White background */
  --body-color: #000000;
  /* Black text */
  --header-bg: #ffcc00;
  --header-text: #000;
  --highlight-color: #ff6600;
  /* Orange for highlights */
  --light-bordersize: 0px;
  /* Removed border */
  --btn-size: 45px;
  --btn-lg-size: 65px;
  --container: 100%;
  /* Mobile focused */
  --default-fontsize: 16px;
  --radius: 30px;
  /* Rounded pill shapes */
}

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

a {
  text-decoration: none;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  background-color: var(--body-bg);
  color: var(--body-color);
  font-size: var(--default-fontsize);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
}

/* Header */
.header-bar {
  background-color: var(--header-bg);
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  align-items: center;
  max-width: 400px;
  margin: 0 auto;
}

.nav-list>li {
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--header-text);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 8px 15px;
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.nav-link.active {
  background: #ff8800;
  border-radius: 20px;
}

.nav-btn-login {
  font-weight: 600;
}

/* Title Bar - Orange Gradient */
.title-bar {
  background: linear-gradient(90deg, #ff6600 0%, #ffcc00 100%);
  color: #000;
  text-align: center;
  padding: 5px 0;
  font-weight: 800;
  font-size: 2rem;
  margin-bottom: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Date Pill */
.date-pill {
  border: 1px solid #ddd;
  border-radius: 50px;
  padding: 10px 20px;
  /* display: inline-flex; */
  align-items: center;
  gap: 10px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Wheel Container */
.wheel-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  border: 5px solid #d4af37;
  /* Gold border */
}

/* Canvas needs to fitwrapper */
#canvas {
  width: 100%;
  height: 100%;
}

/* Big Number Result */
.result-display {
  text-align: center;
  margin-bottom: 30px;
  margin-top: 30px;
}

.lucky-live-text {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.time-text {
  font-size: 1.2rem;
  font-weight: 600;
}

.big-number {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  color: #000;
  transition: opacity 0.5s ease;
}

/* Refresh Button */
.btn-refresh {
  background-color: #ff9900;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(255, 153, 0, 0.4);
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

/* Utility to hide elements from old design */
.strip-lights,
.ribbon,
.spinner-outer,
.spinner-mid,
.bigButton {
  display: none !important;
}

/* Styles for Winwheel which are expected */
.tutCanvas {
  /* override any previous styles */
}

.center-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, #f6e6b4 0%, #edc378 40%, #b1741e 100%);
  border: 3px solid #b1741e;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  z-index: 20;
}

.center-knob:active {
  transform: translate(-50%, -50%) scale(0.95);
}


.wheel-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow:
    0 0 0 8px #d4af37,
    0 0 0 10px #b1741e,
    0 0 30px rgba(255, 215, 0, 0.4),
    inset 0 0 20px rgba(0, 0, 0, 0.8);
  border: 12px solid #222;
  background: radial-gradient(circle, #2a2a2a 0%, #111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

#canvas {
  width: 310px;
  height: 310px;
  border-radius: 50%;
}

.center-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff6a9 0%, #edc378 20%, #b1741e 80%);
  border: 4px solid #fff6a9;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.6),
    inset 0 0 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-knob::after {
  content: '';
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px dashed rgba(177, 116, 30, 0.7);
}

.center-knob:active {
  transform: translate(-50%, -50%) scale(0.96);
}

/* Background Light Effect */
body {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0) 0%, rgba(200, 200, 200, 0.1) 100%),
    repeating-conic-gradient(from 0deg,
      #ffffff 0deg 10deg,
      #f2f2f2 10deg 20deg);
  background-attachment: fixed;
  /* Keep it fixed */
}


/* Marquee Styling */
.marquee-bar {
  background-color: #000;
  color: #fff;
  padding: 8px 0;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0;
  /* Remove gap if any */
  vertical-align: middle;
}

/* Result Blocks (Cards) */
.result-blocks-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  margin-top: 20px;
}

.result-card {
  background: linear-gradient(180deg, #ffcc00 0%, #ff6600 100%);
  border-radius: 15px;
  padding: 20px;
  width: 45%;
  max-width: 200px;
  color: #000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.result-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.result-card h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 10px 0;
}

.result-card p {
  font-weight: 700;
  margin: 0;
}

/* Info Strip */
.info-strip {
  background-color: #000;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 0;
  font-weight: bold;
}

.info-strip a {
  color: #fff !important;
}

/* Results Table */
.results-table-container {
  width: 100%;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.custom-table th {
  background-color: #ff8800;
  /* Orange Header */
  color: #fff;
  padding: 12px 5px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  border: 1px solid #ff9933;
}

.custom-table td {
  padding: 10px 5px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: #000;
  font-size: 1.2rem;
  font-weight: 600;
}

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

.custom-table tr:nth-child(odd) {
  background-color: #fff;
}

/* Orange refresh floating button if needed, but sticking to design */


/* Info Blocks (Cream/Dashed) */
.info-blocks-container {
  display: flex;
  flex-wrap: wrap;
  /* Wrap on small screens */
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.info-card {
  background-color: #fff9e6;
  /* Light cream */
  border: 2px dashed #f5a623;
  /* Orange/Gold dashed */
  border-radius: 15px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  /* Limit width */
  text-align: center;
  color: #000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card p.hindi-text {
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.highlight-text {
  color: #d0021b;
  /* Reddish */
  font-weight: 800;
  font-size: 1.2rem;
  display: block;
  margin: 10px 0;
}

.play-title {
  font-size: 1.3rem;
  font-weight: 900;
  margin: 10px 0;
  text-transform: uppercase;
}

.time-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.time-list li {
  margin-bottom: 8px;
  color: #4a4a4a;
}

.time-val {
  color: #6f42c1;
  /* Purple */
  font-weight: 800;
}


/* Lottery Result Chart & Year Chart */
.chart-container-black {
  margin-top: 30px;
  width: 100%;
  margin-bottom: 30px;
  border: 1px solid #ddd;
}

.chart-header-black {
  background-color: #000;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 1.5rem;
}

.result-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: center;
}

.result-grid-table th {
  background-color: #ff9900;
  /* Orange */
  color: #fff;
  padding: 5px 5px;
  font-weight: 700;
  border: 1px solid #FFF !important;
  font-size: 1rem;
  vertical-align: middle;
  text-wrap: nowrap;
}

.result-grid-table td {
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 8px 2px;
  font-weight: 600;
  background-color: #f9f9f9;
  font-size: 1.2rem;
}

.result-grid-table td.date-col {
  background-color: #ff9900;
  color: #fff;
  font-weight: 800;
  width: 40px;
}

/* Year Archive Chart */
.archive-table {
  width: 100%;
  border-collapse: collapse;
}

.archive-row-label {
  background-color: #ff9900;
  color: #fff;
  padding: 6px 10px;
  font-weight: 700;
  width: 35%;
  text-align: center;
  border-bottom: 1px solid #fff;
  /* separator */
  font-size: 1.2rem;
  vertical-align: middle;
}

.archive-years-cell {
  padding: 10px;
  background-color: #fff;
  /* White background for buttons */
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.year-pills-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.year-pill {
  background-color: #fff;
  border: 1px solid #ff9900;
  border-radius: 20px;
  padding: 5px 15px;
  color: #000;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.2rem;
  min-width: 60px;
  text-align: center;
}


/* Feature Info Card Images */
.info-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
  display: block;
}

.info-card-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.highlight-domain {
  color: #cc8400;
  /* Darker gold/orange */
  font-weight: 700;
}

/* Site Footer Base */
.site-footer {
  background-color: #0d0d0d;
  /* Premium deep dark */
  color: #e0e0e0;
  padding-top: 30px;
  padding-bottom: 20px;
  margin-top: 30px;
  border-top: 4px solid #f5a623;
  /* Branding accent */
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-rows {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f5a623;
  margin-bottom: 0;
  display: block;
}

.footer-about {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #999;
}

.footer-heading {
  font-size: 1.1.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: #999;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: #f5a623;
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: .8rem;
}

.footer-bottom-links {
  margin-bottom: 20px;
}

.footer-bottom-link {
  color: #666;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s;
}

.footer-bottom-link:hover {
  color: #fff;
}

.brand-accent {
  color: #f5a623;
  font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px;
    text-align: center;
  }

  .footer-rows {
    flex-direction: column;
    align-items: center;
  }

  .footer-col {
    min-width: 100%;
    margin-bottom: 0;
  }
}

/* Blink Animation for Wait Text */
@keyframes blink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

.blink-wait {
  animation: blink 1s infinite ease-in-out;
}

.v-hidden {
  visibility: hidden !important;
}

/* Chart Page Specific Styles */
.search-panel {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.table-list {
  margin-bottom: 50px;
}

.list-heading {
  background-color: #000;
  padding: 15px 20px;
  border-radius: 0;
  color: #fff;
  text-align: center;
}

.list-heading h4 {
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.table-list table {
  width: 100%;
  border-collapse: collapse;
}

.table-list th {
  background-color: #ff8800;
  /* Matching homepage chart columns */
  color: #fff;
  padding: 12px 10px;
  font-size: 1rem;
  border: 1px solid #986519;
  text-wrap: nowrap;
}

.table-list td {
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  font-weight: 600;
  color: #333;
  font-size: 1.2rem;
}

.sticky-left {
  position: sticky;
  left: 0;
  background-color: #ff9900 !important;
  /* Consistent with home result chart */
  color: #fff !important;
  z-index: 2;
  border-right: 1px solid #FFF !important;
  border-bottom: 1px solid #FFF !important;
  font-weight: 800 !important;
}

.value-box_ {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
}

.search-panel .btn-primary {
  background: #ff8800;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 25px;
  transition: all 0.3s;
}

.search-panel .btn-primary:hover {
  background: #e67a00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 136, 0, 0.3);
}

.search-panel .form-select-lg {
  border: 2px solid #eee;
  font-size: 1.2rem;
  border-radius: 10px;
}

.search-panel .form-select-lg:focus {
  border-color: #ff8800;
  box-shadow: none;
}

/* Premium Search Filter Design */
.premium-search-container {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 50px;
  padding: 10px 10px 10px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin: 40px auto;
  max-width: 900px;
  transition: all 0.3s ease;
}

.premium-search-container:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.search-field-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-field-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 2px;
  letter-spacing: 0.5px;
}

.search-field-group select {
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
  padding: 0;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
}

.search-divider {
  width: 1px;
  height: 40px;
  background: #eee;
}

.btn-search-premium {
  background: linear-gradient(135deg, #ff8800 0%, #ff5500 100%);
  color: white;
  border: none;
  padding: 15px 35px;
  border-radius: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.2rem;
}

.btn-search-premium:hover {
  background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
  box-shadow: 0 8px 20px rgba(255, 85, 0, 0.3);
}

.btn-search-premium i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .premium-search-container {
    flex-direction: column;
    border-radius: 20px;
    padding: 25px;
    gap: 15px;
    align-items: flex-start;
  }

  .search-divider {
    display: none;
  }

  .btn-search-premium {
    width: 100%;
    justify-content: center;
  }

  .search-field-group {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
}

/* Refined 2-Column Search Design */
.search-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 20px;
  max-width: 800px;
}

.search-field-bordered {
  background: #fff;
  border: 2px solid #eee;
  padding: 12px 20px;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.search-field-bordered:focus-within {
  border-color: #ff8800;
  box-shadow: 0 4px 12px rgba(255, 136, 0, 0.1);
}

.search-field-bordered label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #ff8800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.search-field-bordered select {
  border: none;
  outline: none;
  font-size: 1.1.2rem;
  font-weight: 600;
  color: #333;
  background: transparent;
  cursor: pointer;
}

.search-submit-container {
  grid-column: span 2;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

@media (max-width: 576px) {
  .search-filter-grid {
    grid-template-columns: 1fr;
  }

  .search-submit-container {
    grid-column: span 1;
  }
}

.bg-white {
  background-color: #FFF !important;
}

.table-responsive {
  background-color: #FFF;
}

.text-center {
  text-align: center !important;
}

/* Content Page Design (Privacy, Terms, etc.) */
/* .content-page-wrapper {
  background-color: #fcfcfc;
  padding-bottom: 60px;
  min-height: 70vh;
} */

.content-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: -30px;
  position: relative;
  z-index: 5;
  border: 1px solid #eee;
  line-height: 1.8;
}

.content-card h2,
.content-card h3 {
  color: #ff8800;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 800;
}

.content-card p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 20px;
}

.content-header-banner {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  padding: 80px 15px 120px 15px;
  text-align: center;
  color: #fff;
}

.content-header-banner h1 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(90deg, #ffcc00, #ff8800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
  .content-card {
    padding: 25px;
    margin-top: -20px;
    border-radius: 15px;
  }

  .content-header-banner h1 {
    font-size: 2rem;
  }
}

.info-card table {
  border: 0;
  border-collapse: collapse;
}

.info-card table td {
  border: 0;
}