/* ============================================
   PULSE - ENHANCED DESIGN + ANIMATIONS
   ============================================
   Premium design with smooth animations
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #000000;
  --surface: #0a0a0a;
  --card: #111111;
  --border: #1a1a1a;
  --text: #ffffff;
  --text-secondary: #808080;
  --text-muted: #555555;
  --hover: #1a1a1a;
  --accent: #ffffff;
}

/* ============================================
   BASE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: pageLoad 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageLoad {
  to { opacity: 1; }
}

::selection {
  background: #fff;
  color: #000;
}

.muted {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 40px;
}

/* ============================================
   NAVIGATION + ANIMATIONS
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 60px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
  transform: translateY(-100%);
  animation: navSlideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes navSlideDown {
  to { transform: translateY(0); }
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.7;
}

.nav nav {
  display: flex;
  gap: 32px;
}

.nav a:not(.brand) {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(-20px);
  opacity: 0;
  animation: navItemFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.nav nav a:nth-child(1) { animation-delay: 0.3s; }
.nav nav a:nth-child(2) { animation-delay: 0.4s; }
.nav nav a:nth-child(3) { animation-delay: 0.5s; }
.nav nav a:nth-child(4) { animation-delay: 0.6s; }
.nav nav a:nth-child(5) { animation-delay: 0.7s; }

@keyframes navItemFadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav a:hover::before {
  transform: translateX(0);
}

.nav a:not(.brand):hover {
  color: #fff;
}

/* ============================================
   HERO + ANIMATIONS
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: grayscale(1) contrast(1.2);
  transform: scale(1.1);
  animation: heroVideoZoom 20s ease-out forwards;
  will-change: transform;
}

@keyframes heroVideoZoom {
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 20px;
  text-transform: uppercase;
  transform: translateY(40px);
  opacity: 0;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s,
             heroFloat 6s ease-in-out infinite 1.5s;
}

.hero p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateY(30px);
  opacity: 0;
  animation: heroTextReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.7s;
}

@keyframes heroTextReveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   SECTIONS + SCROLL ANIMATIONS
   ============================================ */

.section {
  padding: 120px 40px;
  position: relative;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section.dark {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.section.visible h2 {
  opacity: 1;
  transform: translateY(0);
}

.team-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -40px;
  margin-bottom: 60px;
}

/* ============================================
   BUTTONS + ANIMATIONS
   ============================================ */

.btn,
.download-btn {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before,
.download-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::before,
.download-btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover,
.download-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn {
  margin-top: 30px;
}

/* ============================================
   CARDS + ANIMATIONS
   ============================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.2s ease;
}

.card:hover {
  background: var(--hover);
  border-color: #333;
}

.card span {
  color: var(--text-secondary);
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ============================================
   MEDIA GRID + ANIMATIONS
   ============================================ */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.media-card {
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.media-card:nth-child(1) { transition-delay: 0.1s; }
.media-card:nth-child(2) { transition-delay: 0.2s; }
.media-card:nth-child(3) { transition-delay: 0.3s; }

.section.visible .media-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

.media-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.media-card img,
.media-card video {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  filter: grayscale(0.3);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  animation: imageLoad 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes imageLoad {
  to { opacity: 1; }
}

.media-card:hover img,
.media-card:hover video {
  filter: grayscale(0);
  border-color: #333;
  transform: scale(1.05);
}

.media-card p {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

/* ============================================
   DOWNLOADS + ANIMATIONS
   ============================================ */

.downloads {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.download-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 40px;
  text-decoration: none;
  color: var(--text);
  display: block;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.section.visible .download-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

.download-card:hover {
  background: var(--hover);
  border-color: #fff;
  transform: translateY(-8px) scale(1.02);
}

.download-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.download-meta {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.download-actions {
  margin-top: 20px;
}

.download-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================
   FAQ + ANIMATIONS
   ============================================ */

.faq {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  position: relative;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .faq-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 50px 24px 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.3px;
  position: relative;
}

.faq-question:hover {
  color: var(--text-secondary);
  padding-left: 10px;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding-bottom: 24px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

/* ============================================
   SHELF + ANIMATIONS
   ============================================ */

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.shelf {
  background: var(--card);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section.visible .shelf {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.shelf:hover {
  border-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.shelf-header {
  width: 100%;
  padding: 24px;
  background: none;
  border: none;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.shelf-header:hover {
  background: var(--hover);
}

.shelf-arrow {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.shelf.open .shelf-arrow {
  transform: rotate(45deg);
}

.shelf-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s ease;
  padding: 0 24px;
  opacity: 0;
}

.shelf.open .shelf-content {
  max-height: 800px;
  padding: 0 24px 24px;
  opacity: 1;
}

.install-steps {
  list-style: decimal;
  padding-left: 20px;
}

.install-steps li {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.install-path {
  display: block;
  margin-top: 8px;
  padding: 12px;
  background: #000;
  border-left: 2px solid #fff;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #fff;
  overflow-x: auto;
}

.install-note {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================
   CREATOR CARDS + ANIMATIONS
   ============================================ */

.creators-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.creator-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.creator-card:nth-child(1) { transition-delay: 0.1s; }
.creator-card:nth-child(2) { transition-delay: 0.2s; }

.section.visible .creator-card {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

.creator-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #333;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.creator-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  opacity: 0.5;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-card:hover .creator-bg {
  opacity: 0.8;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  transform: scale(1.1);
}

.creator-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-card:hover .creator-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px) scale(1.05);
}

.badge-icon {
  width: 14px;
  height: 14px;
  fill: #fff;
}

.discord-profile-enhanced {
  position: relative;
  padding: 140px 30px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.avatar-container {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.avatar-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff 0%, #888 100%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: rotate 8s linear infinite;
}

.creator-card:hover .avatar-ring {
  opacity: 0.3;
  transform: scale(1.1);
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.discord-avatar-enhanced {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--card);
  object-fit: cover;
  filter: grayscale(0.2);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.creator-card:hover .discord-avatar-enhanced {
  filter: grayscale(0);
  transform: scale(1.1) rotate(5deg);
  border-color: #1a1a1a;
}

.status-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  z-index: 2;
}

.status-dot-enhanced {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--card);
  transition: all 0.3s ease;
  position: relative;
}

.status-dot-enhanced::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

.status-dot-enhanced.dot-online {
  background: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

.status-dot-enhanced.dot-idle {
  background: #888;
  box-shadow: 0 0 12px rgba(136, 136, 136, 0.4);
}

.status-dot-enhanced.dot-dnd {
  background: #666;
  box-shadow: 0 0 12px rgba(102, 102, 102, 0.4);
}

.status-dot-enhanced.dot-offline {
  background: #444;
}

.profile-info {
  text-align: center;
  margin-bottom: 24px;
}

.profile-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.creator-card:hover .profile-name {
  color: #fff;
  transform: translateY(-2px);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.profile-username {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.creator-card:hover .profile-status {
  background: rgba(255, 255, 255, 0.08);
  border-color: #333;
}

.status-text {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.profile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 -30px -30px;
}

.creator-card:hover .profile-action {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-3px);
}

.action-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.creator-card:hover .action-icon {
  transform: translate(2px, -2px);
}

/* ============================================
   ABOUT
   ============================================ */

.about {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  letter-spacing: 0.2px;
}

/* ============================================
   AE SELECTOR
   ============================================ */

.ae-selector {
  max-width: 500px;
  margin: 0 auto 60px;
}

.ae-selector label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ae-selector select {
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ae-selector select:hover,
.ae-selector select:focus {
  outline: none;
  border-color: #fff;
  background: var(--hover);
  transform: scale(1.02);
}

/* ============================================
   MODAL + ANIMATIONS
   ============================================ */

#mediaModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mediaModal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#mediaModal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-content img,
.modal-content video {
  max-width: 92vw;
  max-height: 92vh;
  border: 1px solid #333;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  cursor: pointer;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#mediaModal.active .modal-close {
  transform: scale(1);
}

.modal-close:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: scale(1.1) rotate(90deg);
}

/* ============================================
   CURSOR TRAIL
   ============================================ */

.cursor-trail {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.cursor-trail.active {
  opacity: 1;
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #fff, #888);
  z-index: 10000;
  transform-origin: left;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  padding: 40px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  border-top: 1px solid var(--border);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }
  
  .nav nav {
    gap: 20px;
  }
  
  .nav a:not(.brand) {
    font-size: 11px;
  }
  
  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }
  
  .section {
    padding: 80px 20px;
  }
  
  .creators-enhanced {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .media-grid,
  .shelf-grid {
    grid-template-columns: 1fr;
  }
  
  .brand {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .creator-badge {
    top: 12px;
    right: 12px;
    font-size: 10px;
    padding: 6px 12px;
  }

  .badge-icon {
    width: 12px;
    height: 12px;
  }

  .creator-card:hover .discord-avatar-enhanced {
    transform: scale(1.05) rotate(0);
  }
  
  .media-card:hover,
  .download-card:hover,
  .creator-card:hover {
    transform: translateY(-5px) scale(1.01);
  }

  .cursor-trail {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav {
    height: 50px;
  }
  
  .hero p {
    font-size: 14px;
  }
  
  .section h2 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
  }

  .discord-avatar-enhanced {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 19px;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .avatar-ring {
    animation: none !important;
  }

  .status-dot-enhanced::before {
    animation: none !important;
  }

  .hero-video {
    animation: none !important;
  }

  .cursor-trail {
    display: none;
  }
}

a:focus,
button:focus,
select:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}