/* ============================================
   MIXTAPE GAME - GLOBAL STYLES
   ============================================ */

:root {
  --color-bg: #07070f;
  --color-bg-2: #0d0d1a;
  --color-bg-card: #12121f;
  --color-bg-card-hover: #1a1a2e;
  --color-primary: #ff2d78;
  --color-secondary: #8b2fc9;
  --color-accent: #00e5ff;
  --color-accent-2: #ffe600;
  --color-text: #f0f0ff;
  --color-text-muted: #8888aa;
  --color-border: rgba(255, 255, 255, 0.08);
  --gradient-main: linear-gradient(135deg, #ff2d78, #8b2fc9, #00e5ff);
  --gradient-card: linear-gradient(135deg, rgba(255,45,120,0.1), rgba(139,47,201,0.1));
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --shadow-neon-pink: 0 0 20px rgba(255, 45, 120, 0.5), 0 0 40px rgba(255, 45, 120, 0.2);
  --shadow-neon-blue: 0 0 20px rgba(0, 229, 255, 0.5), 0 0 40px rgba(0, 229, 255, 0.2);
  --shadow-neon-purple: 0 0 20px rgba(139, 47, 201, 0.5), 0 0 40px rgba(139, 47, 201, 0.2);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: var(--gradient-main);
  border-radius: 3px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  background: rgba(0, 229, 255, 0.06);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

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

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(7, 7, 15, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--color-border);
  padding: 0.75rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-neon-pink);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  transition: var(--transition);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--color-text);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  right: 0;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: var(--shadow-neon-pink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 45, 120, 0.6), 0 0 60px rgba(255, 45, 120, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-neon-blue);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(255, 45, 120, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--shadow-neon-pink);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: linear-gradient(135deg, #1a0a2e, #0a1a3e);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-body {
  padding: 1.5rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.card-tag.pink { background: rgba(255,45,120,0.2); color: var(--color-primary); }
.card-tag.purple { background: rgba(139,47,201,0.2); color: #b06cf0; }
.card-tag.cyan { background: rgba(0,229,255,0.2); color: var(--color-accent); }
.card-tag.yellow { background: rgba(255,230,0,0.2); color: var(--color-accent-2); }

.card-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   HERO SECTION (shared base)
   ============================================ */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,45,120,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(0,229,255,0.1) 0%, transparent 50%);
}

/* ============================================
   CANVAS PARTICLES
   ============================================ */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ============================================
   AUDIO VISUALIZER BARS
   ============================================ */
.audio-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 40px;
}

.audio-bar {
  width: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
  animation: audioBar 1.2s ease-in-out infinite;
}

.audio-bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.audio-bar:nth-child(2) { animation-delay: 0.1s; height: 70%; }
.audio-bar:nth-child(3) { animation-delay: 0.2s; height: 45%; }
.audio-bar:nth-child(4) { animation-delay: 0.3s; height: 90%; }
.audio-bar:nth-child(5) { animation-delay: 0.4s; height: 60%; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; height: 35%; }
.audio-bar:nth-child(7) { animation-delay: 0.3s; height: 80%; }
.audio-bar:nth-child(8) { animation-delay: 0.15s; height: 50%; }

@keyframes audioBar {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.3); }
}

/* ============================================
   NEON LINE DIVIDER
   ============================================ */
.neon-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), var(--color-accent), transparent);
  opacity: 0.5;
  margin: 0;
}

/* ============================================
   BADGE / PILL
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-new {
  background: rgba(255,45,120,0.15);
  border: 1px solid rgba(255,45,120,0.4);
  color: var(--color-primary);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 8px rgba(255,45,120,0.3); }
  50% { box-shadow: 0 0 20px rgba(255,45,120,0.6); }
}

/* ============================================
   TAPE DECORATION
   ============================================ */
.tape-decoration {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.tape-line {
  flex: 1;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.4;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 1rem 0 1.5rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(255,45,120,0.15);
  border-color: rgba(255,45,120,0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon-pink);
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-text);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

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

.footer-bottom-links a {
  color: var(--color-text-muted);
  transition: var(--transition);
}

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

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 7, 15, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--color-text);
  text-shadow: var(--shadow-neon-pink);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   PROGRESS BAR (page top)
   ============================================ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-main);
  z-index: 2000;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(255,45,120,0.8);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .navbar-links, .navbar-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .section-title { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
}
