/* ==========================================================================
   PRIVATE BEAUTY SHOTS — CYBER ARCADE & ANIME H-GAME HUB (STEAM / EPIC STYLE)
   Pure Vanilla CSS | Zero External Dependencies | Ultra-Fast Response Time
   ========================================================================== */

:root {
  --bg-deep: #090c16;
  --bg-card: rgba(18, 24, 44, 0.88);
  --bg-card-hover: rgba(28, 36, 68, 0.95);
  --border-card: rgba(139, 92, 246, 0.22);
  --border-hover: #ff007f;
  
  --neon-magenta: #ff007f;
  --neon-pink: #f43f5e;
  --neon-cyan: #00f0ff;
  --neon-purple: #a855f7;
  --neon-gold: #f59e0b;
  --neon-green: #10b981;
  
  --text-white: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Impact", "Arial Black", -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 0, 127, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  background-attachment: fixed;
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
  padding: 20px 12px 60px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.15s ease;
}
a:hover {
  color: var(--neon-magenta);
  text-decoration: none;
}

/* Master Container */
.arcade-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* ==========================================================================
   NAVBAR & HEADER
   ========================================================================== */
.arcade-header {
  text-align: center;
  margin-bottom: 24px;
}

.arcade-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.4);
  color: #ff3399;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(255, 0, 127, 0.25);
  margin-bottom: 12px;
}

.arcade-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.5vw, 52px);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 8px;
  color: #ffffff;
  text-shadow: 
    0 0 10px rgba(0, 240, 255, 0.5),
    0 0 24px rgba(255, 0, 127, 0.4),
    2px 2px 0 #180028;
}

.arcade-title span {
  background: linear-gradient(135deg, #00f0ff 0%, #ff007f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.arcade-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  font-weight: 500;
}

/* ==========================================================================
   HERO FEATURED GAME SHOWCASE (STEAM CAPSULE STYLE)
   ========================================================================== */
.hero-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 28px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 240, 255, 0.12);
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
@media (max-width: 900px) {
  .hero-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 14px;
  }
}

.hero-thumb-link {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7);
  aspect-ratio: 16 / 10;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #000;
}
.hero-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.hero-thumb-link:hover .hero-thumb-img {
  transform: scale(1.04);
}

.hero-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 0, 127, 0.85);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.8);
  pointer-events: none;
  transition: transform 0.2s;
}
.hero-thumb-link:hover .hero-play-overlay {
  transform: translate(-50%, -50%) scale(1.1);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.h-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
}
.h-badge.featured {
  background: #ff007f;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.5);
}
.h-badge.rating {
  background: #f59e0b;
  color: #000;
}
.h-badge.r18 {
  background: #ef4444;
  color: #fff;
}
.h-badge.tech {
  background: rgba(0, 240, 255, 0.15);
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.4);
}

.hero-game-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.hero-game-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.btn-hero-play {
  background: linear-gradient(135deg, #ff007f 0%, #a855f7 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 12px 26px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 127, 0.5), 0 4px 14px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-hero-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(255, 0, 127, 0.75), 0 6px 20px rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   SEARCH & GENRE FILTER BAR
   ========================================================================== */
.controls-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  color: var(--neon-cyan);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: #090c16;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 10px;
  padding: 11px 16px 11px 42px;
  color: #ffffff;
  font-size: 13px;
  font-family: var(--font-main);
  outline: none;
  transition: all 0.2s ease;
}
.search-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

/* Genre Pills */
.genre-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.genre-tab {
  background: rgba(15, 20, 36, 0.85);
  border: 1px solid rgba(139, 92, 246, 0.25);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.genre-tab:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--neon-purple);
  color: #ffffff;
}
.genre-tab.active {
  background: linear-gradient(135deg, #00f0ff 0%, #0284c7 100%);
  color: #000000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

/* ==========================================================================
   GAMES LEADERBOARD / STREAM (107 GAMES)
   Every row is a clickable card!
   ========================================================================== */
.games-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-row {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 46px 48px 1fr auto auto;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-white);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
@media (max-width: 680px) {
  .game-row {
    grid-template-columns: 36px 40px 1fr auto;
    padding: 10px 12px;
    gap: 10px;
  }
  .game-desc {
    display: none;
  }
}

.game-row:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 8px 24px rgba(255, 0, 127, 0.25), 0 0 12px rgba(255, 0, 127, 0.15);
  text-decoration: none;
}

/* Rank Badge */
.game-rank {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dim);
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.game-row:nth-child(1) .game-rank {
  background: #ffb703;
  color: #000;
  border-color: #ffd166;
  box-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}
.game-row:nth-child(2) .game-rank {
  background: #e2e8f0;
  color: #000;
  border-color: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.game-row:nth-child(3) .game-rank {
  background: #cd7f32;
  color: #000;
  border-color: #ffa500;
  box-shadow: 0 0 10px rgba(205, 127, 50, 0.4);
}

/* Emoji Avatar Frame */
.game-emoji-frame {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25) 0%, rgba(255, 0, 127, 0.15) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s;
}
.game-row:hover .game-emoji-frame {
  transform: scale(1.1);
  border-color: var(--neon-cyan);
}

/* Info */
.game-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.game-title-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.game-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.game-row:hover .game-title {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
}

.game-tag-pill {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(139, 92, 246, 0.2);
  color: var(--neon-purple);
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.game-desc {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}

/* Rating */
.game-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--neon-gold);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

/* Play Button */
.game-play-btn {
  background: linear-gradient(135deg, #ff007f 0%, #a855f7 100%);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px rgba(255, 0, 127, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.game-row:hover .game-play-btn {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255, 0, 127, 0.7);
}

/* ==========================================================================
   FOOTER & COMPLIANCE
   ========================================================================== */
.arcade-footer {
  margin-top: 36px;
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.footer-stat-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 11px;
  color: var(--neon-cyan);
  font-weight: 600;
}

.footer-compliance-text {
  font-size: 11px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 14px;
}

.btn-trade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ff007f 0%, #a855f7 100%);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 0, 127, 0.3);
  transition: all 0.15s ease;
}
.btn-trade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 127, 0.5);
  color: #ffffff;
  text-decoration: none;
}

/* ==========================================================================
   VIEW.PHP — CINEMA STAGE & GAME LAUNCHER
   ========================================================================== */
.stage-container {
  max-width: 860px;
  margin: 0 auto 30px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.15);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
}

.stage-badge-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.stage-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  line-height: 1.2;
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.5);
}

.stage-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.stage-screen {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 640px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 0, 127, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.8), 0 0 24px rgba(255, 0, 127, 0.3);
  background: #000;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}
.stage-screen:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--neon-cyan);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.9), 0 0 32px rgba(0, 240, 255, 0.5);
}

.stage-screen-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.stage-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 0, 127, 0.88);
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 32px;
  box-shadow: 0 0 28px rgba(255, 0, 127, 0.9);
  transition: transform 0.2s, background 0.2s;
  pointer-events: none;
}
.stage-screen:hover .stage-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(0, 240, 255, 0.9);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.9);
}

.stage-actions {
  margin: 24px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-stage-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #ff007f 0%, #00f0ff 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 36px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(255, 0, 127, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-stage-launch:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(0, 240, 255, 0.7);
  color: #ffffff;
  text-decoration: none;
}

.btn-back-hub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-back-hub:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  text-decoration: none;
}

/* Related Games Gallery */
.stage-gallery-section {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stage-gallery-heading {
  font-size: 13px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.stage-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.stage-gallery-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: block;
}
.stage-gallery-card:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--neon-magenta);
  box-shadow: 0 8px 20px rgba(255, 0, 127, 0.4);
}

.stage-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stage-gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9) 70%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 16px 6px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

