/* ==========================================================================
   Pocket Option 40-page site — Brand Style (Dark Theme)
   Шрифт: Inter | Primary: #0099FA | BG: #0B0E11
   ========================================================================== */

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

:root {
  --po-primary: #0099FA;
  --po-primary-hover: #0080D4;
  --po-primary-light: rgba(0, 153, 250, 0.12);
  --po-green: #0ECB81;
  --po-green-light: rgba(14, 203, 129, 0.12);
  --po-red: #F6465D;
  --po-red-light: rgba(246, 70, 93, 0.12);
  --po-yellow: #F0B90B;
  --po-bg-dark: #0B0E11;
  --po-bg-card: #1E2329;
  --po-bg-card-hover: #252930;
  --po-bg-input: #2B3139;
  --po-bg-section: #14171C;
  --po-border: #2B3139;
  --po-text: #EAECEF;
  --po-text-secondary: #848E9C;
  --po-text-muted: #5E6673;
  --po-white: #FFFFFF;
  --po-radius: 8px;
  --po-radius-lg: 12px;
  --po-radius-xl: 16px;
  --po-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --po-transition: all 0.25s ease;
  --po-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --po-container: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--po-font);
  background: var(--po-bg-dark);
  color: var(--po-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--po-primary); text-decoration: none; transition: var(--po-transition); }
a:hover { color: var(--po-primary-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--po-white); font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 16px; }
.text-secondary { color: var(--po-text-secondary); }
.text-primary { color: var(--po-primary); }
.text-green { color: var(--po-green); }
.text-center { text-align: center; }
.container { max-width: var(--po-container); margin: 0 auto; padding: 0 20px; }

/* ========== HEADER + DROPDOWN NAV ========== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 14, 17, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--po-border);
}
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.3rem; font-weight: 800; color: var(--po-white); text-decoration: none; flex-shrink: 0;
}
.logo img { width: 32px; height: 25px; }
.logo span { color: var(--po-primary); }

/* Nav with dropdowns */
.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  color: var(--po-text-secondary); font-size: 0.9rem; font-weight: 500;
  padding: 20px 14px; display: flex; align-items: center; gap: 5px;
  transition: var(--po-transition);
}
.nav-item > a:hover, .nav-item:hover > a { color: var(--po-white); }
.nav-item > a .arrow { font-size: 0.6rem; transition: var(--po-transition); }
.nav-item:hover > a .arrow { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: var(--po-bg-card); border: 1px solid var(--po-border);
  border-radius: var(--po-radius-lg); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 100;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 20px; color: var(--po-text-secondary);
  font-size: 0.88rem; font-weight: 400; transition: var(--po-transition);
}
.dropdown a:hover { color: var(--po-white); background: var(--po-bg-card-hover); }

.header-actions { display: flex; align-items: center; gap: 12px; }
/* Language switcher — dropdown for 20+ languages */
.lang-switcher { position: relative; margin-right: 4px; }
.lang-current { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 4px; cursor: pointer; color: var(--po-text-secondary); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: var(--po-transition); background: transparent; border: 1px solid var(--po-border); }
.lang-current:hover { color: var(--po-white); border-color: var(--po-text-muted); }
.lang-current .lang-arrow { font-size: 0.6rem; margin-left: 2px; transition: transform 0.2s; }
.lang-switcher.open .lang-current .lang-arrow { transform: rotate(180deg); }
.lang-dropdown { position: absolute; top: calc(100% + 6px); right: 0; min-width: 120px; background: var(--po-bg-card); border: 1px solid var(--po-border); border-radius: var(--po-radius); box-shadow: 0 8px 32px rgba(0,0,0,0.4); z-index: 200; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; max-height: 300px; overflow-y: auto; }
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown a { display: block; padding: 8px 14px; color: var(--po-text-secondary); font-size: 0.8rem; font-weight: 500; text-decoration: none; transition: var(--po-transition); }
.lang-dropdown a:hover { color: var(--po-white); background: var(--po-bg-card-hover); }
.lang-dropdown a.active { color: var(--po-primary); pointer-events: none; }
/* Legacy inline switcher (hidden, kept for compat) */
.lang-link { display: none; }
.lang-sep { display: none; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; font-family: var(--po-font); font-size: 0.95rem; font-weight: 600;
  border: none; border-radius: var(--po-radius); cursor: pointer;
  transition: var(--po-transition); text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--po-primary); color: var(--po-white); }
.btn-primary:hover { background: var(--po-primary-hover); color: var(--po-white); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,153,250,0.35); }
.btn-outline { background: transparent; color: var(--po-primary); border: 1.5px solid var(--po-primary); }
.btn-outline:hover { background: var(--po-primary); color: var(--po-white); }
.btn-green { background: var(--po-green); color: var(--po-bg-dark); }
.btn-green:hover { background: #0BB874; color: var(--po-bg-dark); transform: translateY(-1px); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; border-radius: var(--po-radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ========== HERO WITH LAPTOP ========== */
.hero {
  padding: 40px 0 60px;
  background: linear-gradient(135deg, #0B0E11 0%, #0D1B2A 50%, #0B0E11 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,153,250,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-content {
  display: flex; align-items: center; gap: 50px;
}
.hero-text { flex: 1; }
.hero-text h1 { font-size: 2.75rem; margin-bottom: 20px; line-height: 1.15; }
.hero-text h1 span { color: var(--po-primary); }
.hero-text .subtitle { font-size: 1.1rem; color: var(--po-text-secondary); margin-bottom: 28px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 1.6rem; font-weight: 800; color: var(--po-primary); }
.hero-stat .label { font-size: 0.82rem; color: var(--po-text-secondary); margin-top: 2px; }

/* Laptop image in hero */
.hero-laptop {
  flex: 1; position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-laptop img {
  width: 100%; max-width: 560px; height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5));
  animation: laptopFloat 6s ease-in-out infinite;
}
@keyframes laptopFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ========== BREADCRUMBS ========== */
.breadcrumbs { padding: 80px 0 0; font-size: 0.875rem; }
.breadcrumbs a { color: var(--po-text-secondary); }
.breadcrumbs span { color: var(--po-text-muted); margin: 0 8px; }
.breadcrumbs .current { color: var(--po-text); }

/* ========== SECTIONS ========== */
.section { padding: 80px 0; background: var(--po-bg-dark); overflow-x: hidden; }
.section-alt { padding: 80px 0; background: #111518; overflow-x: hidden; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--po-text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ========== GRIDS ========== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

/* ========== CARDS ========== */
.card {
  background: var(--po-bg-card); border: 1px solid var(--po-border);
  border-radius: var(--po-radius-lg); padding: 28px; transition: var(--po-transition);
}
.card:hover { background: var(--po-bg-card-hover); border-color: var(--po-primary); transform: translateY(-2px); box-shadow: var(--po-shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--po-radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem;
}
.card-icon-blue { background: var(--po-primary-light); color: var(--po-primary); }
.card-icon-green { background: var(--po-green-light); color: var(--po-green); }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--po-text-secondary); font-size: 0.95rem; }
.card .card-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 0.9rem; font-weight: 600; }

/* ========== STATS BAR ========== */
.stats-bar {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  background: var(--po-bg-card); border-radius: var(--po-radius-xl);
  overflow: hidden; border: 1px solid var(--po-border);
}
.stat-item { padding: 28px 16px; text-align: center; border-right: 1px solid var(--po-border); }
.stat-item:last-child { border-right: none; }
.stat-item .stat-number { font-size: 1.75rem; font-weight: 800; color: var(--po-primary); margin-bottom: 4px; }
.stat-item .stat-label { font-size: 0.82rem; color: var(--po-text-secondary); }

/* ========== STEPS (vertical timeline) ========== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 32px 0; border-bottom: 1px solid var(--po-border);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-number {
  width: 52px; height: 52px; min-width: 52px; border-radius: 50%;
  background: var(--po-primary-light); color: var(--po-primary);
  font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--po-primary); flex-shrink: 0;
}
.step-content { flex: 1; }
.step-content h3 { margin-top: 0; margin-bottom: 12px; }
.step-content p { color: var(--po-text-secondary); font-size: 0.95rem; }
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }

/* ========== TABLES ========== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; margin: 24px 0; }
.table-wrap .po-table { margin: 0; }
.po-table {
  width: 100%; border-collapse: collapse; background: var(--po-bg-card);
  border-radius: var(--po-radius-lg); overflow: hidden;
  border: 1px solid var(--po-border); min-width: 480px;
}
.po-table thead { background: var(--po-bg-section); }
.po-table th {
  padding: 14px 20px; text-align: left; font-weight: 600;
  color: var(--po-text-secondary); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 1px solid var(--po-border);
}
.po-table td { padding: 14px 20px; border-bottom: 1px solid var(--po-border); font-size: 0.95rem; word-break: break-word; }
.po-table tbody tr:last-child td { border-bottom: none; }
.po-table tbody tr:hover { background: var(--po-bg-card-hover); }

/* ========== LISTS ========== */
.po-list { margin: 16px 0; }
.po-list li { padding: 10px 0 10px 28px; position: relative; }
.po-list li::before {
  content: ''; position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--po-primary);
}
.po-list-check li::before {
  content: '✓'; background: none; color: var(--po-green);
  font-weight: 700; font-size: 0.9rem; top: 10px; left: 2px;
}

/* ========== INFO / WARNING ========== */
.info-block {
  background: var(--po-primary-light); border-left: 4px solid var(--po-primary);
  border-radius: 0 var(--po-radius) var(--po-radius) 0; padding: 20px 24px; margin: 24px 0;
}
.info-block p { color: var(--po-text); margin: 0; }
.warning-block {
  background: rgba(240,185,11,0.1); border-left: 4px solid var(--po-yellow);
  border-radius: 0 var(--po-radius) var(--po-radius) 0; padding: 20px 24px; margin: 24px 0;
}

/* ========== FAQ ========== */
.faq-item {
  background: var(--po-bg-card); border: 1px solid var(--po-border);
  border-radius: var(--po-radius-lg); margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  width: 100%; padding: 20px 24px; background: none; border: none;
  color: var(--po-white); font-family: var(--po-font); font-size: 1rem; font-weight: 600;
  text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: var(--po-transition);
}
.faq-question:hover { background: var(--po-bg-card-hover); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--po-primary); transition: var(--po-transition); flex-shrink: 0; }
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-item.active .faq-answer { padding: 0 24px 20px; max-height: 2000px; }

/* ========== CTA ========== */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, #0D1B2A 0%, #0B0E11 100%); text-align: center; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--po-text-secondary); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ========== TOC ========== */
.toc { background: var(--po-bg-card); border: 1px solid var(--po-border); border-radius: var(--po-radius-lg); padding: 24px 28px; margin-bottom: 40px; }
.toc h4 { margin-bottom: 12px; font-size: 1rem; }
.toc ol { list-style: decimal; padding-left: 20px; counter-reset: none; }
.toc li { padding: 5px 0; }
.toc li::before { display: none !important; }
.toc a { color: var(--po-text-secondary); font-size: 0.925rem; }
.toc a:hover { color: var(--po-primary); }
.toc-grid { columns: 2; column-gap: 32px; }

/* ========== ARTICLE CONTENT ========== */
.article-content { max-width: 1200px; margin: 0 auto; }
.article-content h2 { margin-top: 32px; padding-top: 0; border-top: none; }
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin-top: 32px; }
.article-content p { font-size: 1.02rem; line-height: 1.8; }
.article-content ol { list-style: decimal; padding-left: 24px; margin: 16px 0; }
.article-content ul:not(.po-list) { list-style: disc; padding-left: 24px; margin: 16px 0; }
.article-content ol li, .article-content ul:not(.po-list) li { padding: 6px 0; }
.article-content ol li::before, .article-content ul:not(.po-list) li::before { display: none !important; }

/* ========== RELATED PAGES BLOCK ========== */
.related-pages { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--po-border); }
.related-pages h3 { margin-bottom: 20px; }
.related-card {
  background: var(--po-bg-card); border: 1px solid var(--po-border);
  border-radius: var(--po-radius-lg); padding: 20px; transition: var(--po-transition);
  text-decoration: none; display: block;
}
.related-card:hover { border-color: var(--po-primary); transform: translateY(-2px); }
.related-card h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--po-white); }
.related-card p { font-size: 0.85rem; color: var(--po-text-secondary); margin: 0; }

/* ========== FOOTER ========== */
.footer { background: var(--po-bg-section); border-top: 1px solid var(--po-border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--po-text-secondary); font-size: 0.9rem; margin-top: 16px; max-width: 300px; }
.footer h5 { color: var(--po-white); font-size: 0.95rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links a { display: block; color: var(--po-text-secondary); font-size: 0.9rem; padding: 5px 0; }
.footer-links a:hover { color: var(--po-primary); }
.footer-bottom {
  border-top: 1px solid var(--po-border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--po-text-muted);
}
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--po-text-secondary); font-size: 1.1rem; }
.footer-socials a:hover { color: var(--po-primary); }
.risk-warning {
  background: var(--po-bg-card); border: 1px solid var(--po-border);
  border-radius: var(--po-radius); padding: 16px 20px; margin-top: 24px;
  font-size: 0.8rem; color: var(--po-text-muted); line-height: 1.6;
}

/* ========== BURGER ========== */
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  cursor: pointer; padding: 8px 6px; flex-shrink: 0;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--po-text); border-radius: 2px; transition: var(--po-transition); }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { flex-direction: column; text-align: center; }
  .hero-text .subtitle { margin: 0 auto 28px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-laptop img { max-width: 420px; }
  .toc-grid { columns: 1; }

  /* Tablet/mobile: nav as collapsible panel below header */
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #12161b;
    border-bottom: 2px solid var(--po-border);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }
  .nav.open {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-item { border-bottom: 1px solid var(--po-border); }
  .nav-item > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; font-size: 0.95rem; color: var(--po-text);
  }
  .nav-item > a:hover { color: var(--po-white); background: rgba(255,255,255,0.03); }
  .nav-item.open > a { color: var(--po-primary); }
  .nav-item > a .arrow { font-size: 0.65rem; transition: transform 0.2s; flex-shrink: 0; }
  .nav-item.open > a .arrow { transform: rotate(180deg); }
  .nav-item .dropdown {
    position: static;
    display: none;
    opacity: 1; visibility: visible; transform: none;
    background: rgba(0,0,0,0.25);
    box-shadow: none; border: none; border-radius: 0;
    padding: 4px 0; min-width: unset;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-item.open .dropdown a { display: block; }
  .dropdown a { padding: 11px 36px; font-size: 0.9rem; color: var(--po-text-secondary); }
  .dropdown a:hover { color: var(--po-white); background: rgba(255,255,255,0.04); }
  .burger { display: flex !important; }
  .header-actions { gap: 6px; flex-shrink: 0; }
  .header-actions .btn { display: none !important; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 30px 0 40px; }
  .hero-text h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--po-border); }
  .steps { flex-direction: column; }
  .step { flex-direction: column; align-items: center; text-align: center; }
  .step-number { margin-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .breadcrumbs { text-align: center; }
  .hero-laptop img { max-width: 320px; }
  .po-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .article-content { overflow-x: hidden; word-wrap: break-word; overflow-wrap: break-word; }
  .info-block, .warning-block { padding: 16px; }
  .toc { padding: 16px 20px; }
  .container { padding: 0 16px; }
  .faq-question { padding: 16px; font-size: 0.9rem; }
  .faq-answer { padding: 0 16px; }
  .faq-item.active .faq-answer { padding: 0 16px 16px; }

  /* Mobile-only: compact logo + switcher */
  .logo { font-size: 1.1rem; }
  .logo img { width: 30px; height: 24px; }
  .lang-current { padding: 4px 6px; font-size: 0.7rem; }
  .lang-dropdown { right: 0; left: auto; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.65rem; }
  .hero-stats { gap: 16px; }
  .hero-stat .number { font-size: 1.3rem; }
  .hero-stat .label { font-size: 0.7rem; }
  .btn-lg { padding: 14px 20px; font-size: 0.95rem; }
  .btn { padding: 10px 20px; font-size: 0.9rem; }
  .po-table { font-size: 0.8rem; }
  .po-table th, .po-table td { padding: 8px 10px; white-space: nowrap; }
  .section { padding: 40px 0; }
  .cta-section { padding: 48px 0; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* ========== BONUS BAR (sticky scroll) ========== */
.bonus-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(90deg, #0D1B2A 0%, #091422 100%);
  border-top: 2px solid var(--po-primary);
  display: flex; align-items: center;
  z-index: 998;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 153, 250, 0.15);
}
.bonus-bar.visible { transform: translateY(0); }
.bonus-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; gap: 16px;
}
.bonus-bar-text { font-size: 0.9rem; color: var(--po-text); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bonus-bar-text strong { color: var(--po-primary); font-weight: 700; }
.bonus-bar .btn-sm { margin-left: auto; flex-shrink: 0; }
@media (max-width: 600px) {
  .bonus-bar { height: auto; min-height: 56px; padding: 10px 0; }
  .bonus-bar-text { font-size: 0.8rem; white-space: normal; }
  .bonus-bar .btn-sm { padding: 7px 14px; font-size: 0.8rem; }
}
