/* CSS Design System for DatedandJaded.com */

/* Import Google Fonts: Syne for quirky headers, Outfit for clean body text */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Syne:wght@700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

/* CSS Variables */
:root {
  --bg-dark: #0a0c10;
  --bg-card: rgba(18, 22, 32, 0.75);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --primary-neon: #ff007f; /* Neon Punk Pink */
  --secondary-teal: #00e5ff; /* New Wave Teal */
  --accent-yellow: #ffca28; /* Indie Mustard Yellow */
  --text-main: #f5f6fa;
  --text-muted: #9fa4bc;
  --shadow-neon-pink: 0 0 15px rgba(255, 0, 127, 0.4);
  --shadow-neon-teal: 0 0 15px rgba(0, 229, 255, 0.4);
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-header: 'Syne', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle background grain & scanline overlay for aesthetic */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.4;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #252a38;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-neon);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.9;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--primary-neon);
}

p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

a {
  color: var(--secondary-teal);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--primary-neon);
  text-shadow: var(--shadow-neon-pink);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bg-card-border);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-header);
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary-neon);
}

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

.nav-links a {
  font-family: var(--font-header);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-teal);
  transition: var(--transition-smooth);
}

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

.nav-links a.active {
  color: var(--secondary-teal);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--primary-neon);
}

/* Burger menu (hidden by default, responsive later) */
.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  margin: 5px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
  padding: 6rem 0 4rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-tagline {
  font-family: var(--font-mono);
  color: var(--accent-yellow);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
}

.hero-title span {
  display: block;
}

.hero-title span.accent-1 {
  color: var(--secondary-teal);
  text-shadow: var(--shadow-neon-teal);
}

.hero-title span.accent-2 {
  color: var(--primary-neon);
  text-shadow: var(--shadow-neon-pink);
}

.hero-graphic-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 2px solid var(--bg-card-border);
  aspect-ratio: 1 / 1;
}

.hero-graphic-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-graphic-container:hover img {
  transform: scale(1.03) rotate(-1deg);
}

.hero-graphic-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--accent-yellow);
  color: #000;
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(3deg);
  box-shadow: 5px 5px 0 #000;
}

/* Button Component */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

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

.btn-primary:hover {
  background: #ff3399;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 2px solid var(--secondary-teal);
}

.btn-outline:hover {
  background: var(--secondary-teal);
  color: #000;
  box-shadow: var(--shadow-neon-teal);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
}

/* Main content wrapper and dynamic page sections */
main {
  position: relative;
  z-index: 10;
}

.page-section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--bg-card-border);
}

.section-intro {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

/* Music Section Styles */
.music-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

@media (max-width: 992px) {
  .music-grid {
    grid-template-columns: 1fr;
  }
}

/* Simulated Cassette Deck */
.cassette-player {
  background: #1a1e2a;
  border: 4px solid #32394c;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
}

.cassette-outer {
  background: #10121a;
  border-radius: 12px;
  height: 200px;
  position: relative;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid #252a38;
}

.cassette-label {
  background: var(--accent-yellow);
  height: 90px;
  border-radius: 6px;
  padding: 0.8rem;
  position: relative;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.3);
}

.cassette-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
}

.cassette-spindle-window {
  background: #1a1e2a;
  border: 2px solid #000;
  height: 40px;
  width: 140px;
  align-self: center;
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.8);
}

.spindle {
  width: 26px;
  height: 26px;
  background: #32394c;
  border-radius: 50%;
  border: 4px dotted #000;
  position: relative;
}

.spindle.spinning {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.cassette-tape-view {
  position: absolute;
  width: 60px;
  height: 15px;
  background: rgba(80, 50, 20, 0.7);
  left: 40px;
  top: 10px;
}

.player-controls {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.control-btn {
  background: #252a38;
  color: var(--text-main);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.control-btn:hover {
  background: #32394c;
  color: var(--secondary-teal);
  transform: scale(1.05);
}

.control-btn.active {
  background: var(--primary-neon);
  color: #fff;
  box-shadow: var(--shadow-neon-pink);
}

.current-track-info {
  margin-top: 1.5rem;
  text-align: center;
}

.current-track-info p {
  margin-bottom: 0.2rem;
}

.current-track-title {
  color: var(--secondary-teal);
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

/* Vinyl lists */
.album-card {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.album-cover {
  width: 80px;
  height: 80px;
  background: #1c1e27;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.album-cover::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.album-details h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  text-transform: none;
  margin-bottom: 0.2rem;
}

.album-artist {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-yellow);
}

.pretentiousness-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-neon);
  background: rgba(255, 0, 127, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  display: inline-block;
  margin-top: 0.4rem;
}

/* Food Section Styles */
.food-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  border: 1px solid var(--bg-card-border);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--secondary-teal);
  color: #000;
  border-color: var(--secondary-teal);
}

.food-menu-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .food-menu-container {
    grid-template-columns: 1fr;
  }
}

.menu-item {
  border-bottom: 1px dashed var(--bg-card-border);
  padding-bottom: 1.5rem;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.menu-item-title {
  font-size: 1.2rem;
  text-transform: none;
  font-family: var(--font-header);
}

.menu-item-price {
  font-family: var(--font-mono);
  color: var(--accent-yellow);
  font-weight: 700;
}

.menu-item-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Coffee Builder Tool */
.builder-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.8rem;
  margin-top: 3rem;
}

.builder-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-neon);
}

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

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--secondary-teal);
}

.form-select {
  width: 100%;
  background: #171a24;
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
  padding: 0.8rem;
  border-radius: 8px;
  font-family: var(--font-body);
  outline: none;
}

.form-select:focus {
  border-color: var(--secondary-teal);
}

.builder-output {
  background: #0d0f15;
  border-left: 4px solid var(--accent-yellow);
  padding: 1.2rem;
  margin-top: 1.5rem;
  border-radius: 0 8px 8px 0;
}

.output-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
}

.output-text {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 0.3rem;
  color: var(--text-main);
}

.output-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* Events Section Styles */
.events-timeline {
  position: relative;
  margin-top: 3rem;
}

.events-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--bg-card-border);
}

.event-card {
  position: relative;
  padding-left: 70px;
  margin-bottom: 3rem;
}

.event-marker {
  position: absolute;
  left: 20px;
  top: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 4px solid var(--secondary-teal);
  z-index: 5;
  transition: var(--transition-smooth);
}

.event-card:hover .event-marker {
  background: var(--primary-neon);
  border-color: var(--primary-neon);
  box-shadow: var(--shadow-neon-pink);
  transform: scale(1.2);
}

.event-date {
  font-family: var(--font-mono);
  color: var(--accent-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.event-card-title {
  font-size: 1.4rem;
  text-transform: none;
  margin-bottom: 0.5rem;
}

.event-location {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--secondary-teal);
  margin-bottom: 0.8rem;
}

.exclusive-meter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-top: 1rem;
}

.meter-bar {
  height: 6px;
  width: 100px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: var(--primary-neon);
}

/* Links Section Styles */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.link-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--secondary-teal);
}

.link-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  text-transform: none;
}

.link-desc {
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.link-action {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-yellow);
}

.link-action span {
  transition: var(--transition-smooth);
}

.link-card:hover .link-action span {
  transform: translateX(5px);
}

/* Band Name Generator widget */
.generator-box {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem;
  border: 2px solid var(--secondary-teal);
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(0, 229, 255, 0.05) 0%, rgba(10, 12, 16, 0) 70%);
}

.generator-result {
  font-family: var(--font-header);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -1px;
}

/* Footer Styles */
footer {
  background: #050608;
  border-top: 1px solid var(--bg-card-border);
  padding: 4rem 0;
  text-align: center;
}

.footer-email-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 450px;
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 480px) {
  .footer-email-box {
    flex-direction: column;
    gap: 1rem;
  }
}

.footer-email-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary-teal);
}

.btn-copy {
  background: rgba(0, 229, 255, 0.1);
  color: var(--secondary-teal);
  border: 1px solid var(--secondary-teal);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-copy:hover {
  background: var(--secondary-teal);
  color: #000;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: #555c72;
  margin-top: 2rem;
  font-style: italic;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile responsive menu overrides */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 60px;
    height: calc(100vh - 60px);
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 70%;
    padding: 3rem 0;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--bg-card-border);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    z-index: 99;
  }

  .nav-links.active {
    right: 0;
  }

  .burger {
    display: block;
    z-index: 100;
  }

  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .burger.toggle .line2 {
    opacity: 0;
  }
  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Retro-Modern Glassmorphic Visitor Counter */
.visitor-counter-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--bg-card-border);
  padding: 1.2rem;
  border-radius: 12px;
  max-width: 320px;
  margin: 2rem auto 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.visitor-counter-card:hover {
  border-color: rgba(255, 0, 127, 0.3);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.15);
}

.counter-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.counter-digits {
  display: flex;
  gap: 3px;
  background: #000;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #1a1e2a;
}

.counter-digits .digit {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-neon);
  text-shadow: var(--shadow-neon-pink);
  background: #10121a;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.counter-subtext {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #555c72;
  margin-bottom: 0;
}
