:root {
  --bg: #040507;
  --panel: rgba(10, 11, 17, 0.9);
  --panel-2: rgba(17, 19, 27, 0.96);
  --text: #f7f7fb;
  --muted: #c4c7d5;
  --line: rgba(100, 214, 122, 0.16);
  --accent: #8f5bff;
  --accent-2: #5edc7b;
  --accent-3: #2f8f4e;
  --accent-soft: #ddd0ff;
  --white-soft: #fefefe;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
  --radius: 28px;
  --max: 1180px;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(143, 91, 255, 0.32), transparent 35%),
    radial-gradient(circle at 82% 10%, rgba(94, 220, 123, 0.17), transparent 30%),
    radial-gradient(circle at bottom right, rgba(47, 143, 78, 0.14), transparent 28%),
    linear-gradient(180deg, #050508 0%, #030405 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.glass {
  background:
    linear-gradient(180deg, rgba(18, 17, 28, 0.95), rgba(7, 8, 11, 0.95)),
    linear-gradient(135deg, rgba(143, 91, 255, 0.04), rgba(94, 220, 123, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(4, 5, 8, 0.84);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 0 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 1.02rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.26), transparent 40%),
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 32px rgba(143, 91, 255, 0.45);
  font-size: 1.4rem;
  animation: pulse 7s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 32px rgba(143, 91, 255, 0.42); }
  50% { box-shadow: 0 0 52px rgba(94, 220, 123, 0.22); }
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: var(--white-soft);
  transform: translateY(-2px);
  text-shadow: 0 0 15px rgba(143, 91, 255, 0.45);
}

.live-badge {
  background: linear-gradient(135deg, rgba(94, 220, 123, 0.95), rgba(47, 143, 78, 0.94));
  color: #08110b;
  font-size: 0.83rem;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  animation: livePulse 2s infinite;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  animation: liveDot 2s infinite;
}

@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.78; } }
@keyframes liveDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.42; } }

.hero {
  padding: 90px 0 50px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.hero-card {
  border-radius: 32px;
  padding: 52px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(143, 91, 255, 0.2), transparent 70%);
  filter: blur(14px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  color: var(--accent-soft);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 8vw, 6.1rem);
  line-height: 0.9;
  margin: 26px 0 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 42px rgba(143, 91, 255, 0.34);
}

h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h3 {
  margin: 16px 0 10px;
  font-size: 1.28rem;
  letter-spacing: 0.01em;
}

h4 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.lead {
  font-size: clamp(1.08rem, 2.4vw, 1.32rem);
  line-height: 1.72;
  color: var(--muted);
  max-width: 860px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(143, 91, 255, 0.22);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6c40da);
  color: white;
}

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #f3f1fb;
}

.visual {
  min-height: 100%;
  border-radius: 32px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
  background: linear-gradient(160deg, rgba(13,13,20,0.97), rgba(6,6,9,0.98));
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.68;
}

.orb.one { width: 190px; height: 190px; top: 10%; left: 8%; background: rgba(143, 91, 255, 0.28); }
.orb.two { width: 260px; height: 260px; right: -45px; top: 25%; background: rgba(94, 220, 123, 0.18); }
.orb.three { width: 150px; height: 150px; bottom: 75px; left: 35%; background: rgba(47, 143, 78, 0.18); }

.show-note {
  border-radius: 26px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.72), rgba(8, 10, 14, 0.45));
  border: 1px solid rgba(255,255,255,0.08);
}

.section {
  padding: 40px 0 0;
}

.section-card {
  border-radius: 32px;
  padding: 42px;
  margin-bottom: 36px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.compact-head {
  align-items: flex-start;
}

.grid-3, .grid-2 {
  display: grid;
  gap: 22px;
}

.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.tile {
  border-radius: 26px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.35s ease;
}

.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(143, 91, 255, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.request-tile {
  cursor: pointer;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(143, 91, 255, 0.12);
  border: 1px solid rgba(143, 91, 255, 0.22);
  color: var(--accent-soft);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-green {
  background: rgba(94, 220, 123, 0.12);
  border-color: rgba(94, 220, 123, 0.22);
  color: #c7ffd4;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.stat-pill {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-pill strong {
  font-size: 0.97rem;
  color: var(--white-soft);
}

.stat-pill span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.live-hub {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 22px;
}

.stage-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.stage-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.stage-card-primary {
  background:
    linear-gradient(135deg, rgba(143, 91, 255, 0.12), rgba(94, 220, 123, 0.07)),
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pill-list li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(143, 91, 255, 0.12);
  border: 1px solid rgba(143, 91, 255, 0.2);
  color: var(--accent-soft);
  font-size: 0.86rem;
}

.tag-green {
  background: rgba(94, 220, 123, 0.12);
  border-color: rgba(94, 220, 123, 0.18);
  color: #c7ffd4;
}

.event-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.calendar-shell,
.calendar-list-wrap,
.discord-shell {
  min-height: 100%;
}

.calendar-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.calendar-label {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.calendar-weekday {
  padding: 10px 4px;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 88px;
  padding: 12px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  display: grid;
  align-content: start;
  gap: 8px;
}

.calendar-day span {
  font-weight: 700;
}

.calendar-day small {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.45;
}

.calendar-day.has-event {
  background: linear-gradient(180deg, rgba(94, 220, 123, 0.1), rgba(143, 91, 255, 0.08));
  border-color: rgba(94, 220, 123, 0.22);
}

.calendar-day.today {
  outline: 2px solid rgba(143, 91, 255, 0.35);
}

.muted-day {
  opacity: 0;
  pointer-events: none;
}

.calendar-list {
  display: grid;
  gap: 14px;
}

.calendar-item {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}

.calendar-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.calendar-time,
.calendar-item p,
.calendar-item small {
  color: var(--muted);
}

.calendar-item p {
  margin: 0 0 8px;
  line-height: 1.65;
}

.wolfden-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.discord-shell {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.discord-frame {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: none;
  border-radius: 18px;
  background: #111827;
}

.discord-fallback {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(143, 91, 255, 0.12), rgba(94, 220, 123, 0.06)),
    rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.16);
}

.discord-fallback p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.68;
}

.feature-spotlight {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: stretch;
}

.spotlight-media {
  border-radius: 26px;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(143, 91, 255, 0.14), rgba(94, 220, 123, 0.08));
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.spotlight-copy {
  padding: 30px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.spotlight-copy p {
  color: var(--muted);
  line-height: 1.74;
  margin: 0 0 18px;
  max-width: 760px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.offer-card {
  display: grid;
  gap: 14px;
}

.offer-card p,
.offer-card small {
  color: var(--muted);
  line-height: 1.68;
  margin: 0;
}

.board-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.video-wrap {
  width: 100%;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 177.78%;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.socials a {
  padding: 15px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.04);
  transition: all 0.3s ease;
}

.socials a:hover {
  background: rgba(143, 91, 255, 0.16);
  border-color: rgba(143, 91, 255, 0.24);
  transform: translateY(-3px);
}

footer {
  padding: 50px 0 70px;
  color: var(--muted);
  text-align: center;
  font-size: 0.96rem;
}

.notice {
  margin-top: 10px;
  font-size: 0.82rem;
  opacity: 0.92;
}

/* Responsive */
@media (max-width: 1080px) {
  .live-hub,
  .event-layout,
  .wolfden-layout,
  .feature-spotlight {
    grid-template-columns: 1fr;
  }

  .feature-spotlight {
    gap: 18px;
  }

  .spotlight-media img {
    min-height: 300px;
  }
}

@media (max-width: 960px) {
  .hero-wrap, .grid-3, .grid-2, .stats-row {
    grid-template-columns: 1fr;
  }

  .hero-card, .visual, .section-card {
    padding: 34px;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  .nav {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .calendar-grid {
    gap: 8px;
  }

  .calendar-day {
    min-height: 76px;
    padding: 10px 8px;
  }

  .btn {
    width: 100%;
  }

  .stage-actions .btn,
  .cta-row .btn {
    width: 100%;
  }

  .section-card,
  .hero-card,
  .visual {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }
}
/* ====================== VIOLET DEN UPGRADE ====================== */
.sticky-live-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(90deg, #4b0082, #6a0dad, #9f4bff);
  color: #fff;
  padding: 14px 0;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(143, 91, 255, 0.6);
  text-align: center;
}

.sticky-live-banner .shell {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.live-dot {
  color: #ff3366;
  animation: livepulse 1.4s infinite;
  font-size: 1.45rem;
}

.btn-live-now {
  background: #ff0033;
  color: white;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-live-now:hover {
  background: #ff3366;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 25px rgba(255, 51, 102, 0.7);
}

@keyframes livepulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Slight hero improvements for better mobile & visual impact */
.hero {
  padding: 0;
}

.hero-card {
  padding: 58px 48px;
}

@media (max-width: 680px) {
  .hero-card {
    padding: 42px 28px;
  }
  h1 {
    font-size: clamp(2.6rem, 12vw, 4.2rem);
  }
}
