:root {
  --primary-pink: #ff1e6c;
  --primary-red: #d80032;
  --primary-yellow: #ffd200;
  --accent-yellow-light: #fff066;
  --bg-dark: #140219;
  --bg-card: #24072c;
  --bg-card-hover: #350b40;
  --text-main: #fdfaf6;
  --text-muted: #d8badf;
  --border-glow: rgba(255, 30, 108, 0.28);
  --border-yellow: rgba(255, 210, 0, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-heading: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-fest: 0 10px 30px -10px rgba(255, 30, 108, 0.35);
  --shadow-yellow: 0 10px 25px -8px rgba(255, 210, 0, 0.4);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(255, 30, 108, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 210, 0, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(216, 0, 50, 0.06) 0%, transparent 60%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* SLIM, NON-STICKY HEADER */
.site-header {
  position: relative;
  width: 100%;
  background: rgba(20, 2, 25, 0.95);
  border-bottom: 1px solid var(--border-glow);
  z-index: 99;
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
  color: #fff;
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px var(--primary-pink));
}

.brand-logo .brand-highlight {
  color: var(--primary-yellow);
}

.brand-badge {
  font-size: 0.65rem;
  background: var(--primary-red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-yellow);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-pink);
  border-radius: 2px;
}

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

.btn-cta-slim {
  background: linear-gradient(135deg, var(--primary-pink), var(--primary-red));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 30, 108, 0.4);
}

.btn-cta-slim:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 30, 108, 0.6);
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-red));
  color: #140219;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  padding: 6px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* LAYOUT CONTAINER */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding {
  padding: 4.5rem 0;
}

/* TYPOGRAPHY HELPERS */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-yellow);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '⚡';
  font-size: 0.9rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff 40%, var(--primary-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-pink) 0%, var(--primary-red) 100%);
  color: #fff;
  box-shadow: var(--shadow-fest);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 30, 108, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-glow);
}

.btn-secondary:hover {
  background: rgba(255, 30, 108, 0.15);
  border-color: var(--primary-pink);
  transform: translateY(-2px);
}

.btn-yellow {
  background: linear-gradient(135deg, var(--primary-yellow) 0%, #ff9500 100%);
  color: #140219;
  box-shadow: var(--shadow-yellow);
}

.btn-yellow:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

/* HERO SECTION */
.hero {
  padding: 4rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-headline {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
}

.hero-headline span.gradient-pink-yellow {
  background: linear-gradient(135deg, var(--primary-pink) 20%, var(--primary-yellow) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glow);
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-yellow);
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 12px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.hero-image-card img {
  border-radius: calc(var(--radius-lg) - 6px);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--bg-card);
  border: 2px solid var(--primary-yellow);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-yellow);
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-icon {
  font-size: 1.8rem;
}

.floating-text strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.floating-text span {
  font-size: 0.75rem;
  color: var(--primary-yellow);
}

/* CARD GRIDS & FESTIVAL CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.fest-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.fest-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-pink);
  box-shadow: 0 15px 35px rgba(255, 30, 108, 0.2);
  background: var(--bg-card-hover);
}

.card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fest-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(20, 2, 25, 0.85);
  backdrop-filter: blur(4px);
  color: var(--primary-yellow);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid var(--border-yellow);
  text-transform: uppercase;
}

.card-country {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--primary-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-bizarre-meter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.bizarre-rating {
  color: var(--primary-yellow);
  font-weight: 800;
}

.card-title {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #fff;
}

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

.card-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-date {
  font-size: 0.8rem;
  color: var(--primary-yellow);
  font-weight: 600;
}

/* CURATED CATEGORIES */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.cat-pill {
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--primary-pink);
  color: #fff;
  border-color: var(--primary-pink);
  transform: translateY(-2px);
}

/* CURATOR / FIELD NOTES BANNER */
.curator-banner {
  background: linear-gradient(135deg, #2d053b 0%, #4a0033 50%, #200426 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  position: relative;
  overflow: hidden;
  margin: 4rem 0;
}

.curator-banner::before {
  content: '🎉';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 10rem;
  opacity: 0.08;
  pointer-events: none;
}

/* DETAIL PAGE TEMPLATES */
.detail-hero {
  padding: 3rem 0 2rem;
  position: relative;
}

.detail-breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.detail-breadcrumbs a {
  color: var(--primary-yellow);
}

.detail-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.detail-title {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.detail-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glow);
}

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

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.meta-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-yellow);
}

.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.detail-content h2 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  margin: 2rem 0 1rem;
  color: #fff;
  border-left: 4px solid var(--primary-pink);
  padding-left: 0.75rem;
}

.detail-content p {
  color: #e5d2ec;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.detail-content ul, .detail-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.8rem;
  color: #e5d2ec;
}

.detail-content li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
}

.detail-image-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 2rem 0;
  border: 1px solid var(--border-glow);
}

.detail-image-box img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.image-caption {
  background: #180320;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--primary-yellow);
}

.survival-guide-list {
  list-style: none;
}

.survival-guide-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.survival-guide-list li:last-child {
  border-bottom: none;
}

.survival-guide-list li::before {
  content: '⚠️';
}

/* LEGAL & CONTACT PAGES */
.legal-container {
  max-width: 860px;
  margin: 3rem auto 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.legal-container h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.legal-container .update-date {
  font-size: 0.85rem;
  color: var(--primary-yellow);
  margin-bottom: 2rem;
  display: block;
}

.legal-container h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  color: var(--primary-pink);
}

.legal-container p {
  color: #e5d2ec;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  font-size: 0.96rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.legal-table th, .legal-table td {
  border: 1px solid var(--border-glow);
  padding: 0.75rem 1rem;
  text-align: left;
}

.legal-table th {
  background: rgba(255, 30, 108, 0.15);
  color: var(--primary-yellow);
}

.legal-table td {
  background: rgba(0, 0, 0, 0.2);
  color: #e5d2ec;
}

/* CONTACT FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #190320;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 10px rgba(255, 210, 0, 0.3);
}

/* MANDATORY UNIVERSAL FOOTER */
.site-footer {
  background: #0d0111;
  border-top: 1px solid var(--border-glow);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
  color: var(--text-muted);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand h4 {
  font-size: 1.3rem;
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 1.25rem;
}

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

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

.footer-contact-info {
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-contact-info strong {
  color: #fff;
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
}

.footer-legal-copy {
  color: #9f84a8;
  max-width: 900px;
}

.footer-bottom-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-nav a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-bottom-nav a:hover {
  color: var(--primary-yellow);
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: 20px;
  max-width: 500px;
  margin-left: auto;
  background: rgba(36, 7, 44, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary-pink);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner h4 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-container {
    height: 56px;
  }
  .nav-menu {
    position: absolute;
    top: 56px;
    left: 0;
    width: 100%;
    background: #1c0324;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-glow);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-cta-slim {
    display: none;
  }
  .hero-headline {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 1.9rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .legal-container {
    padding: 1.5rem;
    margin: 1.5rem auto 3rem;
  }
}