/* =========================================================
   BrickViews.tv | Main Stylesheet
   ========================================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS Variables / Themes --- */
:root {
  --bg:           #ffffff;
  --bg-secondary: #f4f4f5;
  --bg-card:      #ffffff;
  --text:         #111827;
  --text-secondary: #374151;
  --text-muted:   #6B7280;
  --border:       #E5E7EB;
  --border-light: #F3F4F6;
  --accent:       #F59E0B;
  --accent-hover: #D97706;
  --accent-soft:  #FEF3C7;
  --link:         #2563EB;
  --link-hover:   #1D4ED8;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.10);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -4px rgba(0,0,0,.10);
  --radius:       8px;
  --radius-lg:    16px;
  --nav-bg:       #111827;
  --nav-text:     #F9FAFB;
  --nav-hover:    #F59E0B;
  --footer-bg:    #111827;
  --footer-text:  #D1D5DB;
  --transition:   200ms ease;
  --font-head:    'Montserrat', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg:           #0D0D0D;
  --bg-secondary: #161616;
  --bg-card:      #1A1A1A;
  --text:         #F9FAFB;
  --text-secondary: #E5E7EB;
  --text-muted:   #9CA3AF;
  --border:       #2D2D2D;
  --border-light: #222222;
  --accent:       #F59E0B;
  --accent-hover: #FBBF24;
  --accent-soft:  #2D2207;
  --link:         #60A5FA;
  --link-hover:   #93C5FD;
  --shadow-sm:    0 1px 2px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.3);
  --shadow-md:    0 4px 6px -1px rgba(0,0,0,.4), 0 2px 4px -2px rgba(0,0,0,.3);
  --shadow-lg:    0 10px 15px -3px rgba(0,0,0,.5), 0 4px 6px -4px rgba(0,0,0,.4);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  transition: background-color var(--transition), color var(--transition);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--link-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

main { flex: 1; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

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

.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section--sm {
  padding: 3rem 0;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.nav__logo img {
  height: 72px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--nav-text);
  padding: .5rem .85rem;
  border-radius: 6px;
  transition: background-color var(--transition), color var(--transition);
  text-decoration: none;
}

.nav__link:hover,
.nav__link.active {
  color: var(--accent);
  background-color: rgba(255,255,255,.06);
}

/* Worlds dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-trigger {
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--nav-text);
  padding: .5rem .85rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: .35rem;
  cursor: pointer;
  background: none;
  border: none;
  transition: background-color var(--transition), color var(--transition);
}

.nav__dropdown-trigger:hover,
.nav__dropdown-trigger.active {
  color: var(--accent);
  background-color: rgba(255,255,255,.06);
}

.nav__dropdown-trigger .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav__dropdown:hover .chevron,
.nav__dropdown.open .chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background-color: #1F2937;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  /* padding-top bridges the visual gap without leaving a dead zone */
  padding: .5rem .5rem .5rem;
  margin-top: .25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  pointer-events: none;
  z-index: 200;
}

/* Invisible bridge fills any gap between trigger and menu so hover doesn't break */
.nav__dropdown-menu::before {
  content: '';
  position: absolute;
  top: -.5rem;
  left: 0;
  right: 0;
  height: .5rem;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav__dropdown-item {
  display: block;
  padding: .5rem .875rem;
  font-family: var(--font-head);
  font-size: .8125rem;
  font-weight: 600;
  color: #D1D5DB;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  background-color: rgba(255,255,255,.08);
  color: var(--accent);
}

.nav__dropdown-item--all {
  color: var(--accent);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nav__dropdown-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: .25rem .5rem;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--nav-text);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255,255,255,.16);
  transform: scale(1.05);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  transition: background-color var(--transition);
}

.nav__hamburger:hover { background: rgba(255,255,255,.16); }

.nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--nav-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav__mobile {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background-color: #111827;
  overflow-y: auto;
  z-index: 99;
  padding: 1.5rem 1.25rem;
  flex-direction: column;
  gap: .25rem;
}

.nav__mobile.open { display: flex; }

.nav__mobile-link {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #F9FAFB;
  padding: .875rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.nav__mobile-link:hover {
  background-color: rgba(255,255,255,.08);
  color: var(--accent);
}

.nav__mobile-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.nav__mobile-section-title {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6B7280;
  padding: 0 1rem .5rem;
}

.nav__mobile-sublink {
  display: block;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: #D1D5DB;
  padding: .625rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.nav__mobile-sublink:hover {
  background-color: rgba(255,255,255,.06);
  color: var(--accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background-color: var(--accent);
  color: #111827;
  border-color: var(--accent);
}
.btn--primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #111827;
}

.btn--outline {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
  background-color: rgba(255,255,255,.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--sm { font-size: .8rem; padding: .5rem 1.25rem; }
.btn--lg { font-size: 1rem; padding: .9rem 2.25rem; }

/* YouTube button */
.btn--youtube {
  background-color: #FF0000;
  color: #ffffff;
  border-color: #FF0000;
}
.btn--youtube:hover {
  background-color: #CC0000;
  border-color: #CC0000;
  color: #ffffff;
}

/* --- Hero (Homepage) --- */
.hero {
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1a2e 50%, #111827 100%);
  color: #ffffff;
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245,158,11,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37,99,235,.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero__content {}

.hero__label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245,158,11,.12);
  border: 1px solid rgba(245,158,11,.3);
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.25rem;
  font-weight: 900;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--accent);
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.75;
}

.hero__cta {
  display: flex;
  gap: .875rem;
  flex-wrap: wrap;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-wrap {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(245,158,11,.25));
  animation: float 6s ease-in-out infinite;
}

.hero__logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, #111827, #1F2937);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 { color: #ffffff; margin-bottom: .75rem; }

.page-hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto;
}

/* --- World Hero (world detail pages) --- */
.world-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  background: #111827;
}

.world-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.world-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.1) 0%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,.85) 100%
  );
}

.world-hero__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.world-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .875rem;
}

.world-hero h1 {
  color: #ffffff;
  margin-bottom: .5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}

.world-hero__tagline {
  font-size: 1.125rem;
  color: rgba(255,255,255,.8);
  font-style: italic;
}

/* No-image placeholder for worlds without a photo */
.world-hero--placeholder {
  background: linear-gradient(135deg, #1a3a1a 0%, #2d5016 40%, #111827 100%);
}

.world-hero--placeholder .world-hero__overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 60%, rgba(0,0,0,.9) 100%);
}

/* --- Tags / Badges --- */
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 100px;
  line-height: 1;
}

.tag--accent {
  background: rgba(245,158,11,.2);
  color: var(--accent);
  border: 1px solid rgba(245,158,11,.4);
}

.tag--white {
  background: rgba(255,255,255,.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
}

.tag--dark {
  background: var(--bg-secondary);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* --- World Cards --- */
.worlds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.world-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.world-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  color: inherit;
}

.world-card__img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #1F2937;
  flex-shrink: 0;
}

.world-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.world-card:hover .world-card__img {
  transform: scale(1.04);
}

.world-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4a7c3f, #2d5a1b, #6b8f3a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-card__img-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: .3;
  fill: #ffffff;
}

.world-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.world-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin-bottom: .875rem;
}

.world-card__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.world-card__excerpt {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.world-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.world-card__cta {
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
}

.world-card__cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.world-card:hover .world-card__cta svg {
  transform: translateX(3px);
}

/* --- World Detail Content --- */
.world-content {
  padding: 4rem 0;
}

.world-content__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.world-article h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: .875rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.world-article h2:first-child { margin-top: 0; }

.world-article h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: .5rem;
  color: var(--text-secondary);
}

.world-article p {
  color: var(--text-secondary);
  font-size: 1.0125rem;
  margin-bottom: 1.25rem;
}

.world-article strong {
  color: var(--text);
  font-weight: 600;
}

.world-article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Building section callout */
.building-callout {
  background: var(--accent-soft);
  border: 1px solid rgba(245,158,11,.3);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}

.building-callout__label {
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.building-callout h3 {
  font-size: 1.1rem;
  margin: 0 0 .75rem 0;
  color: var(--text);
}

.building-callout p {
  color: var(--text-secondary);
  font-size: .9375rem;
  margin: 0;
}

/* World sidebar */
.world-sidebar {}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h4 {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-family: var(--font-head);
}

.sidebar-card .btn {
  width: 100%;
  margin-bottom: .5rem;
}

.sidebar-card .btn:last-child { margin-bottom: 0; }

.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: .875rem;
}

.sidebar-info-row:last-child { border-bottom: none; }

.sidebar-info-row dt {
  color: var(--text-muted);
  font-weight: 500;
}

.sidebar-info-row dd {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* --- Review Cards --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.review-card__img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--bg-secondary);
  position: relative;
}

.review-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.review-card:hover .review-card__img { transform: scale(1.04); }

.review-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
}

.review-card__brand {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.review-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .625rem;
  line-height: 1.3;
}

.review-card__excerpt {
  font-size: .9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 5rem 1.5rem;
  color: var(--text-muted);
}

.empty-state__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  opacity: .35;
  fill: var(--text-muted);
}

.empty-state h3 {
  color: var(--text-muted);
  margin-bottom: .5rem;
  font-size: 1.2rem;
}

/* --- Homepage Featured Worlds --- */
.featured-worlds {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* --- Stat Counter Strip --- */
.stat-strip {
  background: var(--nav-bg);
  padding: 2.5rem 0;
}

.stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-item__label {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .04em;
}

/* --- About Page --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.about-content h2 {
  margin-top: 2.5rem;
  margin-bottom: .875rem;
}
.about-content h2:first-child { margin-top: 0; }
.about-content p { color: var(--text-secondary); font-size: 1.0125rem; }

.about-sidebar {}

.about-highlight {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.about-highlight h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: var(--font-head);
}

.worlds-list-compact {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.worlds-list-compact a {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-family: var(--font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: .4rem .5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.worlds-list-compact a:hover {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.worlds-list-compact a::before {
  content: '▸';
  color: var(--accent);
  font-size: .75rem;
  flex-shrink: 0;
}

.world-theme {
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: var(--font-body);
  letter-spacing: 0;
}

/* --- Pull Quote --- */
.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  background: var(--bg-secondary);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pull-quote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
}

/* --- Section headers --- */
.section-header {
  margin-bottom: 3rem;
}

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

.section-header h2 {
  margin-bottom: .625rem;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 580px;
}

.section-header--center p { margin: 0 auto; }

/* --- Footer --- */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 2rem;
  margin-top: auto;
}

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

.footer__col--worlds {
  grid-column: span 2;
}

.footer__links--two-col {
  columns: 2;
  column-gap: 1.5rem;
}

.footer__brand {}

.footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__logo--icon {
  height: 48px;
  width: 48px;
  border-radius: 10px;
}

.footer__tagline {
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 1.25rem;
}

.footer__social {
  display: flex;
  gap: .625rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}

.footer__social-link:hover {
  background: rgba(255,255,255,.15);
  color: #ffffff;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__col h4 {
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.footer__links a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer__copy {
  flex: 1;
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  margin: 0;
}

.footer__bottom-links {
  display: flex;
  flex-shrink: 0;
  gap: 1.25rem;
}

.footer__bottom-links a {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__bottom-links a:hover { color: rgba(255,255,255,.7); }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-muted);
  padding: 1rem 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--accent); }

.breadcrumb__sep {
  color: var(--border);
  font-size: .7rem;
}

.breadcrumb span {
  color: var(--text);
  font-weight: 500;
}

/* --- World Navigation (prev/next) --- */
.world-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.world-nav__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.world-nav__item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.world-nav__item--next { text-align: right; }

.world-nav__dir {
  font-size: .75rem;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.world-nav__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
}

/* --- Misc utility classes --- */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.font-head { font-family: var(--font-head); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* --- Coming soon / Placeholder --- */
.coming-soon-banner {
  background: var(--accent-soft);
  border: 1px solid rgba(245,158,11,.3);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .9rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.coming-soon-banner strong { color: var(--accent); }

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero__sub { max-width: 100%; }
  .hero__cta { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__logo-wrap { max-width: 260px; }

  .world-content__grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .worlds-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .world-hero { height: 380px; }
  .world-hero__content { padding: 1.5rem; }

  .section { padding: 3.5rem 0; }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .world-nav {
    grid-template-columns: 1fr;
  }

  .world-nav__item--next { text-align: left; }

  .stat-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3.5rem; }
  h1 { font-size: 2rem; }
  .hero__cta { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta .btn { max-width: 320px; margin: 0 auto; }

  .world-hero { height: 320px; }

  .worlds-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Inline World Figures
   ========================================================= */
.world-figure {
  margin: 1.75rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.world-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.world-figure figcaption {
  font-size: .8rem;
  color: var(--text-muted);
  padding: .5rem .75rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

/* =========================================================
   Venue Hero
   ========================================================= */
.world-hero--venue .venue-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 30%, #1c3a4a 65%, #0d2233 100%);
  z-index: 0;
}

.world-hero--venue {
  position: relative;
  overflow: hidden;
}

.world-hero--venue::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(255,180,0,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(120,60,200,.15) 0%, transparent 70%);
  z-index: 1;
}

.world-hero--venue .world-hero__overlay,
.world-hero--venue .world-hero__content {
  z-index: 2;
}

/* =========================================================
   Concert Poster Grid
   ========================================================= */
.show-posters {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.show-posters__heading {
  font-size: 1.75rem;
  margin-bottom: .5rem;
}

.show-posters__sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

.poster {
  border-radius: 8px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  color: #fff;
  box-shadow:
    0 0 0 2px rgba(0,0,0,.12),
    0 4px 16px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
}

.poster:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.18),
    0 8px 28px rgba(0,0,0,.28);
}

[data-theme="dark"] .poster {
  box-shadow:
    0 0 0 2px rgba(255,255,255,.15),
    0 0 18px 4px rgba(255,180,50,.45),
    0 0 40px 8px rgba(255,120,20,.2),
    0 4px 20px rgba(0,0,0,.4);
}

[data-theme="dark"] .poster:hover {
  box-shadow:
    0 0 0 2px rgba(255,255,255,.25),
    0 0 28px 8px rgba(255,180,50,.7),
    0 0 60px 16px rgba(255,120,20,.35),
    0 8px 32px rgba(0,0,0,.5);
}

.poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,.02) 0px,
    rgba(255,255,255,.02) 1px,
    transparent 1px,
    transparent 8px
  );
}

/* Poster color themes */
.poster--teal   { background: linear-gradient(160deg, #064e4e 0%, #0a7a7a 45%, #042e2e 100%); }
.poster--amber  { background: linear-gradient(160deg, #5a2e00 0%, #a05a00 45%, #3a1c00 100%); }
.poster--violet { background: linear-gradient(160deg, #2d0a5a 0%, #5c1faa 45%, #1a0638 100%); }
.poster--slate  { background: linear-gradient(160deg, #1a2030 0%, #2e3a50 45%, #0e1420 100%); }

.poster__label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .75;
}

.poster__band {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.15;
  margin: .25rem 0;
  flex: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.poster__band-and {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: .8;
}

.poster__tagline {
  font-size: .8rem;
  line-height: 1.5;
  opacity: .85;
  font-style: italic;
}

.poster__divider {
  width: 2.5rem;
  height: 2px;
  background: rgba(255,255,255,.4);
  margin: .5rem 0;
}

.poster__date {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.poster__venue {
  font-size: .75rem;
  opacity: .7;
}

.poster__note {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .5;
  margin-top: .25rem;
}

.poster--image {
  padding: 0;
  background: none;
  box-shadow:
    0 0 0 2px rgba(0,0,0,.12),
    0 4px 16px rgba(0,0,0,.18);
  transition: transform .2s, box-shadow .2s;
  display: block;
  min-height: unset;
}

.poster--image:hover {
  transform: scale(1.02);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.18),
    0 8px 28px rgba(0,0,0,.28);
}

[data-theme="dark"] .poster--image {
  box-shadow:
    0 0 0 2px rgba(255,255,255,.15),
    0 0 18px 4px rgba(255,180,50,.45),
    0 0 40px 8px rgba(255,120,20,.2),
    0 4px 20px rgba(0,0,0,.4);
}

[data-theme="dark"] .poster--image:hover {
  box-shadow:
    0 0 0 2px rgba(255,255,255,.25),
    0 0 28px 8px rgba(255,180,50,.7),
    0 0 60px 16px rgba(255,120,20,.35),
    0 8px 32px rgba(0,0,0,.5);
}

.poster--image::before { display: none; }

.poster--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* =========================================================
   Album Cover
   ========================================================= */
.album-cover-link {
  display: block;
  margin-bottom: .75rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .15s, box-shadow .15s;
}

.album-cover-link:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}

.album-cover {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   Streaming Links
   ========================================================= */
.stream-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.stream-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .85rem;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .15s, transform .1s;
  color: #fff;
}

.stream-link:hover {
  opacity: .88;
  transform: translateX(2px);
  text-decoration: none;
  color: #fff;
}

.stream-link--apple   { background: #fc3c44; }
.stream-link--spotify { background: #1db954; }
.stream-link--ytmusic { background: #ff0000; }
.stream-link--amazon  { background: #00a8e1; }

/* Sidebar note helper */
.sidebar-note {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .5rem;
}

.sidebar-note a {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .poster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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