*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #111214;
  --surface:  #181b21;
  --card:     #1c2028;
  --card2:    #20242e;
  --border:   rgba(255,255,255,.07);
  --border2:  rgba(255,255,255,.12);
  --text:     #e0e3ea;
  --muted:    #525869;
  --muted2:   #7a8099;
  --gold:     #c8922a;
  --gold-lt:  #e8a830;
  --purple:   #7c3aed;
  --purple-lt:#a855f7;
  --green:    #1db954;
  --red:      #e03535;
  --sidebar-w: 72px;
  --header-h:  68px;
  --ticker-h:  120px;
  --ad-w:      200px;
  --r:         10px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  display: flex;
  min-height: 100vh;
}

#stars-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.sidebar {
  width: var(--sidebar-w);
  background: var(--surface);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
}

.sidebar-logo { margin-bottom: 12px; }

.sidebar-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a0d2e;
  border: 2px solid rgba(168,85,247,.4);
  box-shadow: 0 0 14px rgba(168,85,247,.25);
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1),
              border-color .25s,
              box-shadow .25s;
}

.sidebar-avatar:hover {
  transform: scale(1.18);
  border-color: rgba(168,85,247,.85);
  box-shadow: 0 0 22px rgba(168,85,247,.5);
}

.sidebar-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sidebar-avatar-fallback {
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--purple-lt), var(--gold-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 0 10px;
  flex: 1;
}

.sidebar-item {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background .12s, color .12s;
  position: relative;
}

.sidebar-item svg { width: 19px; height: 19px; }

.sidebar-item:hover { background: var(--card); color: var(--text); }
.sidebar-item.active { background: var(--purple); color: #fff; }

.sidebar-item::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--card2);
  border: 1px solid var(--border2);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s;
  z-index: 300;
}

.sidebar-item:hover::after { opacity: 1; }

.sidebar-bottom {
  padding: 0 10px 8px;
}

.sidebar-telegram { color: #29a9e0 !important; }
.sidebar-telegram:hover { background: rgba(41,169,224,.12) !important; }

.layout {
  margin-left: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  flex: 1;
  position: relative;
  z-index: 1;
  min-width: 0;
}

.site-header {
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left { margin-right: 24px; flex-shrink: 0; }

.site-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  line-height: 1;
  background: linear-gradient(90deg, #bc39fa, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(188,57,250,.4));
  display: inline-block;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), filter .25s;
  cursor: pointer;
}
.site-name:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 16px rgba(168,85,247,.7));
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 1;
}

.header-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted2);
  white-space: nowrap;
  transition: color .12s, background .12s;
}

.header-nav-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.header-nav-item:hover { color: var(--text); background: var(--card); }
.header-nav-item.active { color: var(--text); background: var(--card); }

.header-right { margin-left: auto; flex-shrink: 0; }

.online-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted2);
  background: var(--card);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 20px;
}

.online-dot {
  width: 5px; height: 5px;
  background: var(--green);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.2} }

.ticker-wrap {
  height: var(--ticker-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  animation: ticker 48s linear infinite;
  white-space: nowrap;
  padding: 6px 0;
  position: relative;
  z-index: 5;
}

.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

#ticker-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ticker-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -50%;
  width: 30%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.03) 46%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.03) 54%,
    transparent 70%
  );
  animation: sheen 3.5s cubic-bezier(0.4,0,0.6,1) infinite;
  pointer-events: none;
  z-index: 3;
}

.ticker-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  top: 0;
  background: linear-gradient(90deg, transparent, #D946EF, #A855F7, #7C3AED, #D946EF, transparent);
  background-size: 200% 100%;
  animation: borderFlow 3s linear infinite, borderPulse 2s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
}

.ticker-wrap .ticker-border-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  bottom: 0;
  background: linear-gradient(90deg, transparent, #7C3AED, #A855F7, #D946EF, #7C3AED, transparent);
  background-size: 200% 100%;
  animation: borderFlowReverse 3s linear infinite, borderPulse 2s ease-in-out infinite;
  z-index: 4;
  pointer-events: none;
}

@keyframes sheen {
  0%   { left: -50%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 120%; opacity: 0; }
}

@keyframes borderFlow {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

@keyframes borderFlowReverse {
  0%   { background-position: 200% 0%; }
  100% { background-position: 0% 0%; }
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 320px;
  flex-shrink: 0;
  height: var(--ticker-h);
  margin: 0 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.ticker-item:hover {
  background: rgba(168,85,247,.07);
  color: var(--muted2);
}

.ticker-item-icon {
  font-size: 18px;
  opacity: .3;
}

.ticker-item-logo {
  height: 52px;
  max-width: 140px;
  object-fit: contain;
  opacity: 1;
  display: block;
}
.ticker-item-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted2);
  letter-spacing: .5px;
  text-transform: uppercase;
}

.page-body {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

.ad-col {
  width: var(--ad-w);
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--header-h) + var(--ticker-h));
  height: calc(100vh - var(--header-h) - var(--ticker-h));
  min-height: unset;
  max-height: unset;
  overflow: hidden;
}

.ad-banner { width: 100%; height: 100%; display: flex; align-items: stretch; flex: 1; }

.ad-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--surface);
  border-radius: 10px;
  margin: 6px;
  border: 1px dashed rgba(255,255,255,.13);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: center;
  padding: 12px;
}

.ad-placeholder:hover {
  border-color: rgba(168,85,247,.4);
  background: var(--card);
}

.ad-placeholder-icon {
  font-size: 28px;
  opacity: .2;
}

.ad-placeholder-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}
.ad-left { border-right: 1px solid var(--border); }
.ad-right { border-left: 1px solid var(--border); }

.ad-css-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1a1f2e 0%, #0d1117 100%);
  text-decoration: none;
  gap: 12px;
  overflow: hidden;
  position: relative;
}
.ad-css-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(200,146,42,.08) 0%, transparent 70%);
  pointer-events: none;
}
.acb-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  z-index: 1;
}
.acb-tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted2);
}
.acb-name {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.acb-offer {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.acb-sublabel {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted2);
}
.acb-btn {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
  transition: filter .15s, transform .15s;
}
.ad-css-banner:hover .acb-btn { filter: brightness(1.1); transform: scale(1.04); }

@media (min-width: 1101px) {
  .ad-col .ad-css-banner {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 14px;
    gap: 6px;
  }
  .ad-col .acb-offer { font-size: 26px; }
  .ad-col .acb-btn { width: 100%; text-align: center; padding: 10px 12px; margin-top: 6px; }
}

.ad-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  overflow: hidden;
  cursor: pointer;
}

.ad-card-top {
  padding: 10px 10px 6px;
}

.ad-card-name {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
}

.ad-card-logo-text {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
  margin-top: 2px;
}

.ad-card-art {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-card-art-inner {
  font-size: 48px;
  opacity: .06;
  user-select: none;
}

.ad-card-body {
  padding: 10px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.ad-card-tagline {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.4px;
  line-height: 1.2;
  margin-bottom: 4px;
}

.ad-card-offer {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  color: #fff;
}

.ad-card-offer-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--muted);
  text-transform: uppercase;
  margin: 3px 0 12px;
}

.ad-card-btn {
  display: block;
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
  text-transform: uppercase;
  color: #111;
  border: none;
  cursor: pointer;
  transition: filter .12s;
}

.ad-card-btn:hover { filter: brightness(1.08); }

.main-content {
  flex: 1;
  min-width: 0;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.section-dot {
  width: 36px; height: 36px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.section-dot svg { width: 18px; height: 18px; color: var(--gold); }

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.3px;
}

.section-sub {
  font-size: 14px;
  color: var(--muted2);
  margin-top: 3px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.featured-card {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color .3s, transform .3s;
}

.featured-card:hover {
  border-color: var(--accent, var(--border2));
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px var(--accent, transparent), 0 8px 40px rgba(0,0,0,.5);
}

.featured-banner {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  background: var(--card2);
}

.fb-bg {
  position: absolute;
  inset: -20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .35s, transform .35s;
}
.fb-bg-img {
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
}
.fb-bg-name {
  font-size: 52px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.04);
  user-select: none;
  white-space: nowrap;
}
.featured-card:hover .fb-bg {
  filter: blur(10px);
  transform: scale(1.06);
}

.fb-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background .35s;
  pointer-events: none;
  z-index: 1;
}
.featured-card:hover .fb-overlay {
  background: rgba(0,0,0,.45);
}

.fb-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  z-index: 2;
}

.fb-logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 20px;
  transform: translateY(-35%);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.featured-card:hover .fb-logo {
  transform: translateY(0%);
}
.fb-logo-text {
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.85);
  text-align: center;
}
.fb-logo-img {
  max-width: 180px;
  max-height: 72px;
  object-fit: contain;
}

.fb-info { padding-top: 6px; }
.fb-bonus {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.fb-type {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
  letter-spacing: .3px;
}

.featured-card-footer {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(255,255,255,.03) 0%, transparent 100%);
  gap: 8px;
  border-top: 1px solid var(--border);
}

.fc-check {
  width: 14px; height: 14px;
  background: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-check svg { width: 8px; height: 8px; color: #fff; }

.fc-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 16px;
  height: 56px;
  transition: border-color .12s;
}

.search-bar:focus-within { border-color: var(--border2); }
.search-bar svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }

.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}

.search-bar input::placeholder { color: var(--muted); }

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding-bottom: 24px;
}

.logo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  cursor: pointer;
  position: relative;
  transition: border-color .15s, background .15s, transform .15s;
}

.logo-card:hover {
  border-color: var(--border2);
  background: var(--card2);
  transform: translateY(-2px);
}

.logo-card img {
  max-width: 80%;
  max-height: 50px;
  object-fit: contain;
  opacity: .75;
  transition: opacity .12s;
}

.logo-card:hover img { opacity: 1; }

.logo-card-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,.5);
  letter-spacing: .3px;
}

.logo-card-badge {
  position: absolute;
  top: 8px; right: 8px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 5px;
  color: #111;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 28px 20px;
  text-align: center;
}

.footer-disclaimer {
  font-size: 11px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 4px;
  line-height: 1.6;
}

.footer-copy { font-size: 11px; color: var(--muted); opacity: .4; }

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(5px);
  z-index: 1000;
}

.popup-box {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: 90%;
  max-width: 400px;
  background: var(--card);
  border: 1px solid rgba(200,146,42,.25);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(200,146,42,.15);
  animation: popupIn .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes popupIn {
  from { opacity: 0; transform: translate(-50%, -48%) scale(.94); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.popup-close {
  position: absolute;
  top: 10px; right: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.08);
  color: var(--muted2);
  font-size: 13px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .12s, color .12s;
  z-index: 2;
}
.popup-close:hover { background: rgba(255,255,255,.15); color: #fff; }

.popup-img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.popup-body {
  padding: 28px 24px 24px;
  text-align: center;
}

.popup-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
  margin-bottom: 8px;
}

.popup-desc {
  font-size: 13px;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.popup-btn {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 8px;
  background: var(--gold);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  text-decoration: none;
  transition: filter .12s, transform .12s;
}
.popup-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.popup-skip {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: color .12s;
}
.popup-skip:hover { color: var(--muted2); }

.popup-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 18px;
}
.popup-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 50px;
  overflow: hidden;
  transition: border-color .15s;
}
.popup-logo-item:hover { border-color: var(--gold); }
.popup-logo-item img {
  max-width: 90%;
  max-height: 38px;
  object-fit: contain;
}
.popup-logo-item span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted2);
}

#splash-stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(ellipse at center, #1a0d2e 0%, #0d0018 50%, #000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
  overflow: hidden;
}

#splash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(124,58,237,.28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(168,85,247,.2) 0%, transparent 65%);
  animation: splashBg 1.2s ease-in-out infinite alternate;
}

@keyframes splashBg {
  from { opacity: .7; }
  to   { opacity: 1; }
}

#splash.hide {
  opacity: 0;
  visibility: hidden;
}

.splash-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  animation: splashPulse 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 40px rgba(168,85,247,.9));
  opacity: 0;
  transition: opacity 0.4s ease;
}

@keyframes splashPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 18px rgba(168,85,247,.6));
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 42px rgba(168,85,247,1)) drop-shadow(0 0 80px rgba(124,58,237,.5));
  }
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 58px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 300;
  align-items: stretch;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  transition: color .12s;
  padding: 6px 2px;
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.bottom-nav-item.active { color: var(--purple-lt); }
.bottom-nav-item:hover { color: var(--muted2); }

.bottom-nav-telegram { color: #29a9e0; }
.bottom-nav-telegram:hover { color: #29a9e0; }
.bottom-nav-telegram.active { color: #29a9e0; }

@media (max-width: 1100px) {
  :root { --ad-w: 100px; }
  .page-body { flex-wrap: wrap; }
  .ad-col {
    width: 100%;
    height: 100px;
    min-height: unset;
    max-height: unset;
    position: static;
    order: -1;
  }
  .ad-right { display: none; }
  .ad-left { border-right: none; border-bottom: 1px solid var(--border); }
  .main-content { width: 100%; order: 1; }
  .ad-placeholder-label { writing-mode: horizontal-tb; }
}
@media (max-width: 860px) {
  .featured-grid, .logo-grid { grid-template-columns: repeat(2, 1fr); }
}

.ozel-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 18px;
  margin-bottom: 10px; text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.ozel-card:hover {
  border-color: var(--accent, var(--border2));
  transform: translateX(3px);
  box-shadow: 0 0 0 1px var(--accent, transparent), 0 4px 20px rgba(0,0,0,.4);
}
.ozel-logo {
  position: relative; width: 90px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  height: 50px;
}
.ozel-logo img { max-width: 90px; max-height: 46px; object-fit: contain; }
.ozel-logo-text { font-size: 13px; font-weight: 800; color: var(--text); text-align: center; }
.ozel-badge {
  position: absolute; top: -6px; right: -6px;
  font-size: 9px; font-weight: 700; padding: 2px 6px;
  border-radius: 20px; letter-spacing: .3px;
}
.ozel-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ozel-name { font-size: 13px; font-weight: 700; color: var(--text); }
.ozel-stars { font-size: 12px; color: #f5c518; letter-spacing: 1px; }
.ozel-bonus { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; line-height: 1; }
.ozel-type { font-size: 11px; color: var(--muted2); }
.ozel-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ozel-tag {
  font-size: 10px; padding: 2px 8px; border-radius: 20px;
  background: rgba(255,255,255,.06); color: var(--muted2); border: 1px solid var(--border);
}
.ozel-meta { font-size: 11px; color: var(--muted2); }
.ozel-cta { flex-shrink: 0; }
.ozel-btn {
  display: block; padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700; white-space: nowrap;
  transition: opacity .2s;
}
.ozel-card:hover .ozel-btn { opacity: .85; }

.bonus-group { margin-bottom: 24px; }
.bonus-group-title {
  font-size: 13px; font-weight: 700; color: var(--muted2);
  text-transform: uppercase; letter-spacing: .6px;
  padding: 8px 4px; margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}
.bonus-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 13px 16px;
  margin-bottom: 8px; text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s;
}
.bonus-row:hover {
  border-color: var(--accent, var(--border2));
  transform: translateX(3px);
}
.bonus-row-logo {
  width: 80px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.bonus-row-logo img { max-width: 80px; max-height: 34px; object-fit: contain; }
.bonus-row-logo span { font-size: 12px; font-weight: 800; color: var(--text); }
.bonus-row-info { flex: 1; }
.bonus-row-name { font-size: 13px; font-weight: 600; }
.bonus-row-sub { font-size: 11px; color: var(--muted2); margin-top: 2px; }
.bonus-row-amount { font-size: 18px; font-weight: 900; letter-spacing: -.5px; flex-shrink: 0; }
.bonus-row-btn {
  flex-shrink: 0; padding: 7px 14px; border-radius: 7px;
  border: 1px solid; font-size: 12px; font-weight: 700;
  white-space: nowrap; background: transparent;
  transition: opacity .2s;
}
.bonus-row:hover .bonus-row-btn { opacity: .7; }

.topluluk-grid { display: flex; flex-direction: column; gap: 12px; }
.topluluk-card {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--r); padding: 20px 22px;
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.topluluk-card:hover {
  border-color: var(--accent, var(--border2));
  transform: translateX(4px);
  box-shadow: 0 0 0 1px var(--accent, transparent), 0 4px 24px rgba(0,0,0,.4);
}
.topluluk-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.topluluk-info { flex: 1; }
.topluluk-name { font-size: 15px; font-weight: 700; }
.topluluk-desc { font-size: 12px; color: var(--muted2); margin-top: 3px; }
.topluluk-join {
  padding: 10px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
  transition: opacity .2s;
}
.topluluk-card:hover .topluluk-join { opacity: .85; }
@media (max-width: 640px) {
  :root { --sidebar-w: 0px; --ticker-h: 90px; }
  .sidebar { display: none; }
  .layout { margin-left: 0; padding-bottom: 58px; }
  .bottom-nav { display: flex; }
  .header-nav { display: none; }
  .header-left { margin-right: 0; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .main-content { padding: 12px 10px; gap: 12px; }
  .fb-logo-img { max-width: 90px; max-height: 36px; }
  .fb-logo-text { font-size: 11px; }
  .fb-bg-name { font-size: 28px; }
  
  .ticker-item { width: 200px; margin: 0 6px; }
  .ticker-item .ti-name { font-size: 11px; }
  .ticker-item .ti-amount { font-size: 13px; }
  
  #ticker-canvas, .ticker-wrap::before, .ticker-wrap::after, .ticker-border-bottom { display: none; }
}
