/* LaserCric — dark exchange theme derived from the Stitch home-page design */
:root {
  --c-bg: #000000;
  --c-panel: #0f172a;
  --c-panel-2: #1e293b;
  --c-panel-3: #111111;
  --c-red: #e60000;
  --c-blue: #3b82f6;
  --c-pill: #244b6c;
  --c-green: #16a34a;
  --c-text: #ffffff;
  --c-muted: #94a3b8;
  --c-border: #1f2937;
  --c-footer-bg: #f8f8f8;
  --c-footer-text: #111827;
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1080px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  --transition: 0.2s ease;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font);
  line-height: 1.6;
  padding-bottom: 76px; /* space for bottom nav */
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-blue); text-decoration: none; }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--c-blue); color: #fff; padding: 8px 16px; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.icon { width: 18px; height: 18px; flex: 0 0 auto; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; color: #fff;
  border: none; cursor: pointer; transition: filter var(--transition), transform var(--transition);
}
.btn:hover { filter: brightness(1.15); }
.btn:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.btn-red { background: var(--c-red); }
.btn-slate { background: var(--c-panel-2); }
.btn-blue { background: var(--c-blue); }
.btn-green { background: var(--c-green); }
.btn-outline { background: transparent; border: 1px solid var(--c-muted); }
.btn-lg { padding: 12px 24px; font-size: 16px; border-radius: var(--radius); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-bg); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.brand { font-size: 24px; font-weight: 900; letter-spacing: 1px; display: inline-flex; align-items: baseline; }
.brand-laser { color: #fff; }
.brand-cric { color: var(--c-red); }
.brand-cric-dark { color: var(--c-red); }
.brand-247 { color: var(--c-blue); font-size: 14px; margin-left: 3px; font-weight: 800; }
.header-actions { display: flex; gap: 8px; }

.news-ticker {
  background: var(--c-panel-2); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-size: 12px; padding: 4px 0;
}
.ticker-label { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; padding: 0 10px; background: var(--c-panel-2); z-index: 2; }
.ticker-label .icon { width: 14px; height: 14px; }
.ticker-track { flex: 1; overflow: hidden; }
.ticker-text { display: inline-block; color: #cbd5e1; animation: ticker-scroll 24s linear infinite; padding-left: 100%; }
@keyframes ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

.main-nav { background: var(--c-panel); border-bottom: 1px solid var(--c-border); }
.main-nav-scroll { display: flex; gap: 20px; overflow-x: auto; padding: 10px 12px; scrollbar-width: none; }
.main-nav-scroll::-webkit-scrollbar { display: none; }
.main-nav-scroll a {
  color: var(--c-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; white-space: nowrap;
  padding-bottom: 4px; border-bottom: 2px solid transparent;
}
.main-nav-scroll a.active, .main-nav-scroll a:hover { color: #fff; border-bottom-color: var(--c-red); }

.sub-nav { background: var(--c-panel-2); display: flex; gap: 8px; overflow-x: auto; padding: 8px 12px; scrollbar-width: none; }
.sub-nav::-webkit-scrollbar { display: none; }
.pill {
  background: var(--c-pill); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-sm); white-space: nowrap; text-transform: uppercase;
  transition: filter var(--transition);
}
.pill:hover { filter: brightness(1.2); }
.pill-blue { background: var(--c-blue); }

/* ---------- Hero ---------- */
.hero { position: relative; max-width: var(--container); margin: 0 auto; }
.hero img { width: 100%; max-height: 64vh; object-fit: cover; border-radius: 0; }
.hero-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.1) 100%);
  padding: 20px 16px;
}
.hero-overlay h1 { font-size: clamp(20px, 4.2vw, 40px); line-height: 1.25; margin-bottom: 8px; }
.hero-overlay h1 span { color: var(--c-red); }
.hero-tagline { color: #e2e8f0; font-size: clamp(13px, 2vw, 17px); max-width: 640px; margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 6px; }

/* ---------- Stitch sections ---------- */
.section-strip { margin-top: 6px; position: relative; max-width: var(--container); margin-left: auto; margin-right: auto; }
.section-strip img { width: 100%; max-height: 420px; object-fit: cover; }
.strip-label { background: var(--c-panel-3); text-align: center; padding: 9px 0; font-size: 14px; color: #d1d5db; text-transform: uppercase; letter-spacing: 1px; }
.strip-link { display: block; position: relative; }
.strip-link:hover .strip-label { color: #fff; }

.live-badge-stack { position: absolute; top: 8px; right: 8px; width: 118px; display: flex; flex-direction: column; gap: 4px; font-size: 10px; }
.live-pill { background: var(--c-red); color: #fff; font-weight: 700; padding: 3px 8px; border-radius: 4px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.live-dot { width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.live-counts { background: rgba(0,0,0,0.65); backdrop-filter: blur(3px); border-radius: 4px; overflow: hidden; }
.live-counts div { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px; border-bottom: 1px solid #4b5563; }
.live-counts div:last-child { border-bottom: none; }
.live-counts span.count { background: #fff; color: #000; border-radius: 3px; padding: 0 4px; font-weight: 700; }

.section-title-bar { background: var(--c-red); color: #fff; padding: 8px 14px; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }

.game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--c-border); margin: 6px auto 0; max-width: var(--container); }
.game-tile { background: var(--c-bg); text-align: center; transition: transform var(--transition); }
.game-tile:hover { transform: scale(1.02); }
.game-tile img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.game-tile .tile-name { padding: 8px 4px; font-size: 11px; font-weight: 700; color: #d1d5db; }
@media (max-width: 560px) { .game-grid { grid-template-columns: repeat(2, 1fr); } }

/* Short content blocks between banner strips */
.strip-content { max-width: var(--container); margin: 0 auto; padding: 26px 16px 30px; text-align: center; }
.strip-content h2, .strip-content h3 { font-size: clamp(19px, 2.6vw, 26px); margin-bottom: 10px; }
.strip-content h2 span, .strip-content h3 span { color: var(--c-red); }
.strip-content p { color: #cbd5e1; font-size: 15px; max-width: 820px; margin: 0 auto 10px; }
.strip-content .inline-link { font-weight: 700; }

/* ---------- Exchange match list (cricket / in-play pages) ---------- */
.page-toolbar {
  background: #212121; color: #fff; display: flex; align-items: center; justify-content: space-between;
  padding: 7px 12px; max-width: var(--container); margin: 6px auto 0;
}
.page-toolbar .toolbar-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; }
.toolbar-actions { display: flex; gap: 6px; }
.toolbar-btn {
  background: #333; border: 1px solid #555; color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
}
.toolbar-btn .dot { width: 8px; height: 8px; background: var(--c-red); border-radius: 50%; animation: pulse 1.2s ease-in-out infinite; }
.toolbar-btn.red { background: var(--c-red); border-color: #a00; }

.match-list { background: #fff; color: #111; max-width: var(--container); margin: 0 auto; }
.match-row { display: block; border-bottom: 1px solid #e5e7eb; padding: 9px 12px; transition: background var(--transition); }
.match-row:hover { background: #f3f4f6; }
.match-meta { display: flex; align-items: center; gap: 8px; font-size: 11px; margin-bottom: 3px; color: #6b7280; }
.badge-inplay { color: #79a613; font-weight: 700; }
.icon-box {
  width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 2px; font-size: 10px; font-weight: 700; color: #fff; margin-right: 3px;
}
.bg-p { background: #31a6d2; } .bg-f { background: #21ba45; } .bg-b { background: #2185d0; } .bg-m { background: #5d5d5d; }
.match-name { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #0088cc; }
.match-dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; flex: 0 0 auto; }
.match-dot.live { background: #22c55e; }
.match-list-footer { background: #f3f4f6; text-align: center; padding: 18px 12px; }
.match-list-footer p { color: #6b7280; font-size: 13px; margin-bottom: 10px; }

/* ---------- In-Play page (dark grouped list) ---------- */
.segment-bar {
  background: linear-gradient(180deg, #4a90e2 0%, #162b45 100%);
  display: flex; gap: 4px; padding: 5px 8px; max-width: var(--container); margin: 6px auto 0;
}
.segment-btn {
  flex: 1; text-align: center; padding: 8px 0; border-radius: 4px; border: none; cursor: pointer;
  color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.3);
}
.segment-btn.active { background: #2889ff; }
.tab-bar {
  background: rgba(255, 255, 255, 0.1); display: flex; gap: 4px; padding: 4px;
  max-width: var(--container); margin: 0 auto;
}
.tab-btn {
  flex: 1; text-align: center; padding: 7px 0; border-radius: 4px; border: none; cursor: pointer;
  color: #fff; font-weight: 700; font-size: 13px; background: transparent;
}
.tab-btn.active { background: #fff; color: #000; }

.sport-group { max-width: var(--container); margin: 0 auto 8px; }
.sport-group-header {
  background: #1a2b3c; border-bottom: 1px solid #374151;
  display: flex; justify-content: space-between; align-items: center; padding: 6px 12px;
}
.sport-group-header h2 { font-size: 14px; margin: 0; }
.dark-row { display: block; background: #1a1d24; border-bottom: 1px solid #111827; padding: 10px 12px; transition: background var(--transition); }
.dark-row:hover { background: #232733; }
.dark-row .match-meta { color: #9ca3af; margin-bottom: 4px; }
.dark-row .tag { font-size: 8px; padding: 1px 5px; border-radius: 3px; color: #fff; font-weight: 700; }
.tag-p { background: #2563eb; } .tag-f { background: #0891b2; } .tag-b { background: #4f46e5; } .tag-m { background: #5d5d5d; }
.dark-row .match-meta .time { margin-left: auto; }
.dark-row .row-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; }
.green-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: 0 0 auto; }

/* ---------- Casino page ---------- */
.casino-searchbar {
  background: #1a212e; padding: 10px 12px; max-width: var(--container); margin: 6px auto 0;
}
.search-row { display: flex; gap: 8px; margin-bottom: 10px; }
.search-input {
  flex: 1; display: flex; align-items: center; gap: 6px; background: #f3f4f6; border-radius: 6px; padding: 0 10px; height: 36px;
}
.search-input input { border: none; background: transparent; width: 100%; font-size: 13px; color: #111; outline: none; }
.search-btn { background: var(--c-red); border: none; border-radius: 6px; width: 40px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.provider-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.provider-tabs::-webkit-scrollbar { display: none; }
.provider-tab {
  background: #333b4a; color: #d1d5db; font-size: 12px; font-weight: 600; padding: 7px 14px;
  border-radius: 6px; border: none; white-space: nowrap; cursor: pointer;
}
.provider-tab.active { background: #fff; color: #000; }

.category-strip {
  display: grid; grid-template-columns: repeat(5, 1fr); background: #262f3f; border-bottom: 1px solid #374151;
  max-width: var(--container); margin: 0 auto;
}
.category-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px;
  border-right: 1px solid #374151; color: #9ca3af; font-size: 11px; text-align: center;
}
.category-item:last-child { border-right: none; }
.category-item.active { background: #343e50; color: #fff; }
.category-item .icon { width: 22px; height: 22px; }

.casino-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 12px;
  max-width: var(--container); margin: 0 auto;
}
@media (min-width: 761px) { .casino-grid { grid-template-columns: repeat(4, 1fr); } }
.casino-card { position: relative; border-radius: 8px; overflow: hidden; display: block; transition: transform var(--transition); }
.casino-card:hover { transform: scale(1.03); }
.casino-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.casino-card .card-label {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.65);
  padding: 4px 2px; font-size: 10px; font-weight: 700; text-transform: uppercase; text-align: center; color: #fff;
}
.casino-card-cta {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--c-panel-2); border: 1px dashed var(--c-blue); border-radius: 8px;
  color: #fff; font-weight: 700; font-size: 13px; text-align: center; padding: 10px; aspect-ratio: 4/3;
}
.casino-card-cta:hover { background: var(--c-panel); }

/* Breadcrumbs */
.breadcrumbs { max-width: var(--container); margin: 0 auto; padding: 10px 12px 0; font-size: 12px; color: var(--c-muted); }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: #fff; }

/* ---------- Content sections ---------- */
.content-section { padding: 36px 0; }
.content-section.alt { background: var(--c-panel); }
.content-section h2 { font-size: clamp(20px, 3vw, 30px); margin-bottom: 14px; line-height: 1.3; }
.content-section h3 { font-size: 18px; margin: 22px 0 8px; }
.content-section p { color: #cbd5e1; margin-bottom: 12px; font-size: 15px; }
.content-section ul, .content-section ol { color: #cbd5e1; margin: 0 0 12px 20px; font-size: 15px; }
.content-section li { margin-bottom: 6px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--c-panel-2); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 18px; transition: border-color var(--transition), transform var(--transition);
}
.feature-card:hover { border-color: var(--c-blue); transform: translateY(-3px); }
.feature-card .icon-wrap {
  width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(59, 130, 246, 0.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px; color: var(--c-blue);
}
.feature-card h3 { margin: 0 0 6px; font-size: 16px; }
.feature-card p { font-size: 13.5px; margin: 0; color: var(--c-muted); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 20px 0; counter-reset: step; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { background: var(--c-panel-2); border-radius: var(--radius); padding: 18px; position: relative; border-top: 3px solid var(--c-red); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--c-red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px;
}
.step-card h3 { margin: 0 0 6px; font-size: 15px; }
.step-card p { font-size: 13.5px; margin: 0; color: var(--c-muted); }

.data-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.data-table th, .data-table td { border: 1px solid var(--c-border); padding: 10px 12px; text-align: left; color: #cbd5e1; }
.data-table th { background: var(--c-panel-2); color: #fff; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; }
.data-table tr:nth-child(even) td { background: rgba(30, 41, 59, 0.45); }
.table-wrap { overflow-x: auto; }

.checklist { list-style: none; margin: 16px 0 !important; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: 10px !important; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; border-radius: 50%; background: var(--c-green); color: #fff;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}

.warning-box {
  background: rgba(230, 0, 0, 0.08); border: 1px solid rgba(230, 0, 0, 0.4); border-left: 4px solid var(--c-red);
  border-radius: var(--radius-sm); padding: 14px 16px; margin: 16px 0; font-size: 14px; color: #fecaca;
}

/* CTA band */
.cta-band {
  background: linear-gradient(to right, #0d1b2a, #1b263b);
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; margin: 26px 0 0;
}
.cta-band h2, .cta-band h3 { margin-bottom: 8px; }
.cta-band p { margin-bottom: 16px; }

/* FAQ */
.faq-item { background: var(--c-panel-2); border: 1px solid var(--c-border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 15px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--c-blue); transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid var(--c-blue); outline-offset: -3px; }
.faq-item .faq-body { padding: 0 16px 14px; color: var(--c-muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); border-radius: 22px 22px 0 0; margin-top: 40px; }
.footer-inner { padding: 30px 16px 20px; text-align: center; }
.footer-brand { font-size: 22px; font-weight: 900; letter-spacing: 1px; margin-bottom: 10px; }
.footer-brand .brand-laser { color: #111; }
.footer-about { font-size: 13px; color: #4b5563; max-width: 640px; margin: 0 auto 18px; }
.footer-cta { margin-bottom: 22px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 12px; }
.footer-links a { color: #1f2937; font-size: 13px; font-weight: 700; text-decoration: underline; }
.footer-links a:hover { color: var(--c-red); }
.footer-links-legal a { font-weight: 500; }
.footer-disclaimer { display: flex; gap: 12px; align-items: flex-start; max-width: 680px; margin: 6px auto 14px; text-align: left; }
.footer-disclaimer p { font-size: 11.5px; color: #6b7280; }
.badge-18 {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--c-red); color: var(--c-red);
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px;
}
.footer-copy { font-size: 12px; color: #6b7280; }

/* ---------- Floating + bottom nav ---------- */
.floating-stack { position: fixed; bottom: 96px; right: 14px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); color: #fff;
  transition: transform var(--transition);
}
.float-btn:hover { transform: scale(1.08); }
.float-top { background: #facc15; color: #000; }
.float-whatsapp { background: #25d366; }

.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; height: 64px; z-index: 95;
  background: var(--c-panel); border-top: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-around; padding: 0 8px;
}
.bottom-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 10px; color: var(--c-muted); font-weight: 600;
}
.bottom-nav-item .icon { width: 22px; height: 22px; }
.bottom-nav-item.active, .bottom-nav-item:hover { color: #fff; }
.bottom-nav-home { position: relative; width: 64px; display: flex; justify-content: center; }
.home-btn {
  position: absolute; top: -46px;
  width: 54px; height: 54px; background: var(--c-pill); border: 5px solid var(--c-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow);
}
.home-label { position: absolute; top: 12px; font-size: 10px; color: #fff; }

@media (min-width: 900px) {
  .bottom-nav { display: none; }
  body { padding-bottom: 0; }
  .floating-stack { bottom: 24px; }
}
