/* DJ International Records — Base Styles */
/* Fredoka + Space Grotesk, B&W glow, black base */

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

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

/* === FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* === BASE === */
:root {
  --black: #000;
  --white: #fff;
  --gray-100: #f5f5f5;
  --gray-300: #c0c0c0;
  --gray-500: #888;
  --gray-700: #444;
  --gray-900: #1a1a1a;
  --glow: 0 0 10px rgba(255,255,255,0.15), 0 0 20px rgba(255,255,255,0.08);
  --glow-strong: 0 0 10px rgba(255,255,255,0.4), 0 0 20px rgba(255,255,255,0.2), 0 0 40px rgba(255,255,255,0.1);
  --glow-hover: 0 0 8px rgba(255,255,255,0.3), 0 0 16px rgba(255,255,255,0.15);
  --radius: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

.mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-900);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

nav .logo-text {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  text-decoration: none;
  text-shadow: var(--glow);
}

nav .logo-text:hover {
  text-shadow: var(--glow-strong);
}

nav .logo-nav img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255,255,255,0.1));
  transition: filter 0.3s ease;
}

nav .logo-nav:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(255,255,255,0.3));
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav ul a {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color var(--transition), text-shadow var(--transition);
}

nav ul a:hover,
nav ul a.active {
  color: var(--white);
  text-shadow: var(--glow-hover);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }
  nav ul.open { display: flex; }
  .nav-toggle { display: block; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
  background: url('/img/banner.png') center center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.hero-logo {
  max-width: 320px;
  width: 80%;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.15));
}

.hero h1 {
  margin-bottom: 16px;
  text-shadow: var(--glow-strong);
}

.hero .subtitle {
  font-family: 'Space Mono', monospace;
  color: var(--gray-500);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* === VINYL FLIP === */
.vinyl-flip {
  perspective: 1000px;
  max-width: 400px;
  margin: 0 auto;
}

.vinyl-flip-inner {
  position: relative;
  width: 100%;
  padding-top: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.vinyl-flip:hover .vinyl-flip-inner,
.vinyl-flip:active .vinyl-flip-inner {
  transform: rotateY(180deg);
}

.vinyl-flip-front,
.vinyl-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 50%;
  overflow: hidden;
}

.vinyl-flip-front img,
.vinyl-flip-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vinyl-flip-back {
  transform: rotateY(180deg);
}

.vinyl-label {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
}

.vinyl-flip-back .vinyl-label {
  transform: translateX(-50%) rotateY(180deg);
}

/* === CARDS === */
.card {
  background: var(--black);
  border: 1px solid var(--gray-900);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--gray-700);
  box-shadow: var(--glow);
}

/* === GRID === */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 32px;
  border: 1px solid var(--white);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  background: transparent;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--glow);
}

.btn-ghost {
  border-color: var(--gray-700);
  color: var(--gray-300);
}

.btn-ghost:hover {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

/* === LINKS === */
a { color: var(--white); text-decoration: none; }

a:hover {
  text-shadow: var(--glow-hover);
}

/* === SECTION HEADERS === */
.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  text-shadow: var(--glow);
}

.section-header .mono {
  color: var(--gray-500);
  margin-top: 8px;
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--gray-900);
  padding: 48px 0;
  margin-top: 80px;
}

footer .social-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

footer .social-links a {
  color: var(--gray-500);
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition), text-shadow var(--transition);
}

footer .social-links a:hover {
  color: var(--white);
  text-shadow: var(--glow);
}

footer .copyright {
  color: var(--gray-700);
  font-size: 0.8rem;
}

/* === ARTIST CARD === */
.artist-card {
  text-align: center;
}

.artist-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(100%);
  transition: filter var(--transition);
}

.artist-card:hover img {
  filter: grayscale(50%);
}

.artist-card h3 {
  margin-top: 16px;
  font-size: 1.1rem;
}

/* === RELEASE CARD === */
.release-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.release-card h3 {
  margin-top: 12px;
  font-size: 1rem;
}

.release-card .meta {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* === NEWS === */
.news-entry {
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-900);
}

.news-entry .date {
  font-family: 'Space Mono', monospace;
  color: var(--gray-500);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.news-entry h3 {
  margin-bottom: 8px;
}

.news-entry p {
  color: var(--gray-300);
}

/* === UTILITIES === */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }
.muted { color: var(--gray-500); }
