/* ============================================================
   Insula Iubirilor Criminale · Landing
   Mobile-first. Detective-noir.
   ============================================================ */

:root {
  --bg: #0a0a0b;
  --bg-2: #131316;
  --bg-3: #1c1c20;
  --paper: #f5efe2;
  --paper-2: #ebe2cf;
  --ink: #0d0d0f;
  --text: #f4f1ea;
  --text-dim: #a8a39a;
  --text-muted: #6e6a63;
  --accent: #e63946;
  --accent-dark: #b81f2c;
  --accent-warm: #f2a93b;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.18);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 10px 40px -15px rgba(0, 0, 0, 0.6);
  --shadow-hard: 0 20px 60px -20px rgba(0, 0, 0, 0.85);

  --max: 1100px;

  --font-display: "Bebas Neue", "Anton", Impact, sans-serif;
  --font-typewriter: "Special Elite", "Courier New", monospace;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-bottom: 96px; /* room for sticky CTA on mobile */
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

p { margin: 0 0 1em; }

em { font-style: italic; color: var(--accent-warm); }

::selection {
  background: var(--accent);
  color: #fff;
}

/* ============================================================
   Top bar (centered partner logos)
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  text-align: center;
}

.topbar__group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topbar__x {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
}

.topbar__sep {
  display: inline-block;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1;
}

.topbar__by {
  font-family: var(--font-typewriter);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.topbar .logo--dd { height: 28px; }
.topbar .logo--zbor { height: 18px; }
.topbar .logo--bcr { height: 18px; }

@media (min-width: 720px) {
  .topbar__inner { padding: 14px 24px; gap: 14px 20px; }
  .topbar .logo--dd { height: 32px; }
  .topbar .logo--zbor { height: 22px; }
  .topbar .logo--bcr { height: 22px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.005em;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(230, 57, 70, 0.6);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(230, 57, 70, 0.7);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--big {
  padding: 20px 28px;
  font-size: 18px;
}

.btn__arrow {
  transition: transform 0.2s ease;
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================================
   Badges
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--free {
  background: var(--accent-warm);
  color: var(--ink);
}

.badge--limited {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line-strong);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 64px 20px 56px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.55) contrast(1.05) brightness(0.42);
}

.hero__bg-grad {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(85% 70% at 50% 50%, rgba(10, 10, 11, 0) 0%, rgba(10, 10, 11, 0.45) 60%, rgba(10, 10, 11, 0.92) 100%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.2) 35%, rgba(10, 10, 11, 0.8) 80%, var(--bg) 100%);
}

.hero__bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.7'/></svg>");
}

.hero__content {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero__title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.005em;
}

.hero__title-pre {
  display: block;
  font-family: var(--font-typewriter);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--accent-warm);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero__title-main {
  display: block;
  font-size: clamp(48px, 12vw, 96px);
  line-height: 0.92;
  text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero__sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 24px;
  text-align: center;
}
.hero__sub strong { color: var(--accent-warm); }

.hero__meta {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-typewriter);
  font-size: 14px;
  color: var(--text-dim);
}
.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__cta {
  width: 100%;
  max-width: 360px;
}

.hero__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-typewriter);
  text-align: center;
}

.logo {
  height: 26px;
  width: auto;
  display: block;
}
.logo--zbor { height: 22px; }
.logo--dd { height: 32px; }
.logo--bcr { height: 22px; filter: brightness(0) invert(1); }

@media (min-width: 720px) {
  .hero { padding: 80px 48px 72px; }
  .hero__title-main { font-size: clamp(72px, 9vw, 120px); }
  .hero__sub { font-size: 19px; }
  .hero__cta { width: auto; }
  .logo--zbor { height: 26px; }
  .logo--dd { height: 38px; }
  .logo--bcr { height: 26px; }
}

/* ============================================================
   Section heads
   ============================================================ */
.section-head {
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 0 4px;
  text-align: left;
}

.section-head--light {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-typewriter);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--accent);
}

.eyebrow--light {
  color: var(--accent-warm);
  border-color: var(--accent-warm);
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.section-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 16px;
  max-width: 600px;
}

.section-lead strong {
  color: var(--text);
}

@media (min-width: 720px) {
  .section-lead { font-size: 19px; }
}

/* ============================================================
   Case section
   ============================================================ */
.case {
  padding: 80px 20px 60px;
}

.case__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-width: var(--max);
  margin: 0 auto 56px;
}

.case__img {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-2);
  aspect-ratio: 1 / 1;
  position: relative;
}

.case__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case__img:hover img {
  transform: scale(1.04);
}

.case__img--tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.case__img--wide { grid-column: span 2; aspect-ratio: 2 / 1; }

.case__pillars {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.pillar {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  position: relative;
}

.pillar__num {
  font-family: var(--font-typewriter);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 15px;
  color: var(--text-dim);
  margin: 0;
}

@media (min-width: 720px) {
  .case { padding: 120px 48px 80px; }
  .case__gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .case__img--tall { grid-row: span 2; }
  .case__img--wide { grid-column: span 2; }
  .case__pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* ============================================================
   Event section
   ============================================================ */
.event {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 80px 20px;
}

.event__photos {
  max-width: var(--max);
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.event__photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
}

.event__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 720px) {
  .event { padding: 120px 48px; }
  .event__photos {
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }
  .event__photo { aspect-ratio: 4 / 3; }
  .event__photo--wide { aspect-ratio: 3 / 2; }
}

/* ============================================================
   Gift section (paper / case file feel)
   ============================================================ */
.gift {
  padding: 80px 20px;
  background: var(--bg);
}

.gift__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(242, 169, 59, 0.18) 0%, transparent 60%),
    radial-gradient(80% 60% at 100% 100%, rgba(230, 57, 70, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-strong);
  text-align: left;
  box-shadow: var(--shadow-hard);
}

.gift__inner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 6.5vw, 50px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 8px 0 16px;
}

.gift__inner p {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.gift__inner p strong { color: var(--text); }

.gift__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.gift__list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.gift__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-warm);
  font-weight: 800;
}

@media (min-width: 720px) {
  .gift { padding: 120px 48px; }
  .gift__inner { padding: 64px 56px; }
  .gift__list li { font-size: 17px; }
}

/* ============================================================
   Register / steps
   ============================================================ */
.register {
  padding: 80px 20px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.step {
  position: relative;
  padding: 28px 24px 28px 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.step__num {
  position: absolute;
  left: 22px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  margin: 0 0 6px;
}

.step p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.step p strong { color: var(--text); }

.step__btn {
  margin-top: 8px;
  padding: 12px 18px;
  font-size: 14px;
}

.register__tip {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent-warm);
  background: rgba(242, 169, 59, 0.06);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: var(--text-dim);
}
.register__tip strong { color: var(--accent-warm); }

@media (min-width: 720px) {
  .register { padding: 120px 48px; }
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .step h3 { font-size: 26px; }
}

/* ============================================================
   Logistics card
   ============================================================ */
.logistics {
  padding: 60px 20px;
  background: var(--bg-2);
}

.logistics__card {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(230, 57, 70, 0.06) 0 12px, transparent 12px 24px),
    var(--bg);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.logistics__card::before {
  content: "DOSAR · 09/05/26";
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-typewriter);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
}

.logistics__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: start;
}
.logistics__row:last-of-type {
  border-bottom: 0;
  margin-bottom: 8px;
}

.logistics__label {
  font-family: var(--font-typewriter);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 2px;
}

.logistics__val {
  font-size: 16px;
  color: var(--text);
  line-height: 1.4;
}

.logistics__card .btn {
  width: 100%;
  margin-top: 16px;
}

@media (min-width: 720px) {
  .logistics { padding: 100px 48px; }
  .logistics__card { padding: 44px 40px; }
  .logistics__val { font-size: 18px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 20px;
}

.faq__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 7vw, 52px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  text-align: center;
  margin-bottom: 32px;
}

.qa {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.qa:last-of-type { border-bottom: 1px solid var(--line); }

.qa summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  user-select: none;
}

.qa summary::-webkit-details-marker { display: none; }

.qa summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s ease;
}

.qa[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.qa p {
  padding: 0 0 18px;
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

@media (min-width: 720px) {
  .faq { padding: 120px 48px; }
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  padding: 80px 20px 100px;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(230, 57, 70, 0.18) 0%, transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 9vw, 80px);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
  margin-bottom: 32px;
}

.final-cta__note {
  margin-top: 18px;
  font-family: var(--font-typewriter);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 40px 20px 80px;
  text-align: center;
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  opacity: 0.85;
}

.footer__logos .logo--zbor { height: 24px; }
.footer__logos .logo--dd { height: 32px; }
.footer__logos .logo--bcr { height: 22px; }

.footer__small {
  font-size: 13px;
  color: var(--text-dim);
  margin: 4px 0;
}
.footer__small--dim { color: var(--text-muted); font-size: 12px; }

/* ============================================================
   Sticky CTA bar (mobile)
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(230, 57, 70, 0.55), 0 4px 16px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(120%);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease;
}

.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.sticky-cta:hover {
  transform: translateY(-2px);
}

.sticky-cta__main {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.005em;
}

.sticky-cta__sub {
  font-family: var(--font-typewriter);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-top: 2px;
}

@media (min-width: 720px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
}

/* ============================================================
   Subtle reveal anim
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
