/* ======================================================
   UniversalGamblers.vip — Global Stylesheet
   Bright/light design matched to casinode.fyi:
   lavender base, floating white header, centered hero,
   compact horizontal casino-ranking cards, vivid green
   CTAs, gold ranking accents, full-width purple offer bar.
   Chakra Petch display headings, Inter body.
   ====================================================== */

h1 img.emoji, .flag img.emoji {
  display: inline-block; height: 0.9em; width: auto;
  vertical-align: middle; margin: 0 0.04em;
}

:root {
  --navy:   #14122a;
  --navy-2: #1a2440;
  --ink:    #0e1530;

  --gold:   #ffd700;
  --gold-2: #e7a91b;
  --teal:   #30e14a;   /* vivid green CTA (casinode.fyi) */
  --teal-2: #22c55e;
  --purple: #6c5ce7;   /* purple offer bar (casinode.fyi) */

  --text:      #2a3350;
  --text-dark: #14122a;
  --muted:     #6a7390;
  --paper:     #ffffff;
  --bg:        #f5f3fd;   /* light lavender base (casinode.fyi) */
  --line:      #e7e3f5;

  --radius:   16px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --shadow: 0 14px 40px rgba(40,30,90,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: "Chakra Petch", Inter, Arial, sans-serif; letter-spacing: -.01em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* ---------------- Header (floating white card) ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 40; width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(40,30,90,.07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 84px; max-width: 1280px; margin: 0 auto;
  padding: 8px clamp(16px, 3vw, 40px);
  background: transparent;
}
.logo { display: flex; align-items: center; min-width: 0; flex: 0 0 auto; }
.logo img { height: 66px; width: auto; max-width: 300px; object-fit: contain; display: block; }

/* Dropdown navigation */
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.has-dropdown { position: relative; }
.dropdown-trigger {
  font-family: Inter, sans-serif; font-weight: 800; font-size: 14px;
  color: #2a3350; background: transparent; border: 1px solid transparent;
  padding: 10px 14px; border-radius: 11px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.dropdown-trigger::after { content: "▾"; font-size: 11px; color: #9a93bf; }
.dropdown-trigger:hover, .has-dropdown.open .dropdown-trigger { background: #f0ecfb; color: var(--navy); }
.dropdown-trigger .flag { line-height: 1; }
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 272px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 22px 54px rgba(40,30,90,.22); padding: 8px;
  display: none; flex-direction: column; gap: 2px; z-index: 50;
}
.has-dropdown:first-child .dropdown { left: 0; right: auto; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-dropdown:hover .dropdown, .has-dropdown.open .dropdown { display: flex; }
.dropdown a {
  display: flex; align-items: center; gap: 9px;
  color: #2a3350; font-weight: 700; font-size: 14.5px;
  padding: 10px 12px; border-radius: 10px; white-space: nowrap;
}
.dropdown a .flag { line-height: 1; }
.dropdown a:hover { background: #f0ecfb; color: var(--navy); }
.dropdown a.active { background: linear-gradient(180deg, var(--gold), var(--gold-2)); color: var(--navy); }

.menu-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 42px; background: #f0ecfb; color: var(--navy);
  border: 1px solid #ddd5f3; border-radius: 12px;
  font-size: 20px; font-weight: 900; cursor: pointer;
}

/* ---------- Light top zone (hero + casino list share one bg) ---------- */
.dark-top {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% -8%, rgba(108,92,231,.10), transparent 48%),
    var(--bg);
}
.dark-top::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5;
  background-image: radial-gradient(circle, rgba(60,45,120,.045) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
}
.dark-top > * { position: relative; z-index: 1; }

/* ---------------- Hero (centered) ---------------- */
.page-hero { position: relative; padding: 50px 16px 30px; }
.page-hero .blob { display: none; }
.page-hero .container { position: relative; z-index: 1; text-align: center; }

.breadcrumbs { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 16px; font-weight: 700; }
.breadcrumbs a { color: var(--gold-2); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { color: #b3acd0; }

.page-hero h1 {
  color: var(--navy);
  font-size: clamp(28px, 5vw, 50px);
  line-height: 1.06; margin: 0 auto 16px; max-width: 900px;
}
.page-hero .lead {
  max-width: 760px; margin: 0 auto;
  color: #4a546e; font-size: 17.5px; line-height: 1.8;
}
.lead-clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lead-clamp.is-expanded { -webkit-line-clamp: unset; overflow: visible; }
.read-more-btn {
  margin-top: 16px; background: #eafaef;
  border: 1px solid var(--teal-2); color: var(--teal-2);
  padding: 10px 20px; border-radius: 999px; font-weight: 800;
  font-family: Inter, sans-serif; cursor: pointer;
}
.read-more-btn:hover { background: #dcf6e4; }

/* ---------------- Casino ranking band ---------------- */
section.container:has(.casino-list) { max-width: none; margin: 0; padding: 26px 16px 54px; background: transparent; }
.list-heading {
  max-width: var(--maxw); margin: 0 auto 22px; text-align: center;
  color: var(--navy); font-size: clamp(22px, 3.4vw, 34px); line-height: 1.15;
}

.casino-list { display: grid; gap: 16px; width: 100%; max-width: var(--maxw); margin: 0 auto; }

.casino-card {
  display: grid;
  grid-template-columns: 210px 1.2fr 200px 188px;
  gap: 22px;
  align-items: center;
  position: relative;
  background: #ffffff;
  border: 1px solid #ece9f6;
  border-radius: 12px;
  padding: 16px 20px 16px 28px;
  box-shadow: 0 10px 30px rgba(40,30,90,.06);
}
/* Top-3 podium accents (gold / silver / bronze) like casinode.fyi */
.casino-card:nth-child(1) {
  border: 2px solid var(--gold);
  box-shadow: 0 12px 34px rgba(231,169,27,.20);
}
.casino-card:nth-child(2) {
  border: 2px solid #b9c0cf;
  box-shadow: 0 12px 34px rgba(150,160,180,.20);
}
.casino-card:nth-child(3) {
  border: 2px solid #d39255;
  box-shadow: 0 12px 34px rgba(193,119,60,.18);
}
.casino-card:first-child::after { display: none; }   /* no TOP-ANGEBOT ribbon (matches casinode.fyi) */

.rank-badge {
  position: absolute; top: 12px; left: 12px;
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: #f3f0fb; border: 1px solid #e0dcef; color: #7a7398;
  font-family: "Chakra Petch", sans-serif; font-weight: 800; font-size: 14px;
  z-index: 5;
}
.casino-card:nth-child(1) .rank-badge { background: linear-gradient(180deg, #ffe07a, var(--gold-2)); color: var(--navy); border-color: var(--gold-2); }
.casino-card:nth-child(2) .rank-badge { background: linear-gradient(180deg, #eef1f6, #b9c0cf); color: var(--navy); border-color: #aab2c2; }
.casino-card:nth-child(3) .rank-badge { background: linear-gradient(180deg, #f0c79c, #c1773c); color: #fff; border-color: #b06a30; }

.casino-thumb {
  height: 120px; min-height: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #1a2440, #2a3566);
  border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 0;
  box-shadow: 0 10px 24px rgba(20,12,60,.22), inset 0 0 0 1px rgba(255,255,255,.05);
}
.casino-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.casino-card:hover .casino-thumb img { transform: scale(1.05); }

.casino-info { display: grid; gap: 8px; align-content: center; }
.casino-info h3 { margin: 0; font-size: 21px; line-height: 1.05; font-weight: 800; color: var(--text-dark); }
.casino-info .rating {
  display: inline-flex; align-items: center; gap: 5px; width: max-content;
  font-size: 13px; font-weight: 900; color: #9a6b00;
  background: #fff6da; border: 1px solid #f3d680; border-radius: 999px; padding: 3px 11px;
}
.casino-features { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 7px; }
.casino-features li { position: relative; padding-left: 26px; font-size: 14px; line-height: 1.3; color: #3a4660; }
.casino-features li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 17px; height: 17px; border-radius: 50%;
  background: #e6f9ec; color: var(--teal-2);
  font-size: 10px; font-weight: 900; display: grid; place-items: center;
}

.casino-bonus {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 5px;
  background: #faf8ff; border: 1px solid #ece8fb; border-radius: 14px; padding: 14px 12px;
}
.casino-bonus .bonus-label { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 900; color: #9a93bf; }
.casino-bonus .bonus-amount { font-family: "Chakra Petch", sans-serif; font-weight: 900; font-size: 17px; line-height: 1.2; color: var(--navy); }
.casino-bonus .bonus-code { font-size: 11px; font-weight: 800; color: var(--teal-2); background: #e9fbef; border: 1px dashed #7ed99a; border-radius: 8px; padding: 2px 9px; }

.casino-cta { display: flex; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Chakra Petch", Inter, sans-serif; font-weight: 900;
  text-transform: uppercase; letter-spacing: .03em;
  border-radius: 999px; padding: 14px 18px; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(180deg, var(--teal), var(--teal-2));
  color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 10px 22px rgba(34,170,70,.30);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-primary::after { content: " →"; font-weight: 900; }
/* casino-list buttons: rounded-rectangle */
.casino-cta .btn-primary {
  border-radius: 10px; padding: 15px 18px;
}

/* ---------------- Article / content ---------------- */
.content { background: var(--bg); padding: 44px 16px; }
.content + .content { padding-top: 0; }
.content .container {
  max-width: var(--maxw); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow);
}
.content .container > section { margin: 26px 0; }
.content .container > section:first-child { margin-top: 0; }
.content h2 { font-size: clamp(25px, 3.6vw, 40px); line-height: 1.12; color: var(--navy); margin: 8px 0 14px; }
.content h3 { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.2; color: var(--text-dark); margin: 26px 0 10px; }
.content p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; }
.content ul, .content ol { margin: 0 0 18px; padding-left: 22px; }
.content li { margin: 0 0 9px; font-size: 17px; line-height: 1.7; }
.content strong { color: var(--text-dark); }
.content a { color: #2a5bd7; font-weight: 700; }
.content a:hover { text-decoration: underline; }

figure { margin: 22px 0 6px; }
figure img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* Image placeholder box — labelled dashed frame until a real image is added */
.ph-box {
  position: relative; display: block; min-height: 260px;
  border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(120,90,230,.05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #efeafb, #f7f5ff);
  border: 2px dashed #c9c2ec;
}
.ph-box::before {
  content: "🖼  Bild hier einfügen  ·  " attr(data-label);
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 18px; color: #8a83b0; font-weight: 800; font-size: 14px;
  font-family: Inter, sans-serif;
}
.ph-box img { position: relative; width: 100%; height: auto; display: block; border-radius: 0; box-shadow: none; }
figure.ph figcaption { text-align: center; }
.content figure.ph { margin: 24px 0 8px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 22px 0 30px; }
table {
  width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 12px 35px rgba(40,30,90,.08); font-size: 15px; min-width: 560px;
}
thead th { background: linear-gradient(135deg, #1a2440, #2a3a6e); color: #fff; text-align: left; font-weight: 900; padding: 14px 16px; }
td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: top; }
tbody tr:nth-child(even) td { background: #f8f7ff; }
td:first-child { font-weight: 800; color: var(--text-dark); }

/* Responsible-gambling callout */
.content .container:has(.callout) { background: transparent; border: 0; box-shadow: none; padding: 0; }
.callout { display: flex; flex-direction: column; gap: 6px; border-radius: var(--radius-lg); padding: 24px; }
.callout.is-warning { background: linear-gradient(135deg, #fff8e6, #ffffff); border: 2px solid #f0c24d; box-shadow: 0 16px 45px rgba(40,30,90,.1); }
.callout h3 { margin: 0 0 4px; color: var(--navy); font-size: 22px; }
.callout p { margin: 0; color: #26344d; line-height: 1.7; }
.callout a { color: #2a5bd7; font-weight: 700; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: linear-gradient(180deg, #1a2440 0%, #161f3c 55%, #131c3a 100%);
  color: #d9ddf3; border-top: 1px solid rgba(255,213,74,.30); padding: 40px 16px 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; max-width: var(--maxw); margin: 0 auto 22px; }
.footer-grid .logo img { height: 48px; }
.footer-grid p { color: #c4cbe8; line-height: 1.6; font-size: 15px; }
.footer-grid h3 { color: var(--gold); font-size: 16px; margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid li a { color: #cfd6f1; font-size: 14.5px; font-weight: 600; }
.footer-grid li a:hover { color: #fff; }
.responsible-badge { display: inline-block; border: 1px solid rgba(47,211,79,.45); background: rgba(47,211,79,.10); color: #bff4cf; border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 13px; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #9aa6cf; }

/* ---------------- Reveal animation ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.casino-card.reveal { transition-delay: .04s; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1080px) {
  .dropdown-trigger { font-size: 13px; padding: 9px 11px; }
  .casino-card { grid-template-columns: 178px 1.1fr 176px 168px; gap: 18px; padding: 16px 18px 16px 26px; }
  .casino-thumb { height: 108px; }
}
@media (max-width: 980px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin-top: 8px;
    flex-direction: column; align-items: stretch;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 10px; display: none; max-height: 78vh; overflow-y: auto;
    box-shadow: 0 20px 50px rgba(40,30,90,.18);
  }
  .nav.open { display: flex; }
  .has-dropdown { position: static; }
  .dropdown-trigger { width: 100%; justify-content: space-between; }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; min-width: 0; padding: 2px 4px 8px 16px; background: transparent; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: flex; }

  .casino-card {
    grid-template-columns: 130px 1fr;
    grid-template-areas: "logo info" "bonus bonus" "cta cta";
    gap: 14px; padding: 22px 16px 16px;
  }
  .casino-thumb { grid-area: logo; }
  .casino-info { grid-area: info; }
  .casino-bonus { grid-area: bonus; }
  .casino-cta { grid-area: cta; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .header-inner { min-height: 68px; padding: 8px 10px 8px 16px; }
  .logo img { height: 50px; max-width: 200px; }
  .page-hero { padding: 30px 14px 18px; }
  .page-hero .lead { font-size: 16px; }
  section.container:has(.casino-list) { padding: 14px 12px 36px; }
  .casino-card {
    grid-template-columns: 112px 1fr;
    grid-template-areas: "logo info" "bonus bonus" "cta cta";
    gap: 12px; padding: 16px 14px 14px 16px;
  }
  .casino-thumb { height: 86px; }
  .casino-info h3 { font-size: 18px; }
  .casino-features { font-size: 13px; }
  .content { padding: 28px 12px; }
  .content .container { padding: 24px 18px; border-radius: 22px; }
  .content p, .content li { font-size: 16px; line-height: 1.66; }
  table { min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ---------------- Sticky offer bar (floating pill — casinoden layout, casinode.fyi colours) ---------------- */
.sticky-offer {
  position: fixed; left: 50%; bottom: 16px;
  transform: translate(-50%, 26px);
  width: min(980px, calc(100% - 28px));
  z-index: 60;
  display: grid; grid-template-columns: auto auto 1fr auto auto;
  align-items: center; gap: 14px; padding: 12px 16px;
  color: #fff;
  background: linear-gradient(135deg, #6a45f7 0%, #5b3df5 55%, #4a2fd6 100%);
  border: 1px solid rgba(255,213,74,.5);
  border-radius: 20px;
  box-shadow: 0 22px 55px rgba(40,20,110,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
body.show-sticky-offer .sticky-offer { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sticky-stars { color: #ffd54a; font-size: 16px; letter-spacing: 1px; white-space: nowrap; }
.sticky-logo {
  height: 56px; width: 120px; flex: 0 0 auto; overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 13px; padding: 0; background: rgba(255,255,255,.14);
}
.sticky-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sticky-copy { display: grid; gap: 1px; min-width: 0; }
.sticky-label { color: #ffe07a; font-weight: 900; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.sticky-copy strong { font-family: "Chakra Petch", sans-serif; font-size: 20px; line-height: 1.05; color: #fff; }
.sticky-copy small { font-weight: 700; color: #e7e1ff; font-size: 13px; white-space: normal; line-height: 1.25; }
.sticky-btn {
  background: linear-gradient(180deg, var(--teal), var(--teal-2)); color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.25);
  font-family: "Chakra Petch", sans-serif; font-weight: 900; text-transform: uppercase; letter-spacing: .03em;
  border-radius: 999px; padding: 13px 24px; white-space: nowrap; flex: 0 0 auto;
  box-shadow: 0 10px 22px rgba(34,170,70,.35);
}
.sticky-btn::after { content: " →"; }
.sticky-btn:hover { filter: brightness(1.05); }
.sticky-close {
  width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.30); background: rgba(255,255,255,.14);
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.sticky-close:hover { background: rgba(255,255,255,.24); }
@media (max-width: 680px) {
  .sticky-offer {
    width: calc(100% - 14px); bottom: 8px;
    grid-template-columns: auto 1fr auto auto;
    gap: 9px; padding: 8px 9px; border-radius: 16px; align-items: center;
  }
  .sticky-stars { display: none; }
  .sticky-label { display: none; }
  .sticky-logo { height: 44px; width: 56px; padding: 0; border-radius: 10px; }
  .sticky-copy strong { font-size: 14px; line-height: 1.1; }
  .sticky-copy small { font-size: 11px; white-space: normal; line-height: 1.2; }
  .sticky-btn { padding: 10px 12px; font-size: 12px; }
  .sticky-close { width: 24px; height: 24px; font-size: 15px; }
}

/* ---------------- Exit-intent popup (light + animated, casinode.fyi style) ---------------- */
.exit-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(20,18,42,.66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.exit-overlay.open { display: flex; }
.exit-modal {
  position: relative; overflow: hidden; width: min(470px, 100%);
  background: linear-gradient(160deg, #ffffff 0%, #f2edfc 100%);
  border: 1px solid #e3ddf6; border-radius: 24px; padding: 36px 30px 26px;
  text-align: center; color: #14122a;
  box-shadow: 0 30px 80px rgba(20,10,70,.45);
  transform: translateY(14px) scale(.98); transition: transform .25s ease;
}
.exit-overlay.open .exit-modal { transform: none; }
.exit-suits { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.exit-suits span, .exit-suits img.emoji {
  position: absolute; font-size: 42px; height: 42px; width: auto;
  color: rgba(91,61,245,.12); animation: exitFloat ease-in-out infinite;
}
@keyframes exitFloat {
  0%   { transform: translateY(14px) rotate(-8deg); }
  50%  { transform: translateY(-16px) rotate(8deg); }
  100% { transform: translateY(14px) rotate(-8deg); }
}
.exit-content { position: relative; z-index: 1; }
.exit-title { margin: 0 0 6px; font-size: clamp(26px, 5vw, 34px); color: #6c5ce7; text-transform: uppercase; letter-spacing: -.01em; }
.exit-sub { margin: 0 0 18px; font-size: 20px; line-height: 1.3; color: #1a2440; font-weight: 800; }
.exit-bonusbox { background: rgba(255,255,255,.65); border: 1px solid #e0d8f5; border-radius: 16px; padding: 18px 16px; margin: 0 0 18px; }
.exit-bonus-pct { font-family: "Chakra Petch", sans-serif; font-weight: 900; font-size: 28px; color: #6c5ce7; line-height: 1.15; }
.exit-bonus-sub { font-weight: 700; color: #4a546e; font-size: 14px; margin-top: 4px; }
.exit-cta { width: 100%; font-size: 17px; font-family: Inter, sans-serif; font-weight: 800; text-transform: none; letter-spacing: 0; border-radius: 10px; padding: 16px 18px; }
.exit-cta::after { content: ""; }
.exit-decline { display: inline-block; margin-top: 14px; background: none; border: 0; cursor: pointer; color: #8a93ad; font-size: 13px; font-weight: 700; text-decoration: underline; }
.exit-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e7e3f5; background: #fff; color: #6c5ce7; font-size: 20px; line-height: 1; cursor: pointer; }
.exit-close:hover { background: #f0ecfb; }

/* ---------------- Floating Telegram button ---------------- */
.tg-float {
  position: fixed; right: 16px; bottom: 110px; z-index: 55;
  width: 120px; height: 120px; display: block; text-decoration: none;
  filter: drop-shadow(0 10px 22px rgba(20,12,60,.28));
}
.tg-float::before {
  content: ""; position: absolute; inset: 4px; border-radius: 50%;
  background: #fff; border: 1px solid #ece9f6;
}
.tg-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 50%; animation: tgspin 9s linear infinite; }
.tg-ring text { font-family: "Chakra Petch", Inter, sans-serif; font-weight: 900; font-size: 12.5px; fill: #1a2440; }
@keyframes tgspin { to { transform: rotate(360deg); } }
.tg-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(180deg,#2aabee,#229ed9);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(34,158,217,.5);
}
.tg-badge svg { width: 37px; height: 37px; fill: #fff; margin-left: -2px; }
.tg-float:hover .tg-badge { filter: brightness(1.06); }
@media (max-width: 680px) {
  .tg-float { width: 96px; height: 96px; right: 10px; bottom: 150px; }
  .tg-ring text { font-size: 10.5px; letter-spacing: 1px; }
  .tg-badge { width: 54px; height: 54px; }
  .tg-badge svg { width: 30px; height: 30px; }
}

/* Inline flag icons (render reliably everywhere, no emoji/Twemoji dependency) */
.flag-svg { display: inline-block; width: 20px; height: 13px; border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(0,0,0,.10); flex: 0 0 auto; }


