:root {
  --bg-base: #07070b;
  --bg-elev: #0e0e14;
  --bg-card: #13131c;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #f4f4f8;
  --text-dim: #9b9bab;
  --text-mute: #5a5a6b;
  --accent: #b794ff;
  --accent-2: #6ee7ff;
  --accent-3: #ff6ec7;
  --gold: #ffd27a;
  --gradient: linear-gradient(135deg, #b794ff 0%, #6ee7ff 50%, #ff6ec7 100%);
  --gradient-vip: linear-gradient(135deg, #ffd27a 0%, #ff9a3c 50%, #ff6ec7 100%);
  --gradient-soft: linear-gradient(135deg, rgba(183,148,255,0.15), rgba(110,231,255,0.1), rgba(255,110,199,0.12));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-glow: 0 20px 60px -20px rgba(183, 148, 255, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background */
.bg-orb {
  position: fixed; border-radius: 50%;
  filter: blur(120px); opacity: 0.32;
  pointer-events: none; z-index: 0;
  animation: float 18s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: #b794ff; top: -100px; left: -150px; }
.orb-2 { width: 600px; height: 600px; background: #6ee7ff; top: 40%; right: -200px; animation-delay: -6s; }
.orb-3 { width: 400px; height: 400px; background: #ff6ec7; bottom: -100px; left: 30%; animation-delay: -12s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px,-40px) scale(1.08); }
  66% { transform: translate(-40px,30px) scale(0.95); }
}

.grid-overlay {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none; z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

main, header, footer { position: relative; z-index: 1; }

/* HEADER + TICKER */
.site-header {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 36px;
  max-width: 1400px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 7, 11, 0.7);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 19px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.logo-mark, .logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-mark { font-size: 22px; }

.cta-btn {
  padding: 11px 22px;
  background: var(--gradient);
  color: #0a0a10;
  font-weight: 600; font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px -8px rgba(183,148,255,0.6);
  flex-shrink: 0;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(183,148,255,0.8); }

/* Ticker */
.ticker {
  flex: 1;
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  height: 42px;
}
.ticker-live {
  display: flex; align-items: center; gap: 8px;
  padding: 0 18px;
  background: linear-gradient(135deg, #ff2e63 0%, #ff6ec7 100%);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
}
.ticker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.8);
  animation: livePulse 1.5s ease-out infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.8); transform: scale(1); }
  70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); transform: scale(1.2); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}
.ticker-live-text {
  animation: liveBlink 2s ease-in-out infinite;
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  display: flex; align-items: center;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, black 40px, black calc(100% - 40px), transparent 100%);
}
.ticker-track {
  display: flex; align-items: center; gap: 0;
  white-space: nowrap;
  animation: tickerSlide 35s linear infinite;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  padding: 0 22px;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
}
.ticker-sep { color: var(--accent); opacity: 0.5; font-size: 8px; }

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SECTIONS */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 70px 36px 0;
}

.section-head { text-align: center; margin-bottom: 36px; }
.section-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-head p { color: var(--text-dim); font-size: 15px; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* HORIZONTAL BANNER (img | text | btn) */
.banner-h {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), border-color 0.3s, box-shadow 0.3s;
}
.banner-h::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.banner-h:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px -28px rgba(183,148,255,0.5);
}
.banner-h:hover::before { opacity: 1; }

.banner-h-img {
  width: 100%; height: 110px;
  background: linear-gradient(135deg, rgba(183,148,255,0.18), rgba(110,231,255,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  overflow: hidden;
}
.img-placeholder {
  font-size: 36px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.6;
}

.banner-h-body { position: relative; z-index: 1; min-width: 0; }
.banner-h-label {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  padding: 3px 10px;
  background: rgba(183,148,255,0.12);
  border: 1px solid rgba(183,148,255,0.25);
  border-radius: 999px;
  margin-bottom: 8px;
}
.banner-h-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.banner-h-body p {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.banner-h-btn {
  position: relative; z-index: 1;
  padding: 12px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 600; font-size: 13.5px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s, border 0.25s, color 0.25s;
  display: inline-flex; align-items: center; gap: 6px;
}
.banner-h-btn em { font-style: normal; transition: transform 0.25s; }
.banner-h:hover .banner-h-btn {
  background: var(--gradient);
  color: #0a0a10;
  border-color: transparent;
}
.banner-h:hover .banner-h-btn em { transform: translateX(4px); }

/* VIP variant */
.banner-h.is-vip {
  background:
    radial-gradient(ellipse at top left, rgba(255,210,122,0.10), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(255,110,199,0.08), transparent 60%),
    var(--bg-card);
  border-color: rgba(255,210,122,0.18);
}
.banner-h.is-vip .banner-h-label {
  color: var(--gold);
  background: rgba(255,210,122,0.12);
  border-color: rgba(255,210,122,0.3);
}
.banner-h.is-vip .banner-h-img {
  background: linear-gradient(135deg, rgba(255,210,122,0.22), rgba(255,110,199,0.12));
}
.banner-h.is-vip:hover {
  border-color: rgba(255,210,122,0.4);
  box-shadow: 0 24px 60px -28px rgba(255,210,122,0.45);
}
.banner-h.is-vip:hover .banner-h-btn {
  background: var(--gradient-vip);
}

/* VIP grid: 2 cols x 3 rows */
.vip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Regular stack */
.regular-stack {
  display: flex; flex-direction: column;
  gap: 16px;
}
.regular-stack .banner-h {
  grid-template-columns: 180px 1fr auto;
}
.regular-stack .banner-h-img { height: 120px; }

/* CONTACT */
.contact {
  max-width: 1280px;
  margin: 100px auto 80px;
  padding: 0 36px;
}
.contact-card {
  background:
    radial-gradient(ellipse at top, rgba(183,148,255,0.18), transparent 70%),
    radial-gradient(ellipse at bottom, rgba(110,231,255,0.1), transparent 70%),
    var(--bg-elev);
  border: 1px solid var(--border-strong);
  border-radius: 28px;
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  line-height: 1.1;
}
.contact-card p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}

.primary-btn {
  display: inline-block;
  padding: 16px 36px;
  background: var(--gradient);
  color: #0a0a10;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-glow);
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.primary-btn.large { font-size: 17px; padding: 18px 40px; }
.primary-btn:hover { transform: translateY(-3px); box-shadow: 0 25px 70px -15px rgba(183,148,255,0.6); }

.secondary-btn {
  padding: 14px 28px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: background 0.2s, border 0.2s;
  cursor: pointer;
  font-family: inherit;
}
.secondary-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 36px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-inner p { color: var(--text-mute); font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 980px) {
  .site-header { padding: 12px 20px; gap: 14px; }
  .ticker { height: 38px; }
  .ticker-live { padding: 0 12px; font-size: 11px; letter-spacing: 1.2px; }
  .ticker-item { font-size: 12.5px; padding: 0 16px; }
  .vip-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 20px 0; }
  .banner-h, .regular-stack .banner-h {
    grid-template-columns: 100px 1fr;
    gap: 14px;
  }
  .banner-h-img, .regular-stack .banner-h-img { height: 100px; }
  .banner-h-btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
    justify-content: center;
  }
  .contact { padding: 0 20px; margin: 60px auto; }
  .contact-card { padding: 56px 24px; }
  footer { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 580px) {
  .logo-text { display: none; }
  .header-cta { padding: 9px 16px; font-size: 12.5px; }
}
