/* ==========================================================================
   2001-2003 P2P DIRECT MEDIA VAULT THEME
   Forbidden Nudes - Authentic Vintage Media Archive (bg.png preserved)
   100% Pure Native Vanilla CSS | Ultra Fast (<2ms TTFB) | Mobile Responsive
   ========================================================================== */

:root {
  --primary-burgundy: #742B2D;
  --primary-burgundy-hover: #541c1e;
  --primary-burgundy-light: #fbf2f2;
  --accent-gold: #c29d38;
  --accent-amber: #f59e0b;
  --text-dark: #1f1f1f;
  --text-muted: #555555;
  --text-burgundy: #742B2D;
  --card-bg: rgba(255, 255, 255, 0.94);
  --card-border: rgba(116, 43, 45, 0.15);
  --shadow-vault: 0 10px 30px rgba(116, 43, 45, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --font-retro: Verdana, Arial, Helvetica, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: url('img/bg.png');
  background-repeat: repeat;
  background-attachment: fixed;
  font-family: var(--font-retro);
  font-size: 13px;
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-burgundy);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Master Wrapper */
.vault-wrapper {
  max-width: 1200px;
  width: 95%;
  margin: 20px auto 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow-vault);
  backdrop-filter: blur(10px);
  padding: 24px;
}

/* Top Header */
.vault-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px dashed rgba(116, 43, 45, 0.2);
}

.vault-logo-img {
  max-width: 320px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  filter: drop-shadow(0 4px 8px rgba(116, 43, 45, 0.25));
}

.vault-subtitle {
  font-size: 14px;
  font-weight: bold;
  color: var(--primary-burgundy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
}

.vault-meta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
}

.vault-badge {
  background: var(--primary-burgundy);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.vault-badge-gold {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

/* Live Search & Filter Bar */
.vault-controls-bar {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-input-wrapper {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.vault-search-box {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 2px solid var(--primary-burgundy);
  border-radius: 30px;
  font-size: 13px;
  font-family: var(--font-retro);
  background: #ffffff;
  color: #000;
  outline: none;
  box-shadow: 0 2px 8px rgba(116, 43, 45, 0.1);
  transition: all 0.2s ease;
}

.vault-search-box:focus {
  border-color: #000000;
  box-shadow: 0 0 0 4px rgba(116, 43, 45, 0.15);
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-burgundy);
  pointer-events: none;
}

/* Filter Pills */
.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill-btn {
  background: #ffffff;
  border: 1px solid rgba(116, 43, 45, 0.25);
  color: var(--primary-burgundy);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-retro);
}

.filter-pill-btn:hover {
  background: var(--primary-burgundy-light);
  border-color: var(--primary-burgundy);
}

.filter-pill-btn.active {
  background: var(--primary-burgundy);
  color: #ffffff;
  border-color: var(--primary-burgundy);
  box-shadow: 0 2px 6px rgba(116, 43, 45, 0.3);
}

/* Section Container Styling */
.vault-section {
  background: #ffffff;
  border: 1px solid rgba(116, 43, 45, 0.12);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.section-title-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--primary-burgundy);
  padding-bottom: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 8px;
}

.section-heading {
  font-size: 15px;
  font-weight: bold;
  color: var(--primary-burgundy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-count-tag {
  font-size: 11px;
  background: var(--primary-burgundy-light);
  color: var(--primary-burgundy);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: bold;
  border: 1px solid rgba(116, 43, 45, 0.2);
}

/* Grid for File Download Icons (.MPEG, .MOV, .ZIP, .RAR, .JPG) */
.media-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 12px 8px;
  text-align: center;
}

.media-file-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 4px;
  border-radius: 6px;
  transition: all 0.15s ease;
  text-decoration: none;
  color: var(--primary-burgundy);
}

.media-file-item:hover {
  background: var(--primary-burgundy-light);
  transform: translateY(-2px);
  text-decoration: none;
}

.media-file-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 4px;
  transition: transform 0.2s ease;
}

.media-file-item:hover .media-file-img {
  transform: scale(1.08);
}

.media-file-label {
  font-size: 10px;
  font-weight: bold;
  color: var(--primary-burgundy);
  line-height: 1.2;
  word-break: break-word;
}

.media-file-item:hover .media-file-label {
  color: #000000;
  text-decoration: underline;
}

/* 4-Column Model Video Grid (Google Ranking Section) */
.model-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 16px;
}

.model-video-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #fdfbfb;
  border: 1px solid rgba(116, 43, 45, 0.1);
  border-radius: 8px;
  transition: all 0.15s ease;
  text-decoration: none;
}

.model-video-card:hover {
  background: var(--primary-burgundy-light);
  border-color: var(--primary-burgundy);
  transform: translateX(2px);
  text-decoration: none;
}

.model-video-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.model-video-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--primary-burgundy);
  line-height: 1.3;
}

.model-video-card:hover .model-video-title {
  color: #000000;
  text-decoration: underline;
}

/* Video Player Preview Frame Area */
.dual-players-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.player-frame-box {
  flex: 1;
  min-width: 300px;
  max-width: 490px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.player-frame-box:hover {
  transform: scale(1.02);
}

.player-frame-img {
  width: 100%;
  display: block;
}

/* WMP and Gall Photo Set Cards */
.wmp-gall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  text-align: center;
}

.wmp-gall-card {
  background: #fdfbfb;
  border: 1px solid rgba(116, 43, 45, 0.15);
  border-radius: 8px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.wmp-gall-card:hover {
  background: var(--primary-burgundy-light);
  border-color: var(--primary-burgundy);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(116, 43, 45, 0.15);
  text-decoration: none;
}

.wmp-gall-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 8px;
}

.wmp-gall-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--primary-burgundy);
}

/* Footer Section */
.vault-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed rgba(116, 43, 45, 0.2);
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-text {
  max-width: 880px;
  margin: 0 auto 12px;
  padding: 10px 14px;
  background: rgba(116, 43, 45, 0.04);
  border: 1px solid rgba(116, 43, 45, 0.15);
  border-radius: 6px;
  font-size: 11px;
}

.webmaster-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: bold;
  color: var(--primary-burgundy);
  text-decoration: underline;
}

/* Long-Tail Mega Pack Cards (Full Master ZIP Vaults & Special Releases) */
.mega-pack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.mega-pack-card {
  background: #fdfbfb;
  border: 1px solid rgba(116, 43, 45, 0.16);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}

.mega-pack-card:hover {
  background: var(--primary-burgundy-light);
  border-color: var(--primary-burgundy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(116, 43, 45, 0.15);
  text-decoration: none;
}

.mega-pack-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mega-pack-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.mega-pack-title {
  font-size: 11px;
  font-weight: bold;
  color: var(--primary-burgundy);
  line-height: 1.3;
}

.mega-pack-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed rgba(116, 43, 45, 0.12);
  font-size: 10px;
  color: #666;
}

.badge-codec {
  background: var(--primary-burgundy);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: bold;
}

.badge-size {
  background: #f3f4f6;
  color: #374151;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  border: 1px solid #e5e7eb;
}

/* 4-Player Stream Grid */
.quad-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.player-stream-card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  border: 1px solid rgba(116, 43, 45, 0.3);
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.player-stream-card:hover {
  transform: scale(1.02);
  border-color: var(--accent-amber);
}

.player-stream-card .player-frame-img {
  width: 100%;
  display: block;
}

.player-stream-info {
  background: #1c1c1c;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #eee;
}

.player-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 4px;
  box-shadow: 0 0 6px #10b981;
}

/* Long-Tail SEO Keyword Cloud */
.seo-keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px;
  background: #faf7f7;
  border: 1px solid rgba(116, 43, 45, 0.12);
  border-radius: 8px;
  margin-top: 12px;
}

.seo-keyword-pill {
  background: #ffffff;
  border: 1px solid rgba(116, 43, 45, 0.18);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  color: var(--primary-burgundy);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.12s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.seo-keyword-pill:hover {
  background: var(--primary-burgundy);
  color: #ffffff;
  border-color: var(--primary-burgundy);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .model-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vault-wrapper {
    padding: 14px 10px;
    width: 98%;
  }
  .model-video-grid {
    grid-template-columns: 1fr;
  }
  .media-icon-grid {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
    gap: 8px 4px;
  }
  .media-file-img {
    width: 44px;
    height: 44px;
  }
}