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

/* ── TOKENS ──────────────────────────────────── */
:root {
  --bg:        #141414;
  --surface:   #1C1C1C;
  --surface2:  #222222;
  --border:    #272727;
  --mid:       #3A3A3A;
  --alum:      #6E6E6E;
  --alum-lt:   #ADADAD;
  --white:     #F2F2F2;
  --orange:    #F09828;
  --orange-d:  #D97E18;
  --orange-bg: rgba(240, 152, 40, 0.10);
  --orange-bd: rgba(240, 152, 40, 0.25);
  --orange-glow: rgba(240, 152, 40, 0.45);

  --font-display: 'Clash Display', sans-serif;
  --font-body:    'Satoshi', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius:    10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --radius-pill: 100px;
}

/* ── BASE ────────────────────────────────────── */
html, body {
  height: 100%;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

/* ── LAYOUT ──────────────────────────────────── */
.layout {
  display: flex;
  min-height: 100vh;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── SIDEBAR ─────────────────────────────────── */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 56px 0;
  gap: 40px;
}

/* Profile */
.profile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-d) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: absolute;
  top: 0; left: 0;
}

.avatar {
  position: relative;
}

.avatar-initials {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: #fff;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 0;
}

.avatar img[src] + .avatar-initials {
  display: none;
}

.profile-text { display: flex; flex-direction: column; gap: 2px; }

.name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.handle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--alum);
  letter-spacing: 0.02em;
}

.tagline {
  font-size: 13px;
  color: var(--alum);
  line-height: 1.6;
}

/* Nav */
nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  color: var(--alum);
  user-select: none;
}

.nav-item:hover {
  background: var(--surface);
  color: var(--alum-lt);
}

.nav-item.active {
  background: var(--surface);
  color: var(--white);
}

.nav-label {
  font-size: 14px;
  font-weight: 500;
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--alum);
  background: var(--border);
  padding: 2px 7px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}

.nav-item.active .nav-num {
  background: var(--orange);
  color: #fff;
}

/* Sidebar footer */
.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.social-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--alum);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}

.social-icon:hover {
  color: var(--white);
  background: var(--surface);
}

.social-icon svg {
  width: 14px;
  height: 14px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mid);
}

/* ── MAIN ────────────────────────────────────── */
.main {
  flex: 1;
  padding: 56px 0 80px 60px;
  border-left: 1px solid var(--border);
  min-height: 100vh;
}

/* ── PAGES ───────────────────────────────────── */
.page {
  display: none;
  flex-direction: column;
  gap: 60px;
  animation: fadeIn 0.2s ease;
}

.page.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── SECTION ─────────────────────────────────── */
.section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--alum);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── ABOUT ───────────────────────────────────── */
.about-text {
  font-size: 15px;
  color: var(--alum-lt);
  line-height: 1.85;
  max-width: 560px;
}

.about-text strong {
  color: var(--white);
  font-weight: 600;
}

.about-text a {
  color: var(--orange);
  border-bottom: 1px solid var(--orange-bd);
  transition: border-color 0.15s;
}

.about-text a:hover { border-color: var(--orange); }

/* ── DROP CARD ───────────────────────────────── */
.drop-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 500px;
  transition: border-color 0.2s;
}

.drop-card:hover { border-color: var(--mid); }

.drop-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--orange);
  background: var(--orange-bg);
  border: 1px solid var(--orange-bd);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

.upcoming-badge {
  color: var(--alum);
  background: transparent;
  border-color: var(--border);
}

.drop-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.drop-sub {
  font-size: 13px;
  color: var(--alum);
  line-height: 1.7;
}

.email-row {
  display: flex;
  gap: 8px;
}

.email-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
  min-width: 0;
}

.email-input::placeholder { color: var(--alum); }
.email-input:focus { border-color: var(--orange); }

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 0 18px var(--orange-glow), 0 2px 8px rgba(240, 152, 40, 0.25);
}

.btn-orange:hover  {
  background: var(--orange-d);
  transform: translateY(-1px);
  box-shadow: 0 0 28px var(--orange-glow), 0 4px 14px rgba(240, 152, 40, 0.35);
}
.btn-orange:active { transform: translateY(0); box-shadow: 0 0 12px var(--orange-glow); }

.drop-fine {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mid);
}

/* ── LIST ────────────────────────────────────── */
.list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: padding-left 0.2s ease;
  gap: 16px;
}

.list-item:hover { padding-left: 8px; }

.list-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.list-title {
  font-size: 15px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
}

.list-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--alum);
}

.list-arrow {
  font-size: 14px;
  color: var(--alum);
  flex-shrink: 0;
  transition: color 0.15s;
}

.list-item:hover .list-arrow { color: var(--orange); }

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--alum);
  transition: color 0.15s;
  cursor: pointer;
  width: fit-content;
}

.view-all:hover { color: var(--orange); }

/* ── DROPS GRID ──────────────────────────────── */
.drops-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drop-card-full {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

.drop-card-full.upcoming {
  opacity: 0.5;
}

/* ── STACK ───────────────────────────────────── */
.stack-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.stack-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}

.stack-left { display: flex; flex-direction: column; gap: 2px; }

.stack-name {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
}

.stack-desc {
  font-size: 12px;
  color: var(--alum);
}

.stack-link {
  font-size: 13px;
  color: var(--alum);
  flex-shrink: 0;
  transition: color 0.15s;
  padding: 4px;
}

.stack-link:hover { color: var(--orange); }

/* ── TOAST ───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
  white-space: nowrap;
}

.toast span { color: var(--orange); font-size: 16px; }

.toast.show { transform: translateX(-50%) translateY(0); }

/* ── MEMBER FORM ────────────────────────────── */
.member-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.member-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.member-sub {
  font-size: 14px;
  color: var(--alum);
  line-height: 1.65;
  margin-bottom: 10px;
  max-width: 440px;
}

.member-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
}

.member-form .email-input { flex: 1; }

.member-fine {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mid);
  margin-top: 8px;
}

/* ── CONTACT FORM ──────────────────────────── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 520px;
}

.form-row {
  display: flex;
  gap: 14px;
}

.form-row .form-group { flex: 1; min-width: 0; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--alum);
}

.form-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.form-input::placeholder { color: var(--alum); }
.form-input:focus { border-color: var(--orange); }

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6E6E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}

.form-select option {
  background: var(--surface2);
  color: var(--white);
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.6;
}

.contact-confirm {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0 4px;
  animation: fadeIn 0.3s ease;
  max-width: 520px;
}

.contact-confirm.visible { display: flex; }

/* ── MEMBER CONFIRM ─────────────────────────── */
.member-confirm {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 8px 0 4px;
  animation: fadeIn 0.3s ease;
}

.member-confirm.visible { display: flex; }

.confirm-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-bg);
  border: 1px solid var(--orange-bd);
  color: var(--orange);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px var(--orange-glow);
}

.confirm-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.confirm-sub {
  font-size: 13px;
  color: var(--alum);
  line-height: 1.65;
  max-width: 420px;
}

/* ── MOBILE ──────────────────────────────────── */
@media (max-width: 640px) {
  .layout {
    flex-direction: column;
    padding: 0 20px;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-inner {
    padding: 28px 0 20px;
    gap: 20px;
  }

  nav { flex-direction: row; flex-wrap: wrap; }
  .nav-item { flex: 1; min-width: 80px; justify-content: center; gap: 6px; }

  .sidebar-footer { display: none; }

  .main {
    border-left: none;
    padding: 32px 0 48px;
  }

  .drop-card, .drop-card-full { max-width: 100%; }
  .email-row { flex-direction: column; }
  .btn-orange { width: 100%; text-align: center; padding: 12px; }
  .form-row { flex-direction: column; }
  .contact-form { max-width: 100%; }
  .member-form { flex-direction: column; }
  .member-form .email-input { width: 100%; }
}
