/* House of Balkans — styles */
:root {
  --bg: #120d1e;
  --bg-2: #1a1330;
  --ink: #efe9f7;
  --muted: #b3a8c9;
  --gold: #d9b35b;
  --gold-2: #f3d78c;
  --violet: #7b4ddb;
  --magenta: #c2409a;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.04);
  --radius: 18px;
  --max: 1160px;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Raleway", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* soft film grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #000; padding: 8px 14px; z-index: 200; border-radius: 6px; }
.skip:focus { left: 8px; }

.gold-text {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-2) 45%, var(--gold) 70%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.eyebrow i { font-style: normal; opacity: .5; margin: 0 .4em; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .8rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1b1206; box-shadow: 0 8px 30px -8px rgba(217,179,91,.55); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(217,179,91,.75); }
.btn--ghost { border-color: rgba(217,179,91,.55); color: var(--gold-2); background: rgba(18,13,30,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(217,179,91,.12); border-color: var(--gold); }
.btn--sm { padding: .7em 1.2em; font-size: .7rem; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, padding .35s; border-bottom: 1px solid transparent; padding: 18px 0; }
.nav.is-scrolled { background: rgba(18,13,30,.78); backdrop-filter: blur(14px); border-color: var(--line); padding: 10px 0; }
.nav__inner { max-width: var(--max); margin: auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.brand img { height: 38px; width: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--gold); transition: width .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.icon-btn svg { width: 15px; height: 15px; fill: var(--ink); }
.icon-btn:hover { border-color: var(--gold); background: rgba(217,179,91,.1); }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s, top .3s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 24px 90px; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: -4%; z-index: -3;
  background:
    url("/assets/hero.webp") center 40% / cover no-repeat,
    radial-gradient(60% 50% at 50% 30%, rgba(194,64,154,.35), transparent 70%),
    radial-gradient(50% 60% at 30% 70%, rgba(123,77,219,.45), transparent 70%),
    linear-gradient(180deg, #1c1238, var(--bg));
  animation: drift 30s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
.hero__stars { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__fade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(18,13,30,.15) 0%, rgba(18,13,30,.55) 70%), linear-gradient(180deg, rgba(18,13,30,.45) 0%, transparent 30%, transparent 60%, var(--bg) 100%); }
.hero__content { max-width: 820px; }
.hero__title { font-size: clamp(3.2rem, 11vw, 7.5rem); margin: 0; text-shadow: 0 6px 40px rgba(0,0,0,.45); }
.hero__title span { display: block; }
.hero__tag { margin-top: 1rem; letter-spacing: .4em; text-transform: uppercase; font-size: .82rem; font-weight: 500; color: var(--ink); opacity: .9; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.eq { display: flex; gap: 4px; justify-content: center; align-items: flex-end; height: 34px; margin: 1.6rem auto 0; }
.eq span { width: 4px; border-radius: 2px; background: linear-gradient(to top, var(--gold), var(--magenta)); animation: bounce 1.1s ease-in-out infinite; height: 30%; opacity: .85; }
.eq span:nth-child(3n)   { animation-duration: .8s; }
.eq span:nth-child(3n+1) { animation-duration: 1.3s; animation-delay: -.4s; }
.eq span:nth-child(4n)   { animation-duration: .95s; animation-delay: -.2s; }
.eq span:nth-child(5n)   { animation-duration: 1.5s; animation-delay: -.7s; }
@keyframes bounce { 0%,100% { height: 18%; } 50% { height: 100%; } }

.stats { display: flex; justify-content: center; gap: clamp(28px, 7vw, 80px); margin: 3rem 0 0; }
.stats div { min-width: 90px; }
.stats dt { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--gold-2); line-height: 1; }
.stats dd { margin: .5rem 0 0; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }

.scroll-cue { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--gold); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: linear-gradient(90deg, rgba(123,77,219,.08), rgba(194,64,154,.08)); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0 28px; white-space: nowrap; }
.marquee span::after { content: "◆"; color: var(--gold); font-size: .55em; margin-left: 56px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: auto; padding: clamp(80px, 12vw, 140px) 24px; }
.section__head { text-align: center; margin-bottom: 56px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  --accent: var(--gold);
  position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px;
  border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
  overflow: hidden; transition: transform .35s, border-color .35s, background .35s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card:hover::before { opacity: 1; }
.card--yt { --accent: #ff3d3d; } .card--sp { --accent: #1ed760; } .card--bmc { --accent: var(--gold); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 22px; }
.card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.card__kicker { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: .4rem; }
.card p:not(.card__kicker) { color: var(--muted); font-size: .97rem; }
.card__link { margin-top: auto; padding-top: 10px; font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.card__link b { display: inline-block; transition: transform .3s; color: var(--accent); }
.card:hover .card__link b { transform: translateX(6px); }

.spotify-embed { margin-top: 40px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--glass); }
.spotify-embed iframe { display: block; border: 0; }

/* ---------- story ---------- */
.story { position: relative; }
.story::before { content: ""; position: absolute; inset: 10% -20% auto auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(123,77,219,.22), transparent 65%); filter: blur(20px); z-index: -1; }
.story__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story__text p { color: var(--muted); font-size: 1.07rem; }
.story__note { color: var(--ink) !important; border-left: 2px solid var(--gold); padding-left: 16px; margin-top: 1.6rem; }
.pin { color: var(--gold); font-size: .7em; margin-right: 6px; }
.story__list { padding: 36px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(123,77,219,.16), rgba(194,64,154,.06)); border: 1px solid var(--line); }
.story__list h3 { color: var(--gold-2); margin-bottom: 1.2rem; }
.story__list ul { list-style: none; margin: 0; padding: 0; }
.story__list li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); transition: padding-left .3s, color .3s; }
.story__list li:last-child { border-bottom: 0; }
.story__list li:hover { padding-left: 8px; color: var(--gold-2); }
.story__list li span { font-family: var(--serif); font-size: .8rem; color: var(--gold); opacity: .8; }

/* ---------- contact ---------- */
.contact__box { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 70px); padding: clamp(32px, 5vw, 60px); border-radius: 26px; background: linear-gradient(140deg, rgba(217,179,91,.08), rgba(123,77,219,.1)); border: 1px solid var(--line); }
.contact__intro p:not(.eyebrow) { color: var(--muted); }
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.form input, .form textarea {
  font: 400 1rem/1.5 var(--sans); color: var(--ink); letter-spacing: normal; text-transform: none;
  background: rgba(18,13,30,.6); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,179,91,.18); }
.form input.is-invalid, .form textarea.is-invalid { border-color: #e06a7a; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form__status { min-height: 1.4em; margin: 0; font-size: .95rem; }
.form__status.ok { color: #8fe3a5; } .form__status.err { color: #f2a0ad; }
.form__status a { color: var(--gold-2); text-decoration: underline; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 50px 24px; text-align: center; color: var(--muted); font-size: .9rem; }
.footer__inner { max-width: var(--max); margin: auto; display: grid; gap: 14px; justify-items: center; }
.footer__social { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__social a { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; transition: color .2s; }
.footer__social a:hover { color: var(--gold-2); }
.footer__copy { font-size: .8rem; opacity: .6; margin: 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: auto; }
  .story__grid, .contact__box { grid-template-columns: 1fr; }
  .nav__links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 100px 24px 40px; flex-direction: column; align-items: center; gap: 26px;
    background: rgba(18,13,30,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: .95rem; }
  .burger { display: block; }
  .nav__actions .btn--sm { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .hero__tag { letter-spacing: .25em; }
  .stats { gap: 22px; }
  .hero__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
