/* Ice Fishing Poland — PL Template */

/* === CSS CUSTOM PROPERTIES === */
/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Source Sans 3", sans-serif;
  background: #F0F7FF;
  color: #475569;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: #0284C7; text-decoration: none; transition: color .2s; }
a:hover { color: #38BDF8; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: "Oswald", sans-serif;
  line-height: 1.25;
  color: #0C4A6E;
}
p { max-width: 100%; }

/* === SELECTION === */
::selection {
  background: #0284C7;
  color: #fff;
}

/* === FOCUS VISIBLE === */
:focus-visible {
  outline: 2px solid #0284C7;
  outline-offset: 2px;
}

/* === REDUCED MOTION === */

/* Snippet-generated flag icon alias */
.locale-picker .flag-icon { display: inline-block; width: 22px; height: 16px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.25rem; background: #0C4A6E;
  color: #E0F2FE; font-size: .875rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center;
  transform: translateY(100%); transition: transform .4s; z-index: 4000;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner a { color: #EF4444; }
.cookie-btn {
  background: #EF4444; color: #fff;
  border: none; border-radius: 4px; padding: .5rem 1.25rem;
  font-weight: 600; cursor: pointer; transition: background .2s;
}
.cookie-btn:hover { background: #DC2626; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === CONTAINER === */
.wrapper, .container { max-width: 1350px; margin: 0 auto; padding: 0 20px; }
.wrapper-full { max-width: 1920px; margin: 0 auto; }

/* ============================================
   HEADER
   ============================================ */
.topbar {
  background: #FFFFFF;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(2,132,199,.06);
}
.topbar .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0284C7;
}
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  color: #0C4A6E;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.main-nav a:hover { color: #0284C7; }
.promo-btn {
  background: linear-gradient(180deg, #EF4444, #DC2626);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.promo-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(239,68,68,.3);
  color: #fff !important;
}
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #0C4A6E;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.locale-picker {
  position: relative;
}
.lang-switch__current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #0C4A6E;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.lang-switch__current:hover {
  border-color: #0284C7;
  box-shadow: 0 2px 8px rgba(2,132,199,.08);
}
.locale-picker .country-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}
.lang-switch__list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(2,132,199,.1);
  list-style: none;
  margin: 0;
  padding: 6px 0;
  min-width: 160px;
  z-index: 1001;
}
.locale-picker.open .lang-switch__list {
  display: block;
}
.lang-switch__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: #0C4A6E;
  transition: background .15s;
}
.lang-switch__link:hover {
  background: #DBEAFE;
  color: #0284C7;
}

/* ============================================
   HERO BANNER
   ============================================ */
.intro-hero {
  background: linear-gradient(135deg, #DBEAFE 0%, #F0F7FF 50%, #BAE6FD 100%);
  padding: 60px 0 50px;
  position: relative;
}
.intro-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}
.intro-hero__text { flex: 1; }
.intro-hero__text h1 {
  font-size: 38px;
  margin-bottom: 18px;
  line-height: 1.2;
  color: #0C4A6E;
}
.intro-hero__text h1 span { color: #0284C7; }
.intro-hero__text p {
  font-size: 17px;
  color: #475569;
  margin-bottom: 28px;
  max-width: 560px;
}
.action-row { display: flex; gap: 14px; flex-wrap: wrap; }
.try-btn {
  display: inline-block;
  background: #0284C7;
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: transform .2s, box-shadow .2s;
}
.try-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2,132,199,.3);
  color: #fff !important;
}
.play-btn {
  display: inline-block;
  background: linear-gradient(180deg, #EF4444, #DC2626);
  color: #fff !important;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  animation: gl-glow 2s infinite;
  transition: transform .2s;
}
.play-btn:hover { transform: translateY(-2px); color: #fff !important; }
@keyframes gl-glow {
  0%   { box-shadow: 0 0 0 0 rgba(2,132,199,.45); }
  70%  { box-shadow: 0 0 0 14px rgba(2,132,199,0); }
  100% { box-shadow: 0 0 0 0 rgba(2,132,199,0); }
}
.intro-hero__visual { flex: 0 0 560px; text-align: right; }
.intro-hero__visual img { max-height: 600px; margin-left: auto; }

/* ============================================
   LIVE TICKER
   ============================================ */
.live-band {
  background: #BAE6FD;
  border-top: 1.5px solid #0284C7;
  border-bottom: 1.5px solid #0284C7;
  overflow: hidden;
  padding: 10px 0;
}
.live-band__view { overflow: hidden; }
.live-band__track {
  display: flex;
  width: max-content;
  animation: gl-scrollBand 48s linear infinite;
}
.live-band__entry {
  white-space: nowrap;
  padding: 0 32px;
  font-size: 14px;
  color: #0C4A6E;
  display: flex;
  align-items: center;
  gap: 6px;
}
.live-band__entry .country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.live-band__entry .country-flag .pl-white {
  width: 50%;
  height: 100%;
  background: #fff;
}
.live-band__entry .country-flag .pl-red {
  width: 50%;
  height: 100%;
  background: #DC143C;
}
.live-band__entry .win-amount {
  color: #EF4444;
  font-weight: 700;
}
.live-band__entry .win-time {
  color: #64748B;
  font-size: 12px;
}
@keyframes gl-scrollBand {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   NAVIGATION TABS
   ============================================ */
.tab-bar {
  padding: 20px 0;
  background: #DBEAFE;
}
.tab-bar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #0284C7 !important;
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  border: 1.5px solid #0284C7;
  box-shadow: 0 2px 8px rgba(2,132,199,.08);
  transition: background .2s, color .2s, transform .15s, box-shadow .2s;
  min-height: 44px;
  cursor: pointer;
}
.nav-link:hover {
  background: #0284C7;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(2,132,199,.1);
}

/* ============================================
   SECTION HEADINGS (consolidated)
   ============================================ */
.block-title,
.lead-block h2,
.data-section h2,
.guide-section h2,
.abilities-section h2,
.balance-section h2,
.device-section h2,
.chances-section h2,
.tips-section h2,
.questions-section h2,
.text-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0284C7;
}
.lead-block h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

/* ============================================
   SECTION INTRO
   ============================================ */
.lead-block { padding: 40px 0 20px; }
.lead-block p {
  font-size: 16px;
  color: #475569;
  max-width: 800px;
}

/* ============================================
   CASINO CARDS
   ============================================ */
.platform-grid { padding: 20px 0 40px; }
.platform-grid .wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px 20px;
  position: relative;
  border: 1px solid #CBD5E1;
  border-top: 4px solid #94A3B8;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(2,132,199,.08);
  transition: transform .2s, box-shadow .2s;
}
.platform-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.platform-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(2,132,199,.15);
}
.platform-card:hover::before {
  opacity: 1;
}
.platform-card:not(:has(.label-tag)) {
  padding-top: 24px;
}
.platform-card.tier-top  { border-top-color: #22C55E; }
.platform-card.tier-mid  { border-top-color: #F97316; }
.platform-card.tier-base { border-top-color: #94A3B8; }

.position-mark {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
  border: 2px solid #FFFFFF;
  z-index: 2;
}
.platform-card.tier-top .position-mark  { background: #22C55E; }
.platform-card.tier-mid .position-mark  { background: #F97316; }
.platform-card.tier-base .position-mark { background: #94A3B8; color: #fff; }

.label-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.label-tag.premium   { background: #0284C7; color: #fff; }
.label-tag.featured { background: #BAE6FD; color: #0C4A6E; }

.brand-box {
  flex: none;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 8px 0 12px;
}
.brand-box img {
  max-height: 72px;
  max-width: 170px;
  object-fit: contain;
}

.platform-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex: 1;
}
.platform-card__meta {
  flex: none;
  text-align: center;
}
.platform-card__meta .platform-name {
  font-size: 17px;
  font-weight: 700;
  color: #0C4A6E;
  margin-bottom: 2px;
}
.platform-card__meta .score {
  font-size: 14px;
  color: #0284C7;
  font-weight: 600;
}
.star-shape {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #0284C7;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  vertical-align: middle;
  margin-right: 4px;
}
.offer-text {
  flex: 1;
  font-size: 14px;
  color: #475569;
  text-align: center;
  background: rgba(2, 132, 199, .03);
  padding: 4px 8px;
  border-radius: 6px;
}
.grab-btn {
  background: linear-gradient(180deg, #EF4444, #DC2626);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.grab-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(239,68,68,.3);
  color: #fff !important;
}
.grab-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ============================================
   TABLES SHARED (Facts, Requirements, Odds)
   ============================================ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
}

.data-section { padding: 40px 0; }
.data-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 10px;
  max-width: 900px;
  margin: 0 auto;
}
.data-grid tr:nth-child(odd) { background: #FFFFFF; }
.data-grid tr:nth-child(even) { background: #DBEAFE; }
.data-grid td {
  padding: 14px 20px;
  font-size: 15px;
  color: #475569;
}
.data-grid td:first-child {
  font-weight: 700;
  color: #0284C7;
  width: 200px;
}
.data-grid tr:first-child td:first-child { border-radius: 10px 0 0 0; }
.data-grid tr:first-child td:last-child  { border-radius: 0 10px 0 0; }
.data-grid tr:last-child td:first-child  { border-radius: 0 0 0 10px; }
.data-grid tr:last-child td:last-child   { border-radius: 0 0 10px 0; }

/* ============================================
   GAME INSTRUCTIONS
   ============================================ */
.guide-section { padding: 40px 0; }
.guide-section h2 { margin-bottom: 30px; }
.guide-step {
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.guide-step:nth-child(even) { flex-direction: row-reverse; }
.guide-step__text { flex: 1; }
.guide-step__text h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #0C4A6E;
}
.guide-step__text p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}
.guide-step__visual {
  flex: 0 0 380px;
}
.guide-step__visual img {
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(2,132,199,.1);
  max-width: 100%;
}

/* ============================================
   GAME FEATURES
   ============================================ */
.abilities-section { padding: 40px 0; }
.abilities-section h2 { margin-bottom: 24px; }
.ability-entry {
  padding: 16px 0;
  border-bottom: 1px solid #CBD5E1;
}
.ability-entry:last-child { border-bottom: none; }
.ability-entry h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #0C4A6E;
}
.ability-entry p {
  font-size: 15px;
  color: #475569;
}

/* ============================================
   PROS & CONS
   ============================================ */
.balance-section { padding: 40px 0; }
.balance-section h2 { margin-bottom: 24px; }
.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plus-box, .minus-box {
  padding: 28px;
  border-radius: 10px;
  transition: transform .2s;
}
.plus-box:hover, .minus-box:hover { transform: translateY(-3px); }
.plus-box {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
}
.minus-box {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25);
}
.plus-box h3 {
  color: #22C55E;
  font-size: 20px;
  margin-bottom: 16px;
}
.minus-box h3 {
  color: #EF4444;
  font-size: 20px;
  margin-bottom: 16px;
}
.plus-box li, .minus-box li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  color: #475569;
}
.plus-box li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #22C55E;
  font-weight: 700;
  font-size: 16px;
}
.minus-box li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #EF4444;
  font-weight: 700;
  font-size: 16px;
}

/* ============================================
   CONTENT SECTIONS (Graphics, Comparison, etc.)
   ============================================ */
.text-section { padding: 40px 0; }
.text-section h3 {
  font-size: 20px;
  margin: 28px 0 12px;
  color: #0C4A6E;
}
.text-section p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.7;
}
.text-section ul {
  margin: 14px 0 14px 20px;
}
.text-section ul li {
  font-size: 15px;
  color: #475569;
  padding: 4px 0;
  list-style: disc;
}
.text-section img {
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0 4px 16px rgba(2,132,199,.1);
}

/* ============================================
   MOBILE SECTION
   ============================================ */
.device-section { padding: 40px 0; }
.device-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}
.device-text { flex: 1; }
.device-text p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.7;
}
.device-visual { flex: 0 0 320px; text-align: center; }
.device-visual img {
  max-height: 440px;
  border-radius: 16px;
}
.reqs-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  max-width: 600px;
  margin: 24px 0;
}
.reqs-grid tr:nth-child(odd) { background: #FFFFFF; }
.reqs-grid tr:nth-child(even) { background: #DBEAFE; }
.reqs-grid td {
  padding: 12px 18px;
  font-size: 14px;
  color: #475569;
}
.reqs-grid td:first-child {
  font-weight: 700;
  color: #0284C7;
  width: 160px;
}
.get-app-btn {
  display: inline-block;
  background: linear-gradient(180deg, #EF4444, #DC2626);
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  min-height: 44px;
}
.get-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239,68,68,.3);
  color: #fff !important;
}

/* ============================================
   ODDS TABLES
   ============================================ */
.chances-section { padding: 40px 0; }
.chances-section h3 {
  font-size: 20px;
  margin: 28px 0 14px;
  color: #0C4A6E;
}
.chances-section p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.7;
}
.chances-grid {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto 24px;
}
.chances-grid th {
  background: #0284C7;
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}
.chances-grid td {
  padding: 10px 18px;
  font-size: 14px;
  color: #475569;
}
.chances-grid tr:nth-child(odd) td { background: #FFFFFF; }
.chances-grid tr:nth-child(even) td { background: #DBEAFE; }
.chances-grid tr:first-child th:first-child { border-radius: 10px 0 0 0; }
.chances-grid tr:first-child th:last-child  { border-radius: 0 10px 0 0; }
.chances-grid tr:last-child td:first-child  { border-radius: 0 0 0 10px; }
.chances-grid tr:last-child td:last-child   { border-radius: 0 0 10px 0; }
.chances-section img {
  border-radius: 10px;
  margin: 20px auto;
  box-shadow: 0 4px 16px rgba(2,132,199,.1);
  display: block;
}

/* ============================================
   STRATEGIES / SLIDER
   ============================================ */
.tips-section { padding: 40px 0; }
.tips-section p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 14px;
  line-height: 1.7;
}

/* slider */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 24px 0;
  max-width: 700px;
}
.carousel__track {
  display: flex;
  transition: transform .4s ease;
}
.carousel__item {
  min-width: 100%;
  flex-shrink: 0;
}
.carousel__item img {
  width: 100%;
  border-radius: 10px;
}
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  color: #0284C7;
  border: 2px solid #0284C7;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.carousel__arrow:hover { background: #BAE6FD; }
.carousel__arrow--back { left: 12px; }
.carousel__arrow--fwd { right: 12px; }
.carousel__pips {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}
.carousel__pip {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.carousel__pip.is-active { background: #0284C7; }

.tips-list { margin-top: 20px; }
.tips-entry {
  padding: 14px 0;
  border-bottom: 1px solid #CBD5E1;
}
.tips-entry:last-child { border-bottom: none; }
.tips-entry h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: #0C4A6E;
}
.tips-entry p {
  font-size: 15px;
  color: #475569;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.questions-section, .faq-section { padding: 40px 0; }
.faq-section .faq { max-width: 900px; margin: 0 auto; }
.faq-section h2 { font-size: 28px; margin-bottom: 20px; color: #0284C7; }
.questions__entry, .faq-item {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.questions__entry summary, .faq-item summary {
  padding: 18px 50px 18px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #0284C7;
  position: relative;
  list-style: none;
  transition: background .2s;
  min-height: 44px;
}
.questions__entry summary::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.questions__entry summary::after, .faq-item summary::after {
  content: '\25B8';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #EF4444;
  transition: transform .3s;
}
.questions__entry[open] summary::after, .faq-item[open] summary::after {
  content: '\25BE';
}
.questions__entry summary:hover, .faq-item summary:hover { background: rgba(2,132,199,.04); }
.questions__answer, .faq-item p {
  padding: 0 22px 20px;
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  animation: gl-revealIn .3s ease;
}
@keyframes gl-revealIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MAIN CONTENT TAGS
   ============================================ */
main > p { font-size: 15px; color: #475569; margin-bottom: 14px; line-height: 1.7; }
main > p:has(> img) { max-width: 100%; }
main > ul, main > ol { margin: 14px 0 14px 20px; }
main > ul li { list-style: disc; font-size: 15px; color: #475569; padding: 4px 0; }
main > ol li { list-style: decimal; font-size: 15px; color: #475569; padding: 4px 0; }
main > h2 { font-size: 28px; margin: 32px 0 16px; color: #0284C7; }
main > h3 { font-size: 20px; margin: 24px 0 10px; color: #0C4A6E; }
main > h4 { font-size: 17px; margin: 20px 0 8px; color: #0C4A6E; }
main table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto 24px;
}
main table th {
  background: #0284C7;
  color: #fff;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}
main table td {
  padding: 14px 20px;
  font-size: 15px;
  color: #475569;
}
main table tr:nth-child(odd) td { background: #FFFFFF; }
main table tr:nth-child(even) td { background: #E0F2FE; }
main table tr:first-child th:first-child { border-radius: 12px 0 0 0; }
main table tr:first-child th:last-child  { border-radius: 0 12px 0 0; }
main table tr:last-child td:first-child  { border-radius: 0 0 0 12px; }
main table tr:last-child td:last-child   { border-radius: 0 0 12px 0; }

/* ============================================
   CONTACT FORM
   ============================================ */
.cf-section { padding: 40px 0; }
.cf-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(2,132,199,.08);
  padding: 2rem 2.5rem;
}
.cf-title {
  font-family: "Oswald", sans-serif;
  color: #0C4A6E;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.cf-group { margin-bottom: 1.25rem; }
.cf-label {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  color: #0C4A6E;
  margin-bottom: .35rem;
  font-size: .95rem;
}
.cf-label .cf-req { color: #EF4444; margin-left: 2px; }
.cf-input, .cf-textarea {
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: #334155;
  background: #fff;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: .65rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.cf-input:focus, .cf-textarea:focus {
  outline: none;
  border-color: #0284C7;
  box-shadow: 0 0 0 3px rgba(2,132,199,.12);
}
.cf-textarea { min-height: 120px; resize: vertical; }
.cf-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0; width: 0;
  overflow: hidden;
}
.cf-btn {
  display: block;
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  border: none;
  border-radius: 8px;
  padding: .8rem 1.5rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  margin-top: .5rem;
}
.cf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220,38,38,.3);
}
.cf-btn:active { transform: translateY(0); }
.cf-msg {
  text-align: center;
  padding: .85rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: .95rem;
}
.cf-msg--ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.cf-msg--err { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ============================================
   AUTHOR SECTION
   ============================================ */
.writer-section {
  padding: 40px 0;
  border-top: 1px solid #CBD5E1;
}
.writer-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  border-left: 4px solid #0284C7;
  box-shadow: 0 2px 8px rgba(2,132,199,.08);
}
.writer-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}
.writer-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #0284C7, #38BDF8);
  padding: 3px;
}
.writer-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.writer-meta h3 {
  font-size: 20px;
  color: #0C4A6E;
  margin-bottom: 2px;
}
.writer-meta .position {
  font-size: 14px;
  color: #64748B;
}
.skill-tag {
  display: inline-block;
  background: rgba(2,132,199,.1);
  color: #0284C7;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.writer-about {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}
.note-box {
  background: rgba(2,132,199,.06);
  border-left: 3px solid #0284C7;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
  font-size: 14px;
  color: #475569;
  font-style: italic;
}

/* ============================================
   FOOTER
   ============================================ */
.bottom-bar {
  background: #0C4A6E;
  padding: 40px 0 24px;
}
.bottom-bar__certs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.bottom-bar__certs img {
  height: 40px;
  opacity: .75;
  transition: opacity .2s;
}
.bottom-bar__certs img:hover { opacity: 1; }
.bottom-bar__responsible { text-align:center; font-size:.85rem; color:rgba(255,255,255,.7); margin-bottom:1rem; }
.bottom-bar__nav { display:flex; justify-content:center; gap:1.5rem; margin-bottom:1.5rem; flex-wrap:wrap; }
.bottom-bar__link { color:rgba(255,255,255,.8); text-decoration:none; font-size:.9rem; transition:color .2s; }
.bottom-bar__link:hover { color:#fff; }
.bottom-bar__copy {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* ============================================
   RESPONSIVE — Tablet <= 1024px
   ============================================ */
@media (max-width: 1024px) {
  .platform-grid .wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .intro-hero__visual { flex: 0 0 420px; }
  .guide-step, .guide-step:nth-child(even) {
    flex-direction: column;
  }
  .guide-step__visual { flex: 0 0 auto; max-width: 100%; }
}

/* ============================================
   RESPONSIVE — Mobile <= 767px
   ============================================ */
@media (max-width: 767px) {
  .topbar .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
  .burger { display: flex; }
  .main-nav {
    display: block;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 12px;
    padding-top: 0;
    transition: max-height .35s ease, padding .35s ease;
    position: absolute;
    top: 100%;
    left: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(2,132,199,.08);
    z-index: 999;
  }
  .main-nav.is-open {
    display: flex;
    max-height: 320px;
    padding: 12px 0;
  }
  .main-nav a {
    padding: 12px 20px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .brand { font-size: 18px; }

  .intro-hero__inner { flex-direction: column; text-align: center; }
  .intro-hero__text h1 { font-size: 26px; }
  .intro-hero__text p { font-size: 15px; margin-left: auto; margin-right: auto; }
  .action-row { justify-content: center; }
  .intro-hero__visual { flex: 0 0 auto; max-width: 400px; margin: 0 auto; }

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

  .platform-grid .wrapper {
    grid-template-columns: 1fr;
  }
  .platform-card {
    padding: 24px 20px;
  }
  .platform-card__meta .platform-name {
    font-size: 19px;
  }
  .offer-text {
    font-size: 15px;
    line-height: 1.5;
    color: #0C4A6E;
    padding: 8px 12px;
    background: rgba(2, 132, 199, .06);
    border-radius: 8px;
  }
  .grab-btn {
    padding: 14px 28px;
    font-size: 15px;
  }

  .device-inner { flex-direction: column; }
  .device-visual { flex: 0 0 auto; max-width: 260px; }

  .guide-step, .guide-step:nth-child(even) { flex-direction: column; }
  .guide-step__visual { flex: 0 0 auto; }

  .wrapper, .container { padding: 0 16px; }

  .block-title,
  .lead-block h2,
  .data-section h2,
  .guide-section h2,
  .abilities-section h2,
  .balance-section h2,
  .device-section h2,
  .chances-section h2,
  .tips-section h2,
  .questions-section h2,
  .faq-section h2,
  .text-section h2 {
    font-size: 22px;
  }

  main table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .writer-top { flex-direction: column; text-align: center; }

  .tab-bar__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
    gap: 8px;
  }
  .tab-bar__row::-webkit-scrollbar {
    display: none;
  }
  .nav-link {
    padding: 8px 16px;
    font-size: 13px;
  }

  .lang-switch__current span {
    display: none;
  }
  .lang-switch__current {
    padding: 6px 8px;
  }
  .lang-switch__list {
    right: 0;
    min-width: 150px;
  }
  .cookie-banner { flex-direction: column; text-align: center; }
  .cf-wrap { margin: 0 1rem; padding: 1.5rem 1.25rem; }
  .cf-title { font-size: 1.4rem; }
}

/* ============================================
   RESPONSIVE — Small <= 480px
   ============================================ */
@media (max-width: 480px) {
  .intro-hero__text h1 { font-size: 22px; }
  .action-row { flex-direction: column; align-items: center; }
  .try-btn, .play-btn { width: 100%; text-align: center; justify-content: center; }
  .data-grid td:first-child { width: auto; }
  .platform-card { padding: 20px 14px; }
  .brand-box img {
    max-height: 60px;
    max-width: 150px;
  }
  .grab-btn { padding: 12px 20px; font-size: 14px; }
  .nav-link {
    padding: 8px 14px;
    font-size: 12px;
    min-height: 40px;
  }
}

/* ============================================
   SCROLL-MARGIN-TOP (anchor offset for sticky header)
   ============================================ */
[id] {
  scroll-margin-top: 80px;
}

/* ============================================
   FLOATING TOC FAB
   ============================================ */
.toc-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 4100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: #0284C7;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2,132,199,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
  transition: opacity .3s, transform .3s, background .2s;
}
.toc-fab.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.toc-fab:hover {
  background: #38BDF8;
}
.toc-fab__icon { display: block; }
.toc-fab__icon--close { display: none; }
.toc-fab[aria-expanded="true"] .toc-fab__icon--menu { display: none; }
.toc-fab[aria-expanded="true"] .toc-fab__icon--close { display: block; }

/* ============================================
   TOC PANEL
   ============================================ */
.toc-panel {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 4095;
  width: 280px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 8px 32px rgba(2,132,199,.18), 0 0 0 1px rgba(2,132,199,.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.95);
  transform-origin: bottom right;
  transition: opacity .25s, transform .25s;
  overflow: hidden;
}
.toc-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.toc-panel__header {
  padding: 14px 20px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  color: #0C4A6E;
  border-bottom: 1px solid #CBD5E1;
}
.toc-panel__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  max-height: 60vh;
  overflow-y: auto;
}
.toc-panel__link {
  padding: 12px 20px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  color: #475569 !important;
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s, color .15s;
  display: flex;
  align-items: center;
}
.toc-panel__link:hover {
  background: rgba(2,132,199,.04);
  color: #0284C7 !important;
}
.toc-panel__link.active {
  border-left-color: #0284C7;
  background: rgba(2,132,199,.08);
  color: #0284C7 !important;
  font-weight: 700;
}

/* ============================================
   TOC BACKDROP
   ============================================ */
.toc-backdrop {
  position: fixed;
  inset: 0;
  z-index: 4090;
  background: rgba(12,74,110,.25);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.toc-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   BACK-TO-TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 4100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  color: #0284C7;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
  transition: opacity .3s, transform .3s, background .2s, color .2s;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}
.back-to-top:hover {
  background: #0284C7;
  color: #fff;
}

/* ============================================
   FLOATING TOC/BTT — RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .toc-fab {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 16px;
  }
  .back-to-top {
    bottom: 84px;
    right: 16px;
  }
  .toc-panel {
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 84px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toc-fab,
  .toc-panel,
  .toc-backdrop,
  .back-to-top {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .toc-fab,
  .toc-panel,
  .toc-backdrop,
  .back-to-top {
    display: none !important;
  }
}