/* ============================================================
   FISHYMARKET // CYBERNETIC OS 2026 STYLESHEET
   Futuristic Cyberpunk / High-Tech Glassmorphism Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@500;700;800;900&family=Space+Grotesk:wght@400;600;700&display=swap');

:root {
  --bg-primary: #05070c;
  --bg-secondary: #0a0e17;
  --bg-card: rgba(13, 19, 33, 0.75);
  --bg-card-hover: rgba(20, 29, 49, 0.85);
  
  --cyber-cyan: #00f0ff;
  --cyber-cyan-glow: rgba(0, 240, 255, 0.35);
  --cyber-magenta: #ff007f;
  --cyber-magenta-glow: rgba(255, 0, 127, 0.35);
  --cyber-purple: #9d00ff;
  --cyber-green: #00ff88;
  --cyber-green-glow: rgba(0, 255, 136, 0.35);
  --cyber-yellow: #ffe600;
  
  --text-main: #f0f4fc;
  --text-muted: #8b9bb4;
  --text-dim: #4d5c75;
  
  --border-cyber: rgba(0, 240, 255, 0.2);
  --border-cyber-active: rgba(0, 240, 255, 0.8);
  --border-magenta: rgba(255, 0, 127, 0.3);
  
  --font-display: 'Orbitron', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  --clip-cut-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --clip-cut-md: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  --clip-cut-lg: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0d1527 0%, #05070c 70%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Matrix Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* Cyber Grid Lines */
.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

/* Scanline Effect */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
}

/* App Wrapper */
.app-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   NAVIGATION BAR
   ============================================================ */
.cyber-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(5, 7, 12, 0.85);
  border-bottom: 1px solid var(--border-cyber);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--cyber-cyan), var(--cyber-magenta));
  clip-path: var(--clip-cut-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  color: #000;
  box-shadow: 0 0 15px var(--cyber-cyan-glow);
  animation: pulseLogo 3s infinite alternate;
}

@keyframes pulseLogo {
  0% { box-shadow: 0 0 10px var(--cyber-cyan-glow); }
  100% { box-shadow: 0 0 25px var(--cyber-magenta-glow); }
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #fff 0%, var(--cyber-cyan) 60%, var(--cyber-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--cyber-green);
  color: var(--cyber-green);
  border-radius: 4px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--cyber-cyan);
  text-shadow: 0 0 8px var(--cyber-cyan-glow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyber-cyan);
  box-shadow: 0 0 8px var(--cyber-cyan);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ============================================================
   CYBER BUTTONS
   ============================================================ */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  clip-path: var(--clip-cut-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.btn-cyber:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyber-cyan) 0%, #0099ff 100%);
  color: #030814;
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
}

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

.btn-magenta {
  background: linear-gradient(135deg, var(--cyber-magenta) 0%, var(--cyber-purple) 100%);
  color: #fff;
  box-shadow: 0 0 20px var(--cyber-magenta-glow);
}

.btn-magenta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.6);
}

.btn-outline {
  background: rgba(13, 19, 33, 0.6);
  border: 1px solid var(--cyber-cyan);
  color: var(--cyber-cyan);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.15);
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid var(--border-cyber);
  clip-path: var(--clip-cut-sm);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyber-cyan);
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--cyber-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyber-green);
  animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.glitch-text {
  position: relative;
  display: inline-block;
  color: #fff;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--cyber-cyan) 0%, var(--cyber-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cyber-cyan);
  text-shadow: 0 0 12px var(--cyber-cyan-glow);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Terminal Card */
.hero-terminal {
  background: var(--bg-card);
  border: 1px solid var(--border-cyber);
  clip-path: var(--clip-cut-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(15px);
  position: relative;
  overflow: hidden;
}

.terminal-header {
  background: rgba(5, 7, 12, 0.9);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.t-dot.red { background: #ff5f56; }
.t-dot.yellow { background: #ffbd2e; }
.t-dot.green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
}

.terminal-line {
  margin-bottom: 0.75rem;
}

.t-prompt { color: var(--cyber-magenta); font-weight: 700; margin-right: 6px; }
.t-cmd { color: var(--cyber-cyan); }
.t-success { color: var(--cyber-green); }
.t-info { color: var(--text-muted); }
.t-json { color: var(--cyber-yellow); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.section-padding {
  padding: 5rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyber-magenta);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  clip-path: var(--clip-cut-sm);
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
  box-shadow: 0 0 15px var(--cyber-cyan-glow);
}

.filter-btn.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-cyber);
  clip-path: var(--clip-cut-md);
  padding: 2rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-cyber-active);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--cyber-cyan-glow);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--cyber-cyan);
  clip-path: var(--clip-cut-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyber-cyan);
  box-shadow: 0 0 15px var(--cyber-cyan-glow);
}

.service-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.badge-auto {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid var(--cyber-green);
  color: var(--cyber-green);
}

.badge-manual {
  background: rgba(255, 189, 46, 0.15);
  border: 1px solid var(--cyber-yellow);
  color: var(--cyber-yellow);
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #fff;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.feature-check {
  color: var(--cyber-cyan);
  font-weight: 700;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyber-yellow);
  text-shadow: 0 0 10px rgba(255, 230, 0, 0.3);
}

/* ============================================================
   CYBER MUSIC PLAYER WIDGET
   ============================================================ */
.cyber-player-dock {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 360px;
  background: rgba(8, 12, 22, 0.92);
  border: 1px solid var(--cyber-cyan);
  clip-path: var(--clip-cut-md);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px var(--cyber-cyan-glow);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cyber-player-dock.minimized {
  width: 220px;
}

.cyber-player-dock.minimized .player-body,
.cyber-player-dock.minimized .player-visualizer,
.cyber-player-dock.minimized .playlist-box {
  display: none;
}

.player-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 240, 255, 0.08);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.player-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyber-cyan);
  box-shadow: 0 0 8px var(--cyber-cyan);
}

.player-indicator.playing {
  background: var(--cyber-green);
  box-shadow: 0 0 10px var(--cyber-green);
  animation: pulseLogo 1.5s infinite alternate;
}

.player-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyber-cyan);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.player-controls-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-tool-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 3px;
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.player-tool-btn:hover {
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
}

/* Visualizer Canvas */
.player-visualizer {
  width: 100%;
  height: 48px;
  background: #04060a;
  display: block;
}

.player-body {
  padding: 12px 16px;
}

.track-info {
  margin-bottom: 10px;
}

.track-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: 0.75rem;
  color: var(--cyber-magenta);
}

/* Progress bar */
.progress-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.time-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  min-width: 34px;
}

.progress-bar-wrap {
  flex-grow: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyber-cyan), var(--cyber-magenta));
  border-radius: 3px;
  box-shadow: 0 0 10px var(--cyber-cyan-glow);
  position: relative;
}

/* Controls */
.player-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.main-ctrls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctrl-btn {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--border-cyber);
  color: var(--cyber-cyan);
  width: 32px;
  height: 32px;
  clip-path: var(--clip-cut-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  background: var(--cyber-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--cyber-cyan-glow);
}

.ctrl-btn.play-btn {
  width: 38px;
  height: 38px;
  background: var(--cyber-cyan);
  color: #000;
  box-shadow: 0 0 15px var(--cyber-cyan-glow);
}

.ctrl-btn.play-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--cyber-cyan-glow);
}

.volume-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.volume-slider {
  -webkit-appearance: none;
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  background: var(--cyber-cyan);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 6px var(--cyber-cyan);
}

/* Add Music & Playlist buttons */
.player-footer-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.player-action-btn {
  flex: 1;
  padding: 6px 8px;
  background: rgba(13, 19, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.player-action-btn:hover {
  border-color: var(--cyber-cyan);
  color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.1);
}

/* Playlist box */
.playlist-drawer {
  max-height: 150px;
  overflow-y: auto;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s ease;
}

.playlist-item:hover {
  background: rgba(0, 240, 255, 0.08);
  color: #fff;
}

.playlist-item.active {
  color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.15);
  font-weight: 700;
}

.playlist-item .track-del-btn {
  color: #ff5f56;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
}

/* ============================================================
   MODAL DIALOG (ADD MUSIC)
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 500px;
  background: var(--bg-secondary);
  border: 1px solid var(--cyber-cyan);
  clip-path: var(--clip-cut-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9), 0 0 35px var(--cyber-cyan-glow);
  padding: 2rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  padding-bottom: 1rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--cyber-cyan);
  text-transform: uppercase;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--cyber-magenta);
}

.upload-dropzone {
  border: 2px dashed rgba(0, 240, 255, 0.4);
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(0, 240, 255, 0.03);
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: var(--cyber-cyan);
  background: rgba(0, 240, 255, 0.08);
  box-shadow: 0 0 20px var(--cyber-cyan-glow);
}

.dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(5, 7, 12, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 10px var(--cyber-cyan-glow);
}

/* ============================================================
   INTEGRATION & TERMINAL SECTION
   ============================================================ */
.api-section {
  background: radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.08) 0%, transparent 70%);
}

.api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.api-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.api-feat-card {
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(157, 0, 255, 0.3);
  clip-path: var(--clip-cut-sm);
  display: flex;
  gap: 1rem;
}

.api-feat-icon {
  font-size: 1.75rem;
  color: var(--cyber-purple);
}

.api-feat-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #fff;
}

.api-feat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Code block terminal */
.code-terminal {
  background: #080b13;
  border: 1px solid var(--border-cyber);
  clip-path: var(--clip-cut-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.code-header {
  background: rgba(13, 19, 33, 0.9);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--cyber-cyan);
}

.code-copy-btn {
  background: transparent;
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--cyber-cyan);
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.code-copy-btn:hover {
  background: var(--cyber-cyan);
  color: #000;
}

.code-body {
  padding: 1.5rem;
  overflow-x: auto;
}

.code-body pre {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d8e2f0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.cyber-footer {
  border-top: 1px solid var(--border-cyber);
  background: #030508;
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--cyber-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .api-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cyber-player-dock {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 16px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
