/* =====================================================
   AviaMasters 2 India - Main Stylesheet
   Domain: aviamaster2.in
   Colors: #FFD82C | #C20B11 | #0C0C56 | #30499F
   ===================================================== */

:root {
  --gold: #FFD82C;
  --red: #C20B11;
  --navy: #0C0C56;
  --blue: #30499F;
  --btn-red: #FF2A28;
  --btn-blue: #3EAAFF;
  --white: #ffffff;
  --light-gray: #f0f4ff;
  --dark-bg: #070730;
  --card-bg: #0d1150;
  --border-glow: rgba(255, 216, 44, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--dark-bg);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--gold); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); color: var(--gold); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); color: var(--btn-blue); }
h4 { font-size: 1.15rem; color: var(--gold); }

p { margin-bottom: 1rem; color: #c8d4f5; font-size: 1rem; }

a { color: var(--btn-blue); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

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

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--navy) 0%, #0a0a45 100%);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(255, 216, 44, 0.2);
  padding: 0 1rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.header-logo span {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
  display: none;
}

/* ---- NAV ---- */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.main-nav ul li a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c8d4f5;
  border-radius: 6px;
  transition: all 0.3s;
  white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: rgba(255, 216, 44, 0.15);
  color: var(--gold);
}

.header-cta {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--btn-red) 0%, #c41f1f 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 42, 40, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4a48 0%, var(--btn-red) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 42, 40, 0.6);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--btn-blue) 0%, #2a8adf 100%);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(62, 170, 255, 0.4);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5bbfff 0%, var(--btn-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 170, 255, 0.6);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #e6c020 100%);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(255, 216, 44, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffe55a 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 44, 0.6);
  color: var(--navy);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

/* ---- HERO SECTION ---- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, #0a0a45 50%, #0d1577 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-banner.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7,7,48,0.85) 0%, rgba(12,12,86,0.7) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 216, 44, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(255, 216, 44, 0.3);
}

.hero h1 span { color: #3EAAFF; }

.hero-sub {
  font-size: 1.15rem;
  color: #c8d4f5;
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-item .stat-label {
  font-size: 0.78rem;
  color: #8a9bc4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- SECTIONS ---- */
.section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header p {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.section-tag {
  display: inline-block;
  background: rgba(62, 170, 255, 0.15);
  border: 1px solid var(--btn-blue);
  color: var(--btn-blue);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bg-dark { background: rgba(10, 10, 60, 0.6); }
.full-width { max-width: 100%; padding-left: 0; padding-right: 0; }

.section-padded {
  padding: 4rem 1.5rem;
}

/* ---- CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 216, 44, 0.15);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(255, 216, 44, 0.15);
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ---- FEATURE BLOCK ---- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-img {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 216, 44, 0.2);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #c8d4f5;
}

.feature-list li:last-child { border: none; }

.feature-list li::before {
  content: '✈';
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---- STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid rgba(48, 73, 159, 0.4);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--btn-blue);
  box-shadow: 0 8px 30px rgba(62, 170, 255, 0.15);
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--btn-red), #c41f1f);
  color: white;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(255, 42, 40, 0.4);
}

/* ---- TABLE ---- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.compare-table th {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--gold);
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 1rem;
}

.compare-table td {
  padding: 0.9rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #c8d4f5;
  font-size: 0.95rem;
}

.compare-table tr:hover td {
  background: rgba(48, 73, 159, 0.2);
}

.compare-table .check { color: #4ade80; }
.compare-table .cross { color: #f87171; }

/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 216, 44, 0.15);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 216, 44, 0.4);
}

.faq-question {
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card-bg);
  font-weight: 600;
  color: var(--white);
  font-size: 0.98rem;
  transition: background 0.3s;
}

.faq-question:hover { background: rgba(48, 73, 159, 0.3); }

.faq-question.open { color: var(--gold); }

.faq-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--gold);
}

.faq-question.open .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  display: none;
  padding: 1.1rem 1.5rem;
  background: rgba(13, 17, 80, 0.8);
  color: #c8d4f5;
  line-height: 1.7;
}

.faq-answer.show { display: block; }

/* ---- GAME IFRAME ---- */
.game-frame-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(255, 216, 44, 0.3);
  background: #000;
  min-height: 400px;
}

.game-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---- PROMO BANNER ---- */
.promo-banner {
  background: linear-gradient(135deg, var(--red) 0%, #8b0808 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,216,44,0.1) 0%, transparent 60%);
  animation: pulse-glow 3s infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

.promo-code {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 2px dashed var(--gold);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  padding: 0.5rem 2rem;
  border-radius: 8px;
  margin: 1rem 0;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
}

.promo-code:hover {
  background: rgba(255, 216, 44, 0.2);
  transform: scale(1.05);
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.85rem;
  color: #8a9bc4;
}

.breadcrumbs a { color: #8a9bc4; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { color: var(--gold); }

/* ---- PAGE HERO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0a0a45 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  border-bottom: 2px solid rgba(255, 216, 44, 0.2);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.page-hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }

/* ---- BADGES / TAGS ---- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-gold { background: rgba(255, 216, 44, 0.2); color: var(--gold); border: 1px solid var(--gold); }
.badge-red { background: rgba(255, 42, 40, 0.2); color: #ff8a8a; border: 1px solid #ff4a48; }
.badge-blue { background: rgba(62, 170, 255, 0.2); color: var(--btn-blue); border: 1px solid var(--btn-blue); }
.badge-green { background: rgba(74, 222, 128, 0.2); color: #4ade80; border: 1px solid #4ade80; }

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  margin: 2rem 0;
}

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--navy) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(255, 216, 44, 0.2);
  border-bottom: 1px solid rgba(255, 216, 44, 0.2);
}

/* ---- FOOTER ---- */
.site-footer {
  background: #040420;
  border-top: 2px solid rgba(255, 216, 44, 0.2);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo img { height: 45px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: #6272a4; line-height: 1.6; }

.footer-col h4 { color: var(--gold); margin-bottom: 1rem; font-size: 0.95rem; }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #6272a4; font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #4a5578;
}

.age-badge {
  background: var(--red);
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}

/* ---- MOBILE NAV OVERLAY ---- */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 48, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
}

.mobile-nav.open { display: flex; }

.mobile-nav ul { list-style: none; text-align: center; width: 100%; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav ul li a {
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #c8d4f5;
  transition: color 0.3s;
}
.mobile-nav ul li a:hover { color: var(--gold); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 2rem;
  cursor: pointer;
}

/* ---- TICKER ---- */
.win-ticker {
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--navy));
  border-top: 1px solid rgba(255, 216, 44, 0.3);
  border-bottom: 1px solid rgba(255, 216, 44, 0.3);
  overflow: hidden;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-size: 0.88rem;
  color: #c8d4f5;
}

.ticker-item strong { color: var(--gold); }
.ticker-item .win-amount { color: #4ade80; font-weight: 700; }

/* ---- HIGHLIGHTS ---- */
.highlight-yellow { color: var(--gold); font-weight: 700; }
.highlight-blue { color: var(--btn-blue); font-weight: 700; }
.highlight-red { color: #ff8a8a; font-weight: 700; }

/* ---- NO-INDEX LINK ---- */
a[rel="noindex"] { /* partner links */ }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse { direction: ltr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-cta .btn-secondary { display: none; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .hero { min-height: 60vh; }
  .hero-content { padding: 2.5rem 1rem; }
  .hero-stats { gap: 1rem; }
  .stat-item .stat-num { font-size: 1.4rem; }

  .section { padding: 2.5rem 1rem; }
  .section-padded { padding: 2.5rem 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .promo-banner { padding: 1.5rem 1rem; }
  .promo-code { font-size: 1.2rem; }

  .game-frame-wrap { aspect-ratio: 4/3; min-height: 300px; }

  .compare-table { font-size: 0.85rem; }
  .compare-table th, .compare-table td { padding: 0.6rem 0.8rem; }

  .cta-section { padding: 2.5rem 1rem; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { width: 100%; text-align: center; }
  .header-cta .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
}

/* ---- ANIMATIONS ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-anim { animation: float 4s ease-in-out infinite; }

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 216, 44, 0.3); }
  50% { box-shadow: 0 0 30px rgba(255, 216, 44, 0.7); }
}

.glow { animation: glow-pulse 2.5s ease-in-out infinite; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
