/* ============================================================
   Shadow RolePlay — Main Stylesheet
   Theme: Crimson & Black
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { background: none; border: none; font: inherit; cursor: pointer; }

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --crimson:        #8b0000;
  --crimson-light:  #b30000;
  --crimson-glow:   rgba(139, 0, 0, 0.5);
  --crimson-subtle: rgba(139, 0, 0, 0.12);
  --bg:             #0c0c0c;
  --bg-2:           #131313;
  --bg-3:           #1a1a1a;
  --surface:        rgba(255,255,255,0.04);
  --surface-hover:  rgba(255,255,255,0.07);
  --border:         rgba(255,255,255,0.07);
  --border-crimson: rgba(139, 0, 0, 0.4);
  --text:           #f0f0f0;
  --text-muted:     #888;
  --text-dim:       #bbb;
  --white:          #ffffff;
  --font-display:   'Space Grotesk', sans-serif;
  --font-body:      'Manrope', sans-serif;
  --radius-sm:      8px;
  --radius-md:      14px;
  --radius-lg:      20px;
  --radius-xl:      28px;
  --shadow-sm:      0 4px 16px rgba(0,0,0,0.3);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.6);
  --shadow-crimson: 0 8px 32px rgba(139,0,0,0.35);
  --nav-height:     68px;
  --transition:     0.25s ease;
}

/* ── Base ──────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%,   rgba(139,0,0,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(139,0,0,0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* every direct child of body that is a layout container sits above the overlay */
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

/* ── Utility ───────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-crimson { color: var(--crimson-light); }
.text-muted   { color: var(--text-muted); }
.badge {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: var(--crimson-subtle);
  color: #ff6666;
  border: 1px solid var(--border-crimson);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--crimson), #5a0000);
  color: var(--white);
  border-color: rgba(139,0,0,0.6);
  box-shadow: var(--shadow-crimson);
}
.btn-primary:hover  { transform: translateY(-2px); filter: brightness(1.15); box-shadow: 0 12px 36px rgba(139,0,0,0.5); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-crimson);
}
.btn-outline:hover  { background: var(--crimson-subtle); border-color: var(--crimson); color: var(--white); transform: translateY(-2px); }
.btn-lg { padding: 0.95rem 2.25rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 900;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(139,0,0,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
}
.logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(139,0,0,0.5));
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--crimson-light);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* Nav Actions (right side — Discord button + hamburger) */
.nav-actions {
  margin-left: auto;
  display: flex;
  flex-direction: row;     /* ALWAYS row — never column */
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  z-index: 910;
}

/* Discord login button */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, var(--crimson), #5a0000);
  color: var(--white) !important;
  border: 1px solid rgba(139,0,0,0.55);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-crimson);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-discord:hover { filter: brightness(1.2); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(139,0,0,0.5); }
.btn-discord i { font-size: 0.95rem; flex-shrink: 0; }

/* Hamburger toggle */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  padding: 0;
}
.nav-toggle:hover { background: var(--crimson-subtle); border-color: var(--crimson); }
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease, width 0.3s ease;
}
.nav-toggle:hover span { background: var(--white); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-out drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(300px, 82vw);
  height: 100vh;
  background: linear-gradient(165deg, #111111 0%, #0a0000 100%);
  border-left: 1px solid rgba(139,0,0,0.3);
  box-shadow: -20px 0 60px rgba(0,0,0,0.8);
  z-index: 950;
  display: flex;
  flex-direction: column;
  padding: calc(var(--nav-height) + 1rem) 1.5rem 2rem;
  gap: 0.4rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer::before {
  content: '';
  position: absolute;
  top: var(--nav-height);
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,0,0,0.5), transparent);
}
.nav-drawer a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: all var(--transition);
  text-transform: uppercase;
}
.nav-drawer a i { width: 20px; text-align: center; color: var(--crimson-light); font-size: 0.85rem; flex-shrink: 0; }
.nav-drawer a:hover,
.nav-drawer a.active {
  color: var(--white);
  background: var(--crimson-subtle);
  border-color: var(--border-crimson);
  transform: translateX(4px);
}
.nav-drawer a.active i { color: #ff6666; }
.nav-drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.nav-drawer-server {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}
.nav-drawer-server span { color: var(--crimson-light); font-weight: 700; }

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(2px);
  z-index: 940;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.show { opacity: 1; pointer-events: all; }

/* ── Page offset ───────────────────────────────────────────── */
.page-body { padding-top: var(--nav-height); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/SRP_LOGO_BANNER.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) saturate(0.6);
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 0, 0, 0.85) 0%,
    rgba(12, 12, 12, 0.5) 50%,
    rgba(8, 0, 0, 0.85) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 3rem 1.5rem;
  margin: 0 auto;
  text-align: center;
}
.hero-logo {
  height: 110px;
  width: auto;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 0 30px rgba(139,0,0,0.7));
  animation: heroLogoPulse 4s ease-in-out infinite;
}
@keyframes heroLogoPulse {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(139,0,0,0.7)); }
  50%       { filter: drop-shadow(0 0 50px rgba(139,0,0,0.95)); }
}
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8), 0 0 60px rgba(139,0,0,0.3);
}
.hero-title span { color: var(--crimson-light); }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* ── Section Header ────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--white); margin-bottom: 0.75rem; }
.section-header p   { font-size: 1.05rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ── Server Status Bar ─────────────────────────────────────── */
.status-bar {
  background: rgba(139,0,0,0.1);
  border-top: 1px solid rgba(139,0,0,0.2);
  border-bottom: 1px solid rgba(139,0,0,0.2);
  padding: 0.85rem 0;
}
.status-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--crimson-light);
  flex-shrink: 0;
}
.status-dot.online  { background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse-dot 2s infinite; }
.status-dot.offline { background: #ef4444; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 4px #22c55e; }
  50%       { box-shadow: 0 0 12px #22c55e; }
}
.status-label { color: var(--text-muted); }
.status-value { color: var(--white); }
.status-players { color: var(--text-dim); }
.status-join-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--crimson-light);
  font-weight: 700;
  transition: color var(--transition);
}
.status-join-link:hover { color: #ff6666; }

/* ── Feature cards ─────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover { border-color: var(--border-crimson); transform: translateY(-4px); box-shadow: var(--shadow-md), 0 0 0 1px rgba(139,0,0,0.15); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 50px; height: 50px;
  background: var(--crimson-subtle);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--crimson-light);
  margin-bottom: 1.25rem;
}
.feature-card h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.6rem; }
.feature-card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* ── Stats ─────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, rgba(139,0,0,0.12), rgba(90,0,0,0.08));
  border-top: 1px solid var(--border-crimson);
  border-bottom: 1px solid var(--border-crimson);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-number span { color: var(--crimson-light); }
.stat-label { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }

/* ── Banner Strip ──────────────────────────────────────────── */
.banner-strip {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-top: 1px solid var(--border-crimson);
  border-bottom: 1px solid var(--border-crimson);
}
.banner-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4) saturate(0.7);
}
.banner-strip-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,0,0,0.9) 0%, transparent 40%, rgba(8,0,0,0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.banner-strip-overlay h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--white); }
.banner-strip-overlay p  { color: var(--text-dim); font-size: 0.95rem; }

/* ── Card ──────────────────────────────────────────────────── */
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-crimson); box-shadow: var(--shadow-md); }
.card-body  { padding: 1.75rem; }

/* ── Page Header ───────────────────────────────────────────── */
.page-header {
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--crimson), transparent);
  border-radius: 999px;
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--white); margin-bottom: 0.75rem; }
.page-header p  { font-size: 1.05rem; color: var(--text-muted); max-width: 500px; margin: 0 auto; }

/* ── Steps ─────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: steps;
}
.step-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all var(--transition);
  counter-increment: steps;
  position: relative;
}
.step-card:hover { border-color: var(--border-crimson); transform: translateY(-4px); }
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(139,0,0,0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1rem; color: var(--white); margin-bottom: 0.5rem; }
.step-card p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; }

/* ── Info Table ────────────────────────────────────────────── */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table td { padding: 0.85rem 0; font-size: 0.9rem; vertical-align: middle; }
.info-table td:first-child { color: var(--text-muted); font-weight: 600; letter-spacing: 0.3px; width: 42%; }
.info-table td:last-child  { color: var(--text); text-align: right; }

/* ── Rules ─────────────────────────────────────────────────── */
.rules-list { display: flex; flex-direction: column; gap: 0.75rem; }
.rule-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}
.rule-item:hover { border-color: var(--border-crimson); }
.rule-num {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--crimson-subtle);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--crimson-light);
  font-family: var(--font-display);
}
.rule-item p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.65; }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; }
.form-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-control {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-control:focus { border-color: var(--crimson); box-shadow: 0 0 0 3px rgba(139,0,0,0.15); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; appearance: none; }
.form-hint { font-size: 0.77rem; color: var(--text-muted); }
.form-error { font-size: 0.82rem; color: #ff6666; font-weight: 600; display: none; }
.form-success { font-size: 0.82rem; color: #22c55e; font-weight: 600; display: none; }

/* ── Alert / Notice ────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.alert-info    { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.3); color: #93c5fd; }
.alert-success { background: rgba(34,197,94,0.1);  border: 1px solid rgba(34,197,94,0.3);  color: #86efac; }
.alert-danger  { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #fca5a5; }

/* ── Auth Gate ─────────────────────────────────────────────── */
.auth-gate {
  max-width: 500px;
  margin: 4rem auto;
  text-align: center;
  padding: 3rem 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border-crimson);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}
.auth-gate img   { height: 80px; margin: 0 auto 1.5rem; }
.auth-gate h2    { font-size: 1.6rem; color: var(--white); margin-bottom: 0.6rem; }
.auth-gate p     { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 2rem; line-height: 1.7; }

/* ── Dashboard ─────────────────────────────────────────────── */
.dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.profile-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.profile-banner {
  height: 80px;
  background: linear-gradient(135deg, var(--crimson), #1a0000);
}
.profile-body {
  padding: 0 1.5rem 1.5rem;
  position: relative;
  margin-top: -36px;
}
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 3px solid var(--bg-2);
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--bg-3);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name  { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); font-weight: 700; }
.profile-tag   { font-size: 0.8rem; color: var(--text-muted); }
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; }
.profile-stat  {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
}
.profile-stat-val  { font-size: 1.2rem; font-weight: 700; font-family: var(--font-display); color: var(--white); }
.profile-stat-key  { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.5px; text-transform: uppercase; margin-top: 0.1rem; }
.dashboard-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.panel-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.panel-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-header h3 { font-size: 1rem; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
.panel-header h3 i { color: var(--crimson-light); font-size: 0.9rem; }
.panel-body { padding: 1.5rem; }

/* ── Store ─────────────────────────────────────────────────── */
.store-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.store-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.store-card:hover { border-color: var(--border-crimson); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.store-card-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(139,0,0,0.2), rgba(90,0,0,0.12));
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.store-card-header i { font-size: 2rem; color: var(--crimson-light); margin-bottom: 0.75rem; }
.store-card-header h3 { font-size: 1.1rem; color: var(--white); margin-bottom: 0.25rem; }
.store-card-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
}
.store-card-price sup { font-size: 1rem; vertical-align: super; color: var(--crimson-light); }
.store-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.store-card-features { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.store-card-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-dim); }
.store-card-features li i { color: #22c55e; font-size: 0.75rem; flex-shrink: 0; }
.store-card-footer { padding: 0 1.5rem 1.5rem; }
.store-coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}
.store-coming-soon i { font-size: 4rem; color: var(--crimson-subtle); color: rgba(139,0,0,0.4); margin-bottom: 1.25rem; }
.store-coming-soon h2 { font-size: 1.8rem; color: var(--white); margin-bottom: 0.6rem; }
.store-coming-soon p  { color: var(--text-muted); }

/* ── Applications list ─────────────────────────────────────── */
.application-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color var(--transition);
}
.application-item:hover { border-color: var(--border-crimson); }
.application-item h4 { color: var(--white); margin-bottom: 0.4rem; }
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-badge.pending  { background: rgba(234,179,8,0.15); color: #facc15; border: 1px solid rgba(234,179,8,0.3); }
.status-badge.accepted { background: rgba(34,197,94,0.1);  color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.status-badge.rejected { background: rgba(239,68,68,0.1);  color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid rgba(139,0,0,0.2);
  margin-top: auto;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding: 3.5rem 0;
}
.footer-brand .logo-text { font-size: 1.3rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--crimson-light);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col a  { font-size: 0.87rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 34px; height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social-link:hover { border-color: var(--crimson); color: var(--crimson-light); background: var(--crimson-subtle); }

/* ── Divider ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-title { font-size: 2.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .nav-container { padding: 0 1.25rem; }
}

@media (max-width: 520px) {
  /* On small screens, hide the text label of the Discord button — icon only */
  .btn-discord .btn-label { display: none; }
  .btn-discord { padding: 0.45rem 0.65rem; gap: 0; }
  .btn-discord i { font-size: 1.05rem; }

  .hero-logo { height: 80px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; justify-content: center; }
}
