/* ============================================================
   REDDYBOOK / REDDY ANNA BOOK — Main Stylesheet
   Brand: #040404 bg | #d6b54f gold | white/grey text
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary:    #040404;
  --bg-card:       #0e0c07;
  --bg-card2:      #12100a;
  --gold:          #d6b54f;
  --gold-light:    #e8cc72;
  --gold-dark:     #b8962e;
  --white:         #ffffff;
  --grey-light:    #cccccc;
  --grey-mid:      #888888;
  --border-gold:   rgba(214,181,79,0.25);
  --border-dark:   rgba(255,255,255,0.06);
  --gradient-bg:   linear-gradient(135deg,#040404 0%,#15120a 50%,#040404 100%);
  --gradient-gold: linear-gradient(135deg,#d6b54f 0%,#f0d878 50%,#b8962e 100%);
  --gradient-card: linear-gradient(145deg,#0e0c07 0%,#1a1508 100%);
  --shadow-gold:   0 0 30px rgba(214,181,79,0.15);
  --radius:        12px;
  --radius-sm:     8px;
  --transition:    0.3s ease;
  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', 'Segoe UI', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-primary);
  color: var(--grey-light);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--gradient-bg);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; color: var(--grey-light); }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-grey  { color: var(--grey-mid); }

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(4,4,4,0.97) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.navbar-brand img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(214,181,79,0.3));
}

.navbar-toggler {
  border-color: var(--border-gold);
  color: var(--gold);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23d6b54f' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: var(--grey-light) !important;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem !important;
  letter-spacing: 0.03em;
  transition: color var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  transition: left var(--transition), right var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 0.75rem; right: 0.75rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--gold) !important; }

.dropdown-menu {
  background: #0e0c07;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-gold);
}
.dropdown-item {
  color: var(--grey-light);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  transition: all var(--transition);
}
.dropdown-item:hover {
  background: rgba(214,181,79,0.1);
  color: var(--gold);
}
.dropdown-divider { border-color: var(--border-gold); }

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #040404 0%, #0d0b06 40%, #040404 100%);
  padding: 5rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(214,181,79,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(214,181,79,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(214,181,79,0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title span { color: var(--gold); }

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--grey-light);
  max-width: 620px;
  margin-bottom: 2rem;
}

/* ---------- Buttons ---------- */
.btn-gold {
  background: var(--gradient-gold);
  color: #040404;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(214,181,79,0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(214,181,79,0.5);
  color: #040404;
  filter: brightness(1.08);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 0.73rem 1.75rem;
  border-radius: 50px;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-outline-gold:hover {
  background: rgba(214,181,79,0.1);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(214,181,79,0.2);
}

/* ---------- Sections ---------- */
.section-pad { padding: 5rem 0; }
.section-pad-sm { padding: 3rem 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.section-divider {
  width: 50px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.section-divider.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.card-dark {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
}
.card-dark:hover {
  border-color: rgba(214,181,79,0.5);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(214,181,79,0.1);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.card-title { color: var(--white); font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.card-text  { color: var(--grey-light); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0; }

/* ---------- Info Cards (Homepage) ---------- */
.info-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  transition: all var(--transition);
  height: 100%;
}
.info-card:hover {
  border-color: rgba(214,181,79,0.6);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(214,181,79,0.2);
  text-decoration: none;
}
.info-card .card-icon { margin-bottom: 0.75rem; }
.info-card h3 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.info-card p  { color: var(--grey-light); font-size: 0.82rem; margin: 0; }

/* ---------- Live Matches Section ---------- */
.live-section {
  background: rgba(14,12,7,0.6);
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
}

.series-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(214,181,79,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.match-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
  transition: all var(--transition);
  height: 100%;
}
.match-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 4px 20px rgba(214,181,79,0.1);
}

.match-teams {
  font-weight: 700;
  color: var(--white);
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.match-meta {
  font-size: 0.75rem;
  color: var(--grey-mid);
}

.badge-live {
  display: inline-block;
  background: #22c55e;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  animation: pulse-live 2s infinite;
}
.badge-upcoming {
  display: inline-block;
  background: #eab308;
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}
.badge-active {
  display: inline-block;
  background: rgba(214,181,79,0.15);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  border: 1px solid var(--border-gold);
}

@keyframes pulse-live {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, #0e0c07 25%, #1a1508 50%, #0e0c07 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card { height: 100px; margin-bottom: 0.75rem; }

/* ---------- Cricket / Casino Section ---------- */
.market-pill {
  display: inline-block;
  background: rgba(214,181,79,0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin: 0.2rem;
}

/* ---------- Notice Boxes ---------- */
.notice-box {
  background: rgba(214,181,79,0.05);
  border: 1px solid var(--border-gold);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
}
.notice-box.notice-danger {
  border-left-color: #ef4444;
  background: rgba(239,68,68,0.05);
}
.notice-box.notice-success {
  border-left-color: #22c55e;
  background: rgba(34,197,94,0.05);
}

/* ---------- FAQ Accordion ---------- */
.accordion-item {
  background: var(--gradient-card) !important;
  border: 1px solid var(--border-gold) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.accordion-button {
  background: transparent !important;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: none !important;
  border: none !important;
  padding: 1rem 1.25rem;
}
.accordion-button:not(.collapsed) { color: var(--gold) !important; }
.accordion-button::after {
  filter: invert(1) sepia(1) saturate(3) hue-rotate(5deg);
}
.accordion-body {
  background: transparent;
  color: var(--grey-light);
  font-size: 0.88rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border-dark);
}

/* ---------- Steps ---------- */
.step-number {
  width: 38px; height: 38px;
  background: var(--gradient-gold);
  color: #040404;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}

/* ---------- Table ---------- */
.table-dark-custom {
  background: transparent;
  color: var(--grey-light);
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}
.table-dark-custom thead th {
  background: rgba(214,181,79,0.08);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-gold);
}
.table-dark-custom tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.85rem;
  vertical-align: middle;
}
.table-dark-custom tbody tr:hover td { background: rgba(214,181,79,0.04); }

/* ---------- Breadcrumb ---------- */
.breadcrumb-gold { background: transparent; padding: 0; margin-bottom: 1.5rem; }
.breadcrumb-gold .breadcrumb-item { font-size: 0.8rem; }
.breadcrumb-gold .breadcrumb-item a { color: var(--gold); }
.breadcrumb-gold .breadcrumb-item.active { color: var(--grey-mid); }
.breadcrumb-gold .breadcrumb-item+.breadcrumb-item::before { color: var(--grey-mid); content: "›"; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #040404 0%, #0d0b06 60%, #040404 100%);
  border-bottom: 1px solid var(--border-gold);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(214,181,79,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ---------- WhatsApp Float Button ---------- */
.whatsapp-float {
 position: fixed;
  bottom: 28px;
  right: 24px;
  width: auto;
  height: 48px;
  background: #25d366;
  color: #fff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px 0 12px;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: all var(--transition);
  text-decoration: none;
}
.whatsapp-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  color: #fff;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.3);
  animation: wa-ring 2.5s infinite;
}
@keyframes wa-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ---------- Footer ---------- */
.footer {
  background: #020202;
  border-top: 1px solid var(--border-gold);
  padding: 3.5rem 0 1.5rem;
}
.footer-logo { height: 42px; width: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.82rem; color: var(--grey-mid); max-width: 240px; }

.footer-heading {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.45rem; }
.footer-links a {
  color: var(--grey-mid);
  font-size: 0.82rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer-links a::before { content: '›'; color: var(--gold); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--grey-mid);
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(239,68,68,0.12);
  border: 2px solid rgba(239,68,68,0.4);
  color: #ef4444;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: 6px;
  vertical-align: middle;
}

/* ---------- Scroll Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Responsible Gaming ---------- */
.rg-banner {
  background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(214,181,79,0.05));
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

/* ---------- Utility ---------- */
.gold-hr { border: none; height: 1px; background: var(--border-gold); margin: 2rem 0; }
.bg-card2 { background: var(--bg-card2); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse { background: rgba(4,4,4,0.98); padding: 1rem; border-top: 1px solid var(--border-gold); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
  .hero-section { padding: 4rem 0; min-height: auto; }
}
@media (max-width: 767.98px) {
  .section-pad { padding: 3.5rem 0; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  .whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: auto;
  height: 48px;
  background: #25d366;
  color: #fff;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px 0 12px;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  transition: all var(--transition);
  text-decoration: none;
}

.whatsapp-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  white-space: nowrap;
}
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
