/* --------------------------------------------------
   GLOBAL PALETTE
-------------------------------------------------- */
:root {
  --root: "/gbgame";
  --bg: #0a0014;
  --bg-alt: #140026;
  --text: #fdf4ff;
  --muted: #caa8ff;
  --accent: #ff2df5;
  --accent2: #4df3ff;
  --accent3: #ffb32d;
  --border: rgba(255,255,255,0.15);
  --max-width: 1100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at top, #1b0033 0, #05000a 55%, #000 100%);
  color: var(--text);
  font-family: system-ui, sans-serif;
  overflow-x: hidden;
}

/* --------------------------------------------------
   WIP BANNER
-------------------------------------------------- */
.wip {
  background: #3d0b2f;
  color: var(--accent3);
  text-align: center;
  padding: 6px;
  font-size: 12px;
  letter-spacing: 0.15em;
  border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------
   NAV
-------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(5,0,20,0.85);
  z-index: 50;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
}

nav > div {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav a:hover {
  color: var(--accent2);
}

/* --------------------------------------------------
   HEADER IMAGE
-------------------------------------------------- */
.presskit-hero img {
  width: 100%;
  border-radius: 12px;
  margin-top: 55px;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
}

/* --------------------------------------------------
   SECTION WRAPPER
-------------------------------------------------- */
.section {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 20px;
}

.section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section p {
  text-align: center;
  color: var(--muted);
  margin-bottom: 40px;
}

/* --------------------------------------------------
   ABOUT SECTION
-------------------------------------------------- */
.about-section {
  margin-top: 40px;
}

.about-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: left;
}

.about-text p {
  margin-bottom: 18px;
}

.about-highlight {
  color: var(--accent2);
}

.about-email-highlight {
  color: var(--accent2);
  font-weight: bold;
}

/* --------------------------------------------------
   SOCIAL BUTTONS
-------------------------------------------------- */
.about-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 30px;
}

.social-btn {
  padding: 10px 18px;
  background: #1a0033;
  border: 1px solid var(--accent2);
  border-radius: 6px;
  color: var(--accent2);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: 0.2s ease;
}

.social-btn:hover {
  background: #25004d;
  transform: scale(1.05);
  box-shadow: 0 0 12px var(--accent2);
}

/* --------------------------------------------------
   COLLAPSABLES
-------------------------------------------------- */
.collapse-toggle {
  display: block;
  width: 100%;
  padding: 12px 18px;
  margin: 30px 0 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0014;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  box-shadow: 0 0 20px var(--accent2), 0 0 40px var(--accent);
  transition: 0.2s ease;
  text-transform: uppercase;
}

.collapse-toggle:hover {
  transform: scale(1.05);
}

.collapse-content {
  display: none;
  margin-top: 20px;
}

.collapse-content.open {
  display: block;
}
/* --------------------------------------------------
   FEATURE BLOCKS
-------------------------------------------------- */
.feature-block {
  margin: 40px 0;
  padding: 20px;
  background: radial-gradient(circle at top, #1b0033, #05000a);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.feature-block h3 {
  margin-bottom: 10px;
  font-size: 20px;
  letter-spacing: 0.1em;
}

.feature-video {
  width: 100%;
  border-radius: 10px;
  margin-top: 15px;
  border: 1px solid var(--accent2);
  box-shadow: 0 0 20px rgba(77,243,255,0.5);
}

/* --------------------------------------------------
   SCREENSHOT GALLERY
-------------------------------------------------- */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.gallery-item {
  width: 260px;
  aspect-ratio: 1232/706;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 18px rgba(0,0,0,0.7);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 28px rgba(77,243,255,0.7);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------
   LIGHTBOX
-------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.lightbox-content {
  position: relative;
  background: #111;
  border-radius: 12px;
  padding: 12px;
}

#lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: 12px;
  border: 2px solid transparent;
  border-image: linear-gradient(
    135deg,
    rgba(255,45,245,0.25),
    rgba(77,243,255,0.25)
  ) 1;
}

.popup-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent);
  font-size: 48px;
  cursor: pointer;
  z-index: 10;
}

.popup-btn.left { left: 10px; }
.popup-btn.right { right: 10px; }

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #111;
  color: var(--accent);
  border: 2px solid transparent;
  border-image: linear-gradient(
    135deg,
    rgba(255,45,245,0.25),
    rgba(77,243,255,0.25)
  ) 1;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 20;
}

/* --------------------------------------------------
   TRAILER
-------------------------------------------------- */
.trailer {
  width: 100%;
  height: 480px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,0,0,0.8);
  margin-top: 20px;
}

/* --------------------------------------------------
   STORE GRID
-------------------------------------------------- */
.store-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 40px;
}

.store-card {
  background: linear-gradient(180deg, #1a0033, #05000a);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 25px rgba(255,45,245,0.4);
  transition: 0.2s ease;
}

.store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(255,45,245,0.7);
}

.store-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.store-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.store-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 15px;
}

.store-price {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent3);
}

.store-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0014;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 16px var(--accent2), 0 0 32px var(--accent);
  transition: 0.2s ease;
  text-transform: uppercase;
  border: none;
}

.store-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 24px var(--accent2), 0 0 48px var(--accent);
}

/* --------------------------------------------------
   CART SECTION
-------------------------------------------------- */
.cart-section {
  max-width: var(--max-width);
  margin: 60px auto;
  padding: 0 20px 60px;
  border-top: 1px solid var(--border);
}

.cart-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart-items {
  margin-top: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #1b0033, #05000a);
  padding: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-name,
.cart-item-price {
  font-size: 14px;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 22px;
  cursor: pointer;
  padding: 0 8px;
  transition: 0.2s ease;
}

.cart-remove:hover {
  color: var(--accent2);
  transform: scale(1.2);
}

.cart-summary {
  margin-top: 20px;
  text-align: right;
  font-size: 16px;
}

.cart-empty {
  text-align: center;
  color: var(--muted);
}
/* --------------------------------------------------
   PRESSKIT SECTION
-------------------------------------------------- */
.presskit-section {
  max-width: var(--max-width);
  margin: 100px auto;
  padding: 0 20px 80px;
  border-top: 1px solid var(--border);
}

/* Two-column layout: fact sheet left, images right */
.fact-sheet-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: start;
}

/* Fact sheet box */
.fact-left {
  width: fit-content;
  max-width: 320px;
  padding: 20px;
  border-radius: 12px;
  background: radial-gradient(circle at top, #1b0033, #05000a);
  border: 1px solid var(--border);
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  text-align: left;
}

.fact-left p {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Short buttons inside fact sheet */
.fact-btn-short {
  display: block;
  width: fit-content;
  padding: 8px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0014;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  box-shadow: 0 0 12px var(--accent2), 0 0 24px var(--accent);
  transition: 0.2s ease;
}

.fact-btn-short:hover {
  transform: scale(1.05);
}

/* --------------------------------------------------
   PRESSKIT IMAGES — 2 per row
-------------------------------------------------- */
.presskit-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Image container */
.presskit-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1232/706;
  border-radius: 10px;
  overflow: hidden;

  /* Your chosen glow style (Style B) */
  box-shadow: 0 0 18px rgba(0,0,0,0.7);
}

/* Image */
.presskit-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* No borders — clean screenshot style */
  border: none !important;
  box-shadow: none !important;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover glow */
.presskit-item:hover {
  box-shadow: 0 0 28px rgba(77,243,255,0.7);
}

.presskit-item:hover img {
  transform: scale(1.05);
}

/* Overlay dimming */
.presskit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.presskit-item:hover .presskit-overlay {
  opacity: 1;
}

/* Overlay text */
.presskit-download-text {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: 0.08em;
}

.presskit-size-text {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* BUTTONS — RESTORE BUY / CHECKOUT STYLE */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0a0014;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-weight: 600;
  box-shadow: 0 0 20px var(--accent2), 0 0 40px var(--accent);
  transition: 0.2s ease;
  text-transform: uppercase;
  cursor: pointer;
}

.steam-widget-align {
  max-width: var(--max-width);
  margin: 30px auto 0;   /* moved down */
  padding-left: 20px;
  display: block;
}

/* Move Direct Purchases button closer to Steam widget */
#store .collapse-toggle[data-target="store-direct"] {
  margin-top: 20px !important;
}

/* Spacing fix for PressKit Fact Sheet buttons */
.fact-left .fact-btn-short {
  margin-top: 25px;      /* push down from the text above */
  margin-bottom: 20px;   /* gap between buttons */
}

/* Sorin D: Temporarily disables the direct purchases button until set up.
   Sorin D: Delete this and enable the Direct Purchases button on line 265 in the gbgamepage HTML file
 */
.collapse-toggle.disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: not-allowed;
  filter: grayscale(100%);
}

/* ============================================================
   ABOUT SECTION — FINAL CORRECT LAYOUT
   ============================================================ */

/* Single‑Player & Multiplayer — centered + purple gradient */
.about-section h3.singleplayer,
.about-section h3.multiplayer {
  font-size: 32px !important;
  text-align: center !important;
  margin-top: 50px !important;
  margin-bottom: 10px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Campaign, Co‑op, etc. — left aligned + white */
.about-section h3.campaign,
.about-section h3.coop,
.about-section h3.othermode {
  color: #ffffff !important;
  font-size: 28px !important;
  text-align: left !important;
  margin-top: 40px !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Description text — left aligned under subtitles */
.about-section .about-text p {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  margin-top: 4px !important;
  margin-bottom: 14px !important;
  max-width: 700px; /* aligns with GIF edge */
}

/* Tight spacing for ABOUT subtitles */
.about-section h3 {
  margin-bottom: 4px !important;
}

/* ============================================================
   ABOUT SECTION — FINAL FIX (Sorin)
   ============================================================ */

/* 1. Single‑Player & Multiplayer — centered + purple gradient */
.about-section h3.singleplayer,
.about-section h3.multiplayer {
  font-size: 32px !important;
  text-align: center !important;
  margin-top: 50px !important;
  margin-bottom: 20px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 2. Campaign + ALL .white subtitles — left aligned + same size */
.about-section h3.campaign,
.about-section h3.white {
  color: #ffffff !important;
  font-size: 24px !important;     /* SAME SIZE for Campaign + Conquest + FFA + Escape + Vehicles & Ships */
  text-align: left !important;
  margin-top: 30px !important;
  margin-bottom: 6px !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 3. Description alignment — FIXED */
.feature-block .about-text {
  max-width: none !important;     /* remove centering width */
  margin: 0 !important;           /* remove auto-centering */
  padding: 0 !important;
  text-align: left !important;    /* ensure left alignment */
}

/* 4. Description paragraphs — spacing */
.feature-block .about-text p {
  margin-top: 4px !important;
  margin-bottom: 14px !important;
  text-align: left !important;
}

/* 5. Ensure subtitles align with GIFs */
.feature-block h3 {
  margin-left: 0 !important;
}

/* Final Multiplayer summary paragraph — force full left alignment */
#about-more .about-text {
  max-width: none !important;
  margin: 0 !important;
}

#about-more .about-text p {
  text-align: left !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Left-align social buttons */
.about-social {
  justify-content: flex-start !important;
}

/* Widen ONLY the two top-level About text blocks */
#about > .about-text {
  max-width: var(--max-width) !important;  /* 1100px */
  margin: 0 !important;                    /* left aligned block */
  text-align: left !important;
}

/* Remove paragraph width limits for these two blocks */
#about > .about-text p {
  max-width: none !important;
  text-align: left !important;
}

/* Keep feature-block descriptions at 700px */
.feature-block .about-text p {
  max-width: 700px !important;
}

/* Make descriptions inside feature blocks match GIF width */
.feature-block .about-text {
  max-width: 100% !important;   /* same width as GIF container */
  margin: 0 !important;         /* left aligned */
  padding: 0 !important;
}

.feature-block .about-text p {
  max-width: 100% !important;   /* allow full GIF width */
  text-align: left !important;
}

/* Fix the multiplayer summary container */
#about-more > .about-text:last-of-type {
  max-width: var(--max-width) !important;   /* 1100px */
  width: 100% !important;
  margin: 0 !important;                     /* left aligned block */
  text-align: left !important;
}

/* Fix the paragraph inside it */
#about-more > .about-text:last-of-type p {
  max-width: none !important;               /* full width */
  text-align: left !important;
}

.verify-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.verify-popup.hidden {
  display: none;
}

.verify-popup-content {
  background: #111;
  padding: 25px;
  border-radius: 10px;
  width: 320px;
  text-align: center;
  border: 2px solid #ff6600;
}

.verify-popup-content h3 {
  margin-top: 0;
  color: #fff;
}

#verify-input {
  width: 100%;
  padding: 10px;
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
}

.verify-buttons button {
  margin: 5px;
  padding: 10px 15px;
  font-size: 16px;
}

#verify-status {
  margin-top: 10px;
  color: #ff6600;
}

/* --------------------------------------------------
   FOOTER
-------------------------------------------------- */
footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  font-size: 13px;
}

.unsubscribe-footer {
  margin-top: 6px; /* perfect 5–10px spacing */
}

.unsubscribe-link {
  color: var(--accent); /* your bright GhostBattalion pink */
  font-size: 13px; /* EXACT same size as footer text */
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  opacity: 0.9; /* subtle professional highlight */
  transition: opacity 0.2s ease;
}

.unsubscribe-link:hover {
  opacity: 1; /* clean highlight, no underline */
}