/* FanFix - Immersive Dark Theme */

:root {
  /* Deep void colors */
  --void: #050508;
  --bg-deep: #08090c;
  --bg: #0a0b10;
  --bg-elevated: #12141a;
  --bg-surface: #1a1c24;

  /* Text hierarchy */
  --text: #f0f2f5;
  --text-secondary: #8b92a0;
  --text-muted: #555b69;

  /* Accent palette - Ethereal blues */
  --accent: #7dd3fc;
  --accent-bright: #bae6fd;
  --accent-deep: #0ea5e9;
  --accent-glow: rgba(125, 211, 252, 0.15);
  --accent-glow-strong: rgba(125, 211, 252, 0.4);

  /* Secondary - Soft violet */
  --secondary: #c4b5fd;
  --tertiary: #f0abfc;

  /* Utility */
  --success: #4ade80;
  --error: #f87171;
  --border: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--void);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--void);
}

/* ================================
   LANDING PAGE - IMMERSIVE
   ================================ */
.landing-page {
  min-height: 100vh;
  position: relative;
}

/* Particle canvas - fullscreen background */
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Cursor glow effect */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Navigation */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  text-decoration: none;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s var(--ease);
}

.nav-cta:hover {
  color: var(--text);
  background: var(--bg-surface);
}

/* ================================
   HERO SECTION
   ================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem;
  position: relative;
  z-index: 2;
}

/* Animated gradient orbs */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-deep) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  top: 50%;
  right: -15%;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--tertiary) 0%, transparent 70%);
  bottom: -10%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-content {
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 50%, var(--tertiary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Primary CTA button */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  color: var(--void);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.2), 0 4px 30px rgba(125, 211, 252, 0.2);
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.4), 0 8px 40px rgba(125, 211, 252, 0.3);
}

.btn-hero.large {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
}

.btn-hero svg {
  transition: transform 0.3s var(--ease);
}

.btn-hero:hover svg {
  transform: translateX(4px);
}

.btn-ghost-hero {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 1rem 1.5rem;
  transition: color 0.2s ease;
}

.btn-ghost-hero:hover {
  color: var(--text);
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.proof-avatars {
  display: flex;
}

.proof-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--void);
  margin-left: -8px;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ================================
   FEATURES SECTION
   ================================ */
.features {
  padding: 8rem 2rem;
  position: relative;
  z-index: 2;
}

.features-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.features-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.features-showcase {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s var(--ease);
}

.feature-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.feature-item:nth-child(even) {
  direction: rtl;
}

.feature-item:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 800px) {
  .feature-item,
  .feature-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-mockup {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.feature-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

/* Links mockup */
.mockup-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-surface);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.3s var(--ease);
}

.mockup-link:last-child {
  margin-bottom: 0;
}

.mockup-link:hover {
  background: var(--bg);
  transform: translateX(8px);
}

.link-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* Commission mockup */
.commission-status-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse-status 2s ease-in-out infinite;
}

.status-indicator.open {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

@keyframes pulse-status {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.commission-slots-demo {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.slot {
  flex: 1;
  height: 8px;
  background: var(--bg-surface);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.slot.filled {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
}

.commission-price-demo {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Customize mockup */
.color-orbs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.color-orb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: all 0.3s var(--ease-bounce);
  cursor: pointer;
}

.color-orb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 20px currentColor;
}

.theme-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Feature content */
.feature-content {
  padding: 1rem;
}

.feature-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.feature-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ================================
   PRICING SECTION
   ================================ */
.pricing {
  padding: 8rem 2rem;
  position: relative;
  z-index: 2;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.pricing-subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin: 0;
}

.pricing-comparison {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .pricing-comparison {
    grid-template-columns: 1fr;
  }
}

.price-tier {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--ease);
}

.price-tier.revealed {
  opacity: 1;
  transform: translateY(0);
}

.price-tier.supporter {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-elevated) 100%);
  border-color: rgba(125, 211, 252, 0.2);
}

.tier-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--void);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.tier-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.tier-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.tier-price {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tier-period {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tier-features {
  list-style: none;
  margin-bottom: 2rem;
}

.tier-features li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tier-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.tier-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
}

.tier-cta:hover {
  background: var(--bg);
  border-color: var(--accent);
}

.tier-cta.primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--void);
  border: none;
}

.tier-cta.primary:hover {
  box-shadow: 0 4px 20px rgba(125, 211, 252, 0.3);
}

.tier-cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.tier-cta.primary:disabled:hover {
  box-shadow: none;
}

/* ================================
   MANIFESTO SECTION
   ================================ */
.manifesto {
  padding: 8rem 2rem;
  position: relative;
  z-index: 2;
}

.manifesto-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease);
}

.manifesto-content.revealed {
  opacity: 1;
  transform: translateY(0);
}

.manifesto-quote {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.manifesto-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.manifesto-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.signature-dash {
  width: 24px;
  height: 1px;
  background: var(--text-muted);
}

.signature-name {
  font-weight: 500;
}

/* ================================
   FINAL CTA
   ================================ */
.final-cta {
  padding: 8rem 2rem;
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

/* ================================
   LANDING FOOTER
   ================================ */
.landing-footer {
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ================================
   REST OF APP STYLES
   ================================ */

/* Navigation for logged-in pages */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

/* Main content wrapper */
main {
  padding-top: 64px;
  min-height: calc(100vh - 64px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: var(--void);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(125, 211, 252, 0.3);
  transform: translateY(-1px);
  color: var(--void);
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--accent);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-surface);
  color: var(--text);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, var(--error));
  color: white;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

/* Footer for internal pages */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  background: var(--bg-deep);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ================================
   PROFILE PAGE
   ================================ */
.profile-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 50%), var(--void);
}

.profile-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 3px solid var(--accent);
  box-shadow: 0 0 40px var(--accent-glow);
}

.profile-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.profile-username {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.profile-bio {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto 0.5rem;
}

.profile-pronouns {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Commission Card */
.commission-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  max-width: 400px;
  margin-bottom: 1.5rem;
}

.commission-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: pulse-status 2s ease-in-out infinite;
}

.status-dot.open {
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.status-dot.closed {
  background: var(--error);
}

.commission-slots {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.commission-tiers {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.tier-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.tier-name {
  color: var(--text-secondary);
}

.tier-price {
  color: var(--accent);
  font-weight: 600;
}

/* Links Section */
.links-section {
  width: 100%;
  max-width: 400px;
}

.links-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  color: var(--text);
  transition: all 0.2s var(--ease);
  text-decoration: none;
}

.link-item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  color: var(--text);
}

.link-icon {
  font-size: 1.25rem;
}

/* Portfolio */
.portfolio-section {
  width: 100%;
  max-width: 600px;
  margin-top: 1.5rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.portfolio-item {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

/* ================================
   BUILDER PAGE - ADVANCED
   ================================ */
.builder-page-body {
  background: var(--void);
}

.builder-page-body .main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(12px);
}

.builder-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 100vh;
  padding-top: 64px;
}

@media (max-width: 1024px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .builder-preview-container {
    display: none;
  }
}

/* Left Panel - Phone Preview */
.builder-preview-container {
  background: var(--bg-deep);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.preview-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-link {
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.preview-link:hover {
  opacity: 0.8;
}

.preview-phone {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-content {
  width: 100%;
  max-width: 320px;
  min-height: 500px;
  background: var(--bg);
  border-radius: 24px;
  padding: 2rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  overflow: hidden;
}

.preview-profile {
  text-align: center;
  margin-bottom: 1.5rem;
}

.preview-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.preview-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--void);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
}

.preview-name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.preview-username {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.preview-bio {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.preview-pronouns {
  font-size: 0.75rem;
  color: var(--accent);
  margin-top: 4px;
}

.preview-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.preview-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--void);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

.preview-link-item.preview-link-placeholder {
  background: var(--bg-surface);
  color: var(--text-muted);
}

.preview-link-icon {
  font-size: 1rem;
}

/* Right Panel - Builder Controls */
.builder-controls {
  padding: 1.5rem 2rem;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

/* Tab Navigation */
.builder-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.builder-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.builder-tab:hover {
  background: var(--bg-surface);
  color: var(--text);
}

.builder-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--void);
}

.builder-tab svg {
  opacity: 0.7;
}

.builder-tab.active svg {
  opacity: 1;
}

/* Tab Panels */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Form Sections */
.form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.builder-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Radio Group for Background Type */
.radio-group {
  display: flex;
  gap: 0.75rem;
}

.radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.radio-option input {
  display: none;
}

.radio-option:hover {
  border-color: var(--accent);
}

.radio-option.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--void);
}

.radio-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Color Picker */
.color-picker-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.color-input {
  width: 48px;
  height: 40px;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-surface);
  cursor: pointer;
}

.color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input::-webkit-color-swatch {
  border: none;
  border-radius: 6px;
}

.color-hex {
  flex: 1;
  padding: 0.625rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.color-hex:focus {
  outline: none;
  border-color: var(--accent);
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

/* Gradient Controls */
.gradient-colors {
  display: flex;
  gap: 1rem;
}

.gradient-color-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.gradient-color-item .color-input {
  width: 100%;
  height: 48px;
}

.gradient-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Angle Control */
.angle-control {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.angle-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--bg-surface);
  border-radius: 3px;
  outline: none;
}

.angle-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.angle-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border: 2px solid var(--border);
}

/* Palette Grid */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 700px) {
  .palette-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.palette-item {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.palette-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.palette-preview {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  position: relative;
  overflow: hidden;
}

.palette-accent {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
}

.palette-name {
  font-size: 0.6875rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Font Grid */
.font-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 800px) {
  .font-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.font-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.font-option input {
  display: none;
}

.font-option:hover {
  border-color: var(--accent);
}

.font-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.font-preview {
  font-size: 0.9375rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.font-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.font-style {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Button Style Grid */
.button-style-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 700px) {
  .button-style-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.button-style-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.button-style-option input {
  display: none;
}

.button-style-option:hover {
  border-color: var(--accent);
}

.button-style-option.selected {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.button-style-preview {
  width: 100%;
  padding: 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--accent);
  color: var(--void);
}

.button-style-preview[data-style="rounded"] { border-radius: 6px; }
.button-style-preview[data-style="sharp"] { border-radius: 0; }
.button-style-preview[data-style="pill"] { border-radius: 999px; }
.button-style-preview[data-style="outline"] {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 6px;
}
.button-style-preview[data-style="ghost"] {
  background: var(--accent-glow);
  color: var(--accent);
  border-radius: 6px;
}
.button-style-preview[data-style="glow"] {
  border-radius: 6px;
  box-shadow: 0 0 12px var(--accent-glow-strong);
}

.button-style-name {
  font-size: 0.6875rem;
  color: var(--text-secondary);
}

/* Toggle Group */
.toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toggle-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.toggle-option:hover {
  border-color: var(--text-muted);
}

.toggle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-info .toggle-label {
  font-weight: 500;
  color: var(--text);
}

.toggle-info .toggle-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Links Manager */
.links-manager {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.link-manager-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.link-manager-item:hover {
  border-color: var(--text-muted);
}

.drag-handle {
  color: var(--text-muted);
  cursor: grab;
  padding: 0.25rem;
}

.drag-handle:active {
  cursor: grabbing;
}

.link-manager-content {
  flex: 1;
  min-width: 0;
}

.link-manager-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.link-manager-icon {
  font-size: 1rem;
}

.link-manager-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-delete-form {
  display: inline;
}

.link-delete-btn {
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.link-delete-btn:hover {
  background: var(--error);
  color: white;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.empty-state svg {
  opacity: 0.3;
  margin-bottom: 1rem;
}

.empty-state p {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.empty-state span {
  font-size: 0.875rem;
  opacity: 0.7;
}

.empty-state.small {
  padding: 1.5rem;
}

.empty-state.small p {
  font-size: 0.875rem;
}

/* Commission Toggle */
.commission-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.commission-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-title {
  font-weight: 600;
  color: var(--text);
}

.toggle-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Tiers List */
.tiers-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tiers-list .tier-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.tier-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tiers-list .tier-name {
  font-weight: 500;
  color: var(--text);
}

.tier-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tiers-list .tier-price {
  font-weight: 600;
  color: var(--accent);
}

.tier-add-form .form-row {
  margin-bottom: 0.75rem;
}

/* Claim Username Page */
.claim-username-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.claim-container {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.claim-container h1 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.claim-subtitle {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.save-indicator {
  font-size: 0.75rem;
  color: var(--success);
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-help {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-error {
  font-size: 0.75rem;
  color: var(--error);
  margin-top: 0.25rem;
}

/* Username input */
.username-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.username-prefix {
  position: absolute;
  left: 0.875rem;
  color: var(--accent);
  font-weight: 600;
}

.username-input-wrapper .form-input {
  padding-left: 2rem;
}

.username-status {
  position: absolute;
  right: 0.875rem;
  font-size: 1.25rem;
}

.username-status.available { color: var(--success); }
.username-status.taken { color: var(--error); }

/* Toggle */
.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  cursor: pointer;
}

.toggle input { opacity: 0; width: 0; height: 0; }

.toggle-track {
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
  border-radius: 26px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toggle input:checked + .toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}

.toggle input:checked + .toggle-track .toggle-thumb {
  transform: translateX(22px);
  background: var(--void);
}

/* Link list */
.link-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.link-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-surface);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.drag-handle {
  color: var(--text-muted);
  cursor: grab;
}

.link-info { flex: 1; min-width: 0; }

.link-info .link-title {
  font-weight: 500;
  margin-bottom: 2px;
}

.link-info .link-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Settings Page */
.settings-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
}

.settings-section {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.settings-section-title {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.settings-section.danger-zone {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.05);
}

.settings-section.danger-zone .settings-section-title {
  color: var(--error);
}

/* Help Page */
.help-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.help-header {
  text-align: center;
  margin-bottom: 3rem;
}

.help-header h1 {
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.faq-section {
  margin-bottom: 2rem;
}

.faq-section-title {
  font-size: 0.875rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--bg-elevated);
}

.faq-question {
  width: 100%;
  padding: 1.25rem;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer {
  padding: 0 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  padding: 0 1.25rem 1.25rem;
}

/* Status Page */
.status-page {
  max-width: 500px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.status-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.status-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.status-badge.pending { background: var(--warning); color: var(--void); }
.status-badge.accepted { background: var(--secondary); color: var(--void); }
.status-badge.in_progress { background: var(--accent-deep); color: var(--void); }
.status-badge.review { background: var(--secondary); color: var(--void); }
.status-badge.completed { background: var(--success); color: var(--void); }
.status-badge.cancelled { background: var(--text-muted); color: white; }

.status-detail { margin-bottom: 1rem; }

.status-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.status-value { color: var(--text); }

.status-note {
  background: var(--bg-surface);
  border-left: 3px solid var(--accent);
  padding: 1rem;
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* Static Pages */
.static-page {
  max-width: 700px;
  margin: 0 auto;
  padding: 1.5rem;
}

.static-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.static-date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.static-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.static-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.static-content a { color: var(--accent); }
.static-content a:hover { text-decoration: underline; }

/* Error Page */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: radial-gradient(ellipse at 50% 50%, var(--accent-glow) 0%, transparent 50%), var(--void);
}

.error-page h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-page p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--bg-surface); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Responsive */
@media (max-width: 768px) {
  .footer-inner,
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
