/*
  HEALTH MITAN Entertainment Cricket – Shared Stylesheet
*/

:root {
  --bg0: #070a14;
  --bg1: #0b1020;
  --panel: #0f1a33cc;
  --panel2: #0b152ecc;
  --stroke: #1a2b55;
  --text: #eaf0ff;
  --muted: #b8c4e6;
  --muted2: #93a3cf;
  --brand: #59d3ff;
  --brand2: #7c5cff;
  --good: #2ee59d;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body {
  background: linear-gradient(180deg, var(--bg0), var(--bg1) 40%, #050814);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), 92vw); margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.05rem; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 25, 50, 0.35); color: var(--text);
  cursor: pointer; transition: all 0.12s ease;
}
.btn.primary { background: linear-gradient(90deg, var(--brand), var(--brand2)); color: #fff; font-weight: 600; }
.btn.ghost { background: rgba(255, 255, 255, 0.05); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn.small { padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 10, 20, 0.8); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; gap: 0.75rem; align-items: center; }
.logo { width: 42px; height: 42px; border-radius: 14px; padding: 6px; border: 1px solid rgba(255,255,255,0.1); }
.brand-title { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title b { font-size: 1.1rem; }
.brand-title span { font-size: 0.75rem; color: var(--muted2); }

.navlinks { display: flex; gap: 1.1rem; align-items: center; }
.navlinks a { color: var(--muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.navlinks a:hover { color: var(--text); }
.navlinks a.active { color: var(--brand); }

.nav-cta { display: flex; gap: 0.75rem; align-items: center; }

/* Dropdown */
.navdrop { position: relative; }
.navdrop-btn {
  background: none; border: none; color: var(--muted);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  display: flex; align-items: center; gap: 4px; padding: 0;
}
.navdrop-menu {
  position: absolute; top: 100%; right: 0; margin-top: 10px;
  background: var(--bg1); border: 1px solid var(--stroke);
  border-radius: 12px; padding: 8px; min-width: 200px;
  display: none; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow);
}
.navdrop.open .navdrop-menu { display: flex; }
.navdrop-menu a {
  padding: 10px 14px; border-radius: 8px; font-size: 0.9rem;
  color: var(--muted); transition: all 0.2s;
}
.navdrop-menu a:hover { background: rgba(255,255,255,0.05); color: var(--text); }

/* Mobile Toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Top Strip */
.top-strip { background: rgba(89, 211, 255, 0.05); border-bottom: 1px solid rgba(89, 211, 255, 0.1); padding: 8px 0; }
.strip-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.strip-left { display: flex; gap: 15px; align-items: center; }
.strip-badge { display: flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; }
.live-dot { width: 8px; height: 8px; background: var(--good); border-radius: 50%; box-shadow: 0 0 10px var(--good); }
.strip-text { color: var(--muted2); }
.strip-link { color: var(--brand); font-weight: 600; }

/* Hero Section */
.hero { padding: 80px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(89, 211, 255, 0.1); border: 1px solid rgba(89, 211, 255, 0.2);
  padding: 6px 14px; border-radius: 100px; color: var(--brand);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 24px;
}
.pill-dot { width: 6px; height: 6px; background: var(--brand); border-radius: 50%; }
.hero-title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin: 0 0 24px; }
.grad { background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; max-width: 600px; }
.hero-cta { display: flex; gap: 16px; margin-bottom: 48px; }

.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metric { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); padding: 20px; border-radius: 16px; }
.metric-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.metric-label { font-size: 0.8rem; color: var(--muted2); text-transform: uppercase; letter-spacing: 1px; }
.metric-chip { font-size: 0.75rem; padding: 4px 8px; border-radius: 6px; font-weight: 700; }
.metric-chip.ok { background: rgba(46, 229, 157, 0.1); color: var(--good); }
.metric-chip.warn { background: rgba(255, 124, 92, 0.1); color: #ff7c5c; }
.metric-val { font-size: 1.25rem; font-weight: 700; margin-bottom: 4px; }
.metric-sub { font-size: 0.85rem; color: var(--muted2); }

.hero-card {
  background: var(--panel); border: 1px solid var(--stroke);
  border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-visual figcaption { padding: 24px; background: rgba(0,0,0,0.3); }
.cap-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.cap-sub { font-size: 0.9rem; color: var(--muted); }
.card-foot { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.03); }
.foot-title { font-weight: 700; font-size: 1rem; }
.foot-sub { font-size: 0.8rem; color: var(--muted2); }

/* Trust Section */
.trust { padding: 60px 0; background: rgba(255,255,255,0.02); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.trust-card { display: flex; gap: 20px; align-items: flex-start; }
.icon-ring {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--brand); display: flex; align-items: center;
  justify-content: center; font-weight: 800; color: var(--brand); font-size: 1.1rem;
}
.trust-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.trust-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Section Generic */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: 2.5rem; margin: 0 0 16px; }
.section-head p { font-size: 1.1rem; color: var(--muted); max-width: 600px; margin: 0 auto; }

/* Learn Grid */
.learn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.learn-card {
  background: var(--panel2); border: 1px solid var(--stroke);
  border-radius: 20px; overflow: hidden; transition: transform 0.3s;
}
.learn-card:hover { transform: translateY(-10px); border-color: var(--brand); }
.learn-media img { width: 100%; height: 200px; object-fit: cover; }
.learn-body { padding: 24px; }
.learn-body h3 { margin: 0 0 12px; }
.learn-body p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { background: rgba(255,255,255,0.03); padding: 24px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.06); }
.step-top { margin-bottom: 16px; }
.step-no {
  display: inline-block; width: 32px; height: 32px; background: var(--brand);
  color: #000; border-radius: 50%; text-align: center; line-height: 32px;
  font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0; font-size: 1.1rem; }
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto 40px; display: flex; flex-direction: column; gap: 16px; }
.faq-item { background: var(--panel2); border: 1px solid var(--stroke); border-radius: 16px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '▾'; color: var(--brand); }
.faq-item[open] summary::after { content: '▴'; }
.faq-body { padding: 0 24px 20px; color: var(--muted); line-height: 1.6; }
.center-row { display: flex; justify-content: center; gap: 16px; }

/* CTA Section */
.cta { padding: 60px 0; }
.cta-inner {
  background: linear-gradient(90deg, #1a2b55, #0b152e);
  padding: 60px; border-radius: 32px; display: flex;
  justify-content: space-between; align-items: center; gap: 40px;
  border: 1px solid rgba(255,255,255,0.1);
}
.cta-inner h2 { font-size: 2.5rem; margin: 0 0 12px; }
.cta-inner p { font-size: 1.1rem; color: var(--muted); margin: 0; }
.cta-actions { display: flex; gap: 16px; flex-shrink: 0; }

/* Footer Styling */
.site-footer {
  background: #070a14;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 60px;
}

.footer-grid-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Left Column */
.footer-brand-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.footer-logo { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.1); padding: 6px; }
.footer-brand-title { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand-title b { font-size: 1.25rem; }
.footer-brand-title span { font-size: 0.8rem; color: var(--muted2); }

.footer-important-note {
  font-size: 0.95rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-company-details h4 { margin-bottom: 20px; color: var(--text); font-size: 1.1rem; }
.company-name-highlight { font-weight: 700; margin-bottom: 12px; color: var(--brand); }
.company-id-line { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.company-id-line a { color: var(--brand); }
.company-address-block { font-size: 0.9rem; color: var(--muted2); margin-top: 16px; line-height: 1.6; }

/* Middle & Right Columns */
.footer-nav-col h4 { margin-bottom: 24px; color: var(--text); font-size: 1.1rem; }
.boxed-links { display: flex; flex-direction: column; gap: 12px; }
.boxed-link {
  display: block; padding: 16px 20px;
  background: rgba(15, 26, 51, 0.4);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; color: var(--muted);
  transition: all 0.2s;
}
.boxed-link:hover { border-color: var(--brand); color: var(--text); transform: translateX(4px); background: rgba(89, 211, 255, 0.05); }

/* Bottom Disclaimers */
.footer-disclaimer-boxes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 60px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.disclaimer-box {
  background: rgba(15, 26, 51, 0.6);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px; padding: 28px;
}
.disclaimer-box h5 { color: var(--brand); margin: 0 0 12px; font-size: 1.1rem; }
.disclaimer-box p { color: var(--muted2); font-size: 0.95rem; margin: 0; line-height: 1.6; }

.footer-bottom {
  text-align: center; color: var(--muted2); font-size: 0.9rem;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-mini { margin-top: 8px; font-size: 0.8rem; opacity: 0.7; }

/* Blog Page Specifics */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; }
.page-hero-copy h1 { font-size: 3rem; margin: 0 0 16px; }
.page-hero-media img { width: 100%; border-radius: 24px; box-shadow: var(--shadow); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: var(--panel2); border: 1px solid var(--stroke); border-radius: 20px; overflow: hidden; transition: all 0.3s; }
.post-card:hover { transform: translateY(-8px); border-color: var(--brand); }
.post-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-body { padding: 24px; }
.post-meta { font-size: 0.8rem; color: var(--brand); font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.post-body h3 { margin: 0 0 12px; font-size: 1.25rem; line-height: 1.3; }
.post-body p { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-link { color: var(--brand); font-weight: 700; font-size: 0.9rem; }

/* Content Card & Blog Post Styles */
.content-card { background: var(--panel2); border: 1px solid var(--stroke); padding: 40px; border-radius: 24px; margin-bottom: 30px; }
.content-card p { margin-bottom: 20px; font-size: 1.1rem; color: var(--muted); }
.content-card p:last-child { margin-bottom: 0; }

.post-hero { text-align: center; margin-bottom: 40px; }
.post-kicker { font-size: 0.85rem; color: var(--brand); font-weight: 700; text-transform: uppercase; margin-bottom: 16px; letter-spacing: 1px; }
.post-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; margin-bottom: 20px; }
.post-hero-img { margin-top: 32px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.post-hero-img img { width: 100%; height: auto; display: block; }

.prose { line-height: 1.7; font-size: 1.1rem; color: var(--muted); }
.prose h2 { color: var(--text); margin: 40px 0 20px; font-size: 1.75rem; }
.prose p { margin-bottom: 20px; }
.prose ul { margin-bottom: 24px; padding-left: 20px; }
.prose li { margin-bottom: 12px; }
.prose b { color: var(--text); }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .footer-grid-main, .learn-grid, .post-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .cta-inner { flex-direction: column; text-align: center; padding: 40px; }
  .page-hero { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .page-hero-copy h1 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .navlinks, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  
  .hero-grid, .footer-grid-main, .learn-grid, .post-grid, .hero-metrics, .trust-grid, .footer-disclaimer-boxes, .page-hero, .steps { grid-template-columns: 1fr; }
  
  .hero { padding: 40px 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-sub { font-size: 1.1rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; }

  .navlinks.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg1); flex-direction: column; padding: 20px;
    border-bottom: 1px solid var(--stroke);
    z-index: 1000;
  }
  
  .content-card, .auth-card { padding: 24px; }
  .cta-inner h2 { font-size: 2rem; }
  .section-head h2 { font-size: 2rem; }
  
  .footer-disclaimer-boxes { grid-template-columns: 1fr; }
  .post-hero h1 { font-size: 2rem; }
  .prose { font-size: 1rem; }
}

/* Auth Specific Styles */
.container.narrow { max-width: 480px; margin: 0 auto; }
.auth-card { background: var(--panel2); border: 1px solid var(--stroke); padding: 40px; border-radius: 24px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 12px; font-size: 2rem; }
.form { display: grid; gap: 20px; margin-top: 30px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.field input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.05); color: var(--text); font-size: 1rem; }
.field input:focus { border-color: var(--brand); outline: none; background: rgba(255,255,255,0.08); }
.btn.full { width: 100%; }
.form-row { margin-top: 10px; }
.fineprint { font-size: 0.8rem; color: var(--muted2); text-align: center; margin-top: 20px; line-height: 1.5; }
.fineprint a { color: var(--brand); text-decoration: underline; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 4px; }
.check b { color: var(--text); }
