/* =====================================================
   demagojist.com — 1xBet Virtual İdman AZ
   Shared Stylesheet
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Oswald:wght@500;700&display=swap');

:root {
  --navy:    #0d1b2e;
  --navy2:   #152540;
  --yellow:  #f5a623;
  --bg:      #0a1628;
  --surface: #ffffff;
  --border:  #1e3a5f;
  --fg:      #ffffff;
  --fg2:     #8da8c0;
  --r:       6px;
  --r-lg:    14px;
}

/* ---- Reset ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--fg); line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { color: inherit; }

/* ---- Typography ------------------------------------ */
h1,h2,h3,h4,h5,h6 { font-family: 'Oswald', sans-serif; line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.65rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: .9rem; }

/* ---- Layout ---------------------------------------- */
.wrap        { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section      { padding: 4.5rem 0; }
.sec-dark    { background: var(--navy); }
.sec-darker  { background: var(--navy2); }

/* ---- Buttons --------------------------------------- */
.btn {
  display: inline-block;
  padding: .8rem 2.2rem;
  border-radius: var(--r);
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: .03em;
  text-decoration: none;
  text-align: center;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary         { background: var(--yellow); color: #000; }
.btn-primary:hover   { background: #d9900f; transform: translateY(-1px); }
.btn-outline         { background: transparent; border: 2px solid var(--yellow); color: var(--yellow); }
.btn-outline:hover   { background: var(--yellow); color: #000; }

/* ---- Section title --------------------------------- */
.sec-title        { text-align: center; margin-bottom: 3rem; }
.sec-title h2     { margin-bottom: .6rem; }
.sec-title p      { color: var(--fg2); max-width: 640px; margin: 0 auto; }

/* =========================================================
   HEADER
   ========================================================= */
.hdr {
  position: sticky; top: 0; z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid var(--border);
}
.hdr-inner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: .85rem 1.5rem; max-width: 1200px; margin: 0 auto;
}
.logo img      { height: 38px; width: auto; }
.hdr-nav       { display: flex; gap: 1.5rem; list-style: none; flex: 1; }
.hdr-nav a     { color: var(--fg2); text-decoration: none; font-size: .9rem; white-space: nowrap; transition: color .2s; }
.hdr-nav a:hover { color: var(--yellow); }
.hdr-cta {
  margin-left: auto;
  background: var(--yellow); color: #000;
  padding: .55rem 1.3rem;
  border-radius: var(--r);
  font-weight: 700; font-size: .9rem;
  text-decoration: none; white-space: nowrap;
  transition: background .2s;
}
.hdr-cta:hover { background: #d9900f; }
.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 92vh;
  background: url('hero-bg.png') center / cover no-repeat;
  position: relative;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.88) 0%, rgba(13,27,46,.75) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 4rem 0 3rem; }
.hero h1    { color: var(--fg); margin-bottom: 1.1rem; max-width: 780px; }
.hero p     { color: var(--fg2); font-size: 1.1rem; max-width: 580px; margin-bottom: 2.2rem; }
.hero-btns  { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.stat-bar   { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.stat-item  { text-align: center; }
.stat-num   { font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--yellow); font-weight: 700; }
.stat-lbl   { font-size: .78rem; color: var(--fg2); letter-spacing: .04em; text-transform: uppercase; }

/* =========================================================
   APK SECTION
   ========================================================= */
.apk-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3.5rem; align-items: center;
}
.apk-img img   { border-radius: var(--r-lg); box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.apk-content h3 { color: var(--yellow); margin: 2rem 0 1rem; }
.apk-content h3:first-child { margin-top: 0; }

.feature-list     { list-style: none; margin-bottom: 1.5rem; }
.feature-list li  { padding: .65rem 0; border-bottom: 1px solid var(--border); color: var(--fg2); font-size: .95rem; }
.feature-list li::before { content: "✓ "; color: var(--yellow); font-weight: 700; }

/* =========================================================
   STEPS / INSTALL
   ========================================================= */
.steps-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}
.step-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem;
}
.step-num { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--yellow); font-weight: 700; display: block; margin-bottom: .5rem; }
.step-card h4   { margin-bottom: .5rem; }
.step-card p    { color: var(--fg2); font-size: .9rem; margin: 0; }

/* =========================================================
   BONUS
   ========================================================= */
.bonus-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.bonus-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  transition: border-color .2s;
}
.bonus-card:hover { border-color: var(--yellow); }
.bonus-card h3    { color: var(--yellow); margin-bottom: .6rem; }
.bonus-card p     { color: var(--fg2); font-size: .93rem; margin: 0; }

/* =========================================================
   PAYMENTS
   ========================================================= */
.payment-grid { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.payment-badge {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--r); padding: .75rem 1.4rem;
  color: var(--fg); font-weight: 600; font-size: .9rem;
}

/* =========================================================
   SPORTS GRID
   ========================================================= */
.sports-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.sport-card {
  background: var(--navy2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem; text-align: center;
  transition: border-color .2s, transform .2s;
}
.sport-card:hover { border-color: var(--yellow); transform: translateY(-3px); }
.sport-icon  { font-size: 2.5rem; margin-bottom: .8rem; }
.sport-card h3 { color: var(--yellow); margin-bottom: .5rem; font-size: 1.1rem; }
.sport-card p  { color: var(--fg2); font-size: .88rem; margin: 0; }

/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.table-wrap  { overflow-x: auto; }
.comp-table  { width: 100%; border-collapse: collapse; min-width: 520px; }
.comp-table th {
  background: var(--navy2); color: var(--yellow);
  padding: 1rem; text-align: left; font-family: 'Oswald', sans-serif; font-size: 1rem;
  border-bottom: 2px solid var(--yellow);
}
.comp-table td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); color: var(--fg2); font-size: .93rem; }
.comp-table tr:nth-child(even) td { background: rgba(21,37,64,.4); }
.check-yes { color: #2ecc71; font-size: 1.1rem; }
.check-no  { color: #e74c3c; font-size: 1.1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list    { list-style: none; }
.faq-item    { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--fg);
  text-align: left; padding: 1.3rem 0; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-size: 1.1rem; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .faq-icon { color: var(--yellow); font-size: 1.5rem; flex-shrink: 0; transition: transform .3s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  color: var(--fg2); font-size: .95rem;
}
.faq-a.open { max-height: 600px; padding-bottom: 1.2rem; }
.faq-a p    { margin: 0; }

/* =========================================================
   SEO BLOCK
   ========================================================= */
.seo-block { background: var(--navy2); padding: 5rem 0; }
.seo-block h3 { color: var(--yellow); margin: 2.5rem 0 1rem; padding-top: .5rem; border-top: 1px solid var(--border); }
.seo-block h3:first-of-type { border-top: none; margin-top: 0; }
.seo-block h4 { color: var(--fg); margin: 1.8rem 0 .8rem; }
.seo-block p  { color: var(--fg2); font-size: .95rem; }
.seo-block ul { color: var(--fg2); padding-left: 1.5rem; margin-bottom: 1rem; font-size: .95rem; }
.seo-block li { margin-bottom: .4rem; }
.seo-block table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.seo-block table th { background: var(--navy); color: var(--yellow); padding: .8rem 1rem; text-align: left; font-family: 'Oswald', sans-serif; }
.seo-block table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border); color: var(--fg2); font-size: .93rem; }
.seo-block table tr:nth-child(even) td { background: rgba(10,22,40,.5); }

.affiliate-disclosure {
  background: var(--navy); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1rem 1.2rem; color: var(--fg2); font-size: .85rem; margin-bottom: 2.5rem;
}

.seo-cta-row   { text-align: center; margin: 2.5rem 0; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.seo-cta-btn {
  background: var(--yellow); color: #000;
  padding: .9rem 2.5rem; border-radius: var(--r);
  font-weight: 700; font-family: 'Oswald', sans-serif; font-size: 1rem;
  text-decoration: none; display: inline-block;
  transition: background .2s, transform .2s;
}
.seo-cta-btn:hover { background: #d9900f; transform: translateY(-1px); }

.seo-last-line {
  text-align: center; color: var(--fg2); font-size: .82rem;
  margin-top: 2.5rem; padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

/* =========================================================
   FOOTER
   ========================================================= */
.ftr { background: #060e1a; border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.ftr-inner  { display: flex; flex-direction: column; gap: 1.5rem; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.ftr-links  { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.ftr-links a { color: var(--fg2); text-decoration: none; font-size: .9rem; transition: color .2s; }
.ftr-links a:hover { color: var(--yellow); }
.ftr-info   { color: var(--fg2); font-size: .85rem; }
.ftr-info a { color: var(--fg2); }
.ftr-18 {
  margin-top: .7rem; padding: .9rem 1rem;
  background: rgba(245,166,35,.07); border: 1px solid rgba(245,166,35,.25);
  border-radius: var(--r); font-size: .8rem; line-height: 1.6;
}

/* =========================================================
   INNER PAGE (tech pages)
   ========================================================= */
.page-hero { background: var(--navy); padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.page-hero h1 { color: var(--yellow); }
.page-content { padding: 4rem 0; }
.page-content h2 { color: var(--yellow); margin: 2rem 0 .9rem; }
.page-content h3 { color: var(--fg); margin: 1.5rem 0 .7rem; }
.page-content p  { color: var(--fg2); font-size: .95rem; }
.page-content ul { color: var(--fg2); padding-left: 1.5rem; margin-bottom: 1rem; font-size: .95rem; }
.page-content li { margin-bottom: .4rem; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .apk-grid { grid-template-columns: 1fr; }
  .apk-img  { max-width: 360px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .hdr-nav {
    display: none; position: fixed;
    inset: 0; top: 65px;
    background: var(--navy2); flex-direction: column;
    padding: 2rem 1.5rem; z-index: 199;
    gap: 1rem;
  }
  .hdr-nav.open { display: flex; }
  .hdr-nav a    { font-size: 1.1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle   { display: flex; }
  .hero-btns    { flex-direction: column; align-items: flex-start; }
  .stat-bar     { gap: 1.5rem; }
  section       { padding: 3rem 0; }
  .steps-grid   { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .steps-grid   { grid-template-columns: 1fr; }
  .stat-bar     { justify-content: center; }
  .hero-btns .btn { width: 100%; text-align: center; }
}
