/* styles.css - PUBG-style Battle Map Preview */

/* ---- Root / fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Rajdhani:wght@400;600&display=swap');

:root{
  --bg-dark:#050507;
  --panel:#0f1113;
  --accent:#00baff;
  --accent-2:#77e0ff;
  --muted:#9aa8b2;
  --glass: rgba(255,255,255,0.04);
}

/* ---- Page reset ---- */
*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Rajdhani,Arial,sans-serif;background:var(--bg-dark);color:#d7eef9;-webkit-font-smoothing:antialiased}
a{color:var(--accent);text-decoration:none}

/* ---- Animated smoky background layer ---- */
body::before{
  content:"";
  position:fixed;inset:0;
  background:
    radial-gradient(1200px 600px at 10% 20%, rgba(0,90,120,0.08), transparent 8%),
    radial-gradient(900px 400px at 90% 80%, rgba(0,40,60,0.06), transparent 8%),
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
  z-index:0;
  pointer-events:none;
  mix-blend-mode:screen;
  filter:blur(18px);
  animation: slowShift 18s linear infinite;
}
@keyframes slowShift{0%{transform:translateY(0)}50%{transform:translateY(-24px)}100%{transform:translateY(0)}}

/* ---- Subtle grain / metal sheen ---- */
body::after{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background-image: linear-gradient(90deg, rgba(255,255,255,0.015) 0 1px, transparent 1px);
  opacity:0.6;mix-blend-mode:overlay;transform:scaleY(1.02);
}

/* ---- Page container ---- */
.container{
  position:relative;
  z-index:1;
  width:calc(100% - 48px);
  max-width:1400px;
  margin:32px auto;
  display:grid;
  grid-template-columns: 360px 1fr 300px;
  gap:20px;
  align-items:start;
}

/* ---- Header / brand ---- */
.site-header{
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:12px 16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border:1px solid rgba(255,255,255,0.03);
  border-radius:10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
}
.brand h1{font-family:Orbitron, Rajdhani, sans-serif;margin:0;font-size:20px;letter-spacing:0.6px;color:var(--accent)}
.brand .tagline{color:var(--muted);font-size:12px;margin-top:3px}

/* ---- Left panel (info) ---- */
.left-panel{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:10px;padding:18px;border:1px solid rgba(255,255,255,0.03);
  min-height:520px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.left-panel h3{margin:0 0 10px 0;color:var(--accent);font-family:Orbitron}
.left-panel p{color:var(--muted);font-size:13px;line-height:1.45}

/* ---- Center: Map preview area ---- */
.map-preview{
  position:relative;
  height:640px;
  border-radius:12px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(10,12,14,0.6), rgba(5,6,8,0.6)),
    url('assets/map-blur.jpg') center/cover no-repeat;
  border:1px solid rgba(0,170,255,0.04);
  box-shadow: 0 14px 40px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.02);
  display:flex;align-items:center;justify-content:center;
}

/* tactical grid overlay */
.map-preview::before{
  content:"";
  position:absolute;inset:0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: calc(100%/16) calc(100%/16);
  mix-blend-mode:overlay;
  opacity:0.7;
  transform:scale(1.01);
}




/* Responsive styles for different screen sizes */

/* Large screens (laptops and desktops) */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1400px;
    grid-template-columns: 360px 1fr 300px;
  }
  .map-preview {
    height: 640px;
  }
}

/* Medium screens (tablets) */
@media screen and (max-width: 1199px) {
  .container {
    grid-template-columns: 1fr;
    width: 95%;
    margin: 16px auto;
  }
  .map-preview {
    height: 500px;
  }
  .gallery-grid figure {
    width: 120px;
    height: 70px;
  }
}

/* Small screens (mobile phones) */
@media screen and (max-width: 768px) {
  .container {
    width: 92%;
    margin: 10px auto;
    gap: 12px;
  }
  .map-preview {
    height: 400px;
  }
  .gallery-grid {
    flex-wrap: wrap;
  }
  .gallery-grid figure {
    width: 100px;
    height: 60px;
  }
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .left-panel, .right-panel {
    min-height: auto;
    padding: 12px;
  }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
  .map-preview {
    height: 300px;
  }
  .gallery-grid figure {
    width: 80px;
    height: 50px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* center HUD panel */
.map-hud{
  position:absolute;left:22px;top:18px;background:var(--glass);
  padding:10px 12px;border-radius:8px;border:1px solid rgba(255,255,255,0.03);
  backdrop-filter: blur(6px);
}
.map-hud .meta{font-size:12px;color:var(--muted)}

/* Play CTA on map */
.btn-primary{
  background:linear-gradient(90deg,var(--accent),var(--accent-2));
  color:#02121a;border:none;padding:12px 20px;border-radius:8px;
  font-weight:700;letter-spacing:0.6px;cursor:pointer;margin:6px 0;
  box-shadow: 0 8px 30px rgba(0,170,255,0.12), 0 2px 0 rgba(255,255,255,0.02) inset;
  transition: transform .16s ease, box-shadow .16s ease;
  font-family:Orbitron, sans-serif;
}
.btn-primary:hover{transform:translateY(-4px);box-shadow: 0 16px 40px rgba(0,170,255,0.18)}
.btn-outline{border:1px solid rgba(255,255,255,0.06);padding:9px 14px;border-radius:8px;color:var(--muted);background:transparent}

/* ---- Right panel (stats / credits) ---- */
.right-panel{
  background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  border-radius:10px;padding:18px;border:1px solid rgba(255,255,255,0.03);
  min-height:520px;box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}
.stats-list{list-style:none;padding:0;margin:8px 0 0 0;color:var(--muted)}
.stats-list li{padding:8px 0;border-bottom:1px dashed rgba(255,255,255,0.02);font-size:14px}

/* ---- Screenshots gallery inside center bottom ---- */
.gallery-grid{
  position:absolute;right:18px;bottom:18px;display:flex;gap:10px;
}
.gallery-grid figure{width:150px;height:86px;margin:0;border-radius:6px;overflow:hidden;border:1px solid rgba(255,255,255,0.03)}
.gallery-grid img{width:100%;height:100%;object-fit:cover;display:block;filter:contrast(0.95) saturate(0.9)}
.gallery-grid figcaption{display:none}

/* ---- Neon headings / micro UI ---- */
.section-title{font-family:Orbitron, sans-serif;color:var(--accent);font-size:13px;margin:0 0 8px 0}
.small-muted{color:var(--muted);font-size:12px}

/* ---- Buttons grid (8x8) example styling ---- */
.grid{
  display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-top:16px;
}
.grid button{
  height:48px;background:linear-gradient(180deg,#101216,#0b0d0f);border:1px solid rgba(0,170,255,0.08);
  color:var(--muted);font-weight:600;border-radius:6px;cursor:pointer;transition:all .14s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}
.grid button:hover{color:#00151a;background:linear-gradient(90deg,var(--accent),var(--accent-2));transform:translateY(-4px);box-shadow:0 14px 30px rgba(0,170,255,0.12)}

/* ---- Responsive ---- */
@media (max-width:1100px){
  .container{grid-template-columns: 1fr; padding:12px}
  .map-preview{height:520px}
  .left-panel,.right-panel{order:2}
  .site-header{flex-direction:column;gap:8px}
  .gallery-grid{right:12px;bottom:12px}
}