/* vaporwave_pink + museum_exhibition_ui */
:root {
  --bg: #1B0F1E;
  --surface: #2A1533;
  --text: #FDF4FF;
  --muted: #F5D0FE;
  --primary: #E879F9;
  --secondary: #22D3EE;
  --accent: #FACC15;
  --border: rgba(253, 244, 255, 0.12);
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-serif);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main { flex: 1; }

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

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--primary); }

/* Compliance banner */
.compliance-banner {
  max-width: 800px;
  margin: 10px auto;
  padding: 8px 16px;
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-sans);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}

.navbar-logo img { height: 36px; width: auto; }

.navbar-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navbar-links a {
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.navbar-links a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-overlay.open { display: flex; }

.mobile-overlay a {
  color: var(--text);
  font-size: 1.4rem;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-overlay a:hover { color: var(--primary); }

.mobile-overlay .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
}

/* Hero — collage layout */
.hero {
  background: var(--bg);
  min-height: 350px;
  padding: 48px 24px 56px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.hero-collage {
  position: relative;
  height: 260px;
  max-width: 520px;
  margin: 0 auto 24px;
}

.hero-collage img {
  position: absolute;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  max-width: 500px;
  max-height: 320px;
}

.hero-img-1 {
  width: 200px;
  height: 140px;
  top: 20px;
  left: 10%;
  transform: rotate(-5deg);
  z-index: 1;
}

.hero-img-2 {
  width: 160px;
  height: 120px;
  top: 60px;
  right: 12%;
  transform: rotate(3deg);
  z-index: 2;
}

.hero-img-3 {
  width: 140px;
  height: 100px;
  bottom: 10px;
  left: 35%;
  transform: rotate(-2deg);
  z-index: 3;
}

.hero-headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  width: 90%;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8), 0 0 40px rgba(232, 121, 249, 0.3);
  line-height: 1.2;
  margin-bottom: 0;
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  text-align: left;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .hero {
    min-height: 380px;
    text-align: center;
    background-image: linear-gradient(rgba(27, 15, 30, 0.78), rgba(27, 15, 30, 0.88)), url('/images/decorative/decor_1.webp');
    background-size: cover;
    background-position: center;
  }

  .hero-inner { position: relative; z-index: 1; }

  .hero-collage { display: none; }

  .hero-headline {
    position: static;
    transform: none;
    margin-bottom: 20px;
    width: 100%;
  }

  .hero-sub { text-align: center; }
}

/* Section labels — museum caption style */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 400;
}

.section-sub {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

/* Offers section */
.offers-section {
  background-color: var(--surface);
  background-image: url('/images/offers_bg/offers_bg.webp');
  background-size: cover;
  background-position: center;
  padding: 64px 24px;
  position: relative;
}

.offers-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 15, 30, 0.9);
}

.offers-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offers-inner .section-title,
.offers-inner .section-label,
.offers-inner .section-sub {
  text-align: center;
}

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

/* Offer cards — reference layout colors preserved */
.offer-card {
  background: linear-gradient(145deg, #1a2744 0%, #0d1a2d 100%);
  border: 2px solid #B87333;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(184, 115, 51, 0.3);
  transition: transform 0.3s ease;
}

.offer-card:hover { transform: translateY(-4px); }

.offer-logo-wrap {
  width: 140px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 6px;
  padding: 8px;
  flex-shrink: 0;
}

.offer-logo-wrap img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}

.offer-name {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
}

.offer-bonus-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  width: 100%;
}

.offer-bonus {
  color: #FFAB40;
  font-weight: bold;
  font-size: 0.95rem;
  line-height: 1.35;
  word-break: break-word;
}

.offer-terms {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.offer-desc {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin-bottom: 14px;
  text-align: left;
  width: 100%;
}

.offer-cta {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(180deg, #CD7F32 0%, #B87333 100%);
  color: #fff;
  border: 1px solid #B87333;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: auto;
  border: none;
}

.offer-cta:hover {
  background: linear-gradient(180deg, #B87333 0%, #8B5A2B 100%);
  color: #fff;
  transform: scale(1.02);
}

/* Info sections — museum gallery layouts */
.info-sections {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 80px;
  overflow-x: hidden;
}

.info-block {
  margin-top: 56px;
  position: relative;
  transition: opacity 0.4s ease;
}

.info-block h2 {
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 14px;
}

.info-block p {
  color: var(--muted);
  font-size: 0.95rem;
}

.info-caption {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.deco-wrap {
  overflow: hidden;
  max-width: 500px;
  border: 1px solid var(--border);
}

.deco-wrap img {
  max-width: 500px;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}

/* Layout 1: split exhibit */
.info-layout-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* Layout 2: reverse with accent bar */
.info-layout-reverse {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 40px 40px 40px 0;
  border-left: 3px solid var(--primary);
  padding-left: 36px;
}

/* Layout 3: centered narrow column */
.info-layout-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.info-layout-narrow p { text-align: left; }

/* Layout 4: horizontal card with bg deco */
.info-layout-bgdeco {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
  padding: 36px;
  background: var(--surface);
}

.info-bg-deco {
  min-height: 200px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  max-width: 500px;
}

/* Layout 5: numbered plaque */
.info-layout-numbered {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  padding: 36px;
  background: var(--bg);
  border: 1px solid var(--border);
}

.info-num {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.5;
  line-height: 1;
}

/* Layout 6: quote-style with side image */
.info-layout-quote {
  padding: 40px;
  background: var(--surface);
  border-right: 4px solid var(--secondary);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

/* Layout 7: timeline strip */
.info-layout-timeline {
  padding: 36px 40px 36px 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
}

.info-layout-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--primary);
}

/* Layout 8: asymmetric offset */
.info-layout-offset {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.info-layout-offset .info-text {
  padding: 40px;
  background: var(--surface);
  margin-top: 32px;
  z-index: 2;
  position: relative;
}

.info-layout-offset .deco-wrap {
  margin-left: -24px;
  margin-top: 0;
}

/* Layout 9: full-width caption band */
.info-layout-band {
  padding: 0;
  overflow: hidden;
}

.info-layout-band .info-band-top {
  background: var(--primary);
  color: var(--bg);
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-layout-band .info-band-body {
  padding: 36px 40px;
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: center;
}

/* Layout 10: corner frame */
.info-layout-frame {
  padding: 48px;
  border: 1px solid var(--border);
  position: relative;
}

.info-layout-frame::before,
.info-layout-frame::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border-color: var(--accent);
  border-style: solid;
}

.info-layout-frame::before {
  top: 12px;
  left: 12px;
  border-width: 2px 0 0 2px;
}

.info-layout-frame::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 2px 2px 0;
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .burger { display: flex; }

  .offer-logo-wrap {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .offer-logo-wrap img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .info-layout-split,
  .info-layout-reverse,
  .info-layout-bgdeco,
  .info-layout-quote,
  .info-layout-offset,
  .info-layout-band .info-band-body {
    grid-template-columns: 1fr;
  }

  .info-layout-reverse { padding: 32px 24px; border-left: none; border-top: 3px solid var(--primary); }
  .info-layout-numbered { grid-template-columns: 1fr; }
  .info-num { font-size: 1.5rem; }
  .info-layout-offset .deco-wrap { margin-left: 0; }
}

@media (max-width: 375px) {
  .compliance-banner {
    margin: 10px 12px;
    padding: 8px 10px;
    font-size: 10px;
  }

  .hero {
    padding: 32px 16px 48px;
    overflow: hidden;
  }

  .hero-collage {
    max-width: 100%;
    height: auto;
    min-height: 0;
  }

  .hero-collage img {
    position: relative;
    max-width: 45vw;
    max-height: 120px;
    width: auto;
    height: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin: 4px;
  }

  .deco-wrap {
    max-width: 100%;
    overflow: hidden;
  }

  .deco-wrap img {
    max-width: 100%;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .info-bg-deco {
    max-width: 100%;
    min-height: 140px;
    width: 100%;
  }

  .info-layout-offset .deco-wrap {
    margin-left: 0;
    max-width: 100%;
  }

  .info-sections {
    padding: 0 16px 80px;
  }

  .info-layout-split,
  .info-layout-reverse,
  .info-layout-bgdeco,
  .info-layout-quote,
  .info-layout-offset,
  .info-layout-band .info-band-body {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-brand p {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  max-width: 320px;
  margin-top: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.footer-links a {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.footer-links a:hover { color: var(--primary); }

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.footer-badges img {
  height: 40px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-badges a:hover img { opacity: 1; }

.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  margin-top: 24px;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 15, 30, 0.92);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.visible { display: flex; }

.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
  max-width: 440px;
  width: 100%;
}

.modal-box h2 {
  font-size: 1.25rem;
  margin-bottom: 14px;
  color: var(--text);
}

.modal-box p {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-btn {
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
}

.modal-btn-accept {
  background: var(--primary);
  color: var(--bg);
  border-color: var(--primary);
}

.modal-btn-accept:hover { background: #d946ef; }

.modal-btn-decline {
  background: transparent;
  color: var(--muted);
}

.modal-btn-decline:hover { color: var(--text); }

/* Cookie banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  z-index: 2500;
  padding: 20px 24px;
}

.cookie-banner.visible { display: block; }

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-inner p {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  flex: 1;
  min-width: 240px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Subpages */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.page-content h1 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: var(--text);
}

.page-content h2 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  color: var(--text);
}

.page-content h3 {
  font-size: 1rem;
  margin: 20px 0 10px;
  color: var(--text);
}

.page-content p,
.page-content li {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content a { color: var(--secondary); }

/* Contact form */
.contact-form {
  margin-top: 32px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 0;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error {
  display: none;
  color: #f87171;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-error.visible { display: block; }

.btn-submit {
  padding: 12px 28px;
  background: var(--primary);
  color: var(--bg);
  border: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: #d946ef; }

.form-success {
  display: none;
  margin-top: 32px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--secondary);
}

.form-success.visible { display: block; }

.form-success p {
  color: var(--muted);
  font-family: var(--font-sans);
}

/* 404 */
.error-page {
  text-align: center;
  padding: 80px 24px;
}

.error-page h1 {
  font-size: 4rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.error-page p {
  color: var(--muted);
  font-family: var(--font-sans);
  margin-bottom: 28px;
}

/* Go redirect pages */
.go-page {
  text-align: center;
  padding: 80px 24px;
  max-width: 520px;
  margin: 0 auto;
}

.go-ad {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.go-page h1 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.go-page p {
  color: var(--muted);
  font-family: var(--font-sans);
  margin-bottom: 20px;
}

.go-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 24px auto;
  animation: spin 0.8s linear infinite;
}

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

.go-compliance {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
}

.go-compliance p { margin-bottom: 8px; }

.go-age { color: var(--accent); }
