/* ==========================================================================
   O2 ESPORTS ARENA — G2 BRUTALIST MEDIA VAULT & LIGHTBOX STYLES
   Pitch Black (#080808), Dark Charcoal (#121212), Crisp 1px Hairlines (#222222)
   Zero Blurry Neon Glows • Sharp 0-2px Architectural Geometry
   ========================================================================== */

.media-vault-section {
  padding: 80px 0;
  background: #080808;
  border-top: 1px solid #222222;
  position: relative;
}

.media-vault-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.media-vault-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: #121212;
  border: 1px solid #262626;
  padding: 5px 14px;
  border-radius: 0px;
  margin-bottom: 14px;
}

.media-vault-title {
  font-family: 'Oswald', 'Anton', sans-serif !important;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 12px;
  word-break: keep-all !important;
}

.media-vault-desc {
  font-size: 14px;
  color: #A3A3A3;
  line-height: 1.6;
  margin: 0;
}

/* Category Filter Tabs - Sharp Rectangular Brutalist */
.vault-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.vault-filter-btn {
  background: #121212;
  border: 1px solid #222222;
  color: #A3A3A3;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.vault-filter-btn:hover {
  background: #1A1A1A;
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.vault-filter-btn.active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
  font-weight: 700;
}

/* Vault Responsive Grid */
.vault-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  transition: opacity 0.25s ease;
}

@media (max-width: 960px) {
  .vault-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .vault-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Vault Card Item - G2 Squad Card Geometry */
.vault-card {
  position: relative;
  background: #121212;
  border: 1px solid #222222;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.vault-card:hover {
  transform: translateY(-2px);
  border-color: #FFFFFF;
  background: #161616;
}

.vault-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #080808;
  overflow: hidden;
}

.vault-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.vault-img-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, transparent 50%);
  pointer-events: none;
}

.vault-card-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000000;
  background: #FFD84D;
  border: 1px solid #FFD84D;
  padding: 3px 8px;
  border-radius: 0px;
  z-index: 2;
}

.vault-card-expand {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.2s ease;
  z-index: 2;
}

.vault-card:hover .vault-card-expand {
  opacity: 1;
  transform: scale(1);
}

.vault-card-footer {
  padding: 12px 16px;
  background: #121212;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #1E1E1E;
}

.vault-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  letter-spacing: 0.01em;
}

.vault-card-idx {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11px;
  color: #737373;
  flex-shrink: 0;
}

/* ==========================================================================
   FULLSCREEN HIGH-RES LIGHTBOX MODAL — G2 MINIMALIST EDITORIAL
   ========================================================================== */
.vault-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.vault-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid #222222;
  background: #080808;
  flex-shrink: 0;
}

.lightbox-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-counter {
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 11px;
  color: #000000;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: #FFD84D;
  border: 1px solid #FFD84D;
  padding: 3px 8px;
  border-radius: 0px;
}

.lightbox-title {
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: 0.02em;
}

.lightbox-close-btn {
  width: 36px;
  height: 36px;
  background: #141414;
  border: 1px solid #262626;
  border-radius: 2px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.lightbox-body {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.lightbox-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 2px;
  border: 1px solid #262626;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background: #141414;
  border: 1px solid #262626;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #000000;
}

.lightbox-nav-btn.prev {
  left: 24px;
}

.lightbox-nav-btn.next {
  right: 24px;
}

@media (max-width: 768px) {
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-nav-btn.prev { left: 8px; }
  .lightbox-nav-btn.next { right: 8px; }
  .lightbox-title { display: none; }
}
