/* ============================================
   Aviamasters India — Crash Game Landing
   Colors: bg #FFFFFF | header/menu #FFCC2A | btn #17161D
   ============================================ */

:root {
  --bg: #FFFFFF;
  --accent: #FFCC2A;
  --accent-dark: #f0b800;
  --dark: #17161D;
  --dark-soft: #25242e;
  --text: #1c1b22;
  --text-soft: #4a4955;
  --sky: #1a2b6b;
  --sky-deep: #0e1a45;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(23, 22, 29, .12);
  --shadow-soft: 0 4px 16px rgba(23, 22, 29, .08);
  --maxw: 1180px;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

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

/* ============ HEADER ============ */
.site-header {
  background: var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(23, 22, 29, .15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background .2s, transform .2s;
}
.main-nav a:hover { background: rgba(23, 22, 29, .12); transform: translateY(-1px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dark);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  box-shadow: 0 4px 14px rgba(23, 22, 29, .3);
  letter-spacing: .3px;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(23, 22, 29, .4); background: var(--dark-soft); }
.btn-lg { font-size: 18px; padding: 16px 40px; border-radius: 14px; }
.btn-accent { background: var(--accent); color: var(--dark) !important; box-shadow: 0 4px 14px rgba(255, 204, 42, .5); }
.btn-accent:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  background: var(--dark);
  border: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2.5px; background: #fff; border-radius: 2px; transition: .3s; }

/* ============ HERO ============ */
.hero {
  background: linear-gradient(160deg, var(--sky) 0%, var(--sky-deep) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(255,204,42,.18), transparent 40%),
                    radial-gradient(circle at 15% 80%, rgba(255,204,42,.10), transparent 35%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  text-shadow: 0 3px 12px rgba(0,0,0,.3);
}
.hero h1 .hl { color: var(--accent); }
.hero p.lead {
  font-size: 19px;
  color: #d8e0ff;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap;
}
.hero-badge { text-align: left; }
.hero-badge b { display: block; font-size: 26px; color: var(--accent); font-weight: 800; }
.hero-badge span { font-size: 13px; color: #b9c3e8; }

.hero-visual {
  position: relative;
  text-align: center;
}
.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  border: 3px solid rgba(255,204,42,.35);
}
.hero-plane {
  position: absolute;
  top: -42px; right: -18px;
  width: 150px !important;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.4));
  animation: floaty 4s ease-in-out infinite;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(-3deg);} 50%{transform:translateY(-16px) rotate(2deg);} }

/* ============ CASINO TOP-3 ============ */
.casino-strip {
  background: var(--dark);
  padding: 40px 0;
  color: #fff;
}
.casino-strip h2 {
  text-align: center;
  font-size: 26px;
  margin-bottom: 8px;
  color: #fff;
}
.casino-strip .sub {
  text-align: center; color: #b6b6c2; font-size: 15px; margin-bottom: 28px;
}
.casino-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.casino-card {
  background: linear-gradient(180deg, #fff 0%, #fff7df 100%);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.casino-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.3); border-color: var(--accent); }
.casino-rank {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--dark);
  font-weight: 800; font-size: 13px;
  padding: 4px 16px; border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
}
.casino-logo {
  height: 56px; display: flex; align-items: center; justify-content: center; margin: 14px 0 10px;
  background: var(--dark); border-radius: 12px; padding: 8px 22px; min-width: 150px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.casino-logo img { max-height: 40px; width: auto; display: block; }
.casino-logo--light { background: #fff; box-shadow: inset 0 0 0 1px rgba(23,22,29,.10); }
.casino-feat { color: var(--text-soft); font-size: 14px; margin-bottom: 6px; min-height: 42px; }
.casino-bonus { font-weight: 800; color: var(--dark); font-size: 17px; margin-bottom: 16px; }
.casino-bonus span { color: #e0a800; }
.casino-card .btn { width: 100%; }
.casino-stars { color: var(--accent-dark); font-size: 15px; margin-bottom: 8px; letter-spacing: 2px; }

/* ============ SECTIONS ============ */
section { padding: 60px 0; }
.section-alt { background: #fafafc; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.sec-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.sec-head h2 .hl { color: var(--accent-dark); }
.sec-head p { color: var(--text-soft); font-size: 17px; }

h2 { color: var(--dark); }
h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
  line-height: 1.3;
}
h4 { font-size: 19px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }

.prose p { margin-bottom: 18px; color: var(--text-soft); }
.prose ul, .prose ol { margin: 0 0 20px 22px; color: var(--text-soft); }
.prose li { margin-bottom: 10px; }
.prose strong { color: var(--text); }
.prose a { color: #c79400; font-weight: 600; text-decoration: underline; }

/* split content + image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin: 40px 0;
}
.split.reverse .split-img { order: -1; }
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}
.split-text h3:first-child { margin-top: 0; }

.figure { margin: 30px 0; text-align: center; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 0 auto; }
.figure figcaption { font-size: 14px; color: #8a8995; margin-top: 10px; font-style: italic; }

/* feature cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 36px 0;
}
.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-icon {
  width: 56px; height: 56px;
  background: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 16px;
}
.feature-card h4 { margin-top: 0; }
.feature-card p { color: var(--text-soft); font-size: 15px; margin: 0; }

/* spec table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.spec-table th, .spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid #f0f0f3;
  font-size: 15px;
}
.spec-table th { background: var(--dark); color: #fff; font-weight: 600; width: 45%; }
.spec-table tr:last-child td, .spec-table tr:last-child th { border-bottom: none; }
.spec-table td { color: var(--text-soft); font-weight: 600; }

/* steps */
.steps { counter-reset: step; margin: 30px 0; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: box-shadow .25s;
}
.step:hover { box-shadow: var(--shadow-soft); }
.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { margin: 0 0 6px; }
.step p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* video */
.video-wrap {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* demo preview thumbnail (replaces video embed) */
.demo-preview {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.demo-preview img { width: 100%; display: block; transition: transform .4s ease; }
.demo-preview:hover img { transform: scale(1.04); }
.demo-preview::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,26,69,.15), rgba(14,26,69,.45));
}
.demo-preview-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  padding-left: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
  z-index: 2;
  transition: transform .25s ease, background .25s ease;
}
.demo-preview:hover .demo-preview-play { transform: translate(-50%, -50%) scale(1.1); background: var(--accent-dark); }
.demo-preview-label {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .4px;
  padding: 9px 24px;
  border-radius: 30px;
  z-index: 2;
  white-space: nowrap;
}

/* highlight box */
.callout {
  background: linear-gradient(135deg, #fff7df, #fff);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 28px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--dark); }

/* E-E-A-T author / methodology box */
.review-meta {
  margin-top: 40px;
  background: #fafafa;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 26px 28px;
}
.review-meta h3 { margin-bottom: 14px; color: var(--dark); }
.review-meta p { margin-bottom: 14px; color: var(--text-soft); line-height: 1.7; }
.review-meta p:last-child { margin-bottom: 0; }
.review-meta strong { color: var(--text); }
.review-stamp {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 14px; font-weight: 600; color: var(--dark);
  border-top: 1px solid #ececec; padding-top: 14px; margin-top: 4px;
}
.review-stamp time { color: var(--text-soft); font-weight: 500; }

/* Breadcrumb */
.breadcrumb { background: #fafafa; border-bottom: 1px solid #ececec; padding: 12px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; font-size: 14px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; color: var(--text-soft); }
.breadcrumb li:not(:last-child)::after { content: "›"; color: #bbb; }
.breadcrumb a { color: #c79400; font-weight: 600; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--dark); font-weight: 600; }

.crypto-badges { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.crypto-pill {
  background: var(--dark); color: #fff;
  padding: 8px 16px; border-radius: 20px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}

/* award */
.award-row {
  display: flex; align-items: center; gap: 28px;
  background: linear-gradient(135deg, var(--dark), var(--dark-soft));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}
.award-row img.trophy { width: 90px; height: auto; }
.award-row .award-txt { flex: 1; min-width: 240px; }
.award-row h3 { color: #fff; margin: 0 0 6px; }
.award-row p { color: #c9c9d4; margin: 0; font-size: 15px; }
.award-row img.sigma { height: 60px; width: auto; opacity: .9; }

/* FAQ */
.faq-item {
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font);
}
.faq-q::after { content: "+"; font-size: 26px; color: var(--accent-dark); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--text-soft); font-size: 15px; }
.faq-item.open .faq-a { max-height: 600px; }

/* TOC */
.toc {
  background: #fafafc;
  border: 1px solid #ececf0;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 40px;
}
.toc h2 { font-size: 20px; margin-bottom: 14px; }
.toc ol { margin-left: 20px; columns: 2; column-gap: 36px; }
.toc li { margin-bottom: 8px; }
.toc a { color: #c79400; font-weight: 600; }
.toc a:hover { text-decoration: underline; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 48px 30px;
  margin: 50px 0;
}
.cta-band h2 { color: var(--dark); font-size: clamp(24px, 4vw, 34px); margin-bottom: 12px; }
.cta-band p { color: #5a4a00; font-size: 17px; margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ============ DEMO PAGE ============ */
.demo-stage {
  background: linear-gradient(160deg, var(--sky), var(--sky-deep));
  padding: 50px 0 60px;
}
.demo-frame {
  max-width: 980px;
  margin: 0 auto;
  background: #0b1539;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  border: 3px solid rgba(255,204,42,.4);
}
.demo-frame .ratio {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.demo-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-frame .demo-preview { max-width: 100%; border-radius: 14px; }
.demo-note { text-align: center; color: #c9d3ff; margin-top: 18px; font-size: 14px; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--dark);
  color: #b6b6c2;
  padding: 50px 0 24px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-grid a { color: #b6b6c2; display: block; margin-bottom: 8px; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-logo img { height: 44px; margin-bottom: 14px; }
.footer-disclaimer {
  background: rgba(255,255,255,.05);
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}
.age-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #c0392b; color: #fff;
  font-weight: 700; padding: 4px 12px; border-radius: 20px; font-size: 13px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .split.reverse .split-img { order: 0; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--accent);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    transform: translateY(-150%);
    transition: transform .35s ease;
    box-shadow: 0 12px 24px rgba(0,0,0,.2);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 14px; border-radius: 8px; }
  .main-nav .btn { margin-top: 8px; }
  .nav-toggle { display: flex; }
  .casino-cards { grid-template-columns: 1fr; gap: 26px; }
  .cards-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .award-row { padding: 26px 22px; }
  section { padding: 44px 0; }
  .hero { padding: 44px 0 52px; }
  .hero-plane { width: 100px !important; top: -26px; right: 6px; }
}
