
/* =========================================================
   PAPUA TIPS — OPTIMIZED RESPONSIVE STYLESHEET
   File: style.css
   Website: https://pngbetlab.co/
========================================================= */

/* 01. DESIGN TOKENS */

:root {
  color-scheme: dark;

  --bg: #070b13;
  --bg-deep: #03070d;
  --panel: #0c1420;
  --panel-light: #111c2a;

  --text: #f7f9ff;
  --muted: #b9c5d4;
  --gold: #ffd43b;
  --red: #ff1738;
  --cyan: #00cfff;

  --line: #2c3949;
  --line-soft: rgb(255 255 255 / 10%);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --page-width: 1100px;
  --page-gutter: clamp(12px, 3vw, 32px);

  --nav-height: 66px;
  --nav-gap: 10px;

  --shadow: 0 12px 32px rgb(0 0 0 / 28%);
}


/* 02. RESET AND GLOBAL STYLES */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 0;
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
  scroll-padding-bottom: calc(
    var(--nav-height) +
    var(--nav-gap) +
    env(safe-area-inset-bottom, 0px) +
    12px
  );
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  color: var(--text);

  background:
    radial-gradient(
      ellipse at 50% -100px,
      rgb(113 12 35 / 25%),
      transparent 580px
    ),
    var(--bg);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

a,
button {
  color: inherit;
}

h1,
h2,
h3,
p,
dl {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  margin-bottom: 1em;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.container,
.header-inner {
  width: min(
    calc(100% - var(--page-gutter) - var(--page-gutter)),
    var(--page-width)
  );
  margin-inline: auto;
}

.gold {
  color: var(--gold);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: #080b10;
  background: var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}


/* 03. HEADER */

.site-header {
  position: relative;
  z-index: 30;
  background: rgb(5 9 16 / 96%);
  border-bottom: 1px solid rgb(255 23 56 / 75%);
  box-shadow:
    0 1px 12px rgb(255 23 56 / 22%),
    0 8px 24px rgb(0 0 0 / 20%);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: clamp(8px, 2vw, 18px);
}

.brand {
  min-width: 0;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  flex: 0 0 auto;
  width: clamp(42px, 7vw, 64px);
  height: clamp(42px, 7vw, 64px);
  object-fit: cover;
  border: 1px solid rgb(255 212 59 / 70%);
  border-radius: 50%;
  box-shadow: 0 0 12px rgb(255 30 30 / 25%);
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: clamp(16px, 3.4vw, 30px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-text small {
  display: block;
  margin-top: 4px;
  color: #e0e6ee;
  font-size: clamp(10px, 1.7vw, 14px);
  line-height: 1.2;
}

.adult-label {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: #fff;
  background: #24050c;
  border: 1px solid var(--red);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 0 10px rgb(255 23 56 / 18%);
}


/* 04. MOBILE HEADER MENU */

.header-menu {
  position: relative;
  flex: 0 0 auto;
}

.header-menu > summary {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #101824;
  border: 1px solid #344255;
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
}

.header-menu > summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  font-size: 24px;
  line-height: 1;
}

.header-menu[open] > summary {
  border-color: var(--gold);
}

.header-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(220px, calc(100vw - 24px));
  display: grid;
  gap: 4px;
  padding: 8px;
  background: #0c1420;
  border: 1px solid #3a485a;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.header-menu nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
}

.header-menu nav a:hover,
.header-menu nav a:focus-visible {
  color: var(--gold);
  background: #192536;
}


/* 05. HERO SECTION */

.hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(25px, 5vw, 55px) 26px;
  border-bottom: 1px solid rgb(255 35 55 / 50%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";

  background:
    radial-gradient(
      ellipse at 90% 15%,
      rgb(239 35 55 / 22%),
      transparent 58%
    ),
    linear-gradient(
      115deg,
      rgb(45 9 21 / 60%),
      transparent 75%
    );

  pointer-events: none;
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 14px;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 950;
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.hero h1 .gold {
  text-shadow: 0 0 18px rgb(255 160 0 / 18%);
}

.hero-description {
  max-width: 590px;
  color: #e0e6ef;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.5;
}

.disclosure {
  max-width: 590px;
  margin: 15px 0 0;
  padding: 8px 0 8px 11px;
  color: #dce3ec;
  border-left: 3px solid var(--gold);
  font-size: 12px;
  line-height: 1.5;
}

.disclosure strong {
  color: #fff;
}


/* 06. GENERAL SECTIONS */

.section {
  margin-block: 0 32px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin-bottom: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-intro {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}


/* 07. SELECTED OPERATORS HEADING */

.offers-section {
  padding-top: 22px;
}

.offers-heading {
  justify-content: center;
  margin-bottom: 12px;
  text-align: center;
}

.offers-heading-inner {
  width: 100%;
}

.offers-heading .eyebrow {
  margin-bottom: 6px;
}

.offers-heading h2 {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 9px clamp(20px, 5vw, 48px);
  color: #160d00;

  background: linear-gradient(
    180deg,
    #fff29a 0%,
    #ffd43b 48%,
    #ffb800 100%
  );

  border: 1px solid #fff1a1;
  border-radius: 999px;

  box-shadow:
    0 0 8px rgb(255 212 59 / 55%),
    0 0 22px rgb(255 153 0 / 18%);

  font-size: clamp(16px, 3.2vw, 27px);
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.offers-intro {
  max-width: 760px;
  margin: 0 auto 15px;
  text-align: center;
}


/* 08. OPERATOR CARD LAYOUT */

.offer-list {
  display: grid;
  gap: 14px;
}

.offer-card {
  --accent: #ffad24;
  --accent-rgb: 255 150 20;
  --button-top: #ff3450;
  --button-bottom: #df0025;
  --button-text: #fff;

  min-width: 0;
  display: grid;

  grid-template-columns:
    minmax(0, 39%)
    minmax(0, 1fr);

  grid-template-areas:
    "media heading"
    "facts facts"
    "bottom bottom"
    "terms terms";

  align-items: start;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    #111a26 0%,
    #080e17 75%
  );

  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);

  box-shadow:
    0 0 5px rgb(var(--accent-rgb) / 48%),
    0 0 17px rgb(var(--accent-rgb) / 14%),
    0 8px 22px rgb(0 0 0 / 28%);
}


/* 09. INDIVIDUAL CARD COLORS */

.offer-card.orange,
.offer-card--png21 {
  --accent: #ffad24;
  --accent-rgb: 255 150 20;
  --button-top: #ff3450;
  --button-bottom: #df0025;
}

.offer-card.blue,
.offer-card--n1kaya {
  --accent: #00cfff;
  --accent-rgb: 0 207 255;
  --button-top: #138aff;
  --button-bottom: #0046e8;
}

.offer-card.yellow,
.offer-card--spinkaya {
  --accent: #ffd43b;
  --accent-rgb: 255 212 59;
  --button-top: #d719ff;
  --button-bottom: #8500d4;
}


/* 10. OPERATOR CARD ARTWORK */

.offer-banner.offer-media {
  grid-area: media;
  min-width: 0;
  min-height: 0;
  align-self: start;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #080d15;
  border: 0;
  border-right: 1px solid rgb(var(--accent-rgb) / 35%);
  border-bottom: 1px solid rgb(var(--accent-rgb) / 35%);
  border-radius: 0 0 10px 0;
}

.offer-art {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}


/* 11. OPERATOR CARD BODY */

.offer-body {
  display: contents;
}

.offer-heading {
  grid-area: heading;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  padding: clamp(9px, 2.5vw, 16px);
}

.offer-heading-text {
  min-width: 0;
}

.offer-heading h3 {
  margin: 0 0 3px;
  color: #fff;
  font-size: clamp(18px, 4vw, 28px);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

.banner-kicker {
  margin: 0;
  color: var(--gold);
  font-size: clamp(11px, 2vw, 14px);
  font-weight: 800;
  line-height: 1.25;
}

.offer-emblem {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: clamp(19px, 4vw, 32px);
  line-height: 1;
  text-shadow: 0 0 9px rgb(var(--accent-rgb) / 45%);
}


/* 12. OPERATOR INFORMATION GRID */

.facts {
  grid-area: facts;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 9px 10px 0;
}

.fact {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;

  background: linear-gradient(
    145deg,
    rgb(22 33 47 / 95%),
    rgb(8 15 24 / 95%)
  );

  border: 1px solid #344253;
  border-radius: 9px;
}

.fact-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 20px;
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.fact-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

.fact dt {
  margin: 0 0 2px;
  color: #c7d1dd;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.25;
}

.fact dd {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.fact dd small {
  display: block;
  color: #d1d9e4;
  font-size: 10px;
  font-weight: 600;
}

.facts--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.facts--4,
.facts--5 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.facts--5 .fact:last-child {
  grid-column: 1 / -1;
}


/* 13. OPERATOR CARD BOTTOM ROW */

.offer-bottom {
  grid-area: bottom;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 8px 10px 10px;
}

.offer-warning {
  min-width: 0;
  margin: 0;
  color: #ffe36b;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.offer-warning strong {
  color: #fff;
  font-weight: 950;
}

.offer-warning span {
  font-weight: 600;
}


/* 14. OPERATOR BUTTONS */

.cta {
  position: relative;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--button-text);

  background: linear-gradient(
    180deg,
    var(--button-top),
    var(--button-bottom)
  );

  border: 1px solid rgb(255 255 255 / 85%);
  border-radius: 999px;

  box-shadow:
    inset 0 1px 3px rgb(255 255 255 / 30%),
    0 0 8px rgb(var(--accent-rgb) / 35%);

  font-size: clamp(12px, 2.7vw, 17px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;

  transition:
    transform 160ms ease,
    filter 160ms ease,
    box-shadow 160ms ease;
}

.cta-arrow {
  flex: 0 0 auto;
}

.cta:active {
  transform: scale(0.98);
}


/* 15. EXPANDABLE OFFER CONDITIONS */

.offer-terms {
  grid-area: terms;
  min-width: 0;
  border-top: 1px solid rgb(255 255 255 / 10%);
  background: rgb(3 8 14 / 50%);
}

.offer-terms summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  color: #cdd7e3;
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}

.offer-terms summary::-webkit-details-marker {
  display: none;
}

.offer-terms summary::before {
  content: "+";
  color: var(--accent);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.offer-terms[open] summary::before {
  content: "−";
}

.offer-terms[open] summary {
  color: #fff;
}

.offer-terms .fine-print {
  margin: 0;
  padding: 0 11px 12px;
  color: #c1ccd9;
  font-size: 12px;
  line-height: 1.5;
}

.offer-card :focus-visible {
  outline-offset: -3px;
}


/* 16. TELEGRAM SECTION */

.telegram-section {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);

  grid-template-areas:
    "icon content"
    "button button";

  align-items: center;
  gap: 10px 12px;
  margin-bottom: 25px;
  padding: 13px;

  background:
    radial-gradient(
      ellipse at 0% 50%,
      rgb(0 207 255 / 17%),
      transparent 55%
    ),
    linear-gradient(135deg, #092237, #05111e);

  border: 1px solid var(--cyan);
  border-radius: var(--radius-lg);

  box-shadow:
    0 0 7px rgb(0 207 255 / 35%),
    0 0 20px rgb(0 207 255 / 10%);
}

.telegram-icon {
  grid-area: icon;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #35dcff, #0084ec);
  border: 2px solid #c4f7ff;
  border-radius: 50%;
  box-shadow: 0 0 13px rgb(0 207 255 / 50%);
  font-size: 25px;
  line-height: 1;
}

.telegram-content {
  grid-area: content;
  min-width: 0;
}

.telegram-content h2 {
  margin: 0 0 3px;
  font-size: clamp(18px, 3vw, 29px);
  font-weight: 950;
  line-height: 1.1;
}

.telegram-content p {
  margin: 0;
  color: #d0e8f6;
  font-size: 12px;
  line-height: 1.4;
}

.telegram-button {
  grid-area: button;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 18px;
  color: #00111c;

  background: linear-gradient(
    180deg,
    #9df5ff,
    #00cfff 65%,
    #00a5e8
  );

  border: 1px solid #c9fbff;
  border-radius: 999px;
  box-shadow: 0 0 10px rgb(0 207 255 / 40%);

  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;

  transition:
    transform 160ms ease,
    filter 160ms ease;
}

.telegram-button:active {
  transform: scale(0.98);
}


/* 17. FEATURE SHORTCUTS */

.feature-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
}

.feature-nav a {
  min-width: 0;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  color: #f5f7fb;
  font-size: clamp(10px, 2vw, 14px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.feature-nav a + a {
  border-left: 1px solid #354151;
}

.feature-nav a > span:first-child {
  color: var(--gold);
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1;
  text-shadow: 0 0 10px rgb(255 212 59 / 30%);
}


/* 18. QUICK TIPS SLIDER */

.slider-controls {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--panel-light);
  border: 1px solid #415066;
  border-radius: 50%;
  font-size: 19px;
  cursor: pointer;
}

.slider-controls button:hover:not(:disabled) {
  color: var(--gold);
  border-color: var(--gold);
}

.slider-controls button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.tip-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  scrollbar-width: thin;
  scrollbar-color: #5c4b25 transparent;
  overscroll-behavior-inline: contain;
}

.tip-card {
  flex: 0 0 min(85%, 340px);
  min-width: 0;
  padding: 17px;
  background: linear-gradient(135deg, #292415, #101823);
  border: 1px solid #68572b;
  border-radius: 14px;
  scroll-snap-align: start;
}

.tip-card > span {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.tip-card h3 {
  margin: 7px 0;
  font-size: 19px;
  line-height: 1.15;
}

.tip-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}


/* 19. KINA CALCULATOR */

.calculator {
  padding: clamp(16px, 3vw, 24px);
  background: linear-gradient(145deg, #121d2a, #09111b);
  border: 1px solid #344457;
  border-radius: var(--radius-lg);
}

.calculator > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.calculator label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
}

.calc-input {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 12px;
  background: #050a11;
  border: 1px solid #65758a;
  border-radius: 10px;
}

.calc-input:focus-within {
  border-color: var(--gold);
}

.calc-input span {
  color: var(--gold);
  font-weight: 950;
}

.calc-input input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 16px;
  font-weight: 750;
}

.calc-input input:focus-visible {
  outline-offset: -3px;
}

.calc-input input[aria-invalid="true"] {
  color: #ffb3bc;
}

.calc-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 14px 7px;
}

.calc-result span {
  color: var(--muted);
  font-size: 13px;
}

.calc-result strong {
  color: var(--gold);
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 950;
  overflow-wrap: anywhere;
}

.fine-print {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.calculator .fine-print {
  margin-bottom: 0;
}


/* 20. PLAYER GUIDE */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.info-grid article {
  min-width: 0;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.info-grid h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}


/* 21. FAQ SECTION */

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--gold);
  font-size: 20px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0;
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}


/* 22. FOOTER */

.site-footer {
  padding-block:
    24px
    calc(
      var(--nav-height) +
      var(--nav-gap) +
      env(safe-area-inset-bottom, 0px) +
      28px
    );

  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.site-footer strong {
  font-size: 17px;
  font-weight: 950;
}

.site-footer p {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}


/* 23. FIXED BOTTOM NAVIGATION */

.bottom-nav {
  position: fixed;
  z-index: 50;

  right: max(8px, env(safe-area-inset-right, 0px));

  bottom: calc(
    var(--nav-gap) +
    env(safe-area-inset-bottom, 0px)
  );

  left: max(8px, env(safe-area-inset-left, 0px));

  width: auto;
  max-width: var(--page-width);
  min-height: var(--nav-height);

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  gap: 3px;
  margin-inline: auto;
  padding: 4px;

  background: rgb(5 12 21 / 97%);
  border: 1px solid #586473;
  border-radius: 22px;

  box-shadow:
    0 -4px 20px rgb(0 0 0 / 30%),
    0 5px 18px rgb(0 0 0 / 45%);
}

.bottom-nav a {
  min-width: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px 2px;
  color: #dbe3ed;
  border: 1px solid transparent;
  border-radius: 17px;
  font-size: 10px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
}

.bottom-nav a > span:first-child {
  font-size: 21px;
  line-height: 1;
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible,
.bottom-nav a.active,
.bottom-nav a[aria-current="location"],
.bottom-nav a[aria-current="page"] {
  color: var(--gold);

  background: linear-gradient(
    180deg,
    rgb(255 212 59 / 20%),
    rgb(255 166 0 / 5%)
  );

  border-color: var(--gold);
  box-shadow: inset 0 0 10px rgb(255 212 59 / 12%);
}


/* 24. OPTIMIZED ANIMATIONS */

@keyframes emblem-heartbeat {
  0%, 70%, 100% {
    transform: scale(1);
  }

  77% {
    transform: scale(1.1);
  }

  84% {
    transform: scale(1);
  }

  91% {
    transform: scale(1.06);
  }
}

@keyframes papua-heartbeat {
  0%, 50%, 100% {
    scale: 1;
  }

  25% {
    scale: 1.035;
  }

  75% {
    scale: 1.02;
  }
}

@media (prefers-reduced-motion: no-preference) {

  .offer-emblem {
    animation: emblem-heartbeat 3.8s ease-in-out 2;
  }

  .offer-card--n1kaya .offer-emblem {
    animation-delay: 0.35s;
  }

  .offer-card--spinkaya .offer-emblem {
    animation-delay: 0.7s;
  }

  .cta,
  .telegram-button {
    animation: papua-heartbeat 2s ease-in-out 2;
    transform-origin: center;
  }

  .cta:hover,
  .telegram-button:hover,
  .cta:focus-visible,
  .telegram-button:focus-visible {
    animation: none;
  }
}

@media (hover: hover) and (pointer: fine) {

  .cta:hover,
  .telegram-button:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
  }

  .feature-nav a:hover {
    color: var(--gold);
  }
}


/* 25. SMALL MOBILE DEVICES — BELOW 360PX */

@media (max-width: 359px) {

  :root {
    --page-gutter: 10px;
  }

  .header-inner {
    min-height: 62px;
    gap: 6px;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 15px;
    white-space: normal;
  }

  .brand-text small {
    font-size: 9px;
  }

  .adult-label {
    padding: 5px 7px;
    font-size: 10px;
  }

  .header-menu > summary {
    width: 44px;
    height: 44px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .offer-heading {
    padding: 8px;
  }

  .offer-heading h3 {
    font-size: 17px;
  }

  .offer-emblem {
    display: none;
  }

  .facts--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .facts--3 .fact:last-child {
    grid-column: 1 / -1;
  }

  .fact-icon {
    display: none;
  }

  .offer-bottom {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
  }
}


/* 26. EXTREMELY NARROW DEVICES */

@media (max-width: 279px) {

  html {
    scroll-padding-bottom: 12px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .brand {
    flex-basis: 100%;
  }

  .offer-card {
    grid-template-columns: minmax(0, 1fr);

    grid-template-areas:
      "media"
      "heading"
      "facts"
      "bottom"
      "terms";
  }

  .offer-banner.offer-media {
    border-right: 0;
    border-radius: 0;
  }

  .facts--3,
  .facts--4,
  .facts--5,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottom-nav {
    position: static;
    margin: 8px;
  }

  .site-footer {
    padding-bottom: 24px;
  }
}


/* 27. MEDIUM MOBILE DEVICES — 400PX+ */

@media (min-width: 400px) {

  .facts--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts--4 .fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .facts--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts--5 .fact:last-child {
    grid-column: auto;
  }
}


/* 28. LARGE MOBILE DEVICES — 480PX+ */

@media (min-width: 480px) {

  .offer-list {
    gap: 16px;
  }

  .facts--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .facts--5 .fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .telegram-section {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon content button";
  }

  .telegram-button {
    min-width: 115px;
  }
}


/* 29. TABLETS AND DESKTOP — 760PX+ */

@media (min-width: 760px) {

  :root {
    --nav-height: 76px;
  }

  .header-inner {
    min-height: 82px;
  }

  .adult-label {
    padding: 8px 15px;
    font-size: 14px;
  }

  .header-menu > summary {
    width: 50px;
    height: 50px;
  }

  .offers-section {
    padding-top: 26px;
  }

  .offer-list {
    gap: 19px;
  }

  .offer-card {
    grid-template-columns:
      minmax(0, 37%)
      minmax(0, 1fr);

    grid-template-areas:
      "media heading"
      "media facts"
      "media bottom"
      "terms terms";

    grid-template-rows:
      auto
      1fr
      auto
      auto;

    border-width: 2px;
    border-radius: 22px;
  }

  .offer-banner.offer-media {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgb(var(--accent-rgb) / 45%);
    border-bottom: 0;
    border-radius: 0;
  }

  .offer-art {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }

  .offer-heading {
    padding: 11px 15px 5px;
  }

  .offer-heading h3 {
    font-size: clamp(24px, 3vw, 32px);
  }

  .banner-kicker {
    font-size: 14px;
  }

  .offer-emblem {
    font-size: 32px;
  }

  .facts {
    align-self: start;
    gap: 6px;
    padding: 3px 15px 0;
  }

  .facts--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .fact {
    min-height: 57px;
    padding: 7px;
  }

  .facts--4 .fact,
  .facts--5 .fact {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fact dt {
    font-size: 10px;
  }

  .fact dd {
    font-size: 12px;
  }

  .offer-bottom {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(150px, 45%);

    padding: 7px 15px 11px;
  }

  .offer-warning {
    font-size: 12px;
  }

  .cta {
    min-height: 44px;
    font-size: 16px;
  }

  .telegram-section {
    padding: 16px 20px;
    border-radius: 22px;
  }

  .telegram-icon {
    width: 62px;
    height: 62px;
    font-size: 33px;
  }

  .telegram-content p {
    font-size: 14px;
  }

  .telegram-button {
    min-width: 160px;
    min-height: 48px;
    font-size: 16px;
  }

  .bottom-nav a {
    min-height: 64px;
    font-size: 12px;
  }

  .bottom-nav a > span:first-child {
    font-size: 27px;
  }
}


/* 30. WIDE DESKTOP — 1000PX+ */

@media (min-width: 1000px) {

  .offer-heading {
    padding-top: 13px;
  }

  .facts {
    gap: 8px;
  }

  .fact {
    min-height: 64px;
    padding: 9px;
  }

  .fact-icon {
    width: 25px;
    font-size: 24px;
  }

  .fact dt {
    font-size: 11px;
  }

  .fact dd {
    font-size: 14px;
  }

  .offer-warning {
    font-size: 14px;
  }

  .cta {
    min-height: 48px;
    font-size: 18px;
  }

  .info-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* 31. REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* 32. PRINT STYLES */

@media print {

  body {
    color: #000;
    background: #fff;
  }

  .site-header,
  .bottom-nav,
  .header-menu,
  .slider-controls {
    display: none;
  }

  body * {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
    animation: none !important;
  }

  .offer-card,
  .calculator,
  .info-grid article {
    border: 1px solid #999;
    break-inside: avoid;
  }

  .tip-slider {
    display: block;
    overflow: visible;
  }

  .tip-card {
    break-inside: avoid;
  }

  .site-footer {
    padding-bottom: 20px;
  }

  a {
    text-decoration: underline;
  }
}

/* =========================================================
   END OF PAPUA TIPS STYLESHEET
========================================================= */
