/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #080808;
  --bg-2: #0f0f0f;
  --bg-card: #111111;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.18);
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
  --silver: #c8c8c8;
  --font: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== LOGO BLEND ===== */
.logo-blend { mix-blend-mode: screen; }

/* ===== UTILS ===== */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, #a8a8a8 50%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: #fff; color: #000; }
.btn-primary:hover { background: #e0e0e0; transform: translateY(-1px); box-shadow: 0 8px 32px rgba(255,255,255,0.15); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); transform: translateY(-1px); }
.btn-nav { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); padding: 9px 18px; font-size: 13px; }
.btn-nav:hover { background: rgba(255,255,255,0.14); border-color: var(--border-hover); }
.btn-large { padding: 16px 36px; font-size: 16px; border-radius: 12px; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(8,8,8,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { height: 32px; width: auto; object-fit: contain; }
.nav-logo-text { font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.3px; }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute; top: 20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(180,180,180,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; text-align: center; }
.hero-logo-float { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); z-index: 1; opacity: 0.12; pointer-events: none; }
.hero-logo-img { height: 340px; width: auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border);
  border-radius: 100px; padding: 6px 16px;
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  margin-bottom: 28px; letter-spacing: 0.3px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title { font-size: clamp(42px, 6vw, 76px); font-weight: 800; line-height: 1.1; letter-spacing: -2px; margin-bottom: 24px; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 60px; flex-wrap: wrap; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.stat-label { font-size: 12px; color: var(--text-dim); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.section-title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-muted); max-width: 480px; margin: 0 auto; line-height: 1.6; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.service-card {
  position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.service-card.featured { border-color: rgba(255,255,255,0.2); background: linear-gradient(160deg, #161616 0%, #0f0f0f 100%); box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.5); }
.service-card.featured:hover { border-color: rgba(255,255,255,0.35); box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 24px 80px rgba(0,0,0,0.6); }

.service-featured-badge { position: absolute; top: -12px; left: 28px; background: #fff; color: #000; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; letter-spacing: 0.5px; text-transform: uppercase; }

.service-icon-wrap { width: 44px; height: 44px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon-fivem { background: rgba(255,100,0,0.08); border-color: rgba(255,100,0,0.2); }
.service-icon { width: 22px; height: 22px; color: var(--silver); }

.service-title { font-size: 17px; font-weight: 700; margin-bottom: 20px; letter-spacing: -0.3px; }

.service-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; }

/* SVG icons */
.svc-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 8px; margin-top: 1px;
}
.svc-icon svg { width: 14px; height: 14px; color: var(--silver); }
.svc-icon-fivem { background: rgba(255,100,0,0.07); border-color: rgba(255,100,0,0.18); }
.svc-icon-fivem svg { color: #ff8844; }

.service-list li strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.service-list li p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ===== FOUNDER ===== */
.founder { padding: 100px 0; background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.founder-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.founder-card {
  display: flex; flex-direction: column; gap: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s;
}
.founder-card.visible { opacity: 1; transform: translateY(0); }
.founder-card:hover { border-color: var(--border-hover); }

.founder-avatar-ring { width: 72px; height: 72px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #fff 0%, #444 100%); }
.founder-avatar { width: 100%; height: 100%; border-radius: 50%; background: #1a1a1a; display: flex; align-items: center; justify-content: center; }
.founder-avatar-initials { font-size: 26px; font-weight: 800; color: var(--text); }

.founder-name-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.founder-name { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; }
.founder-badge { background: rgba(255,255,255,0.08); border: 1px solid var(--border); color: var(--text-muted); font-size: 10px; font-weight: 600; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px; }
.founder-role { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; font-weight: 500; }
.founder-bio { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--text-muted); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px; }

/* ===== DISCORD CARD ===== */
.dc-card-wrap {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s;
}
.dc-card-wrap.visible { opacity: 1; transform: translateY(0); }

.dc-card {
  background: #1e1f22;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden;
  min-height: 200px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.dc-card-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 60px 24px; color: var(--text-dim); font-size: 13px;
}
.dc-spinner {
  width: 24px; height: 24px; border: 2px solid var(--border);
  border-top-color: var(--silver); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.dc-banner {
  height: 120px; width: 100%;
  background: linear-gradient(135deg, #2c2f33 0%, #23272a 100%);
  position: relative; flex-shrink: 0;
}

.dc-body { padding: 0 16px 16px; background: #1e1f22; }

.dc-top-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: -40px; margin-bottom: 10px;
}

.dc-avatar-wrap { position: relative; width: 80px; height: 80px; }
.dc-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  border: 6px solid #1e1f22; object-fit: cover;
  background: #2b2d31;
}
.dc-status-ring {
  position: absolute; bottom: 4px; right: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #1e1f22; display: flex; align-items: center; justify-content: center;
}
.dc-status-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: #555; transition: background 0.3s;
}
.dc-status-dot.online { background: #23a55a; box-shadow: 0 0 8px #23a55a88; }
.dc-status-dot.idle { background: #f0b232; box-shadow: 0 0 8px #f0b23288; }
.dc-status-dot.dnd { background: #f23f43; box-shadow: 0 0 8px #f23f4388; }
.dc-status-dot.offline { background: #80848e; }

.dc-live-badge {
  display: flex; align-items: center; gap: 5px;
  background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px; padding: 5px 12px;
  font-size: 10px; font-weight: 700; color: #b5bac1;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.dc-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #f23f43; box-shadow: 0 0 5px #f23f43; animation: pulse 1.5s infinite; }

.dc-user-info { margin-bottom: 12px; }
.dc-username { font-size: 18px; font-weight: 800; color: #f2f3f5; letter-spacing: -0.3px; margin-bottom: 1px; }
.dc-custom-status { font-size: 13px; color: #b5bac1; min-height: 16px; }

.dc-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 12px 0; }

.dc-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
  text-transform: uppercase; color: #b5bac1;
  margin-bottom: 8px; display: flex; align-items: center; gap: 5px;
}

/* Spotify */
.dc-spotify-inner { display: flex; align-items: center; gap: 10px; }
.dc-spotify-art { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.dc-spotify-song { font-size: 13px; font-weight: 600; color: #f2f3f5; line-height: 1.3; }
.dc-spotify-artist { font-size: 11px; color: #b5bac1; margin-top: 2px; }
.dc-spotify-album { font-size: 10px; color: #80848e; margin-top: 1px; }

/* Activity */
.dc-activity-inner { display: flex; align-items: flex-start; gap: 10px; }
.dc-activity-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dc-activity-icon { width: 48px; height: 48px; border-radius: 8px; background: #2b2d31; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.dc-game-name { font-weight: 700; color: #f2f3f5; font-size: 13px; }
.dc-game-details { font-size: 11px; color: #b5bac1; margin-top: 3px; }
.dc-game-state { font-size: 11px; color: #80848e; margin-top: 2px; }

/* Avatar decoration overlay */
.dc-avatar-deco { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); pointer-events: none; z-index: 2; }

/* Username row + guild tag */
.dc-username-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.dc-handle { font-size: 11px; color: #80848e; margin-bottom: 4px; }
.dc-guild-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: #2b2d31; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px; padding: 1px 6px;
  font-size: 11px; font-weight: 700; color: #b5bac1;
}
.dc-guild-icon { width: 12px; height: 12px; border-radius: 2px; }

.dc-status-label-row { margin-top: 4px; }
.dc-status-label { font-size: 11px; font-weight: 600; color: #80848e; }

/* ===== CTA ===== */
.cta { position: relative; padding: 120px 24px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 700px; height: 300px; background: radial-gradient(ellipse, rgba(200,200,200,0.05) 0%, transparent 70%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta-logo { height: 64px; width: auto; margin-bottom: 8px; }
.cta-title { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -2px; line-height: 1.1; }
.cta-desc { font-size: 16px; color: var(--text-muted); max-width: 420px; line-height: 1.7; }

/* ===== FOOTER ===== */
.footer { padding: 28px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-left { display: flex; align-items: center; gap: 8px; }
.footer-logo { height: 24px; width: auto; opacity: 0.9; }
.footer-name { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-discord { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-discord:hover { color: var(--text-muted); }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .founder-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .hero-logo-float { display: none; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
}
