@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Syne:wght@700;800&display=swap");

:root {
  --fi-blue: #002f6c;
  --fi-navy: #001029;
  --ice: #7ec8ff;
  --snow: #f4f8ff;
  --gold: #f4c45a;
  --glass: rgba(6, 18, 42, 0.72);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--snow);
  min-height: 100%;
  background: #000814 url("../images/hero.jpg") center top / cover no-repeat fixed;
}

.aurora-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(80, 210, 255, 0.28), transparent 60%),
    radial-gradient(900px 420px at 85% 8%, rgba(0, 90, 180, 0.45), transparent 55%),
    linear-gradient(180deg, rgba(0, 8, 20, 0.35) 0%, rgba(0, 16, 41, 0.82) 55%, #000814 100%);
  animation: aurora 14s ease-in-out infinite alternate;
}

.nordic-cross {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(var(--fi-blue), var(--fi-blue)) 0 42% / 100% 56px no-repeat,
    linear-gradient(var(--fi-blue), var(--fi-blue)) 28% 0 / 56px 100% no-repeat;
  opacity: 0.16;
  mix-blend-mode: screen;
}

.bg-container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px 110px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 8px;
  padding: 10px 14px;
  border: 1px solid rgba(126, 200, 255, 0.25);
  border-radius: 16px;
  background: rgba(0, 16, 41, 0.78);
  backdrop-filter: blur(16px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup strong {
  display: block;
  font-family: "Syne", sans-serif;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.brand-lockup small {
  color: rgba(244, 248, 255, 0.7);
  font-size: 11px;
}

.fi-flag {
  width: 42px;
  height: 26px;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(#002f6c, #002f6c) 0 38% / 100% 28% no-repeat,
    linear-gradient(#002f6c, #002f6c) 28% 0 / 18% 100% no-repeat,
    #fff;
}

.header-timer {
  text-align: right;
}

.header-timer span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ice);
}

.header-timer strong {
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  color: var(--gold);
}

.hero {
  padding: 28px 8px 18px;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(126, 200, 255, 0.12);
  color: var(--ice);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.05;
  margin-bottom: 10px;
  text-shadow: 0 8px 40px rgba(0, 47, 108, 0.8);
}

.hero-sub {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(244, 248, 255, 0.86);
  margin-bottom: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.trust-row li {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 200, 255, 0.28);
  background: rgba(0, 47, 108, 0.45);
  font-size: 12px;
  font-weight: 600;
}

.offers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-wrapper {
  position: relative;
}

.offer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px 16px 16px;
  border-radius: 20px;
  border: 1px solid rgba(126, 200, 255, 0.22);
  background: linear-gradient(180deg, rgba(8, 28, 64, 0.88), rgba(2, 10, 28, 0.92));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.offer-wrapper.is-top .offer-container {
  border-color: rgba(244, 196, 90, 0.55);
  box-shadow: 0 0 0 1px rgba(244, 196, 90, 0.25), 0 20px 50px rgba(0, 47, 108, 0.55);
  background:
    radial-gradient(500px 160px at 80% 0%, rgba(126, 200, 255, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(10, 38, 86, 0.95), rgba(2, 10, 28, 0.96));
}

.rank-badge {
  position: absolute;
  left: 0;
  top: 18px;
  width: 34px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--fi-blue);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.rank-1 {
  background: linear-gradient(180deg, #ffe08a, #d4a017);
  color: #1a1200;
}

.offer-label {
  position: absolute;
  top: -10px;
  right: 16px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #003580, #7ec8ff);
  font-size: 12px;
  font-weight: 700;
}

.offer-cover,
.offer-promo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.offer-logo {
  width: 100%;
  max-width: 180px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 14px;
  background: #000;
}

.offer-logo img {
  max-height: 72px;
  object-fit: contain;
}

.offer-score {
  display: flex;
  gap: 24px;
  align-items: flex-end;
}

.txt-raiting {
  font-size: 12px;
  color: rgba(244, 248, 255, 0.72);
}

.score-point {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--ice);
  line-height: 1;
}

.stars {
  position: relative;
  height: 22px;
  font-size: 18px;
}

.stars [class^="star-"]::before {
  color: var(--gold);
  text-shadow: 0 0 12px rgba(244, 196, 90, 0.45);
}

.star-5::before { content: "★★★★★"; }
.star-4::before { content: "★★★★☆"; }
.star-3::before { content: "★★★☆☆"; }
.star-2::before { content: "★★☆☆☆"; }
.star-1::before { content: "★☆☆☆☆"; }

.welcome-title h3 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice);
  margin-bottom: 4px;
}

.bonus-main,
.welcome-title p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.bonus-main {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  color: #fff;
}

.live-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #9be7a6;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse 1.6s infinite;
}

.offer-btn {
  width: 100%;
  max-width: 240px;
}

.offer-btn a {
  display: block;
  padding: 14px 22px;
  border-radius: 14px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(90deg, #f4c45a, #ffe08a, #f4c45a);
  background-size: 200% 100%;
  color: #1a1200;
  box-shadow: 0 10px 24px rgba(244, 196, 90, 0.28);
  animation: shine 2.8s linear infinite;
}

.offer-btn a:hover {
  transform: translateY(-2px) scale(1.03);
}

.is-top .offer-btn a {
  animation: shine 2.2s linear infinite, cta-pop 2.4s ease-in-out infinite;
}

.welcome-policy {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: rgba(244, 248, 255, 0.55);
}

.welcome-policy a:hover {
  text-decoration: underline;
}

.content-container {
  margin-top: 28px;
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(0, 16, 41, 0.72);
  border: 1px solid rgba(126, 200, 255, 0.12);
  font-size: 14px;
  line-height: 1.6;
}

.content-container h2,
.content-container h3 {
  font-family: "Syne", sans-serif;
  margin: 16px 0 10px;
}

.content-container p {
  margin-bottom: 10px;
  color: rgba(244, 248, 255, 0.86);
}

.sticky-convert {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(90deg, #002f6c, #0a4aa3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.sticky-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-copy strong {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.sticky-copy span {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--gold);
  color: #1a1200;
  font-weight: 800;
}

@keyframes aurora {
  from { opacity: 0.85; filter: hue-rotate(0deg); }
  to { opacity: 1; filter: hue-rotate(18deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes cta-pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@media (min-width: 760px) {
  .offer-container {
    grid-template-columns: 220px 1fr auto;
    align-items: center;
    padding: 28px 28px 22px 48px;
    text-align: left;
  }

  .offer-cover,
  .offer-promo,
  .welcome-title {
    align-items: flex-start;
    text-align: left;
  }

  .offer-promo {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .hero {
    padding: 48px 8px 28px;
  }
}

@media (min-width: 1024px) {
  .bg-container {
    padding-bottom: 40px;
  }

  .sticky-convert {
    display: none;
  }
}

@media (max-width: 759px) {
  .bg-container {
    padding: 0 8px 16px;
  }

  .header-main {
    position: relative;
    margin: 4px 0 2px;
    padding: 4px 8px;
    border-radius: 10px;
    gap: 6px;
  }

  .fi-flag {
    width: 28px;
    height: 18px;
  }

  .brand-lockup strong {
    font-size: 10px;
  }

  .brand-lockup small,
  .header-timer span {
    display: none;
  }

  .header-timer strong {
    font-size: 13px;
  }

  .hero {
    padding: 2px 4px 4px;
  }

  .hero-kicker,
  .hero-sub,
  .trust-row {
    display: none;
  }

  .hero h1 {
    font-size: 15px;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .offers {
    gap: 4px;
  }

  .offer-wrapper {
    height: calc((100dvh - 72px) / 4);
  }

  .offer-container {
    height: 100%;
    grid-template-columns: 82px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 28px;
    border-radius: 12px;
  }

  .rank-badge {
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 28px;
    font-size: 11px;
  }

  .offer-label,
  .offer-score,
  .live-line,
  .welcome-policy,
  .welcome-title h3,
  .sticky-convert {
    display: none !important;
  }

  .offer-cover,
  .offer-promo,
  .welcome-title {
    align-items: flex-start;
    text-align: left;
    gap: 0;
  }

  .offer-logo {
    width: 82px;
    max-width: 82px;
    min-height: 0;
    height: 58px;
    padding: 4px;
    border-radius: 8px;
  }

  .offer-logo img {
    max-height: 50px;
  }

  .offer-promo {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .bonus-main,
  .welcome-title p {
    font-size: 12px;
    line-height: 1.15;
  }

  .welcome-title p:nth-child(n+4) {
    display: none;
  }

  .offer-btn {
    width: 92px;
    max-width: 92px;
  }

  .offer-btn a {
    padding: 8px 6px;
    font-size: 11px;
    border-radius: 8px;
  }
}
