/* ============================================================
   Bloxtin's Playbox — shared stylesheet
   Frutiger Aero theme · single-page game hub + mod download
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;600&family=Trebuchet+MS&display=swap');

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

body {
  min-height: 100vh;
  background: #afeeee;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  padding: 24px 24px 48px;
  overflow-x: hidden;
}

/* ---- floating bubbles (decoration) ---- */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.75), rgba(180,240,255,0.2) 60%, transparent);
  border: 1px solid rgba(255,255,255,0.55);
}
.bubble:nth-child(1)  { width:52px;  height:52px;  top:8%;   left:5%;   opacity:.7; }
.bubble:nth-child(2)  { width:28px;  height:28px;  top:18%;  left:18%;  opacity:.55; }
.bubble:nth-child(3)  { width:72px;  height:72px;  top:5%;   right:12%; opacity:.6; }
.bubble:nth-child(4)  { width:38px;  height:38px;  top:35%;  right:5%;  opacity:.5; }
.bubble:nth-child(5)  { width:20px;  height:20px;  bottom:30%; left:8%;  opacity:.65; }
.bubble:nth-child(6)  { width:60px;  height:60px;  bottom:15%; right:18%; opacity:.5; }
.bubble:nth-child(7)  { width:16px;  height:16px;  top:55%;  left:30%;  opacity:.6; }
.bubble:nth-child(8)  { width:44px;  height:44px;  bottom:40%; left:45%; opacity:.45; }

/* ---- page wrapper ---- */
.wrapper {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- top navigation bar ---- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  padding: 14px 20px;

  background: linear-gradient(160deg, rgba(255,255,255,0.5) 0%, rgba(200,245,255,0.28) 50%, rgba(150,220,255,0.18) 100%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 22px;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow:
    0 8px 32px rgba(0, 100, 180, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

.brand {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #c0eeff 0%, #60ccf0 35%, #1aa0d8 70%, #0a70b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 5px rgba(0,80,160,0.35));
}

.nav-links {
  display: flex;
  gap: 10px;
}

.nav-btn {
  cursor: pointer;
  padding: 8px 22px;
  border-radius: 22px;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: rgba(0, 80, 140, 0.85);
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
  transition: filter 0.15s, transform 0.1s;
}
.nav-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }

/* active tab gets the glossy blue pill treatment */
.nav-btn.active {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,80,180,0.6);
  background: linear-gradient(180deg, rgba(120,210,255,0.9) 0%, rgba(60,170,230,0.85) 50%, rgba(30,140,210,0.8) 100%);
  box-shadow:
    0 2px 8px rgba(0,100,200,0.3),
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(0,120,200,0.2);
}

/* ---- page sections (single-page switching) ---- */
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   GAMES SECTION
   ============================================================ */
.game-section {
  margin-bottom: 36px;
  background: linear-gradient(160deg, rgba(255,255,255,0.42) 0%, rgba(200,245,255,0.22) 50%, rgba(150,220,255,0.15) 100%);
  border: 1px solid rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.25);
  border-right-color: rgba(255,255,255,0.25);
  border-radius: 18px;
  padding: 18px;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow:
    0 8px 32px rgba(0, 100, 180, 0.22),
    0 2px 8px rgba(0, 60, 120, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(200,240,255,0.3);
}

.game-section::before {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9) 30%, rgba(200,245,255,0.7) 70%, transparent);
}

.game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.game-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,80,180,0.6);
  background: linear-gradient(180deg, rgba(120,210,255,0.75) 0%, rgba(60,170,230,0.65) 50%, rgba(30,140,210,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 2px 8px rgba(0,100,200,0.3),
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(0,120,200,0.2);
}

.fullscreen-btn {
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,80,180,0.6);
  background: linear-gradient(180deg, rgba(120,210,255,0.75) 0%, rgba(60,170,230,0.65) 50%, rgba(30,140,210,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    0 2px 8px rgba(0,100,200,0.3),
    inset 0 1px 0 rgba(255,255,255,0.7),
    inset 0 -1px 0 rgba(0,120,200,0.2);
  transition: filter 0.15s;
}
.fullscreen-btn:hover { filter: brightness(1.15); }

iframe {
  width: 100%;
  height: 700px;
  border: none;
  border-radius: 12px;
  display: block;
  box-shadow:
    0 4px 24px rgba(0, 80, 160, 0.3),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 8px;
}

.card {
  background: linear-gradient(160deg, rgba(255,255,255,0.42) 0%, rgba(200,245,255,0.22) 50%, rgba(150,220,255,0.15) 100%);
  border: 1px solid rgba(255,255,255,0.65);
  border-bottom-color: rgba(255,255,255,0.25);
  border-right-color:  rgba(255,255,255,0.25);
  border-radius: 18px;
  padding: 36px 32px 32px;
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  box-shadow:
    0 8px 32px rgba(0,100,180,0.22),
    0 2px 8px  rgba(0,60,120,0.15),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(200,240,255,0.3);
  text-align: center;
}

.card::before {
  content: '';
  display: block;
  height: 2px;
  border-radius: 2px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.9) 30%, rgba(200,245,255,0.7) 70%, transparent);
}

.mod-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #c0eeff 0%, #60ccf0 35%, #1aa0d8 70%, #0a70b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 5px rgba(0,80,160,0.35));
  margin-bottom: 8px;
}

.mod-version {
  display: inline-block;
  font-size: 0.8rem;
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,80,180,0.5);
  background: linear-gradient(180deg, rgba(120,210,255,0.75) 0%, rgba(30,140,210,0.6) 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 2px 8px rgba(0,100,200,0.3), inset 0 1px 0 rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.mod-desc {
  font-size: 0.95rem;
  color: rgba(0,70,130,0.85);
  line-height: 1.6;
  margin-bottom: 28px;
  text-shadow: 0 1px 2px rgba(180,240,255,0.5);
}

.download-btn {
  display: inline-block;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 30px;
  font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,80,180,0.7);

  background: linear-gradient(180deg,
    rgba(140,220,255,0.95) 0%,
    rgba(60,170,230,0.9)  45%,
    rgba(20,130,210,0.85) 100%);

  border: 1px solid rgba(255,255,255,0.7);
  box-shadow:
    0 4px 16px rgba(0,100,200,0.4),
    0 1px 3px  rgba(0,60,150,0.3),
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -2px 0 rgba(0,100,200,0.25);

  transition: filter 0.15s, transform 0.1s;
  cursor: pointer;
}
.download-btn:hover  { filter: brightness(1.12); transform: translateY(-1px); }
.download-btn:active { filter: brightness(0.96); transform: translateY(1px);  }

.note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: rgba(0,70,130,0.55);
  letter-spacing: 0.5px;
}

/* ---- responsive ---- */
@media (max-width: 560px) {
  .navbar { justify-content: center; }
  iframe { height: 480px; }
}
