/* =====================================================
   BOSNIAN RIDERS MK  —  style.css
   ===================================================== */

/* ── Variables ── */
:root {
  --purple:     #3D2A8A;
  --purple-dk:  #1E1255;
  --purple-mid: #2D1E6A;
  --purple-lg:  #5940CC;
  --gold:       #F5B800;
  --gold-dk:    #C49000;
  --gold-lg:    #FFD040;
  --silver:     #BFC8DA;
  --bg:         #07051A;
  --bg2:        #0C091F;
  --bg3:        #120E2A;
  --text:       #EDE8FF;
  --muted:      #7A6E9A;
  --border:     #28204A;
  --nav-h:      66px;
}

[x-cloak] { display: none !important; }

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; }
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; }
a { text-decoration: none; color: inherit; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 2px; }

/* =====================================================
   SNAP CONTAINER
   ===================================================== */
.snap-main {
  height: 100vh;
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--purple) var(--bg);
}
.snap-section {
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 800;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: rgba(7, 5, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-brand img { height: 44px; width: auto; }
.nav-brand-text {
  font-family: 'Oswald', sans-serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--gold); letter-spacing: 1px;
  line-height: 1.1;
}
.nav-brand-sub {
  font-size: 0.62rem; letter-spacing: 3px;
  color: var(--muted); text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex; align-items: center; gap: 0.15rem; list-style: none;
}
.nav-links a {
  font-family: 'Oswald', sans-serif; font-size: 0.88rem;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--muted); padding: 0.5rem 1rem; border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(245, 184, 0, 0.08);
}

.btn-login {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: 'Oswald', sans-serif; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 0.5rem 1.4rem; border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.btn-login:hover { background: var(--gold); color: #000; }

/* ── Section nav dots ── */
.section-dots {
  position: fixed; right: 1.5rem; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.65rem;
  z-index: 800;
}
.s-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(245, 184, 0, 0.2); border: 1px solid var(--gold-dk);
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.s-dot:hover { background: rgba(245, 184, 0, 0.5); transform: scale(1.3); }
.s-dot.active {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  transform: scale(1.25);
}

/* =====================================================
   HERO  (#home)
   ===================================================== */
#home {
  background: radial-gradient(ellipse 90% 70% at 50% 50%, #1E1255 0%, #07051A 65%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}

/* BiH-inspired diagonal overlay */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 40%;
  background: linear-gradient(145deg,
    transparent 30%,
    rgba(245, 184, 0, 0.025) 50%,
    transparent 70%
  );
  clip-path: polygon(60% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 35% 35% at 75% 25%, rgba(93, 64, 204, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 25% 75%, rgba(61, 42, 138, 0.10) 0%, transparent 70%);
}

/* Floating star particles */
.hero-particles {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.particle {
  position: absolute;
  color: var(--gold);
  line-height: 1;
  animation: floatStar linear infinite;
  will-change: transform, opacity;
}
@keyframes floatStar {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  8%   { opacity: 0.7; }
  92%  { opacity: 0.35; }
  100% { transform: translateY(-80px) rotate(180deg); opacity: 0; }
}

/* ── Hero center ── */
.hero-center {
  position: relative; z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  margin-bottom: 90px;
}

/* Logo */
.logo-wrap {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-glow {
  position: absolute;
  inset: -22px; border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(245, 184, 0, 0.12),
    0 0 40px rgba(61, 42, 138, 0.6),
    0 0 90px rgba(245, 184, 0, 0.12);
  animation: glowPulse 3.2s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(245, 184, 0, 0.12),
      0 0 40px rgba(61, 42, 138, 0.6),
      0 0 90px rgba(245, 184, 0, 0.12);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(245, 184, 0, 0.3),
      0 0 65px rgba(93, 64, 204, 0.85),
      0 0 140px rgba(245, 184, 0, 0.25);
    transform: scale(1.04);
  }
}

.hero-logo {
  width: clamp(140px, 19vw, 220px);
  height: auto;
  filter: drop-shadow(0 4px 24px rgba(245, 184, 0, 0.25));
  animation: logoEntrance 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.15s;
}
@keyframes logoEntrance {
  from {
    transform: scale(0.25) rotate(-12deg);
    opacity: 0;
    filter: blur(16px) drop-shadow(0 4px 24px rgba(245, 184, 0, 0.25));
  }
  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
    filter: blur(0) drop-shadow(0 4px 24px rgba(245, 184, 0, 0.25));
  }
}

/* Hero title */
.hero-title {
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 700; text-transform: uppercase;
  line-height: 0.9;
}
.ht-line {
  display: block;
  font-size: clamp(2.8rem, 9vw, 8rem);
  letter-spacing: 5px;
  opacity: 0;
}
.ht-1 {
  color: var(--text);
  text-shadow: 0 0 40px rgba(245, 184, 0, 0.08);
  animation: slideFromLeft 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.75s;
}
.ht-2 {
  color: var(--gold);
  -webkit-text-stroke: 1px var(--gold-dk);
  animation: slideFromRight 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.95s;
}
@keyframes slideFromLeft {
  from { transform: translateX(-90px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideFromRight {
  from { transform: translateX(90px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Divider line */
.hero-divider {
  display: flex; align-items: center; gap: 0.8rem;
  width: fit-content;
  margin: 0.8rem auto 0;
  opacity: 0;
  animation: fadeIn 0.6s ease both 1.25s;
}
.hd-bar {
  height: 1.5px; width: 70px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.hd-star { color: var(--gold); font-size: 1rem; }

.hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.75rem, 1.8vw, 1rem);
  letter-spacing: 7px; text-transform: uppercase; color: var(--muted);
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.6s ease both 1.45s;
}

/* ── Scroll hint ── */
.scroll-hint {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  cursor: pointer; z-index: 10;
  opacity: 0;
  animation: fadeIn 1s ease both 2.2s;
}
.scroll-hint span {
  font-family: 'Oswald', sans-serif; font-size: 0.62rem;
  letter-spacing: 4px; text-transform: uppercase; color: var(--muted);
}
.chevrons { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.chev {
  width: 13px; height: 13px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: chevBounce 1.8s ease infinite;
}
.chev:nth-child(2) { animation-delay: 0.2s; opacity: 0.45; }
@keyframes chevBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%       { transform: rotate(45deg) translate(3px, 3px); }
}

/* ── Wheel track ── */
.moto-track {
  position: absolute; bottom: 44px;
  left: 0; right: 0; height: 94px;
  overflow: hidden; pointer-events: none;
}
.moto-wrap {
  position: absolute; bottom: 0;
  display: flex; align-items: flex-end;
}
.moto-wrap.m1 { animation: rideThrough 10s linear infinite; }
.moto-wrap.m2 {
  animation: rideThrough 16s linear -5s infinite;
  opacity: 0.3;
}
@keyframes rideThrough {
  from { left: -110px; }
  to   { left: calc(100% + 110px); }
}

/* SVG wheel spin animation */
.wheel {
  transform-box: fill-box;
  transform-origin: center;
  animation: spinWheel 0.3s linear infinite;
}
@keyframes spinWheel {
  to { transform: rotate(360deg); }
}

/* Road */
.hero-road {
  position: absolute; bottom: 0; left: 0; right: 0; height: 75px;
  background: linear-gradient(to top, #030210, transparent);
  pointer-events: none;
}
.hero-road::after {
  content: '';
  position: absolute; bottom: 30px; left: 0; right: 0; height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    var(--gold) 0px, var(--gold) 28px,
    transparent 28px, transparent 56px
  );
  background-size: 56px 2px;
  opacity: 0.22;
  animation: roadScroll 0.7s linear infinite;
}
@keyframes roadScroll {
  from { background-position-x: 0; }
  to   { background-position-x: -56px; }
}

/* ── Shared keyframes ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   ABOUT  (#about)
   ===================================================== */
#about {
  background:
    radial-gradient(ellipse 55% 65% at 10% 50%, rgba(61, 42, 138, 0.22) 0%, transparent 70%),
    var(--bg2);
  display: flex; align-items: center; justify-content: center;
  border-top: 1px solid var(--border);
}
#about::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right,
    transparent, var(--purple-lg), var(--gold), var(--purple-lg), transparent
  );
}

.about-layout {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 4rem; align-items: center;
  max-width: 1120px; width: 100%;
  padding: 0 2.5rem;
}

/* Left column: decoration */
.about-deco {
  display: flex; flex-direction: column;
  align-items: center; gap: 2.5rem;
  transform: translateX(-70px); opacity: 0;
  transition: transform 0.95s cubic-bezier(0.34, 1.2, 0.64, 1),
              opacity 0.95s ease;
}
.section-active .about-deco {
  transform: translateX(0); opacity: 1;
}

/* Ljiljan SVG wrapper */
.ljiljan-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.ljiljan-wrap::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 42, 138, 0.25) 0%, transparent 70%);
}
.ljiljan-svg {
  width: clamp(110px, 14vw, 180px);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(245, 184, 0, 0.35));
  animation: ljiljanFloat 4.5s ease-in-out infinite;
}
@keyframes ljiljanFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%       { transform: translateY(-10px) rotate(1deg); }
}

/* Stats */
.about-stats {
  display: flex; gap: 2rem; justify-content: center;
}
.stat { text-align: center; }
.stat-n {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.stat-l {
  font-family: 'Oswald', sans-serif;
  font-size: 0.68rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--muted); margin-top: 0.25rem;
}

/* Right column: content */
.about-content {
  transform: translateX(70px); opacity: 0;
  transition: transform 0.95s cubic-bezier(0.34, 1.2, 0.64, 1) 0.12s,
              opacity 0.95s ease 0.12s;
}
.section-active .about-content {
  transform: translateX(0); opacity: 1;
}

.sec-tag {
  font-family: 'Oswald', sans-serif; font-size: 0.72rem;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.sec-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700; text-transform: uppercase;
  color: var(--text); line-height: 1;
}
.sec-line {
  width: 50px; height: 3px; margin-top: 0.85rem;
  background: linear-gradient(to right, var(--gold), var(--purple-lg));
}

.about-text {
  color: var(--muted); line-height: 1.85;
  font-size: 1.02rem; margin-top: 1.1rem;
}
.about-text + .about-text { margin-top: 0.75rem; }
.about-text strong { color: var(--text); font-weight: 500; }

/* BiH stars row */
.bih-stars { display: flex; gap: 0.6rem; margin-top: 1.8rem; }
.bih-stars span {
  color: var(--gold); font-size: 1.1rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.section-active .bih-stars span { opacity: 1; transform: translateY(0); }
.bih-stars span:nth-child(1) { transition-delay: 0.35s; }
.bih-stars span:nth-child(2) { transition-delay: 0.45s; }
.bih-stars span:nth-child(3) { transition-delay: 0.55s; }
.bih-stars span:nth-child(4) { transition-delay: 0.65s; }
.bih-stars span:nth-child(5) { transition-delay: 0.75s; }
.bih-stars span:nth-child(6) { transition-delay: 0.85s; }
.bih-stars span:nth-child(7) { transition-delay: 0.95s; }

/* =====================================================
   GALLERY  (#gallery)
   ===================================================== */
#gallery {
  background: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
}
#gallery::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right,
    transparent, var(--gold), var(--purple-lg), transparent
  );
}

.gallery-layout {
  display: flex; flex-direction: column;
  width: 100%; height: 100%;
  max-width: 1300px; margin: 0 auto;
  padding: calc(var(--nav-h) + 2.2rem) 2.5rem 1.8rem;
}

.gallery-header {
  flex-shrink: 0; margin-bottom: 1.5rem;
  opacity: 0; transform: translateY(-22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.section-active .gallery-header {
  opacity: 1; transform: translateY(0);
}

/* 2×2 grid that fills available space */
.gallery-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  min-height: 0;
}

/* Gallery card */
.g-card {
  position: relative; border-radius: 8px;
  overflow: hidden; cursor: pointer;
  background: var(--bg3); border: 1px solid var(--border);
  opacity: 0; transform: translateY(32px);
  transition:
    opacity 0.45s ease var(--delay, 0ms),
    transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1) var(--delay, 0ms),
    box-shadow 0.3s ease;
}
.section-active .g-card {
  opacity: 1; transform: translateY(0);
}
.g-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 48px rgba(61, 42, 138, 0.55), 0 4px 16px rgba(245, 184, 0, 0.1);
}

.g-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.g-card:hover .g-img { transform: scale(1.07); filter: brightness(0.42); }

.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(7, 5, 26, 0.88) 0%,
    rgba(7, 5, 26, 0.18) 55%,
    transparent 100%
  );
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 1.25rem;
}
.g-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: 1.5px; color: var(--text);
}
.g-count {
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem; letter-spacing: 2px;
  color: var(--gold); margin-top: 0.2rem;
}
.g-zoom {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.g-card:hover .g-zoom {
  opacity: 1; transform: translate(-50%, -50%) scale(1);
}

/* Footer (inside gallery section) */
.section-footer {
  flex-shrink: 0; margin-top: 0.9rem;
  text-align: center;
}
.foot-copy {
  font-family: 'Oswald', sans-serif; font-size: 0.72rem;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: #2E2552;
}

/* =====================================================
   MODALS  (shared overlay)
   ===================================================== */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(3, 2, 14, 0.88);
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}

/* ── Gallery modal ── */
.gal-modal {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; width: 100%; max-width: 900px;
  max-height: 88vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.modal-head {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem; border-bottom: 1px solid var(--border);
}
.modal-title {
  font-family: 'Oswald', sans-serif; font-size: 1.15rem;
  font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.modal-sub {
  font-family: 'Oswald', sans-serif; font-size: 0.72rem;
  letter-spacing: 1.5px; color: var(--gold); margin-top: 0.1rem;
}
.modal-grid {
  flex: 1; overflow-y: auto; padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 0.8rem; align-content: start;
}
.modal-grid::-webkit-scrollbar { width: 4px; }
.modal-grid::-webkit-scrollbar-track { background: var(--bg2); }
.modal-grid::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 2px; }

.thumb {
  aspect-ratio: 4/3; border-radius: 5px; overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}
.thumb:hover { border-color: var(--gold); transform: scale(1.03); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── Lightbox ── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.97);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.lb-wrap {
  position: relative;
  max-width: 88vw; max-height: 86vh;
}
.lb-wrap img {
  max-width: 88vw; max-height: 86vh;
  object-fit: contain; border-radius: 4px; display: block;
}
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border); color: var(--text);
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lb-nav:hover { background: rgba(245, 184, 0, 0.18); border-color: var(--gold); }
.lb-nav.prev { right: calc(100% + 0.8rem); }
.lb-nav.next { left:  calc(100% + 0.8rem); }
.lb-close {
  position: absolute; top: -2.7rem; right: 0;
  background: rgba(0, 0, 0, 0.7); border: 1px solid var(--border);
  color: var(--text); width: 32px; height: 32px; border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(245, 184, 0, 0.2); }
.lb-count {
  position: absolute; bottom: -2.1rem; left: 50%; transform: translateX(-50%);
  font-family: 'Oswald', sans-serif; font-size: 0.8rem;
  color: var(--muted); letter-spacing: 2px; white-space: nowrap;
}

/* ── Login modal ── */
.login-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; width: 100%; max-width: 400px;
  overflow: hidden;
}
.login-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--border);
}
.login-head img { height: 36px; }
.login-tabs { display: flex; border-bottom: 1px solid var(--border); }
.l-tab {
  flex: 1; padding: 0.9rem; background: none;
  border: none; border-bottom: 2px solid transparent;
  font-family: 'Oswald', sans-serif; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.l-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.login-form {
  padding: 1.8rem;
  display: flex; flex-direction: column; gap: 1.1rem;
}
.f-group { display: flex; flex-direction: column; gap: 0.35rem; }
.f-label {
  font-family: 'Oswald', sans-serif; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.f-input {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem;
  border-radius: 5px; font-size: 0.95rem;
  font-family: 'Roboto', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.f-input:focus { border-color: var(--gold); }
.f-err { color: #e74c3c; font-size: 0.82rem; text-align: center; }
.btn-submit {
  background: linear-gradient(135deg, var(--purple), var(--purple-lg));
  color: var(--gold); border: 1px solid var(--gold-dk);
  padding: 0.85rem; border-radius: 5px;
  font-family: 'Oswald', sans-serif; font-size: 0.95rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  transition: filter 0.2s, transform 0.1s; margin-top: 0.2rem;
}
.btn-submit:hover  { filter: brightness(1.18); }
.btn-submit:active { transform: scale(0.98); }

/* ── Shared close button ── */
.btn-close {
  background: none; border: none; color: var(--muted);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: color 0.2s, background 0.2s;
}
.btn-close:hover { color: var(--text); background: var(--bg3); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .about-layout {
    grid-template-columns: 1fr; gap: 2rem;
    padding-top: 1.5rem;
  }
  .about-deco {
    flex-direction: row; gap: 2rem;
    align-items: center; transform: translateY(40px);
  }
  .section-active .about-deco { transform: translateY(0); }
  .ljiljan-svg { width: 90px; }
  .section-dots { right: 0.7rem; }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  #gallery { overflow-y: auto; }
  .g-card { min-height: 200px; }
  .lb-nav.prev { right: auto; left:  0.4rem; top: auto; bottom: -3.8rem; transform: none; }
  .lb-nav.next { left:  auto; right: 0.4rem; top: auto; bottom: -3.8rem; transform: none; }
}
