/* ── Limitless SMP — Shared Stylesheet ── */
*, *::before, *::after { box-sizing: border-box; }
:root {
  --orange: #ff6600; --orange-dim: #cc5200;
  --orange-glow: rgba(255,102,0,0.35); --orange-subtle: rgba(255,102,0,0.08);
  --gold: #ff9900; --bg-deep: #0a0a0a; --bg-card: #111111;
  --bg-card-hover: #191919; --text: #f0f0f0;
  --text-muted: #888; --text-dim: #444; --discord: #5865F2;
}
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Rajdhani', sans-serif;
  background-color: var(--bg-deep); color: var(--text); text-align: center;
  background-image:
    radial-gradient(ellipse at 15% 0%, rgba(255,102,0,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(255,102,0,0.04) 0%, transparent 55%);
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 48px;
  background: rgba(10,10,10,0.93); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,102,0,0.12);
}
.nav-logo {
  text-decoration: none; flex-shrink: 0; display: flex; align-items: center;
}
.nav-logo img {
  height: 38px; width: auto;
  filter: drop-shadow(0 0 8px rgba(255,102,0,0.4));
  transition: filter 0.2s;
}
.nav-logo:hover img { filter: drop-shadow(0 0 14px rgba(255,102,0,0.7)); }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.82em; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; border-radius: 7px;
  transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: white; background: rgba(255,102,0,0.1); }
.nav-links a.active { color: var(--orange); }
.nav-cta { background: var(--orange) !important; color: white !important; box-shadow: 0 2px 14px var(--orange-glow); }
.nav-cta:hover { background: var(--orange-dim) !important; transform: translateY(-1px); }

/* Live dot */
.live-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #00c850; margin-left: 5px; vertical-align: middle;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; background: none; border: none; margin-left: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-muted); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.nav-mobile {
  display: none; position: fixed; top: 53px; left: 0; right: 0; z-index: 99;
  background: rgba(8,8,8,0.98); border-bottom: 1px solid rgba(255,102,0,0.15);
  padding: 12px 20px 20px; flex-direction: column; gap: 2px;
  backdrop-filter: blur(20px);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--text-muted); text-decoration: none; font-size: 0.88em; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 11px 14px; border-radius: 7px;
  transition: color 0.2s, background 0.2s; text-align: left;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--orange); background: rgba(255,102,0,0.08); }
.nav-mobile .nav-cta {
  background: var(--orange) !important; color: white !important;
  margin-top: 8px; text-align: center !important;
  box-shadow: 0 2px 14px var(--orange-glow);
}

/* ── HERO ── */
header.hero {
  padding: 90px 20px 80px; position: relative; overflow: hidden;
}
header.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,102,0,0.09) 0%, transparent 70%);
  pointer-events: none;
}
header.hero::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,102,0,0.4), transparent);
}
.hero-logo {
  max-width: 480px; width: 72%;
  filter: drop-shadow(0 0 40px rgba(255,102,0,0.45));
  margin-bottom: 14px;
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
h1 {
  font-family: 'Orbitron', sans-serif; font-size: 2em; font-weight: 800; margin: 0 0 14px;
  background: linear-gradient(135deg, #fff 30%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.tagline { font-size: 1.2em; color: var(--text-muted); margin: 0 auto 14px; max-width: 600px; letter-spacing: 1px; font-weight: 500; }
.hero-desc { font-size: 1.05em; color: #aaa; max-width: 620px; margin: 0 auto 40px; line-height: 1.7; }

/* ── BUTTONS ── */
.buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.buttons a {
  display: inline-flex; align-items: center; gap: 9px; color: white;
  padding: 13px 26px; text-decoration: none; font-family: 'Orbitron', sans-serif;
  font-weight: 600; font-size: 0.74em; letter-spacing: 1.5px; border-radius: 8px;
  transition: all 0.25s; text-transform: uppercase;
}
.btn-discord { background: var(--discord); box-shadow: 0 4px 20px rgba(88,101,242,0.25); }
.btn-discord:hover { background: #4752c4; transform: translateY(-2px); }
.btn-patreon { background: var(--orange); box-shadow: 0 4px 20px var(--orange-glow); }
.btn-patreon:hover { background: var(--orange-dim); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1px solid rgba(255,102,0,0.4); color: var(--orange) !important; }
.btn-outline:hover { background: rgba(255,102,0,0.08); border-color: var(--orange); transform: translateY(-2px); }
.btn-twitch { background: #9146ff; box-shadow: 0 4px 20px rgba(145,70,255,0.25); }
.btn-twitch:hover { background: #7d3de0; transform: translateY(-2px); }
.btn-youtube-red { background: #ff0000; box-shadow: 0 4px 20px rgba(255,0,0,0.2); }
.btn-youtube-red:hover { background: #cc0000; transform: translateY(-2px); }

/* ── STAT STRIP ── */
.stat-strip {
  display: flex; justify-content: center; max-width: 700px; margin: 56px auto 0;
  border: 1px solid rgba(255,102,0,0.12); border-radius: 14px; overflow: hidden;
  background: var(--bg-card);
}
.stat { flex: 1; min-width: 130px; padding: 22px 16px; border-right: 1px solid rgba(255,102,0,0.08); }
.stat:last-child { border-right: none; }
.stat-num { font-family: 'Orbitron', sans-serif; font-size: 1.7em; font-weight: 800; color: var(--orange); display: block; }
.stat-label { font-size: 0.8em; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; display: block; }

/* ── SHARED SECTIONS ── */
.section-wrap { padding: 80px 20px; }
.section-wrap + .section-wrap { border-top: 1px solid rgba(255,255,255,0.04); }
.alt-bg { background: rgba(255,102,0,0.025); }
.section-label {
  font-family: 'Orbitron', sans-serif; font-size: 0.65em; letter-spacing: 5px;
  text-transform: uppercase; color: var(--orange); margin-bottom: 8px; display: block;
}
.section-title {
  font-family: 'Orbitron', sans-serif; font-size: 1.8em; font-weight: 800;
  margin: 0 0 10px; color: white;
}
.section-sub { color: var(--text-muted); font-size: 1.05em; margin-bottom: 44px; letter-spacing: 0.5px; }
.divider { width: 50px; height: 2px; background: linear-gradient(to right, var(--orange), var(--gold)); margin: 0 auto 44px; border-radius: 2px; }

/* ── ABOUT ── */
.about-intro { max-width: 720px; margin: 0 auto 44px; font-size: 1.05em; color: #bbb; line-height: 1.8; text-align: left; }
.about-intro p { margin: 0 0 14px; }
.about-intro p:last-child { margin: 0; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 1000px; margin: 0 auto; }
.card {
  background: var(--bg-card); border: 1px solid rgba(255,102,0,0.1);
  border-radius: 14px; padding: 28px 22px; text-align: left;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover { border-color: rgba(255,102,0,0.35); transform: translateY(-4px); box-shadow: 0 8px 28px rgba(255,102,0,0.1); }
.card-icon { font-size: 2em; margin-bottom: 12px; display: block; }
.card h3 { font-family: 'Orbitron', sans-serif; font-size: 0.8em; font-weight: 700; letter-spacing: 1.5px; color: var(--orange); margin: 0 0 8px; text-transform: uppercase; }
.card p { font-size: 0.95em; color: #aaa; line-height: 1.65; margin: 0; }

/* ── SERVERS ── */
.servers-grid { display: grid; grid-template-columns: repeat(3, minmax(235px, 250px)); gap: 16px; align-items: stretch; justify-content: center; max-width: 820px; margin: 0 auto; }
.server-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 22px 18px; text-align: left;
  transition: all 0.25s; position: relative; overflow: hidden; display: flex; flex-direction: column; height: 100%;
}
.server-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--card-accent, var(--orange)); }
.server-card:hover { border-color: rgba(255,102,0,0.25); transform: translateY(-4px); box-shadow: 0 12px 38px rgba(0,0,0,0.4); background: var(--bg-card-hover); }
.badge {
  display: inline-block; font-family: 'Orbitron', sans-serif; font-size: 0.58em;
  letter-spacing: 2px; padding: 3px 11px; border-radius: 20px;
  text-transform: uppercase; margin-bottom: 12px; font-weight: 600;
}
.badge-live { background: rgba(0,200,80,0.15); color: #00c850; border: 1px solid rgba(0,200,80,0.3); }
.badge-patreon { background: rgba(255,102,0,0.15); color: var(--orange); border: 1px solid rgba(255,102,0,0.3); }
.badge-seasonal { background: rgba(255,180,0,0.12); color: #ffb400; border: 1px solid rgba(255,180,0,0.3); }
.server-icon { font-size: 2em; margin-bottom: 12px; display: block; }
.server-card h3 { font-family: 'Orbitron', sans-serif; font-size: 0.92em; font-weight: 700; color: white; margin: 0 0 8px; }
.server-card p { font-size: 0.95em; color: #999; line-height: 1.68; margin: 0 0 14px; }
.server-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 0.75em; padding: 3px 10px; border-radius: 6px; background: rgba(255,255,255,0.05); color: var(--text-muted); font-weight: 500; }

/* Apply box */
.apply-box {
  max-width: 760px; margin: 56px auto 0; background: var(--bg-card);
  border: 1px solid rgba(255,102,0,0.2); border-radius: 16px; padding: 38px 36px;
  text-align: left; position: relative; overflow: hidden;
}
.apply-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--orange), var(--gold)); }
.apply-box h3 { font-family: 'Orbitron', sans-serif; font-size: 0.9em; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; }
.apply-box p { color: #aaa; line-height: 1.75; margin: 0 0 12px; font-size: 1em; }
.apply-reqs { margin: 14px 0 24px; padding: 0; list-style: none; }
.apply-reqs li { color: #bbb; font-size: 0.95em; padding: 7px 0 7px 22px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.04); }
.apply-reqs li::before { content: '▸'; color: var(--orange); position: absolute; left: 0; }

/* ── CREATORS ── */
.creators-grid { list-style: none; padding: 0; max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.creator-item {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-card); padding: 16px 22px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04); transition: all 0.25s;
}
.creator-item:hover { box-shadow: 0 0 22px rgba(255,102,0,0.18); transform: translateY(-2px); border-color: rgba(255,102,0,0.2); background: var(--bg-card-hover); }
.creator-name { flex: 1; text-align: left; font-weight: 700; font-size: 1.05em; color: var(--gold); letter-spacing: 0.5px; }
.social-icons { display: flex; gap: 14px; align-items: center; }
.social-icons a { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, opacity 0.2s; opacity: 0.75; }
.social-icons a svg { width: 100%; height: 100%; }
.social-icons a:hover { transform: scale(1.3); opacity: 1; }

/* ── SOCIAL CARDS ── */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; max-width: 860px; margin: 0 auto; }
.social-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px 26px; text-decoration: none; color: var(--text);
  display: flex; align-items: center; gap: 18px; text-align: left;
  transition: all 0.25s;
}
.social-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.12); box-shadow: 0 10px 36px rgba(0,0,0,0.38); background: var(--bg-card-hover); }
.social-icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.social-icon-wrap svg { width: 24px; height: 24px; }
.social-text strong { display: block; font-family: 'Orbitron', sans-serif; font-size: 0.76em; letter-spacing: 2px; color: white; text-transform: uppercase; margin-bottom: 4px; }
.social-text span { font-size: 0.92em; color: var(--text-muted); display: block; }

/* ── LIVE PAGE ── */
.live-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.stream-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden; text-align: left; transition: all 0.25s;
}
.stream-card:hover { border-color: rgba(145,70,255,0.4); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.stream-thumb { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #0d0d0d; }
.stream-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.stream-live-badge {
  position: absolute; top: 10px; left: 10px;
  background: #eb0400; color: white; font-family: 'Orbitron', sans-serif;
  font-size: 0.58em; font-weight: 700; letter-spacing: 2px; padding: 3px 10px;
  border-radius: 4px; text-transform: uppercase;
}
.stream-viewers {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,0.78); color: white; font-size: 0.82em;
  padding: 3px 9px; border-radius: 6px; font-weight: 600;
}
.stream-info { padding: 16px 18px; }
.stream-channel { font-family: 'Orbitron', sans-serif; font-size: 0.78em; font-weight: 700; color: #9146ff; letter-spacing: 1px; margin-bottom: 5px; }
.stream-title { font-size: 0.95em; color: var(--text); font-weight: 600; margin-bottom: 5px; line-height: 1.4; }
.stream-game { font-size: 0.85em; color: var(--text-muted); margin-bottom: 14px; }

.no-live { max-width: 480px; margin: 0 auto; padding: 60px 20px; }
.no-live-icon { font-size: 3.5em; margin-bottom: 16px; display: block; opacity: 0.35; }
.no-live h3 { font-family: 'Orbitron', sans-serif; font-size: 0.85em; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.no-live p { color: var(--text-dim); font-size: 0.95em; line-height: 1.7; }
.refresh-info { font-size: 0.8em; color: var(--text-dim); margin-top: 40px; letter-spacing: 0.5px; }

/* ── YOUTUBE PAGE ── */
.youtube-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.video-card {
  background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; overflow: hidden; text-align: left;
  transition: all 0.25s;
}
.video-card:hover { border-color: rgba(255,0,0,0.4); transform: translateY(-4px); box-shadow: 0 12px 38px rgba(0,0,0,0.45); }
.video-card a { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.video-thumb { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; background: #0d0d0d; }
.video-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.video-card:hover .video-thumb img { transform: scale(1.04); }
.play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.25); opacity: 0; transition: opacity 0.2s;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay svg { width: 52px; height: 52px; fill: white; filter: drop-shadow(0 2px 12px rgba(0,0,0,0.9)); }
.video-info { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.video-channel { font-family: 'Orbitron', sans-serif; font-size: 0.68em; font-weight: 700; color: #ff4444; letter-spacing: 1.2px; margin-bottom: 6px; text-transform: uppercase; }
.video-title { font-size: 0.93em; color: var(--text); font-weight: 600; line-height: 1.45; margin-bottom: 10px; flex: 1; }
.video-date { font-size: 0.78em; color: var(--text-dim); }
.loading-msg { color: var(--text-dim); font-size: 1em; padding: 60px 20px; letter-spacing: 1px; }

/* ── PAGE HEADER (non-hero pages) ── */
.page-header {
  padding: 60px 20px 50px; position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(255,102,0,0.08);
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(255,102,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── FOOTER ── */
footer {
  padding: 28px 20px; background: #070707;
  border-top: 1px solid rgba(255,102,0,0.1);
  font-size: 0.88em; color: var(--text-dim); letter-spacing: 0.5px;
}
footer span { color: var(--text-muted); }

/* ── RESPONSIVE ── */
@media(max-width: 980px) {
  .servers-grid { grid-template-columns: repeat(2, minmax(235px, 250px)); max-width: 520px; }
}
@media(max-width: 768px) {
  nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .live-grid { grid-template-columns: 1fr; }
  .youtube-grid { grid-template-columns: 1fr; }
}
@media(max-width: 680px) {
  h1 { font-size: 1.4em; }
  .section-title { font-size: 1.4em; }
  .stat-strip { flex-wrap: wrap; }
  .servers-grid { grid-template-columns: minmax(235px, 320px); max-width: 320px; }
  .apply-box { padding: 26px 20px; }
  .page-header { padding: 40px 20px 36px; }
}
@media(max-width: 460px) { .nav-cta { display: none; } }
