
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800;900&family=Inter:wght@400;500;600;700;800&display=swap');

/* =========================================
   LEVEL X GAMING ARENA
   COMPLETE WEBSITE STYLESHEET
========================================= */

:root {
  --bg: #080808;
  --bg-soft: #101010;
  --panel: #151515;
  --panel-light: #1d1d1d;
  --line: #35302a;
  --gold: #f5c542;
  --gold-dark: #c79516;
  --text: #ffffff;
  --muted: #b8b8b8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}


/* =========================================
   NAVIGATION BAR
========================================= */

.site-header {
  min-height: 78px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #29241a;
  background: #080808;
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font: 900 30px 'Barlow Condensed', sans-serif;
  letter-spacing: 1.5px;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand span,
h1 span,
h2 span {
  color: var(--gold);
}

/* GAMING ARENA BRAND TEXT */

.site-header .brand small {
  font: 800 10px Inter, sans-serif;
  letter-spacing: 3px;
  color: var(--gold);
  margin-left: 10px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-size: 13px;
  color: #d0d0d0;
  font-weight: 700;
  transition: .2s;
}

nav a:hover,
nav a.active {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--gold);
  font-size: 25px;
  cursor: pointer;
}


/* =========================================
   HOMEPAGE HERO - CENTERED DESIGN
========================================= */

.hero {
  min-height: 675px;
  padding: 55px 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;
  text-align: center;

  background:
    radial-gradient(
      ellipse at 50% 35%,
      rgba(245,197,66,.13),
      transparent 48%
    ),
    linear-gradient(180deg,#0b0b0b,#050505);
}

/* BACKGROUND GEOMETRIC EFFECTS */

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      48deg,
      transparent 30%,
      rgba(245,197,66,.055) 30.2%,
      transparent 43%
    ),
    linear-gradient(
      -48deg,
      transparent 30%,
      rgba(245,197,66,.055) 30.2%,
      transparent 43%
    );
}

/* GOLDEN BOTTOM LIGHT */

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 220px;
  bottom: -160px;
  border-radius: 50%;
  background: rgba(245,197,66,.24);
  filter: blur(80px);
  pointer-events: none;
}

.hero::before {
  left: -150px;
}

.hero::after {
  right: -150px;
}

/* CENTER CONTENT */

.hero-center {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 900px;
  margin: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
}

/* =========================================
   CENTRAL LEVEL X LOGO
========================================= */

.hero-art {
  width: 100%;
  height: auto;
  margin-bottom: 15px;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
}

.orb {
  width: 220px;
  height: 220px;

  border-radius: 50%;
  border: 2px solid var(--gold);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  background: rgba(245,197,66,.025);

  box-shadow:
    0 0 25px rgba(245,197,66,.18),
    inset 0 0 35px rgba(245,197,66,.08);

  transform: rotate(-5deg);

  animation: levelGlow 3s ease-in-out infinite alternate;
}

.orb span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: white;
}

.orb b {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 95px;
  color: var(--gold);
  line-height: .95;
}

/* LOGO GLOW ANIMATION */

@keyframes levelGlow {
  from {
    box-shadow:
      0 0 15px rgba(245,197,66,.15),
      inset 0 0 20px rgba(245,197,66,.04);
  }

  to {
    box-shadow:
      0 0 45px rgba(245,197,66,.30),
      inset 0 0 35px rgba(245,197,66,.10);
  }
}

/* GAMING ARENA LABEL */

.hero-center .hero-tag {
  position: static;
  color: var(--gold);

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 8px;

  margin: 0 0 25px;
}

/* EYEBROW TEXT */

.eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
}

.hero-center .eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  letter-spacing: 5px;
  font-size: 12px;
}

/* MAIN HEADING */

.hero h1,
h1 {
  font: 900 clamp(48px,7vw,88px)/.92 'Barlow Condensed',sans-serif;
  margin: 20px 0;
  text-transform: uppercase;
}

.hero-center h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(55px, 7vw, 88px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: 1px;

  text-align: center;
  margin: 0 0 18px;
}

.hero-center h1 span {
  color: var(--gold);
  font-style: italic;
}

/* HERO DESCRIPTION */

.hero-copy > p:not(.eyebrow),
.section p,
.page > p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 570px;
}

.hero-center .hero-description {
  max-width: 650px;
  color: #c5c5c5;

  font-size: 17px;
  line-height: 1.8;

  margin: 0 auto;
}


/* =========================================
   BUTTONS
========================================= */

.actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.hero-center .actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--gold);
  padding: 14px 22px;

  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;

  cursor: pointer;
  background: transparent;
  color: var(--gold);

  transition: .2s;
}

.btn.primary {
  background: var(--gold);
  color: #080808;
  border-color: var(--gold);
}

.btn.ghost {
  color: #fff;
  border-color: #777;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn.primary:hover {
  box-shadow: 0 8px 25px rgba(245,197,66,.2);
}

.btn.full {
  width: 100%;
}

.btn.compact {
  padding: 9px 12px;
  margin-top: 10px;
}

.hero-center .btn {
  min-width: 160px;
  padding: 16px 24px;
}


/* =========================================
   STATISTICS SECTION
========================================= */

.stats {
  min-height: 145px;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: 0;
  padding: 25px 7%;

  background: linear-gradient(180deg,#111,#080808);

  border-top: 1px solid rgba(245,197,66,.45);
  border-bottom: 1px solid var(--line);
}

.stats div {
  flex: 1;
  display: grid;
  text-align: center;
  gap: 7px;
}

.stats strong {
  font: 800 40px 'Barlow Condensed',sans-serif;
  color: var(--gold);
}

.stats span {
  font-size: 11px;
  color: var(--muted);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section,
.page {
  padding: 75px 9%;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 25px;
}

.section h2,
.page h1 {
  font: 800 46px 'Barlow Condensed',sans-serif;
  margin: 8px 0 18px;
}

.text-link {
  color: var(--gold);
  font-size: 13px;
}


/* =========================================
   CARDS
========================================= */

.cards {
  display: grid;
  gap: 18px;
}

.three {
  grid-template-columns: repeat(3,1fr);
}

.two {
  grid-template-columns: repeat(2,1fr);
}

.four {
  grid-template-columns: repeat(4,1fr);
}

.info-card,
.panel {
  background: linear-gradient(145deg,#191919,#101010);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 25px;
}

.info-card:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}

.info-card h3,
.info-card h2 {
  font: 700 25px 'Barlow Condensed',sans-serif;
  margin: 16px 0 8px;
}

.info-card p {
  font-size: 13px;
}

.pill {
  display: inline-block;
  border: 1px solid var(--gold-dark);
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 9px;
  border-radius: 20px;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 11px;
}


/* =========================================
   SPLIT SECTIONS
========================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.package-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.package-mini div {
  padding: 22px;
  background: #151515;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 8px;
}

.package-mini b {
  font: 800 24px 'Barlow Condensed',sans-serif;
  color: var(--gold);
}

.package-mini span {
  font-size: 11px;
  color: var(--muted);
}


/* =========================================
   FOOTER
========================================= */

footer {
  padding: 35px 9%;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  background: #050505;
}

footer .brand {
  color: #fff;
}

footer .brand small {
  font: 800 9px Inter,sans-serif;
  letter-spacing: 2px;
  color: var(--gold);
}

footer small {
  display: block;
  margin-top: 20px;
}


/* =========================================
   GENERAL PAGE
========================================= */

.page {
  min-height: 70vh;
  padding-top: 65px;
}

.page h1 {
  font-size: 60px;
}


/* =========================================
   BOOKING PAGE
========================================= */

.booking-layout {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 22px;
  margin-top: 30px;
}

.panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 700;
  color: #e0e0e0;
}

input,
select {
  width: 100%;
  background: #090909;
  color: #fff;
  border: 1px solid #494236;
  padding: 13px;
  border-radius: 4px;
  font: 13px Inter,sans-serif;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(245,197,66,.12);
}

input::placeholder {
  color: #777;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.price-box {
  padding: 16px;
  background: #211b0c;
  border: 1px solid #715719;
  border-radius: 6px;
  margin: 8px 0 22px;
}

.price-box div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-box strong {
  font-size: 23px;
  color: var(--gold);
}

.price-box span,
.price-box small {
  color: var(--muted);
  font-size: 11px;
}


/* =========================================
   PAYMENT SECTION
========================================= */

.payment {
  display: flex;
  align-items: center;
  gap: 18px;

  background: #0c0c0c;
  border: 1px solid var(--line);

  padding: 12px;
  border-radius: 7px;
  margin-bottom: 18px;

  overflow: hidden;
}

.payment img {
  width: 135px;
  height: 160px;
  object-fit: contain;
  background: white;
  border-radius: 4px;
}

.payment b {
  font-size: 14px;
  color: var(--gold);
  overflow-wrap: anywhere;
}


/* =========================================
   NOTICES AND MESSAGES
========================================= */

.notice {
  font-size: 11px;
  line-height: 1.6;
  color: #f5d98c;

  background: #28200e;
  border: 1px solid #5b4719;

  padding: 12px;
  border-radius: 5px;
}

.form-message {
  font-size: 12px;
  line-height: 1.6;
}

.availability-list {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.plain-list {
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 25px 0;
}


/* =========================================
   GAME VAULT
========================================= */

.search {
  max-width: 430px;
  margin: 20px 0 28px;
}

.game-grid .info-card {
  min-height: 115px;
}

.game-grid .info-card h3 {
  margin-top: 0;
}

.game-station {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media(max-width:800px) {

  .site-header {
    padding: 0 5%;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;

    position: absolute;
    top: 77px;
    left: 0;
    right: 0;

    padding: 20px;
    background: #080808;

    border-bottom: 1px solid var(--line);

    flex-direction: column;
    gap: 20px;
  }

  nav.open {
    display: flex;
  }

  /* CENTERED HERO */

  .hero {
    min-height: 650px;
    padding: 45px 20px;
  }

  .hero-art {
    height: auto;
  }

  .orb {
    width: 175px;
    height: 175px;
  }

  .orb span {
    font-size: 23px;
  }

  .orb b {
    font-size: 75px;
  }

  .hero-center h1 {
    font-size: 60px;
  }

  .hero-center .hero-description {
    font-size: 15px;
  }

  /* OTHER PAGES */

  .section,
  .page {
    padding: 55px 6%;
  }

  .three,
  .four {
    grid-template-columns: 1fr 1fr;
  }

  .booking-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 25px 4%;
  }

  .stats strong {
    font-size: 30px;
  }
}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media(max-width:520px) {

  .site-header .brand {
    font-size: 23px;
  }

  .site-header .brand small {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .three,
  .two,
  .four,
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* HERO */

  .hero {
    min-height: 620px;
    padding: 40px 15px;
  }

  .hero-art .orb {
    width: 150px;
    height: 150px;
  }

  .hero-art .orb span {
    font-size: 21px;
  }

  .hero-art .orb b {
    font-size: 65px;
  }

  .hero-center h1 {
    font-size: 48px;
  }

  .hero-center .eyebrow {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .hero-center .hero-tag {
    font-size: 10px;
    letter-spacing: 5px;
  }

  .hero-center .actions {
    flex-direction: column;
    width: 85%;
  }

  .hero-center .btn {
    width: 100%;
  }

  /* OTHER SECTIONS */

  .page h1 {
    font-size: 48px;
  }

  .section-head {
    align-items: start;
    gap: 15px;
  }

  .payment {
    align-items: flex-start;
  }

  .payment img {
    width: 112px;
    height: 140px;
  }

  .stats {
    flex-direction: column;
    padding: 20px;
  }

  .stats div {
    width: 100%;
    padding: 18px;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: none;
  }

  .stats span {
    font-size: 9px;
  }
}


/* =========================================
   SMALL BRAND SCREEN FIX
========================================= */

@media(max-width:380px) {

  .site-header .brand small {
    display: none;
  }

  .hero-center h1 {
    font-size: 43px;
  }

  .hero-center .hero-tag {
    letter-spacing: 4px;
  }

}
/* SAME FONT FOR LEVEL X AND GAMING ARENA */

.site-header .brand small,
footer .brand small {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--gold);
    margin-left: 10px;
}/* CENTRAL LEVEL X LOGO */

.hero-art {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}

.hero-art .orb {
    width: 185px;
    height: 185px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    background: radial-gradient(
        circle,
        rgba(245,197,66,0.12),
        rgba(245,197,66,0.02)
    );

    box-shadow:
        0 0 35px rgba(245,197,66,0.20),
        inset 0 0 30px rgba(245,197,66,0.08);
}

.hero-art .orb span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 3px;
}

.hero-art .orb b {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 85px;
    font-weight: 900;
    color: var(--gold);
}@media (max-width: 520px) {

    .site-header .brand small {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .hero-art .orb {
        width: 150px;
        height: 150px;
    }

    .hero-art .orb span {
        font-size: 21px;
    }

    .hero-art .orb b {
        font-size: 68px;
    }
}
.brand img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

.hero-art img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    display: block;
    margin: auto;
}

/* VIEW DETAILS BUTTON */
.details-btn {
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ffd700, #ff9900);
    color: #080b20;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #ffbd00;
}

/* MODAL BACKGROUND */
.tournament-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 15, 0.88);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* MODAL CONTENT */
.tournament-content {
    .tournament-content {
    background: #000000;
    border: 2px solid #ffc400;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 190, 0, 0.3);
}
}

.tournament-content h2 {
    color: #ffd700;
    font-size: 27px;
    margin-bottom: 8px;
}

.tournament-content h3 {
    color: #00cfff;
    margin-bottom: 20px;
}

.tournament-content p {
    margin: 12px 0;
    line-height: 1.6;
}

/* PRIZES */
.prize-box {
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid #ffc400;
    padding: 15px;
    border-radius: 8px;
    color: #ffd700;
    font-weight: bold;
    line-height: 2;
    margin: 20px 0;
}

/* WARNING */
.warning {
    color: #ffbd50;
    font-weight: bold;
}

/* CLOSE BUTTON */
.close-btn {
    position: absolute;
    right: 18px;
    top: 8px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* REGISTER BUTTON */
.register-btn {
    display: inline-block;
    background: #ffc400;
    color: #080b20;
    padding: 13px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 15px;
}

.register-btn:hover {
    background: white;
}

/* FC 26 VIEW DETAILS BUTTON */

.details-btn {
    margin-top: 18px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #ffd700, #ff9900);
    color: #080b20;
    border: none;
    border-radius: 6px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
}

.details-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 18px #ffbd00;
}


/* POPUP BACKGROUND */

.tournament-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    padding: 15px;
}


/* BLACK POPUP */

.tournament-content {
    background: #000000;
    border: 2px solid #ffc400;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    color: white;
    text-align: center;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 190, 0, 0.3);
}

.tournament-content h2 {
    color: #ffd700;
    font-size: 27px;
}

.tournament-content h3 {
    color: #00cfff;
    margin-bottom: 20px;
}

.tournament-content p {
    margin: 12px 0;
    line-height: 1.6;
}


/* PRIZE SECTION */

.prize-box {
    background: #111111;
    border: 1px solid #ffc400;
    padding: 15px;
    border-radius: 8px;
    color: #ffd700;
    font-weight: bold;
    margin: 20px 0;
}


/* WARNING */

.warning {
    color: #ffbd50;
    font-weight: bold;
}


/* CLOSE BUTTON */

.close-btn {
    position: absolute;
    right: 18px;
    top: 8px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

.close-btn:hover {
    color: #ffc400;
}


/* VENUE */

.venue {
    color: #bbbbbb;
    font-size: 14px;
}


/* REGISTER BUTTON */

.register-btn {
    display: inline-block;
    background: #ffc400;
    color: #080b20;
    padding: 13px 20px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 800;
    margin-top: 15px;
}

.register-btn:hover {
    background: white;
}


/* MOBILE RESPONSIVENESS */

@media (max-width: 600px) {

    .tournament-content {
        padding: 25px 18px;
    }

    .tournament-content h2 {
        font-size: 23px;
    }

    .details-btn {
        width: 100%;
    }

}

/* =================================
   LEVEL X - GAME VAULT
================================= */

.game-vault {
    padding-top: 65px;
}

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.vault-controls .search {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    background: #090d1c;
    border: 1px solid #303955;
    color: white;
    border-radius: 8px;
    outline: none;
}

.vault-controls .search:focus {
    border-color: #ffc400;
    box-shadow: 0 0 10px rgba(255,196,0,.2);
}

.game-filter {
    min-width: 180px;
    padding: 14px;
    background: #090d1c;
    color: white;
    border: 1px solid #303955;
    border-radius: 8px;
    cursor: pointer;
}

.game-filter:focus {
    border-color: #ffc400;
}


/* VAULT HEADING */

.vault-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.vault-heading h2 {
    color: #ffc400;
    font-size: 18px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 13px;
}


/* GAME GRID */

.game-grid {
    align-items: stretch;
}

.game-card {
    background: #080b16;
    border: 1px solid #222b43;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #ffc400;
    box-shadow: 0 8px 25px rgba(255,196,0,.15);
}


/* GAME IMAGE */

.game-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #17254b, #080b16);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.06);
}

.image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #18264c, #080b16);
    color: #ffc400;
    font-size: 25px;
    font-weight: 900;
}


/* CATEGORY TAG */

.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.85);
    color: #ffc400;
    padding: 6px 12px;
    border: 1px solid #ffc400;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* GAME INFO */

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
}

.game-info p {
    color: #a8afc1;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.game-platform {
    color: #ffc400;
    font-size: 11px;
    margin: 10px 0;
    letter-spacing: 1px;
}


/* VIEW DETAILS */

.game-details-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #ffc400;
    color: #ffc400;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.game-details-btn:hover {
    background: #ffc400;
    color: #000;
}


/* EMPTY SEARCH */

.no-games {
    text-align: center;
    padding: 60px 15px;
    color: white;
}

.no-games h2 {
    color: #ffc400;
    margin-bottom: 12px;
}


/* =================================
   GAME DETAILS POPUP
================================= */

.game-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.game-modal-content {
    position: relative;
    background: #000;
    border: 2px solid #ffc400;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    color: white;
    box-shadow: 0 0 35px rgba(255,196,0,.15);
}

.game-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    background: #111;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    border-radius: 5px;
    padding: 2px 9px;
}

.game-close:hover {
    color: #ffc400;
}

.modal-game-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 9px;
    margin: 5px 0 20px;
}

.modal-game-category {
    color: #ffc400;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-modal-content h2 {
    font-size: 28px;
    color: #ffc400;
    margin: 12px 0;
}

.game-modal-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin: 12px 0;
}

.modal-game-details {
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.modal-game-details p {
    margin: 8px 0;
}

.modal-game-details strong {
    color: #ffc400;
}


/* MOBILE */

@media (max-width: 600px) {

    .game-vault {
        padding-top: 40px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls .search,
    .game-filter {
        width: 100%;
    }

    .game-image {
        height: 230px;
    }

    .game-modal-content {
        padding: 20px;
    }

    .game-modal-content h2 {
        font-size: 23px;
    }

    .vault-heading h2 {
        font-size: 15px;
    }

}


/* =================================
   LEVEL X - GAME VAULT
================================= */

.game-vault {
    padding-top: 65px;
}

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.vault-controls .search {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    background: #090d1c;
    border: 1px solid #303955;
    color: white;
    border-radius: 8px;
    outline: none;
}

.vault-controls .search:focus {
    border-color: #ffc400;
    box-shadow: 0 0 10px rgba(255,196,0,.2);
}

.game-filter {
    min-width: 180px;
    padding: 14px;
    background: #090d1c;
    color: white;
    border: 1px solid #303955;
    border-radius: 8px;
    cursor: pointer;
}

.game-filter:focus {
    border-color: #ffc400;
}


/* VAULT HEADING */

.vault-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.vault-heading h2 {
    color: #ffc400;
    font-size: 18px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 13px;
}


/* GAME GRID */

.game-grid {
    align-items: stretch;
}

.game-card {
    background: #080b16;
    border: 1px solid #222b43;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #ffc400;
    box-shadow: 0 8px 25px rgba(255,196,0,.15);
}


/* GAME IMAGE */

.game-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #17254b, #080b16);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.06);
}

.image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #18264c, #080b16);
    color: #ffc400;
    font-size: 25px;
    font-weight: 900;
}


/* CATEGORY TAG */

.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.85);
    color: #ffc400;
    padding: 6px 12px;
    border: 1px solid #ffc400;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* GAME INFO */

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
}

.game-info p {
    color: #a8afc1;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.game-platform {
    color: #ffc400;
    font-size: 11px;
    margin: 10px 0;
    letter-spacing: 1px;
}


/* VIEW DETAILS */

.game-details-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #ffc400;
    color: #ffc400;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.game-details-btn:hover {
    background: #ffc400;
    color: #000;
}


/* EMPTY SEARCH */

.no-games {
    text-align: center;
    padding: 60px 15px;
    color: white;
}

.no-games h2 {
    color: #ffc400;
    margin-bottom: 12px;
}


/* =================================
   GAME DETAILS POPUP
================================= */

.game-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.game-modal-content {
    position: relative;
    background: #000;
    border: 2px solid #ffc400;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    color: white;
    box-shadow: 0 0 35px rgba(255,196,0,.15);
}

.game-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    background: #111;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    border-radius: 5px;
    padding: 2px 9px;
}

.game-close:hover {
    color: #ffc400;
}

.modal-game-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 9px;
    margin: 5px 0 20px;
}

.modal-game-category {
    color: #ffc400;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-modal-content h2 {
    font-size: 28px;
    color: #ffc400;
    margin: 12px 0;
}

.game-modal-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin: 12px 0;
}

.modal-game-details {
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.modal-game-details p {
    margin: 8px 0;
}

.modal-game-details strong {
    color: #ffc400;
}


/* MOBILE */

@media (max-width: 600px) {

    .game-vault {
        padding-top: 40px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls .search,
    .game-filter {
        width: 100%;
    }

    .game-image {
        height: 230px;
    }

    .game-modal-content {
        padding: 20px;
    }

    .game-modal-content h2 {
        font-size: 23px;
    }

    .vault-heading h2 {
        font-size: 15px;
    }

}

/* =================================
   LEVEL X - GAME VAULT
================================= */

.game-vault {
    padding-top: 65px;
}

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.vault-controls .search {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    background: #090d1c;
    border: 1px solid #303955;
    color: white;
    border-radius: 8px;
    outline: none;
}

.vault-controls .search:focus {
    border-color: #ffc400;
    box-shadow: 0 0 10px rgba(255,196,0,.2);
}

.game-filter {
    min-width: 180px;
    padding: 14px;
    background: #090d1c;
    color: white;
    border: 1px solid #303955;
    border-radius: 8px;
    cursor: pointer;
}

.game-filter:focus {
    border-color: #ffc400;
}


/* VAULT HEADING */

.vault-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.vault-heading h2 {
    color: #ffc400;
    font-size: 18px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 13px;
}


/* GAME GRID */

.game-grid {
    align-items: stretch;
}

.game-card {
    background: #080b16;
    border: 1px solid #222b43;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #ffc400;
    box-shadow: 0 8px 25px rgba(255,196,0,.15);
}


/* GAME IMAGE */

.game-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #17254b, #080b16);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.06);
}

.image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #18264c, #080b16);
    color: #ffc400;
    font-size: 25px;
    font-weight: 900;
}


/* CATEGORY TAG */

.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.85);
    color: #ffc400;
    padding: 6px 12px;
    border: 1px solid #ffc400;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* GAME INFO */

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
}

.game-info p {
    color: #a8afc1;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.game-platform {
    color: #ffc400;
    font-size: 11px;
    margin: 10px 0;
    letter-spacing: 1px;
}


/* VIEW DETAILS */

.game-details-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #ffc400;
    color: #ffc400;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.game-details-btn:hover {
    background: #ffc400;
    color: #000;
}


/* EMPTY SEARCH */

.no-games {
    text-align: center;
    padding: 60px 15px;
    color: white;
}

.no-games h2 {
    color: #ffc400;
    margin-bottom: 12px;
}


/* =================================
   GAME DETAILS POPUP
================================= */

.game-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.game-modal-content {
    position: relative;
    background: #000;
    border: 2px solid #ffc400;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    color: white;
    box-shadow: 0 0 35px rgba(255,196,0,.15);
}

.game-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    background: #111;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    border-radius: 5px;
    padding: 2px 9px;
}

.game-close:hover {
    color: #ffc400;
}

.modal-game-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 9px;
    margin: 5px 0 20px;
}

.modal-game-category {
    color: #ffc400;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-modal-content h2 {
    font-size: 28px;
    color: #ffc400;
    margin: 12px 0;
}

.game-modal-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin: 12px 0;
}

.modal-game-details {
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.modal-game-details p {
    margin: 8px 0;
}

.modal-game-details strong {
    color: #ffc400;
}


/* MOBILE */

@media (max-width: 600px) {

    .game-vault {
        padding-top: 40px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls .search,
    .game-filter {
        width: 100%;
    }

    .game-image {
        height: 230px;
    }

    .game-modal-content {
        padding: 20px;
    }

    .game-modal-content h2 {
        font-size: 23px;
    }

    .vault-heading h2 {
        font-size: 15px;
    }

}

/* =================================
   LEVEL X - GAME VAULT
================================= */

.game-vault {
    padding-top: 65px;
}

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.vault-controls .search {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    background: #090d1c;
    border: 1px solid #303955;
    color: white;
    border-radius: 8px;
    outline: none;
}

.vault-controls .search:focus {
    border-color: #ffc400;
    box-shadow: 0 0 10px rgba(255,196,0,.2);
}

.game-filter {
    min-width: 180px;
    padding: 14px;
    background: #090d1c;
    color: white;
    border: 1px solid #303955;
    border-radius: 8px;
    cursor: pointer;
}

.game-filter:focus {
    border-color: #ffc400;
}


/* VAULT HEADING */

.vault-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.vault-heading h2 {
    color: #ffc400;
    font-size: 18px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 13px;
}


/* GAME GRID */

.game-grid {
    align-items: stretch;
}

.game-card {
    background: #080b16;
    border: 1px solid #222b43;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #ffc400;
    box-shadow: 0 8px 25px rgba(255,196,0,.15);
}


/* GAME IMAGE */

.game-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #17254b, #080b16);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.06);
}

.image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #18264c, #080b16);
    color: #ffc400;
    font-size: 25px;
    font-weight: 900;
}


/* CATEGORY TAG */

.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.85);
    color: #ffc400;
    padding: 6px 12px;
    border: 1px solid #ffc400;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* GAME INFO */

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
}

.game-info p {
    color: #a8afc1;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.game-platform {
    color: #ffc400;
    font-size: 11px;
    margin: 10px 0;
    letter-spacing: 1px;
}


/* VIEW DETAILS */

.game-details-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #ffc400;
    color: #ffc400;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.game-details-btn:hover {
    background: #ffc400;
    color: #000;
}


/* EMPTY SEARCH */

.no-games {
    text-align: center;
    padding: 60px 15px;
    color: white;
}

.no-games h2 {
    color: #ffc400;
    margin-bottom: 12px;
}


/* =================================
   GAME DETAILS POPUP
================================= */

.game-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.game-modal-content {
    position: relative;
    background: #000;
    border: 2px solid #ffc400;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    color: white;
    box-shadow: 0 0 35px rgba(255,196,0,.15);
}

.game-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    background: #111;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    border-radius: 5px;
    padding: 2px 9px;
}

.game-close:hover {
    color: #ffc400;
}

.modal-game-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 9px;
    margin: 5px 0 20px;
}

.modal-game-category {
    color: #ffc400;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-modal-content h2 {
    font-size: 28px;
    color: #ffc400;
    margin: 12px 0;
}

.game-modal-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin: 12px 0;
}

.modal-game-details {
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.modal-game-details p {
    margin: 8px 0;
}

.modal-game-details strong {
    color: #ffc400;
}


/* MOBILE */

@media (max-width: 600px) {

    .game-vault {
        padding-top: 40px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls .search,
    .game-filter {
        width: 100%;
    }

    .game-image {
        height: 230px;
    }

    .game-modal-content {
        padding: 20px;
    }

    .game-modal-content h2 {
        font-size: 23px;
    }

    .vault-heading h2 {
        font-size: 15px;
    }

}

/* =================================
   LEVEL X - GAME VAULT
================================= */

.game-vault {
    padding-top: 65px;
}

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.vault-controls .search {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    background: #090d1c;
    border: 1px solid #303955;
    color: white;
    border-radius: 8px;
    outline: none;
}

.vault-controls .search:focus {
    border-color: #ffc400;
    box-shadow: 0 0 10px rgba(255,196,0,.2);
}

.game-filter {
    min-width: 180px;
    padding: 14px;
    background: #090d1c;
    color: white;
    border: 1px solid #303955;
    border-radius: 8px;
    cursor: pointer;
}

.game-filter:focus {
    border-color: #ffc400;
}


/* VAULT HEADING */

.vault-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.vault-heading h2 {
    color: #ffc400;
    font-size: 18px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 13px;
}


/* GAME GRID */

.game-grid {
    align-items: stretch;
}

.game-card {
    background: #080b16;
    border: 1px solid #222b43;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #ffc400;
    box-shadow: 0 8px 25px rgba(255,196,0,.15);
}


/* GAME IMAGE */

.game-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #17254b, #080b16);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.06);
}

.image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #18264c, #080b16);
    color: #ffc400;
    font-size: 25px;
    font-weight: 900;
}


/* CATEGORY TAG */

.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.85);
    color: #ffc400;
    padding: 6px 12px;
    border: 1px solid #ffc400;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* GAME INFO */

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
}

.game-info p {
    color: #a8afc1;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.game-platform {
    color: #ffc400;
    font-size: 11px;
    margin: 10px 0;
    letter-spacing: 1px;
}


/* VIEW DETAILS */

.game-details-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #ffc400;
    color: #ffc400;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.game-details-btn:hover {
    background: #ffc400;
    color: #000;
}


/* EMPTY SEARCH */

.no-games {
    text-align: center;
    padding: 60px 15px;
    color: white;
}

.no-games h2 {
    color: #ffc400;
    margin-bottom: 12px;
}


/* =================================
   GAME DETAILS POPUP
================================= */

.game-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.game-modal-content {
    position: relative;
    background: #000;
    border: 2px solid #ffc400;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    color: white;
    box-shadow: 0 0 35px rgba(255,196,0,.15);
}

.game-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    background: #111;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    border-radius: 5px;
    padding: 2px 9px;
}

.game-close:hover {
    color: #ffc400;
}

.modal-game-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 9px;
    margin: 5px 0 20px;
}

.modal-game-category {
    color: #ffc400;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-modal-content h2 {
    font-size: 28px;
    color: #ffc400;
    margin: 12px 0;
}

.game-modal-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin: 12px 0;
}

.modal-game-details {
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.modal-game-details p {
    margin: 8px 0;
}

.modal-game-details strong {
    color: #ffc400;
}


/* MOBILE */

@media (max-width: 600px) {

    .game-vault {
        padding-top: 40px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls .search,
    .game-filter {
        width: 100%;
    }

    .game-image {
        height: 230px;
    }

    .game-modal-content {
        padding: 20px;
    }

    .game-modal-content h2 {
        font-size: 23px;
    }

    .vault-heading h2 {
        font-size: 15px;
    }

}



/* =================================
   LEVEL X - GAME VAULT
================================= */

.game-vault {
    padding-top: 65px;
}

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    flex-wrap: wrap;
}

.vault-controls .search {
    flex: 1;
    min-width: 220px;
    padding: 15px;
    background: #090d1c;
    border: 1px solid #303955;
    color: white;
    border-radius: 8px;
    outline: none;
}

.vault-controls .search:focus {
    border-color: #ffc400;
    box-shadow: 0 0 10px rgba(255,196,0,.2);
}

.game-filter {
    min-width: 180px;
    padding: 14px;
    background: #090d1c;
    color: white;
    border: 1px solid #303955;
    border-radius: 8px;
    cursor: pointer;
}

.game-filter:focus {
    border-color: #ffc400;
}


/* VAULT HEADING */

.vault-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
    gap: 12px;
}

.vault-heading h2 {
    color: #ffc400;
    font-size: 18px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 13px;
}


/* GAME GRID */

.game-grid {
    align-items: stretch;
}

.game-card {
    background: #080b16;
    border: 1px solid #222b43;
    border-radius: 12px;
    overflow: hidden;
    transition: .3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #ffc400;
    box-shadow: 0 8px 25px rgba(255,196,0,.15);
}


/* GAME IMAGE */

.game-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #17254b, #080b16);
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .4s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.06);
}

.image-fallback {
    display: none;
    height: 100%;
    width: 100%;
    place-items: center;
    text-align: center;
    padding: 20px;
    background: linear-gradient(145deg, #18264c, #080b16);
    color: #ffc400;
    font-size: 25px;
    font-weight: 900;
}


/* CATEGORY TAG */

.game-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,.85);
    color: #ffc400;
    padding: 6px 12px;
    border: 1px solid #ffc400;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}


/* GAME INFO */

.game-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-info h3 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
}

.game-info p {
    color: #a8afc1;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}

.game-platform {
    color: #ffc400;
    font-size: 11px;
    margin: 10px 0;
    letter-spacing: 1px;
}


/* VIEW DETAILS */

.game-details-btn {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: transparent;
    border: 1px solid #ffc400;
    color: #ffc400;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.game-details-btn:hover {
    background: #ffc400;
    color: #000;
}


/* EMPTY SEARCH */

.no-games {
    text-align: center;
    padding: 60px 15px;
    color: white;
}

.no-games h2 {
    color: #ffc400;
    margin-bottom: 12px;
}


/* =================================
   GAME DETAILS POPUP
================================= */

.game-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.94);
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.game-modal-content {
    position: relative;
    background: #000;
    border: 2px solid #ffc400;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px;
    color: white;
    box-shadow: 0 0 35px rgba(255,196,0,.15);
}

.game-close {
    position: sticky;
    float: right;
    top: 0;
    z-index: 2;
    background: #111;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    border-radius: 5px;
    padding: 2px 9px;
}

.game-close:hover {
    color: #ffc400;
}

.modal-game-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 9px;
    margin: 5px 0 20px;
}

.modal-game-category {
    color: #ffc400;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: bold;
}

.game-modal-content h2 {
    font-size: 28px;
    color: #ffc400;
    margin: 12px 0;
}

.game-modal-content p {
    color: #c0c0c0;
    line-height: 1.8;
    margin: 12px 0;
}

.modal-game-details {
    background: #101010;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.modal-game-details p {
    margin: 8px 0;
}

.modal-game-details strong {
    color: #ffc400;
}


/* MOBILE */

@media (max-width: 600px) {

    .game-vault {
        padding-top: 40px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .vault-controls .search,
    .game-filter {
        width: 100%;
    }

    .game-image {
        height: 230px;
    }

    .game-modal-content {
        padding: 20px;
    }

    .game-modal-content h2 {
        font-size: 23px;
    }

    .vault-heading h2 {
        font-size: 15px;
    }

}

/* =========================================
   LEVEL X - GAME VAULT
========================================= */

.game-vault {
    padding-top: 70px;
    padding-bottom: 90px;
}

/* Search and Filter */

.vault-controls {
    display: flex;
    gap: 15px;
    margin: 35px 0;
    max-width: 750px;
}

.vault-controls .search {
    flex: 1;
    min-width: 0;
}

.game-filter {
    min-width: 190px;
    padding: 13px 16px;
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    outline: none;
    cursor: pointer;
}

.game-filter:focus,
.vault-controls .search:focus {
    border-color: #d4af37;
}

/* Available Games Heading */

.vault-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 45px 0 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.vault-heading h2 {
    color: #d4af37;
    font-size: 20px;
    letter-spacing: 2px;
}

#gameCount {
    color: #aaa;
    font-size: 14px;
}

/* Game Grid */

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* Individual Game Card */

.game-card {
    background: #111;
    border: 1px solid #292929;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-7px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
}

/* Game Image */

.game-image {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    background: #1b1b1b;
}

.image-fallback {
    width: 100%;
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #171717, #292313);
    color: #d4af37;
    font-size: 24px;
    font-weight: 700;
}

/* Game Information */

.game-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.game-category {
    display: inline-block;
    width: fit-content;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    padding: 5px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.game-info h3 {
    color: #fff;
    font-size: 21px;
    margin-bottom: 10px;
}

.game-info p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.game-platform {
    color: #888;
    font-size: 12px;
    margin-top: auto;
    margin-bottom: 15px;
}

/* View Details Button */

.game-details-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #d4af37;
    border-radius: 6px;
    color: #d4af37;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.game-details-btn:hover {
    background: #d4af37;
    color: #080808;
}

/* No Games Found */

.no-games {
    text-align: center;
    padding: 55px 20px;
}

.no-games h2 {
    color: #d4af37;
    margin-bottom: 10px;
}

.no-games p {
    color: #999;
}

/* =========================================
   GAME DETAILS MODAL
========================================= */

.game-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(7px);
}

.game-modal.active {
    display: flex;
}

.game-modal-content {
    position: relative;
    width: 100%;
    max-width: 750px;
    max-height: 90vh;
    overflow-y: auto;
    background: #111;
    border: 1px solid #d4af37;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
}

.game-close {
    position: absolute;
    top: 12px;
    right: 17px;
    z-index: 2;
    width: 38px;
    height: 38px;
    background: #222;
    border: 1px solid #444;
    border-radius: 50%;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.game-close:hover {
    background: #d4af37;
    color: #000;
}

.modal-game-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 9px;
    margin-bottom: 20px;
}

.modal-game-category {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
}

.modal-game-details h2 {
    color: #fff;
    font-size: 30px;
    margin: 12px 0;
}

.modal-game-details p {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 15px;
}

.modal-game-details a {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 22px;
    background: #d4af37;
    color: #080808;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 1000px) {
    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .game-image,
    .image-fallback {
        height: 160px;
    }

    .game-info {
        padding: 14px;
    }

    .game-info h3 {
        font-size: 17px;
    }

    .vault-controls {
        flex-direction: column;
    }

    .game-filter {
        width: 100%;
    }
}

@media (max-width: 450px) {
    .game-grid {
        grid-template-columns: 1fr;
    }

    .game-image,
    .image-fallback {
        height: 220px;
    }

    .vault-heading h2 {
        font-size: 16px;
    }

    .game-modal-content {
        padding: 18px;
    }
}



/* LEVEL X - HEADER AND FOOTER BRAND FIX */

.site-header .brand,
.site-footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-header .brand img,
.site-footer .brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-name {
    display: inline-flex;
    flex-direction: column;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 1px;
    white-space: nowrap;
}

.brand-name span {
    color: #f5c542;
    font-size: 11px;
    letter-spacing: 2px;
    margin-top: 4px;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header nav a {
    text-decoration: none;
    white-space: nowrap;
}

.site-footer .footer-brand {
    justify-content: center;
    margin-bottom: 18px;
}

.site-footer a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
}

.hero-art img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    display: block;
    margin: auto;
}

@media (max-width: 768px) {
    .site-header .brand img {
        width: 45px;
        height: 45px;
    }

    .site-header .brand-name {
        font-size: 16px;
    }

    .site-header .brand-name span {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .site-header nav:not(.open) {
        display: none;
    }

    .site-header nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-art img {
        width: min(240px, 75vw);
        height: auto;
    }
}

/* LEVEL X - TEXT BRANDING */

.site-header .levelx-brand,
.site-footer .levelx-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0;
}

.levelx-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    white-space: nowrap;
}

.levelx-brand-text strong {
    color: #f5c542;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.levelx-brand-text small {
    color: #f5c542;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-top: 5px;
}

.site-footer .footer-brand {
    justify-content: center;
}

@media (max-width: 768px) {
    .levelx-brand-text strong {
        font-size: 21px;
    }

    .levelx-brand-text small {
        font-size: 9px;
        letter-spacing: 2.5px;
    }
}
/* LEVEL X - TEXT BRANDING */

.site-header .levelx-brand,
.site-footer .levelx-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 0;
}

.levelx-brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    white-space: nowrap;
}

.levelx-brand-text strong {
    color: #f5c542;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.levelx-brand-text small {
    color: #f5c542;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-top: 5px;
}

.site-footer .footer-brand {
    justify-content: center;
}

@media (max-width: 768px) {
    .levelx-brand-text strong {
        font-size: 21px;
    }

    .levelx-brand-text small {
        font-size: 9px;
        letter-spacing: 2.5px;
    }
}
.hero-logo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 280px;
    font-size: clamp(55px, 10vw, 110px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 4px;
}

.hero-logo-text span {
    color: #f5c542;
    margin-left: 12px;
}

/* LEVEL X GAMING ARENA - EXACT WORDMARK STYLE */

.site-header .levelx-wordmark,
.site-footer .levelx-wordmark {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    line-height: 1;
    flex-shrink: 0;
}

.levelx-wordmark .wordmark-level {
    color: #ffffff;
    font-size: 31px;
    font-weight: 1000;
}

.levelx-wordmark .wordmark-x {
    color: #ffc629;
    font-size: 31px;
    font-weight: 1000;
}

.levelx-wordmark .wordmark-gaming {
    color: #ffc629;
    font-size: 31px;
    font-weight: 1000;
}

.levelx-wordmark .wordmark-arena {
    color: #ffc629;
    font-size: 31px;
    font-weight: 1000;
}

.site-footer .levelx-wordmark {
    justify-content: center;
    margin: 0 auto 20px;
}

@media (max-width: 600px) {
    .levelx-wordmark .wordmark-level,
    .levelx-wordmark .wordmark-x,
    .levelx-wordmark .wordmark-gaming,
    .levelx-wordmark .wordmark-arena {
        font-size: clamp(15px, 4.2vw, 24px);
    }

    .site-header .levelx-wordmark {
        gap: 3px;
    }
}

