/* ==========================================================================
   JONAS THIEMANN — OFFICIAL PORTFOLIO (jominer6028.de)
   Aesthetic: Minimalist Dark Luxury • Architectural & Motion
   ========================================================================== */

:root {
  --bg-deep: #06070a;
  --bg-surface: #0c0e14;
  --bg-card: rgba(14, 17, 25, 0.65);
  
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 242, 254, 0.4);

  --accent: #00f2fe;
  --accent-glow: rgba(0, 242, 254, 0.2);
  --accent-violet: #818cf8;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Subtle Geometric Background Grid & Glow */
.bg-grid-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
}

.ambient-light {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(ellipse, rgba(0, 242, 254, 0.07) 0%, rgba(99, 102, 241, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Dynamic Interactive Mouse Spotlight */
.mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    650px circle at var(--mouse-x, 50vw) var(--mouse-y, 50vh),
    rgba(0, 242, 254, 0.08),
    rgba(99, 102, 241, 0.035) 45%,
    transparent 75%
  );
  transition: opacity 0.3s ease;
  will-change: background;
}

/* Interactive Custom Cursor Follower (Desktop only) */
@media (hover: hover) and (pointer: fine) {
  .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent);
    transition: opacity 0.2s ease, transform 0.08s ease;
  }

  .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(0, 242, 254, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.22s var(--ease-out), height 0.22s var(--ease-out), border-color 0.2s ease, background 0.2s ease;
  }

  .cursor-ring.active-hover {
    width: 52px;
    height: 52px;
    border-color: rgba(0, 242, 254, 0.85);
    background: rgba(0, 242, 254, 0.07);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Container & Typography
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mono-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* --------------------------------------------------------------------------
   Minimal Navbar
   -------------------------------------------------------------------------- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 76px;
  background: rgba(6, 7, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-hairline);
  transition: all 0.3s ease;
}

.nav-header.scrolled {
  height: 68px;
  background: rgba(6, 7, 10, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-text {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

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

.nav-btn-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}

.nav-btn-ig:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--border-hover);
  color: var(--accent);
}

.nav-btn-ig svg {
  width: 14px;
  height: 14px;
}

.nav-studio-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.nav-studio-btn:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.5);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.nav-studio-btn svg {
  width: 13px;
  height: 13px;
}

/* --------------------------------------------------------------------------
   Hero Section & Emblem
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 70px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-left {
  max-width: 560px;
}

.hero-status {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero-title span {
  color: #fff;
  display: block;
}

.hero-statement {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 400;
}

/* Hero Status Strip (Minimalist, Real-Time & Clean) */
.hero-status-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.status-pill:hover {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.05);
}

.status-pill.status-live {
  border-color: rgba(0, 242, 254, 0.3);
  background: rgba(0, 242, 254, 0.04);
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulseLiveDot 2.2s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--accent);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
    box-shadow: 0 0 4px var(--accent);
  }
}

.status-text {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.76rem;
}

.status-divider {
  color: var(--text-dim);
  opacity: 0.5;
}

.status-time {
  color: var(--accent);
  font-weight: 500;
}

.status-label {
  color: var(--text-dim);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-val {
  color: var(--text-primary);
  font-weight: 500;
}

/* Hero Emblem (Fixed & Animated) */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.emblem-wrapper {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  perspective: 1000px;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Outer Orbiting Light Wire */
.emblem-orbit-outer {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(0, 242, 254, 0.25);
  animation: spinSlow 36s linear infinite;
  pointer-events: none;
}

/* Subtle Geometric Orbit Ticks */
.emblem-orbit-outer::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.emblem-svg-container {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 35px rgba(0, 242, 254, 0.25));
  transition: transform 0.4s var(--ease-out);
}

.emblem-wrapper:hover .emblem-svg-container {
  transform: scale(1.02);
}

/* --------------------------------------------------------------------------
   Gallery Section (Works / Visual Archive)
   -------------------------------------------------------------------------- */
.gallery-section {
  padding: 100px 0 120px;
  border-top: 1px solid var(--border-hairline);
}

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.gallery-heading {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gallery-subheading {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 6px;
}

.gallery-filter-pills {
  display: flex;
  gap: 8px;
}

.pill-btn {
  background: none;
  border: 1px solid var(--border-hairline);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.pill-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}

.pill-btn.active {
  background: #ffffff;
  color: #06070a;
  border-color: #ffffff;
  font-weight: 600;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

/* Empty State (Clean & Editorial) */
.gallery-empty-state {
  grid-column: 1 / -1;
  padding: 90px 30px;
  border: 1px dashed var(--border-hairline);
  border-radius: 16px;
  text-align: center;
  background: rgba(12, 14, 20, 0.3);
}

.empty-icon {
  width: 44px;
  height: 44px;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.empty-title {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.empty-desc {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 460px;
  margin: 0 auto 24px;
}

.empty-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 242, 254, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.empty-ig-link:hover {
  border-color: var(--accent);
}

/* Dynamic Uploaded Cards */
.gallery-card {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  cursor: pointer;
  transition: all 0.35s var(--ease-out);
}

.gallery-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.8), 0 0 30px var(--accent-glow);
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.04);
}

.gallery-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  z-index: 11;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 7, 10, 0.9) 0%, transparent 100%);
}

.gallery-card-title {
  font-size: 1.15rem;
  color: #fff;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.gallery-card-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   About & Notes
   -------------------------------------------------------------------------- */
.about-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-hairline);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
}

.about-left h2 {
  font-size: 2.2rem;
  line-height: 1.15;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.skill-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Connect Strip & Footer
   -------------------------------------------------------------------------- */
.connect-section {
  padding: 90px 0 100px;
  border-top: 1px solid var(--border-hairline);
}

.collab-box {
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.06), rgba(12, 14, 20, 0.6) 60%);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.collab-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-violet) 100%);
  opacity: 0.8;
}

.collab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.collab-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}

.collab-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.collab-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 820px;
  margin-bottom: 24px;
}

.collab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.collab-tag-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  padding: 5px 12px;
  border-radius: 6px;
}

.collab-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-collab-mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--accent);
  color: #06070a;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}

.btn-collab-mail:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5);
  transform: translateY(-2px);
}

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.connect-card {
  padding: 32px;
  background: rgba(12, 14, 20, 0.5);
  border: 1px solid var(--border-hairline);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-out);
}

.connect-card:hover {
  background: rgba(18, 22, 34, 0.8);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.connect-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.connect-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.connect-title {
  font-size: 1.2rem;
  font-family: var(--font-mono);
  margin-bottom: 6px;
}

.connect-handle {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-btn:hover {
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Hero Instagram Pill & Actions
   -------------------------------------------------------------------------- */
.hero-ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.12) 0%, rgba(129, 140, 248, 0.1) 100%);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s var(--ease-out);
}

.hero-ig-pill:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(129, 140, 248, 0.2) 100%);
  border-color: #ec4899;
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.3);
  transform: translateY(-2px);
}

.hero-ig-icon {
  width: 17px;
  height: 17px;
  stroke: #ec4899;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Legal Modals (Impressum & Datenschutz)
   -------------------------------------------------------------------------- */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(6, 7, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.legal-modal-card {
  background: #090b10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  max-width: 660px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.legal-modal-card h2 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.legal-modal-card h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--accent);
  font-family: var(--font-mono);
}

.legal-modal-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 7, 10, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10002;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 10002;
  transition: all 0.2s ease;
}

.lightbox-prev-btn { left: 20px; }
.lightbox-next-btn { right: 20px; }

.lightbox-nav-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox-content {
  position: relative;
  max-width: 980px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10001;
}

.lightbox-media-container {
  position: relative;
  max-width: 100%;
  max-height: 72vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-media-container img,
.lightbox-media-container video {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption-box {
  margin-top: 14px;
  text-align: center;
}

.lightbox-title {
  font-size: 1.1rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.lightbox-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    margin: 0 auto;
  }
  .hero-status-strip {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .connect-grid {
    grid-template-columns: 1fr;
  }
  .emblem-wrapper {
    width: 320px;
    height: 320px;
  }
}
