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

:root {
  --pl-red: #d0131b;
  --pl-crimson: #8f0d14;
  --gold: #e8c36a;
  --ink: #fff7f5;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

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

.flag-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.14) 0 46%, rgba(208,19,27,0.28) 46% 100%),
    linear-gradient(180deg, rgba(18,4,6,0.35), rgba(18,4,6,0.88));
}

.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-radius: 16px;
  border: 1px solid rgba(232, 195, 106, 0.28);
  background: rgba(18, 4, 6, 0.82);
  backdrop-filter: blur(16px);
}

.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-lockup strong { display: block; font-family: "Cinzel", serif; letter-spacing: 0.08em; font-size: 13px; }
.brand-lockup small { color: rgba(255,247,245,0.7); font-size: 11px; }

.pl-flag {
  width: 42px;
  height: 28px;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
  background: linear-gradient(#fff 50%, #d0131b 50%);
}

.header-timer { text-align: right; }
.header-timer span { display: block; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); }
.header-timer strong { font-variant-numeric: tabular-nums; font-size: 18px; }

.hero { padding: 28px 8px 18px; }
.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(208,19,27,0.28);
  color: #ffd9d6;
  font-size: 12px;
}
.hero h1 {
  font-family: "Cinzel", serif;
  font-size: clamp(28px, 6vw, 52px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.hero-sub { max-width: 640px; font-size: 16px; line-height: 1.45; margin-bottom: 18px; color: rgba(255,247,245,0.88); }

.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(232,195,106,0.28);
  background: rgba(143,13,20,0.45);
  font-size: 12px;
  font-weight: 700;
}

.offers { display: flex; flex-direction: column; gap: 16px; }
.offer-wrapper { position: relative; }
.offer-container {
  display: grid;
  gap: 16px;
  padding: 22px 16px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(48,8,12,0.92), rgba(16,4,6,0.94));
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.is-top .offer-container {
  border-color: rgba(232,195,106,0.55);
  box-shadow: 0 0 0 1px rgba(232,195,106,0.25), 0 20px 50px rgba(208,19,27,0.35);
}

.rank-badge {
  position: absolute;
  left: 0;
  top: 18px;
  width: 34px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pl-red);
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
  font-family: "Cinzel", 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, #8f0d14, #d0131b);
  font-size: 12px;
  font-weight: 800;
}

.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(255,247,245,0.72); }
.score-point { display: block; font-size: 28px; font-weight: 800; color: var(--gold); line-height: 1; }
.stars { position: relative; height: 22px; font-size: 18px; }
.stars [class^="star-"]::before { color: var(--gold); }
.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: #ffb4b0; margin-bottom: 4px; }
.welcome-title p { font-size: 18px; font-weight: 700; line-height: 1.25; }
.bonus-main { font-family: "Cinzel", serif; font-size: 22px; }

.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, #e8c36a, #fff1c2, #e8c36a);
  background-size: 200% 100%;
  color: #1a1200;
  animation: shine 2.8s linear infinite;
}
.is-top .offer-btn a { animation: shine 2.2s linear infinite, cta-pop 2.4s ease-in-out infinite; }
.offer-btn a:hover { transform: translateY(-2px) scale(1.03); }

.welcome-policy { margin-top: 8px; text-align: center; font-size: 11px; color: rgba(255,247,245,0.55); }
.welcome-policy a:hover { text-decoration: underline; }

.content-container {
  margin-top: 28px;
  padding: 22px 18px;
  border-radius: 20px;
  background: rgba(18,4,6,0.78);
  border: 1px solid rgba(232,195,106,0.12);
  font-size: 14px;
  line-height: 1.6;
}
.content-container h2, .content-container h3 { font-family: "Cinzel", serif; margin: 16px 0 10px; }
.content-container p { margin-bottom: 10px; color: rgba(255,247,245,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, #8f0d14, #d0131b);
  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; }
.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 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;
  }

  .pl-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; }
}
