/* ==========================================================================
   Modern Landing Page Styles (Reference: tara567apk.net)
   ========================================================================== */

:root {
  --ref-blue: #007bff;
  --ref-blue-dark: #0056b3;
  --ref-blue-light: #e0f2fe;
  --ref-green: #16a34a;
  --ref-red: #ef4444;
  --ref-bg-gray: #f3f4f6;
  --ref-text-dark: #1f2937;
  --ref-text-muted: #64748b;
  --ref-card-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: var(--ref-text-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ----------------- Utility Classes ----------------- */
.newBgColor {
  background-color: var(--ref-blue) !important;
}

.newFontColor {
  color: var(--ref-blue) !important;
}

.text-blue-500 {
  color: #3b82f6 !important;
}

.text-red {
  color: var(--ref-red) !important;
}

.text-green {
  color: var(--ref-green) !important;
}

.bg-pink {
  background-color: #fff1f2 !important;
}

.bg-gray-100 {
  background-color: #f3f4f6 !important;
}

.border-l-blue {
  border-left: 4px solid var(--ref-blue) !important;
}

/* ----------------- Modern Navbar ----------------- */
.navbar-ref {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  transition: all 0.3s ease;
}

.navbar-ref .navbar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.navbar-ref .nav-link {
  color: #1e293b !important;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 12px !important;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.navbar-ref .nav-link:hover,
.navbar-ref .nav-item.active .nav-link {
  color: var(--ref-blue) !important;
}

.navbar-ref .navbar-toggler {
  border: none;
  color: var(--ref-blue);
  font-size: 24px;
  padding: 6px 12px;
}

.navbar-ref .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Mobile Menu Drawer */
@media (max-width: 991px) {
  .navbar-ref .navbar-collapse {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    padding: 15px 20px;
    margin-top: 8px;
  }
  .navbar-ref .nav-link {
    padding: 10px 15px !important;
    margin-bottom: 4px;
  }
}

/* ----------------- Hero / Header Section ----------------- */
.ref-hero-header {
  margin-top: 65px;
  padding-top: 20px;
  text-align: center;
  background: #ffffff;
}

.ref-hero-header .hero-title-main {
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 5px;
}

.ref-hero-header .hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .ref-hero-header .hero-title-main {
    font-size: 1.85rem;
  }
  .ref-hero-header .hero-subtitle {
    font-size: 1.2rem;
  }
}

.ref-hero-banner-img {
  width: 100%;
  max-width: 1000px;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

/* Hero CTA Section */
.ref-hero-cta {
  background-color: #fff1f2;
  padding: 25px 15px 35px;
  text-align: center;
}

.ref-btn-download-bounce {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--ref-blue);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 12px 36px;
  border-radius: 9999px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  text-decoration: none !important;
  animation: refBounce 1.2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ref-btn-download-bounce:hover {
  background-color: var(--ref-blue-dark);
}

.zoom-animation {
  animation: zoomPulse 1.2s infinite ease-in-out;
}

@keyframes refBounce {
  0%, 100% {
    transform: translateY(-6px);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes zoomPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

.ref-phone-display {
  font-size: 1.65rem;
  font-weight: 800;
  color: #1f2937;
  margin: 18px 0 12px;
}

.ref-contact-btn-group {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ref-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  border: 2px solid #d1d5db;
  color: #1f2937 !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 28px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ref-btn-call:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.ref-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ref-green);
  border: 2px solid #ffffff;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 28px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.25);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ref-btn-whatsapp:hover {
  background: #15803d;
}

/* ----------------- Floating Action Badges ----------------- */
.ref-floating-contacts {
  position: fixed;
  left: 15px;
  bottom: 25px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref-floating-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
  text-decoration: none !important;
}

.ref-floating-btn:hover {
  transform: scale(1.1);
}

.ref-floating-call {
  background: #ffffff;
  color: var(--ref-blue) !important;
  border: 2px solid var(--ref-blue);
}

.ref-floating-wa {
  background: var(--ref-green);
  color: #ffffff !important;
  border: 2px solid #ffffff;
}

/* ----------------- Intro / Welcome Box ----------------- */
.ref-intro-box {
  border: 2px solid #bae6fd;
  border-radius: 10px;
  padding: 24px 30px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  margin: 25px auto;
}

.ref-intro-box h1 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
  text-align: center;
}

.ref-intro-box h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
  text-align: center;
}

.ref-intro-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
  text-align: center;
  margin-bottom: 14px;
}

/* ----------------- Section Title ----------------- */
.ref-sec-header {
  text-align: center;
  margin: 35px 0 20px;
}

.ref-sec-header h2 {
  font-size: 1.95rem;
  font-weight: 800;
  color: #111827;
}

.ref-sec-header p {
  font-size: 1rem;
  color: #6b7280;
  margin-top: 4px;
}

/* ----------------- Game Rates Cards Grid ----------------- */
.ref-rates-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .ref-rates-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ref-rate-card {
  background: #ffffff;
  border-left: 4px solid var(--ref-blue) !important;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--ref-card-shadow);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ref-rate-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.ref-rate-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ref-rate-title i {
  color: #1f2937;
  font-size: 1.15rem;
}

.ref-rate-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ref-blue) !important;
}

/* ----------------- Available Games / Results Cards ----------------- */
.ref-games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .ref-games-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.ref-game-card {
  background: #ffffff;
  border-left: 4px solid var(--ref-blue) !important;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--ref-card-shadow);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ref-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.ref-game-info h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.ref-game-result-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ref-blue);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.ref-game-time {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.ref-game-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
}

.ref-game-links a:hover {
  text-decoration: underline;
}

.ref-game-play-action {
  text-align: center;
}

.btn-play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--ref-blue);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.35);
  border: 2px solid #ffffff;
  font-size: 26px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-play-circle:hover {
  background-color: var(--ref-blue-dark);
  transform: scale(1.06);
}

.ref-play-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 4px;
}

/* ----------------- Info & Feature Cards ----------------- */
.ref-info-card {
  background: #ffffff;
  border-left: 4px solid var(--ref-blue) !important;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--ref-card-shadow);
  padding: 24px;
  margin-bottom: 18px;
}

.ref-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.ref-info-card p {
  font-size: 1rem;
  line-height: 1.65;
  color: #374151;
}

.ref-info-card ul {
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-left: 24px !important;
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}

.ref-info-card ul li {
  list-style-type: disc !important;
  display: list-item !important;
  margin-bottom: 8px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #374151;
}

.ref-info-card ul li::marker {
  color: #1f2937;
  font-size: 1.1em;
}

/* ----------------- FAQ Cards ----------------- */
.ref-faq-item {
  background: #ffffff;
  border-left: 4px solid var(--ref-blue) !important;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--ref-card-shadow);
  padding: 18px 22px;
  margin-bottom: 12px;
}

.ref-faq-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.ref-faq-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* ----------------- Modern Table ----------------- */
.ref-table-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: var(--ref-card-shadow);
  overflow: hidden;
  margin-bottom: 25px;
}

.ref-table {
  width: 100%;
  margin-bottom: 0;
}

.ref-table thead {
  background: var(--ref-blue);
  color: #ffffff;
}

.ref-table thead th {
  font-weight: 700;
  padding: 12px 16px;
  border: none;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.ref-table tbody td {
  padding: 12px 16px;
  vertical-align: middle;
  border-top: 1px solid #f1f5f9;
  font-size: 0.92rem;
  font-weight: 500;
}

.ref-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* ----------------- Modern Footer ----------------- */
.ref-footer {
  background-color: var(--ref-blue);
  color: #ffffff;
  padding: 40px 15px 30px;
  text-align: center;
}

.ref-footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.ref-footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ref-footer-nav a {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.ref-footer-nav a:hover {
  text-decoration: underline;
}

.ref-social-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.ref-social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  font-size: 16px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.ref-social-icons a:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.ref-footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.ref-footer-badge-18 {
  display: inline-block;
  background: #ffffff;
  color: var(--ref-red);
  font-weight: 900;
  font-size: 1rem;
  border: 2px solid var(--ref-red);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  line-height: 36px;
  text-align: center;
}

.ref-footer-disclaimer {
  max-width: 800px;
  margin: 15px auto;
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}

.ref-footer-copy {
  margin-top: 20px;
  font-size: 0.88rem;
  opacity: 0.95;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

/* ----------------- Charts Directory Styles ----------------- */
.ref-chart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  .ref-chart-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 576px) {
  .ref-chart-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.ref-chart-btn {
  display: block;
  text-align: center;
  background: #ffffff;
  border: 2px solid var(--ref-blue);
  color: var(--ref-blue) !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  text-transform: uppercase;
}

.ref-chart-btn:hover {
  background: var(--ref-blue);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.25);
}

/* ----------------- Reference Matrix Table ----------------- */
.ref-chart-table-wrap {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-bottom: 25px;
  overflow-x: auto;
}

.ref-matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
}

.ref-matrix-table thead th {
  background-color: #f8fafc;
  color: #007bff;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  padding: 10px;
  text-align: center;
}

.ref-matrix-table thead th.ref-th-date {
  color: #1e293b;
  width: 130px;
}

.ref-matrix-table tbody td {
  border: 1px solid #cbd5e1;
  padding: 8px 4px;
  vertical-align: middle;
}

.ref-td-date {
  background-color: #ffffff;
  width: 130px;
}

.ref-date-col {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ref-year-upright {
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
  letter-spacing: 2px;
  line-height: 1.2;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: center;
  border-right: 1px solid #cbd5e1;
  padding-left: 4px;
}

.ref-date-range {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.2;
}

.ref-to-text {
  font-size: 0.72rem;
  color: #64748b;
  margin: 1px 0;
}

.ref-matrix-cell {
  background: #ffffff;
  min-width: 65px;
  text-align: center;
}

.ref-cell-panna-top,
.ref-cell-panna-bottom {
  font-size: 0.78rem;
  font-weight: 500;
  color: #475569;
  line-height: 1.1;
}

.ref-cell-jodi {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 2px 0;
}

.ref-matrix-cell.ref-cell-red .ref-cell-jodi,
.ref-matrix-cell.ref-cell-red .ref-cell-panna-top,
.ref-matrix-cell.ref-cell-red .ref-cell-panna-bottom,
.text-red {
  color: #dc2626 !important;
}
