@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ══════════════════════════════════════
   THEME VARIABLES
══════════════════════════════════════ */
:root {
  --main-bg:         #0B1B2B;
  --page-content-bg: #ffffff;
  --page-bg:         #0E2236;
  --footer:          #0B1B2B;
  --header:          #0B1B2B;
  --main-font:       #ffffff;
  --page-font:       #FFFFFF;
  --highlight:       #D4AF37;
  --title:           #FFFFFF;
  --btn:             #D4AF37;
  --btn-hover:       #FFD700;
  --black:           #000;
  --white:           #fff;
  --error:           #ff2e2e;
}

/* ══════════════════════════════════════
   BASE
══════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  font-size: 14px;
}
body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--main-font);
  background-image: url('/main-bg.webp');
  background-color: var(--main-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
footer { background: var(--main-bg); }
a { text-decoration: none; color: var(--main-font); }

/* ── HEADER: hidden, hero flush to top ── */
.main-header {
  display: none !important;
}

.main-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.sub-header-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.3rem 1.3rem;
  background-image: url('/ppl-assets/hero.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 190px;
}
.sub-header-text {
  flex: 1;
  padding-right: 1rem;
}
.sub-header-container h1 {
  margin-bottom: 0.5rem;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--title);
  line-height: 1.2;
}
.sub-header-container p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--page-font);
}
.image-container {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}
.image-container img {
  width: 210px;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════
   OFFERS CONTAINER
══════════════════════════════════════ */
.offers-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--main-bg);
  padding: 0.75rem 0.75rem 0;
}

/* ══════════════════════════════════════
   OFFER CARD
══════════════════════════════════════ */
.offer-block {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  /* overflow hidden on the block clips inner-block cleanly */
  overflow: hidden;
  margin-bottom: 1rem;
  /* animated glow border — no padding so zero bottom gap */
  border: 1.5px solid #555;
  animation: cardBorderGlow 4s ease infinite;
}

@keyframes cardBorderGlow {
  0%   { box-shadow: 0 0 5px 1px rgba(100,100,100,0.3);  border-color: #444; }
  25%  { box-shadow: 0 0 14px 3px rgba(212,175,55,0.6);  border-color: #D4AF37; }
  50%  { box-shadow: 0 0 5px 1px rgba(100,100,100,0.3);  border-color: #444; }
  75%  { box-shadow: 0 0 14px 3px rgba(212,175,55,0.55); border-color: #D4AF37; }
  100% { box-shadow: 0 0 5px 1px rgba(100,100,100,0.3);  border-color: #444; }
}

/* mobile full-card tap target */
.mobile-link {
  position: absolute;
  inset: 0;
  display: none;
  z-index: 1;
}

/* ── FLAG BADGE ── */
.flag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  padding: 4px 10px 4px 8px;
  background: linear-gradient(90deg, #D4AF37, #FFD700);
  color: #0B1B2B;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 0 0 10px 0;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(212,175,55,0.4);
}

/* ── INNER BLOCK — fills card edge to edge, no gap ── */
.offer-inner-block {
  display: flex;
  align-items: stretch;
  /* no border-radius here — parent clip handles it */
}

/* ══════════════════════════════════════
   LEFT COLUMN
══════════════════════════════════════ */
.offer-left-block {
  width: 38%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #0E2236;
  /* top padding clears the flag badge */
  padding: 2.4rem 0.5rem 0.9rem;
  gap: 0.7rem;
}

.offer-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  background: transparent;
  outline: none;
}
.offer-logo img {
  width: 130px;
  height: 65px;
  object-fit: contain;
  display: block;
}

/* rating row: stars left, score right */
.rating-container {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 0.4rem;
  gap: 0.3rem;
  flex-wrap: nowrap;
}

.offer-votes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  flex-shrink: 1;
  min-width: 0;
}

/* stars */
.stars-container {
  position: relative;
  display: inline-block;
  color: transparent;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
.stars-container::before {
  content: '★★★★★';
  position: absolute; top: 0; left: 0;
  color: #555;
}
.stars-container::after {
  content: '★★★★★';
  position: absolute; top: 0; left: 0;
  color: #ffcb0f;
  overflow: hidden;
}
.star-100::after { width: 100%; }
.star-90::after  { width: 90%; }
.star-80::after  { width: 80%; }
.star-70::after  { width: 70%; }
.star-50::after  { width: 50%; }

.reviews-text {
  font-size: 0.58rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* score: "Score" label ON TOP, big number below */
.offer-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 0;
}
.site-rating-text {
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 1px;
}
.site-rating {
  font-size: 1.55rem;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1;
}

/* ══════════════════════════════════════
   RIGHT COLUMN
══════════════════════════════════════ */
.offer-right-block {
  width: 62%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  padding: 2.2rem 0.6rem 0.7rem;
  background-color: #152238;
  min-height: 160px;
}

.welcome-bonus-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}

/* gradient bonus title */
.bonus-title-grad {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 3px;
  background: linear-gradient(90deg, #f9d423, #ff9500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bonus-line {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  text-align: center;
}

/* CTA */
.btn-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.offer-btn {
  position: relative;
  overflow: hidden;
  width: 90%;
  max-width: 170px;
  height: 2.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  color: #0B1B2B;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  box-shadow: 0 4px 14px rgba(212,175,55,0.4);
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.6);
}
.offer-btn:active {
  transform: translateY(1px);
}
/* shine */
.offer-btn::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 60%);
  transform: translateX(-120%) skewX(-20deg);
  animation: shineLoop 3s infinite;
  pointer-events: none;
}
@keyframes shineLoop {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  50%  { transform: translateX(160%) skewX(-20deg); }
  100% { transform: translateX(160%) skewX(-20deg); }
}

/* features — single line with bullet separators */
.features-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0 4px;
  width: 100%;
}
.feat-item {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
}
.feat-check {
  color: #00c500;
  font-size: 0.65rem;
  font-weight: 800;
}
.feat-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  line-height: 1;
}

.offer-right-block > div > ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  width: 100%;
}
.offer-right-block > div > ul li {
  font-size: 8.5px !important;
  line-height: 1.4 !important;
  margin-block-start: 0.3ex !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: rgba(255,255,255,0.75) !important;
}
.offer-right-block > div > ul li span {
  color: #00c500 !important;
  font-size: 10px !important;
}

/* ══════════════════════════════════════
   CONTENT
══════════════════════════════════════ */
.content-container {
  width: 100%;
  padding: 1.3rem;
  background-color: var(--main-bg);
}
.content-container h4 {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--title);
}
.content-container h4,
.content-container ul,
.content-container p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.3rem;
}
.content-container p strong { font-weight: 700; }
.content-container ul {
  list-style-type: disc;
  padding-left: 2.4rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.main-footer {
  width: 100%;
  padding: 1.5rem;
  font-size: 0.857rem;
  line-height: 1.25rem;
  background-color: var(--footer);
}
.to-top-container {
  width: 100%;
  text-align: end;
  padding: 1rem 1.3rem;
  border-bottom: 1rem solid var(--main-bg);
}
.to-top-container a {
  font-size: .875rem;
  color: var(--white);
}
.partners-container {
  margin-bottom: 3rem;
}
.partners-container ul {
  display: flex;
  align-items: center;
  justify-content: center;
}
.partners-container img {
  height: 1.8rem;
  width: auto;
  opacity: .6;
  margin: 0 .2rem;
}
.contact-container {
  padding: 0 1.5rem 2rem;
}
.contact-container p {
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.5rem;
}

/* ══════════════════════════════════════
   EXIT POPUP (preserved)
══════════════════════════════════════ */
.modal_overlay {
  position: fixed;
  z-index: 1000;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,.7);
  display: none;
  align-items: center;
  justify-content: center;
}
.popWrap { width: 700px; }
.popHeading { background: #124da8; text-align: center; }
.popHeading h3 {
  margin: 0; color: #fff; font-size: 36px;
  text-transform: uppercase; padding: 30px 0 25px; font-weight: 500;
}
.popBody {
  background-size: cover; display: flex;
  justify-content: center; position: relative; padding: 55px 0;
}
.popItem {
  width: 41%; background: #fff; border-radius: 25px;
  text-align: center; padding: 15px;
  box-shadow: 0 0 20px #404040c9; margin: 0 15px;
}
.popItem img { max-width: 100%; }
.popItem .bonus-block h2 { margin-bottom: 5px; font-size: 25px; margin-top: 10px; font-weight: 700; color: #000; }
.popItem .bonus-block h4 { font-size: 25px; font-weight: 500; margin: 2px 0 15px; color: #000; }
.popItem a { background: #004fa5; color: #fff; display: inline-block; font-weight: 500; font-size: 20px; padding: 13px 35px; border-radius: 10px; margin-bottom: 20px; }
.popItem p { margin-bottom: 0; font-size: 10px; color: #808080; margin-top: 5px; }
.ddexitpop { border: none !important; border-radius: 5px; padding: 0 !important; }
div#news-signup_close { right: 0; top: 3px; font-size: 30px !important; color: #fff; opacity: 0.8; width: 35px !important; height: 35px !important; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1050px) {
  .main-container { max-width: 767px; }
  .sub-header-container { background-position: 65%; }
}

@media (max-width: 767px) {
  body { background: none; }
  .main-container { max-width: inherit; }
  .sub-header-container {
    background-image:
      linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
      url('/ppl-assets/hero.webp');
    background-size: cover;
    background-position: center;
  }
  .mobile-link { display: block; }
  .offer-btn {
    cursor: pointer;
    box-shadow: 0 5px 8px 0 rgba(20,18,29,0.7);
    transition: .15s ease-out;
  }
  .offer-btn:active,
  .offer-btn:hover {
    transform: translateY(3px);
    background: var(--btn);
  }
  .modal_overlay { display: none !important; }
  .popWrap { width: 90%; position: absolute; top: 0; }
  .popBody { align-items: center; }
  .popItem { width: 90%; }
  .popItem .bonus-block h2 { font-size: 21px; }
  .popItem .bonus-block h4 { font-size: 20px; }
}

@media (max-width: 550px) {
  .popBody { flex-direction: column; padding: 25px 0; }
  .popItem { margin: 10px; width: 90%; }
}
@media (max-width: 350px) {
  .popHeading h3 { font-size: 28px; }
  .popItem .bonus-block h2 { font-size: 19px; line-height: 24px; }
  .popItem .bonus-block h4 { font-size: 17px; line-height: 21px; }
  .popItem a { font-size: 18px; padding: 10px 21px; }
}