@font-face {
  font-family: "CP Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/typography/barlow-400-latin.woff2") format("woff2");
}

@font-face {
  font-family: "CP Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/typography/barlow-600-latin.woff2") format("woff2");
}

@font-face {
  font-family: "CP Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/typography/barlow-700-latin.woff2") format("woff2");
}

@font-face {
  font-family: "CP Teko";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/typography/teko-700-latin.woff2") format("woff2");
}

:root {
  --cp-bg: #46136e;
  --cp-bg-soft: #612388;
  --cp-panel: #632683;
  --cp-panel-dark: #3b0f58;
  --cp-card: #5f257e;
  --cp-card-strong: rgba(31, 7, 48, 0.9);
  --cp-text: #f5efff;
  --cp-muted: #d7c8ee;
  --cp-accent: #f0cf1f;
  --cp-accent-dark: #caa303;
  --cp-border: rgba(255, 255, 255, 0.2);
  --cp-shadow: 0 16px 40px rgba(11, 2, 24, 0.35);
  --cp-radius: 16px;
  --cp-sidebar-width: 282px;
  --cp-cookie-offset: 0px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  background: radial-gradient(circle at 60% 10%, #6f2e96 0%, #4b166f 42%, #2f0d4a 100%);
}

body {
  font-family: "CP Barlow", sans-serif;
  color: var(--cp-text);
  background: transparent;
  line-height: 1.62;
  min-height: 100vh;
  padding-bottom: var(--cp-cookie-offset);
}

a {
  color: #ffe769;
}

a:hover {
  color: #fff5b1;
}

h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  line-height: 1.15;
  font-family: "CP Teko", sans-serif;
  font-weight: 700;
  letter-spacing: 0.4px;
}

h1 {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

.cp-layout {
  min-height: 100vh;
}

.cp-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--cp-sidebar-width);
  min-height: 100vh;
  padding: 20px 18px;
  background: linear-gradient(190deg, #2d0848 0%, #411164 35%, #2a0942 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 100;
}

.cp-logo-link {
  display: block;
  text-align: center;
  text-decoration: none;
}

.cp-logo-image {
  width: min(190px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.4));
}

.cp-sidebar-actions {
  display: grid;
  gap: 10px;
}

.cp-sidebar-nav {
  margin-top: 2px;
  display: grid;
  gap: 8px;
}

.cp-sidebar-nav a {
  text-decoration: none;
  color: var(--cp-muted);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  padding: 10px 11px;
  transition: 0.2s ease;
}

.cp-sidebar-nav a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(2px);
}

.cp-sidebar-disclaimer {
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #d9c9ea;
}

.cp-main {
  margin-left: var(--cp-sidebar-width);
  padding: 22px 22px 20px;
}

.cp-section {
  margin-block: 22px;
  background: linear-gradient(180deg, rgba(110, 51, 145, 0.72), rgba(84, 34, 117, 0.78));
  border: 1px solid var(--cp-border);
  border-radius: var(--cp-radius);
  padding: clamp(16px, 2vw, 26px);
  box-shadow: var(--cp-shadow);
}

.cp-main > .cp-section:first-child {
  margin-top: 0;
}

.cp-kicker {
  display: inline-block;
  margin-bottom: 8px;
  border-radius: 999px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.22);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.cp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 220px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: 0.2s ease;
}

.cp-btn-primary {
  background: linear-gradient(180deg, #ffe056 0%, #eec522 100%);
  color: #301648;
  border-color: #f4e28f;
}

.cp-btn-primary:hover,
.cp-btn-primary:focus-visible {
  background: linear-gradient(180deg, #ffe97d 0%, #ffd12d 100%);
  color: #27123b;
}

.cp-btn-secondary {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.cp-btn-secondary:hover,
.cp-btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.cp-btn-ghost {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cp-btn-ghost:hover,
.cp-btn-ghost:focus-visible {
  background: rgba(0, 0, 0, 0.3);
}

.cp-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: clamp(420px, 66vh, 700px);
}

.cp-hero-picture,
.cp-hero-image {
  display: block;
  width: 100%;
  height: 100%;
}

.cp-hero-image {
  object-fit: cover;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 2, 33, 0.2) 0%, rgba(19, 2, 33, 0.6) 100%);
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 30px);
}

.cp-hero-card {
  width: min(700px, 100%);
  background: var(--cp-card-strong);
  border-radius: 18px;
  padding: clamp(14px, 2.2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  text-align: center;
}

.cp-hero-card p {
  max-width: 640px;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  margin-inline: auto;
}

.cp-hero-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cp-quick-nav {
  padding: 16px;
}

.cp-accordion-trigger {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.cp-accordion-trigger::after {
  content: "+";
  float: right;
  font-size: 1.3rem;
  line-height: 1;
}

.cp-accordion-trigger[aria-expanded="true"]::after {
  content: "-";
}

.cp-accordion-panel {
  margin-top: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.2);
  padding: 14px;
}

.cp-accordion-panel ul {
  margin: 0;
  padding-left: 18px;
  columns: 2;
  gap: 18px;
}

.cp-table-wrap {
  overflow-x: auto;
}

.cp-overview-table,
.cp-data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.cp-overview-table th,
.cp-overview-table td,
.cp-data-table th,
.cp-data-table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.cp-overview-table th,
.cp-data-table thead th {
  background: rgba(0, 0, 0, 0.22);
}

.cp-list {
  padding-left: 18px;
}

.cp-list li {
  margin-bottom: 0.4rem;
}

.cp-list-ordered {
  list-style: decimal;
}

.cp-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cp-slot-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #28063f;
  box-shadow: 0 10px 20px rgba(10, 0, 22, 0.35);
}

.cp-slot-card img {
  display: block;
  width: 100%;
  height: auto;
}

.cp-slot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 35%, rgba(0, 0, 0, 0.55));
}

.cp-slot-overlay {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 160px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #f8e491;
  background: rgba(30, 14, 46, 0.82);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s ease;
  backdrop-filter: blur(1.4px);
}

.cp-slot-overlay:hover {
  background: rgba(236, 196, 35, 0.92);
  color: #2b1141;
}

.cp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cp-feature-grid article {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 2, 27, 0.25);
}

.cp-cta-banner {
  position: relative;
  overflow: hidden;
  min-height: clamp(220px, 30vw, 300px);
  display: grid;
  align-items: center;
}

.cp-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 5, 40, 0.84), rgba(26, 5, 40, 0.5));
  z-index: 1;
}

.cp-cta-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.cp-cta-content p {
  margin-bottom: 1rem;
}

.cp-review-shell {
  --cp-review-per-view: 3;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.cp-review-arrow {
  width: 34px;
  height: 58px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  padding: 0;
  margin-inline: auto;
  cursor: pointer;
}

.cp-review-arrow:hover:not(:disabled) {
  background: rgba(255, 216, 71, 0.25);
}

.cp-review-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.cp-review-viewport {
  overflow: hidden;
}

.cp-review-track {
  display: flex;
  transition: transform 0.45s ease;
}

.cp-review-card {
  flex: 0 0 calc(100% / var(--cp-review-per-view));
  padding: 0 8px;
  min-width: 0;
}

.cp-review-card > * {
  overflow-wrap: anywhere;
}

.cp-review-card {
  background: rgba(10, 0, 18, 0.33);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
}

.cp-review-head {
  margin-bottom: 0.4rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.cp-review-head span {
  color: #d5c5eb;
  font-size: 0.88rem;
}

.cp-review-rating {
  color: #ffe279;
  font-weight: 700;
}

.cp-calculator {
  background: linear-gradient(180deg, #4f1a75 0%, #3d125d 100%);
}

.cp-calc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.cp-calc-field {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.cp-calc-field input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 0, 14, 0.35);
  color: #fff;
  padding: 12px;
  font-size: 1rem;
}

.cp-calc-result {
  margin-top: 14px;
  font-size: 1.1rem;
}

.cp-pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cp-pros-cons-grid article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  background: rgba(15, 2, 27, 0.25);
}

.cp-payment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cp-faq-list {
  display: grid;
  gap: 10px;
}

.cp-faq-list details {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.16);
  padding: 12px 14px;
}

.cp-faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.cp-faq-list details p {
  margin-top: 0.65rem;
}

.cp-page-footer {
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--cp-radius);
  background: rgba(20, 6, 33, 0.64);
  padding: 18px;
}

.cp-page-footer p {
  margin-bottom: 0.75rem;
}

.cp-page-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cp-cookie-banner {
  position: fixed;
  left: var(--cp-sidebar-width);
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(18, 5, 30, 0.94);
  backdrop-filter: blur(5px);
}

.cp-cookie-banner p {
  margin: 0;
}

.cp-legal-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(220px, 30vw, 300px);
  display: grid;
  align-items: center;
}

.cp-legal-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp-legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 3, 30, 0.6);
}

.cp-legal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.cp-legal-content {
  display: grid;
  gap: 14px;
}

.cp-legal-content article {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(14, 4, 25, 0.3);
  padding: 14px;
}

@media (max-width: 1220px) {
  .cp-slots-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cp-feature-grid,
  .cp-payment-grid,
  .cp-pros-cons-grid {
    grid-template-columns: 1fr;
  }

  .cp-accordion-panel ul {
    columns: 1;
  }
}

@media (max-width: 980px) {
  :root {
    --cp-sidebar-width: 0px;
  }

  .cp-sidebar {
    position: sticky;
    width: 100%;
    min-height: 0;
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .cp-logo-image {
    width: 102px;
  }

  .cp-sidebar-actions {
    display: flex;
    gap: 8px;
  }

  .cp-sidebar-actions .cp-btn {
    min-width: 106px;
    min-height: 44px;
    padding-inline: 10px;
    font-size: 0.88rem;
  }

  .cp-sidebar-nav,
  .cp-sidebar-disclaimer {
    display: none;
  }

  .cp-main {
    margin-left: 0;
    padding: 12px 12px 16px;
  }

  .cp-hero {
    min-height: clamp(470px, 72vh, 690px);
  }

  .cp-hero-card {
    width: min(640px, 100%);
  }

  .cp-cookie-banner {
    left: 0;
    flex-wrap: wrap;
  }

  .cp-cookie-banner .cp-btn {
    min-width: 150px;
    min-height: 46px;
  }

  .cp-review-shell {
    --cp-review-per-view: 2;
  }
}

@media (max-width: 720px) {
  .cp-slots-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cp-review-shell {
    --cp-review-per-view: 1;
    grid-template-columns: 30px minmax(0, 1fr) 30px;
  }

  .cp-review-arrow {
    width: 28px;
    height: 64px;
    border-radius: 10px;
    font-size: 1.25rem;
  }

  .cp-calc-grid {
    grid-template-columns: 1fr;
  }

  .cp-btn {
    min-width: 200px;
  }

  .cp-hero {
    min-height: clamp(440px, 76vh, 620px);
  }

  .cp-hero-card {
    padding: 14px 12px;
  }

  .cp-hero-card h1 {
    font-size: clamp(1.8rem, 9.2vw, 2.7rem);
    line-height: 1.03;
  }

  .cp-hero-card p {
    font-size: 1rem;
    line-height: 1.45;
  }

  .cp-hero-actions {
    gap: 8px;
  }

  .cp-hero-actions .cp-btn {
    min-width: 160px;
    min-height: 46px;
    font-size: 0.94rem;
  }

  .cp-overview-table,
  .cp-data-table {
    min-width: 520px;
  }
}
