
/* =========================================================
   INFiNEGAME — COSMIC LIQUID GLASS UI
   Premium Gaming Website Design
   Desktop / Tablet / Mobile
   File: styles.css

   SECTION INDEX
   ---------------------------------------------------------

   GLOBAL & BASE
   SECTION 01 : Global Variables
   SECTION 02 : Reset & Base Styles
   SECTION 03 : Cosmic Wallpaper

   HEADER — LIQUID GLASS
   SECTION 04 : Clear Crystal Glass Header
   SECTION 05 : Header Glass Reflection
   SECTION 06 : Brand Logo
   SECTION 07 : Navigation Container
   SECTION 08 : Navigation Links
   SECTION 09 : Navigation Icons
   SECTION 10 : Navigation Hover Effect
   SECTION 11 : Selected Navigation Glass Pill
   SECTION 12 : Search Bar
   SECTION 13 : Search Bar Hover & Focus
   SECTION 14 : Header Action Buttons
   SECTION 15 : General Button Hover
   SECTION 16 : Keyboard Accessibility

   HEADER — RESPONSIVE
   SECTION 17 : Tablet Responsive
   SECTION 18 : Mobile Responsive
   SECTION 19 : Small Phone Responsive
   SECTION 20 : Touch Screens

   GAMING SHOWCASE — HERO + NEW GAMES
   SECTION 21 : Premium Gaming Showcase
   SECTION 22 : New Games Panel
   SECTION 23 : Showcase Responsive Layout

   CATEGORY BAR — LIQUID GLASS
   SECTION 24 : Expandable Glass Category Bar

   ALL GAMES — GAME COLLECTION
   SECTION 25 : All Games Section
   SECTION 26 : All Games Card Content Design

   TRENDING GAMES — GAME COLLECTION
   SECTION 27 : Trending Games Section

   ALL GAMES — RESPONSIVE
   SECTION 28 : All Games Responsive

   NEW GAMES — RESPONSIVE
   SECTION 29 : New Games Responsive

   TRENDING GAMES — RESPONSIVE
   SECTION 30 : Trending Games Responsive
   
   PREMIUM GLASS FOOTER
   SECTION 31: Glass Footer and Responsive

   ACCESSIBILITY
   Keyboard Focus Indicators

   NOTE:
   Keep header responsive CSS separate from showcase CSS.
   Keep All Games, New Games and Trending Games CSS separate.
   Game card content is populated by app.js.
========================================================= */






/* =========================================================
   SECTION 01: GLOBAL VARIABLES
   Change colors and common values here
========================================================= */

:root {
  color-scheme: dark;

  --text: #f8f7ff;
  --muted: #d0cbea;
  
  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  --accent: #b68aff;
  --accent-blue: #5e85ff;

  --glass-border: rgba(235, 224, 255, 0.42);
  --glass-white: rgba(255, 255, 255, 0.18);

  --glass-surface: rgba(17, 13, 47, 0.25);

  --glow-purple: rgba(164, 103, 255, 0.25);
  --glow-blue: rgba(72, 151, 255, 0.18);

  --header-radius: 27px;
}


/* =========================================================
   SECTION 02: RESET & BASE
========================================================= */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #05051b;
}


body {
  position: relative;
  isolation: isolate;

  min-height: 100vh;
  margin: 0;
  padding: 14px 0 40px;

  overflow-x: hidden;

  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  background: #05051b;
}

/* Headings and game titles use Outfit */
h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.game-title {
  font-family: var(--font-heading);
}

/* Form controls inherit the website font */
button,
input,
textarea,
select {
  font: inherit;
}


button,
a {
  -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   SECTION 03: COSMIC WALLPAPER
   Wallpaper image path:
   /assets/neon-cosmic-light-waves.png
========================================================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;
  z-index: -1;

  pointer-events: none;

  background-color: #05051b;

  background-image:
    linear-gradient(
      180deg,
      rgba(5, 5, 24, 0.04),
      rgba(5, 5, 24, 0.15)
    ),
    url("/assets/neon-cosmic-light-waves.png");

  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* =========================================================
   SECTION 04: CLEAR CRYSTAL GLASS HEADER
   Main header transparency, border and glass blur
========================================================= */

.site-header {
  position: sticky;
  top: 12px;
  z-index: 100;

  isolation: isolate;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  width: calc(100% - 48px);
  max-width: 1460px;
  min-height: 86px;

  margin: 0 auto;
  padding: 12px 18px;

  border: 1px solid var(--glass-border);
  border-radius: var(--header-radius);

  background:
    radial-gradient(
      ellipse at 12% 0%,
      rgba(255, 185, 255, 0.13),
      transparent 43%
    ),
    radial-gradient(
      ellipse at 88% 100%,
      rgba(72, 151, 255, 0.14),
      transparent 46%
    ),
    rgba(17, 13, 47, 0.23);

  -webkit-backdrop-filter: blur(30px) saturate(190%);
  backdrop-filter: blur(30px) saturate(190%);

  box-shadow:
    0 12px 38px rgba(0, 0, 0, 0.15),
    0 0 25px rgba(164, 103, 255, 0.12),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.38),
    inset 0 -1px 1px rgba(168, 139, 255, 0.19);

  transition:
    border-color 250ms ease,
    box-shadow 250ms ease,
    background 250ms ease;
}


/* =========================================================
   SECTION 05: HEADER GLASS REFLECTION
   Gives the header its shiny glass surface
========================================================= */

.site-header::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.15),
    transparent 28%,
    transparent 68%,
    rgba(145, 188, 255, 0.13)
  );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.23);
}


/* =========================================================
   SECTION 06: BRAND LOGO
   Change logo size here
========================================================= */

.site-header .brand {
  display: flex;
  align-items: center;

  flex: 0 1 205px;
  min-width: 0;

  text-decoration: none;
}

.site-header .brand-logo {
  display: block;

  width: 205px;
  max-width: 100%;
  height: 60px;

  flex-shrink: 1;

  object-fit: contain;
  object-position: left center;

  transition:
    transform 220ms ease,
    filter 220ms ease;
}

.site-header .brand:hover .brand-logo {
  transform: scale(1.025);

  filter:
    drop-shadow(0 0 8px rgba(176, 116, 255, 0.28));
}


/* =========================================================
   SECTION 07: NAVIGATION CONTAINER
========================================================= */

.site-header .main-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
  gap: 5px;

  padding: 5px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;

  background: rgba(7, 7, 30, 0.08);
}


/* =========================================================
   SECTION 08: NAVIGATION LINKS
   Home / Games / Categories / Favorites
========================================================= */

.site-header .nav-link {
  position: relative;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  min-height: 50px;
  padding: 0 16px;

  border: 1px solid transparent;
  border-radius: 999px;

  background: transparent;
  color: rgba(246, 243, 255, 0.96);
  
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;
  white-space: nowrap;

  -webkit-tap-highlight-color: transparent;

  transition:
    color 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}


/* =========================================================
   SECTION 09: NAVIGATION ICONS
========================================================= */

.site-header .nav-icon {
  display: block;

  width: 27px;
  height: 27px;
  flex: 0 0 27px;

  object-fit: contain;
  object-position: center;

  filter:
    drop-shadow(0 0 3px rgba(154, 105, 255, 0.25));

  transition:
    transform 220ms ease,
    filter 220ms ease;
}


/* =========================================================
   SECTION 10: NAVIGATION HOVER EFFECT
   Mouse hover: glass shine + glow + slight lift
========================================================= */

.site-header .nav-link:hover {
  color: #ffffff;

  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.17),
    rgba(174, 120, 255, 0.14),
    rgba(80, 150, 255, 0.15)
  );

  border-color: rgba(255, 255, 255, 0.40);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.31),
    0 0 16px rgba(166, 105, 255, 0.20),
    0 0 25px rgba(92, 123, 255, 0.13);

  transform: translateY(-2px);
}

.site-header .nav-link:hover .nav-icon {
  transform: scale(1.10);

  filter:
    drop-shadow(0 0 7px rgba(185, 133, 255, 0.72));
}


/* =========================================================
   SECTION 11: SELECTED NAVIGATION GLASS PILL

   IMPORTANT:
   .active / [aria-current="page"] must be updated by HTML
   or JavaScript for the selected page to change on click.
========================================================= */

.site-header .nav-link.active,
.site-header .nav-link[aria-current="page"] {
  color: #ffffff;

  background: linear-gradient(
    135deg,
    rgba(203, 164, 255, 0.44),
    rgba(94, 118, 255, 0.34)
  );

  border-color: rgba(255, 255, 255, 0.53);

  box-shadow:
    inset 0 1.5px 1px rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 0 17px rgba(169, 102, 255, 0.23),
    0 0 28px rgba(88, 118, 255, 0.13);

  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}

.site-header .nav-link.active .nav-icon,
.site-header .nav-link[aria-current="page"] .nav-icon {
  filter:
    drop-shadow(0 0 6px rgba(202, 163, 255, 0.78));
}

.site-header .nav-link:active {
  transform: scale(0.97);
}


/* =========================================================
   SECTION 12: SEARCH BAR
   Search width, height, font and glass surface
========================================================= */

.site-header .header-search {
  position: relative;
  isolation: isolate;

  display: flex;
  align-items: center;
  gap: 10px;

  flex: 1 1 260px;
  max-width: 370px;
  min-width: 160px;
  height: 51px;

  padding: 0 16px;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.075);

  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.21);

  transition:
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.site-header .search-symbol {
  position: relative;
  z-index: 1;

  flex-shrink: 0;

  color: #ffffff;
  font-size: 27px;
  line-height: 1;

  transition:
    transform 220ms ease,
    text-shadow 220ms ease;
}

.site-header .header-search input {
  position: relative;
  z-index: 1;

  width: 100%;
  min-width: 0;
  padding: 0;

  border: 0;
  outline: 0;

  background: transparent;
  color: #ffffff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
}

.site-header .header-search input::placeholder {
  color: rgba(230, 224, 250, 0.88);
  opacity: 1;
}


/* =========================================================
   SECTION 13: SEARCH BAR HOVER & FOCUS
   Bright edge + glow when hovered or selected
========================================================= */

.site-header .header-search::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 0;

  pointer-events: none;
  border-radius: inherit;

  background: linear-gradient(
    110deg,
    transparent 15%,
    rgba(255, 255, 255, 0.16) 48%,
    transparent 78%
  );

  opacity: 0;

  transition: opacity 240ms ease;
}

.site-header .header-search:hover {
  border-color: rgba(203, 168, 255, 0.85);

  background: rgba(255, 255, 255, 0.12);

  box-shadow:
    0 0 0 1px rgba(183, 136, 255, 0.13),
    0 0 17px rgba(147, 84, 255, 0.24),
    0 0 28px rgba(65, 123, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.27);
}

.site-header .header-search:hover::before {
  opacity: 1;
}

.site-header .header-search:hover .search-symbol,
.site-header .header-search:focus-within .search-symbol {
  transform: scale(1.10);

  text-shadow:
    0 0 10px rgba(202, 163, 255, 0.85);
}

.site-header .header-search:focus-within {
  border-color: rgba(213, 185, 255, 0.97);

  background: rgba(255, 255, 255, 0.14);

  box-shadow:
    0 0 0 3px rgba(158, 99, 255, 0.18),
    0 0 23px rgba(147, 84, 255, 0.27),
    inset 0 1px 0 rgba(255, 255, 255, 0.29);
}

.site-header .header-search input:focus {
  outline: none;
}

.site-header .header-search input {
  caret-color: #d7b5ff;
}


/* =========================================================
   SECTION 14: HEADER ACTION BUTTONS
   Notifications and Log in
========================================================= */

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 9px;

  flex-shrink: 0;
}

.site-header .header-icon,
.site-header .login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;
  padding: 0 15px;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  color: #ffffff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 700;

  cursor: pointer;

  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease,
    filter 220ms ease;
}

.site-header .header-icon {
  min-width: 46px;
  padding: 0 12px;

  background: rgba(255, 255, 255, 0.09);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.21);

  font-size: 20px;
}

.site-header .header-icon:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);

  box-shadow:
    0 0 15px rgba(167, 110, 255, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.site-header .login-button {
  border-color: rgba(225, 202, 255, 0.54);

  background: linear-gradient(
    135deg,
    #914bff,
    #5139df
  );

  box-shadow:
    0 0 20px rgba(123, 70, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.29);

  font-weight: 750;
}

.site-header .login-button:hover {
  transform: translateY(-2px);

  filter: brightness(1.14);

  box-shadow:
    0 5px 23px rgba(124, 72, 255, 0.37),
    inset 0 1px 0 rgba(255, 255, 255, 0.37);
}

.site-header .header-icon:active,
.site-header .login-button:active {
  transform: scale(0.96);
}


/* =========================================================
   SECTION 15: GENERAL BUTTON HOVER
   Applies to other website buttons too
========================================================= */

button,
.explore-button,
.category,
.favorite {
  -webkit-tap-highlight-color: transparent;
}

button,
.explore-button,
.category,
.favorite {
  transition:
    transform 200ms ease,
    filter 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.explore-button:hover,
.category:hover {
  filter: brightness(1.12);
}

.category:hover {
  border-color: rgba(225, 205, 255, 0.58);

  box-shadow:
    0 0 18px rgba(151, 91, 255, 0.19),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.category.active {
  border-color: rgba(231, 214, 255, 0.68);

  box-shadow:
    0 0 22px rgba(151, 91, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

button:active,
.explore-button:active,
.category:active {
  transform: scale(0.97);
}


/* =========================================================
   SECTION 16: KEYBOARD ACCESSIBILITY
========================================================= */

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header input:focus-visible,
button:focus-visible,
.category:focus-visible,
.explore-button:focus-visible {
  outline: 2px solid rgba(213, 182, 255, 0.96);
  outline-offset: 3px;
}









/* =====================================================
   SECTION 21: PREMIUM GAMING SHOWCASE
   CLEAR LIQUID GLASS — HERO + NEW GAMES
===================================================== */

.gaming-showcase {
    width: calc(100% - 64px);
    max-width: 1640px;
    margin: 28px auto 15px;
    display: grid;
    grid-template-columns: minmax(0, 2.05fr) minmax(340px, 1fr);
    gap: 26px;
    align-items: stretch;
}

/* ---------------- HERO BANNER ---------------- */

.gaming-showcase .hero-section {
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
}


/* HERO BANNER — CLEAR GLASS */

.gaming-showcase .hero-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 0;
    height: 100%;

    display: grid;
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 30px;

    padding: 28px 34px;

    border: 1px solid rgba(235, 224, 255, 0.42);
    border-radius: 30px;

    background:
        radial-gradient(
            ellipse at 12% 0%,
            rgba(255, 255, 255, 0.10),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 90% 100%,
            rgba(100, 145, 255, 0.09),
            transparent 48%
        ),
        rgba(255, 255, 255, 0.035);

    /* Less blur = clearer background */
    -webkit-backdrop-filter: blur(4px) saturate(150%);
    backdrop-filter: blur(4px) saturate(150%);

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.16),
        0 0 18px rgba(145, 105, 255, 0.10),
        inset 0 1px 1px rgba(255, 255, 255, 0.30);

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease,
        background 300ms ease;
}

/* Background artwork */
.gaming-showcase .hero-banner::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -2;
    pointer-events: none;

    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;

    opacity: 0.12;
    filter: blur(12px);
    transform: scale(1.08);
}

/* Glass reflection */
.gaming-showcase .hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    border-radius: inherit;

    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.11),
        transparent 30%,
        transparent 72%,
        rgba(150, 185, 255, 0.08)
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}


/* Decorative glass glow */

.gaming-showcase .hero-glass-glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 76% 42%,
            rgba(91, 120, 255, 0.20),
            transparent 44%
        ),
        linear-gradient(
            125deg,
            rgba(255, 255, 255, 0.08),
            transparent 25%
        );
}

/* ---------------- HERO CONTENT ---------------- */

.gaming-showcase .hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;

    min-width: 0;
    width: 100%;
    margin-left: 35px;
}

/* Popular right now label */

.gaming-showcase .hero-eyebrow {
    position: relative;
    z-index: 10;
    isolation: isolate;
    overflow: hidden;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 7px 14px;
    margin: 0 0 20px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    /* Bright golden text */
    color: #ffe8a6;

    /* Golden glass background */
    background:
        linear-gradient(
            115deg,
            rgba(255, 224, 145, 0.16),
            rgba(255, 190, 65, 0.07),
            rgba(255, 245, 195, 0.17)
        );

    border: 1px solid rgba(255, 210, 105, 0.75);
    border-radius: 30px;

    /* Less blur, clearer glass */
    -webkit-backdrop-filter: blur(0px) saturate(190%);
    backdrop-filter: blur(0px) saturate(190%);

    box-shadow:
        0 0 8px rgba(255, 190, 65, 0.28),
        0 0 18px rgba(255, 175, 45, 0.18),
        inset 0 1px 2px rgba(255, 255, 255, 0.42),
        inset 0 -1px 2px rgba(255, 190, 65, 0.20);

    text-shadow:
        0 1px 2px rgba(80, 45, 0, 0.45),
        0 0 8px rgba(255, 220, 130, 0.65);

    transition:
        transform 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease,
        filter 250ms ease;
}

/* Actual text stays in front */
.gaming-showcase .hero-eyebrow .hero-eyebrow-text {
    position: relative;
    z-index: 3;

    display: inline-block;

    color: #fff0bd;
    font-weight: 800;

    text-shadow:
        0 1px 1px rgba(70, 40, 0, 0.65),
        0 0 3px rgba(255, 210, 100, 0.25);

    filter: none;
    opacity: 1;
}

/* Golden glass shine */
.gaming-showcase .hero-eyebrow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background: linear-gradient(
        110deg,
        transparent 15%,
        rgba(255, 255, 255, 0.38) 48%,
        transparent 75%
    );

    opacity: 0.55;
}

/* Golden hover shine */
@media (hover: hover) {
    .gaming-showcase .hero-eyebrow:hover {
        transform: translateY(-2px);
        filter: brightness(1.18);

        border-color: rgba(255, 230, 155, 0.95);

        box-shadow:
            0 0 12px rgba(255, 200, 75, 0.48),
            0 0 25px rgba(255, 175, 45, 0.30),
            inset 0 1px 3px rgba(255, 255, 255, 0.55);
    }
}

/* Hero title */

.gaming-showcase .hero-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 100%;
    line-height: 1.12;
    overflow-wrap: break-word;
    color: #fff;

    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 800;

    margin: 0;

    font-family: var(--font-heading, "Outfit", sans-serif);
    letter-spacing: -1.4px;


    text-shadow:
        0 0 22px rgba(180, 140, 255, 0.24);
}

/* Category */

.gaming-showcase .hero-category {
    display: inline-flex;
    align-items: center;

    font-size: 14px;
    padding: 5px 25px;
    margin: 0;

    border: 1px solid rgba(220, 200, 255, 0.45);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.10);

    color: #f2eaff;
    font-weight: 600;

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

/* Description — maximum 2 lines */

.gaming-showcase .hero-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;

    font-size: 12px;
    line-height: 1.65;

    opacity: 0.88;
    max-width: 440px;

    margin: 0;

    color: rgba(245, 242, 255, 0.91);
}

/* ---------------- PLAY BUTTON ---------------- */

.gaming-showcase .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gaming-showcase .hero-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;
    padding: 7px 24px;
    border-radius: 999px;
    gap: 12px;
    font-family: var(--font-heading, "Outfit"), sans-serif;
    font-size: 17px;
    font-weight: 900;
    margin-top: 2px;

    border: 1px solid rgba(255, 255, 255, 0.65);
    background: rgba(174, 110, 255, 0.22);
    
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);

    color: #fff;
    cursor: pointer;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,0.45),
        0 5px 22px rgba(130,70,255,0.25);

    transition:
        transform 220ms ease,
        filter 220ms ease,
        box-shadow 220ms ease;
}

/* Icon inside play button */
.gaming-showcase .hero-play-button img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.gaming-showcase .hero-play-button:hover {
    transform: translateY(-3px) scale(1.035);
    filter: brightness(1.15);

    box-shadow:
        0 8px 28px rgba(180, 80, 255, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.gaming-showcase .hero-play-button:active {
    transform: scale(0.97);
}

/* Play count */

.gaming-showcase .hero-play-count {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #a4ffdf;
}

.gaming-showcase .hero-play-count img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* ---------------- SLIDER DOTS ---------------- */

.gaming-showcase .hero-dots {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 25px;
}

.gaming-showcase .hero-dots button {
    width: 27px;
    height: 10px;
    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(190, 167, 255, 0.23);
    cursor: pointer;

    transition:
        background 180ms ease,
        width 180ms ease,
        box-shadow 180ms ease;
}

.gaming-showcase .hero-dots button.active,
.gaming-showcase .hero-dots button[aria-current="true"] {
    width: 34px;
    background: #fff;

    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.65);
}

/* ---------------- HERO ARTWORK ---------------- */

.gaming-showcase .hero-visual {
    position: relative;
    z-index: 2;

    min-width: 0;
    min-height: 350px;
    width: 100%;

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

.gaming-showcase .hero-artwork {
    position: relative;

    width: 100%;
    max-width: 280px;

    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;

    justify-self: center;

    overflow: visible;

    padding-top: 35px;
    padding-bottom: 35px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.045);

    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.20),
        0 0 20px rgba(100, 170, 255, 0.10);
        
    transition:
    transform 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

@media (hover: hover) {

    .gaming-showcase .hero-artwork:hover {
        transform: translateY(-6px) scale(1.025);

        border-color: rgba(255, 255, 255, 0.60);

        box-shadow:
            0 14px 32px rgba(0, 0, 0, 0.25),
            0 0 25px rgba(100, 175, 255, 0.28),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
}

.gaming-showcase .hero-artwork-blur {
    position: absolute;
    inset: 0;

    overflow: hidden;
    border-radius: inherit;

    width: 100%;
    height: 100%;

    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;

    opacity: 0.65;
    filter: blur(24px);
}

.gaming-showcase .hero-artwork-image {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: inherit;
    box-sizing: border-box;

    background-image: var(--hero-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: filter 300ms ease;
}

.gaming-showcase .hero-artwork:hover .hero-artwork-image {
        filter: brightness(1.08);
    }

/* Rank badge — hanging glass tag */

.gaming-showcase .hero-rank-badge {
    position: absolute;

    top: 0;
    left: 10px;
    right: auto;
    bottom: auto;

    transform: none;
    z-index: 20;

    min-width: 46px;
    height: 42px;
    padding: 0 10px;

    box-sizing: border-box;

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

    color: #fff;
    font-size: 16px;
    font-weight: 800;

    background: rgba(150, 220, 255, 0.32);

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 0 0 13px 13px;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.25),
        0 0 14px rgba(100, 180, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.40);

    transition:
        filter 250ms ease,
        box-shadow 250ms ease;
}

/* Decorative orbs */

.gaming-showcase .hero-orb {
    position: absolute;
    z-index: -1;

    border-radius: 50%;
    pointer-events: none;

    filter: blur(24px);
}

.gaming-showcase .hero-orb-one {
    top: 8%;
    right: 4%;

    width: 90px;
    height: 90px;

    background: rgba(200, 63, 255, 0.30);
}

.gaming-showcase .hero-orb-two {
    bottom: 7%;
    left: 4%;

    width: 85px;
    height: 85px;

    background: rgba(43, 104, 255, 0.30);
}



/* HERO BANNER HOVER */

@media (hover: hover) {

    .gaming-showcase .hero-banner:hover {
        transform: translateY(-5px);

        border-color: rgba(235, 220, 255, 0.72);

        background:
            radial-gradient(
                ellipse at 12% 0%,
                rgba(255, 255, 255, 0.15),
                transparent 48%
            ),
            rgba(255, 255, 255, 0.065);

        box-shadow:
            0 18px 42px rgba(0, 0, 0, 0.24),
            0 0 30px rgba(160, 110, 255, 0.22),
            inset 0 1px 1px rgba(255, 255, 255, 0.42);
    }
}



/* =====================================================
   SECTION 22: NEW GAMES PANEL
   COMPACT CLEAR LIQUID GLASS
===================================================== */

.new-games-panel {
    position: relative;
    isolation: isolate;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 0;
    height: 100%;

    padding: 15px;

    border: 1px solid rgba(235, 224, 255, 0.48);
    border-radius: 28px;

    background:
        radial-gradient(
            ellipse at 10% 0%,
            rgba(255, 255, 255, 0.13),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 100% 100%,
            rgba(130, 100, 255, 0.12),
            transparent 50%
        ),
        rgba(255, 255, 255, 0.075);

    -webkit-backdrop-filter: blur(12px) saturate(175%);
    backdrop-filter: blur(12px) saturate(175%);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18),
        0 0 22px rgba(140, 105, 255, 0.15),
        inset 0 1.5px 1px rgba(255, 255, 255, 0.38),
        inset 0 -1px 1px rgba(190, 165, 255, 0.16);

    transition:
        border-color 250ms ease,
        box-shadow 250ms ease,
        background 250ms ease,
        transform 250ms ease;
}

/* Glass reflection */

.new-games-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    pointer-events: none;
    border-radius: inherit;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.13),
            transparent 32%,
            transparent 72%,
            rgba(150, 175, 255, 0.10)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Keep content above glass reflection */

.new-games-panel > * {
    position: relative;
    z-index: 1;
}

/* ---------------- HEADING ---------------- */

.new-games-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-bottom: 10px;
    flex-shrink: 0;
}

.new-games-eyebrow {
    display: none;
}

.new-games-heading h2 {
    margin: 0;

    color: #fff;

    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    
    text-shadow:
        0 0 22px rgba(180, 140, 255, 0.24);
}

/* ---------------- GAME CARDS ---------------- */

.new-game-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 27px;
    align-items: center;

    gap: 9px;
    min-width: 0;
    min-height: 64px;

    padding: 5px 8px;

    border: 1px solid rgba(235, 224, 255, 0.35);
    border-radius: 15px;

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.065)
        );

    color: inherit;
    text-decoration: none;

    -webkit-backdrop-filter: blur(8px) saturate(155%);
    backdrop-filter: blur(8px) saturate(155%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 3px 10px rgba(0, 0, 0, 0.10);

    transition:
        transform 220ms ease,
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.new-game-card:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 255, 255, 0.72);

    background:
        linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.23),
            rgba(255, 255, 255, 0.12)
        );

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18),
        0 0 18px rgba(160, 110, 255, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

/* Square thumbnail */

.new-game-thumb {
    width: 56px;
    aspect-ratio: 1 / 1;

    min-width: 0;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 11px;

    background: rgba(0, 0, 0, 0.22);

    box-shadow:
        0 3px 9px rgba(0, 0, 0, 0.18);

    transition:
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.new-game-thumb img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition: transform 250ms ease;
}

.new-game-card:hover .new-game-thumb img {
    transform: scale(1.07);
}

.new-game-card:hover .new-game-thumb {
    border-color: rgba(255, 255, 255, 0.75);

    box-shadow:
        0 0 13px rgba(160, 130, 255, 0.28);
}

/* ---------------- GAME INFORMATION ---------------- */

/* Arrange all text vertically */
.new-game-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}


.new-game-title {
    display: block;
    width: 100%;
    overflow: hidden;

    margin: 0;

    color: #ffffff;

    font-family: var(--font-heading, "Outfit", sans-serif);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    
    overflow-wrap: anywhere;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.new-game-category {
    display: inline-block;

    max-width: 100%;
    overflow: hidden;

    margin: 0;
    padding: 2px 7px;

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(220, 200, 255, 0.35);

    color: #ffffff;
    font-size: 9px;
    line-height: 1.2;

    text-overflow: ellipsis;
    white-space: nowrap;

    transition:
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.new-game-play-count {
    display: flex;
    align-items: center;
    gap: 5px;

    margin: 0;

    color: #70ffd0;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;

}

/* Play count icon size */
.new-game-play-icon {
    display: block;

    width: 15px;
    height: 15px;

    flex: 0 0 15px;
    object-fit: contain;
}

.new-game-badge {
    display: inline-block;

    margin-top: 3px;
    padding: 2px 6px;

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.13);

    color: #eee2ff;
    font-size: 9px;
    font-weight: 700;
}

/* ---------------- CARD ARROW ---------------- */

.new-game-card::after {
    content: "›";

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

    width: 27px;
    height: 27px;

    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.13);

    color: #fff;
    font-size: 23px;
    line-height: 1;

    transition:
        background 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease;
}

.new-game-card:hover::after {
    background: rgba(255, 255, 255, 0.26);
    transform: translateX(3px);

    box-shadow:
        0 0 12px rgba(180, 150, 255, 0.32);
}

/* ---------------- HOVER EFFECTS ---------------- */

@media (hover: hover) {

    /* Hero glass panel */

    .gaming-showcase .hero-banner:hover {
        border-color: rgba(235, 220, 255, 0.68);

        box-shadow:
            0 16px 48px rgba(0, 0, 0, 0.24),
            0 0 32px rgba(160, 110, 255, 0.24),
            inset 0 1.5px 1px rgba(255, 255, 255, 0.45);
    }

    /* New Games glass panel */

    
/* HERO + NEW GAMES: MATCHING GLASS HOVER */

.gaming-showcase .hero-banner,
.gaming-showcase .new-games-panel {
    transition:
        transform 280ms ease,
        border-color 280ms ease,
        box-shadow 280ms ease,
        background 280ms ease;
}

@media (hover: hover) {

    .gaming-showcase .hero-banner:hover,
    .gaming-showcase .new-games-panel:hover {
        transform: translateY(-3px);

        border-color: rgba(235, 220, 255, 0.78);

        box-shadow:
            0 18px 48px rgba(0, 0, 0, 0.25),
            0 0 35px rgba(160, 110, 255, 0.30),
            inset 0 1.5px 1px rgba(255, 255, 255, 0.50),
            inset 0 -1px 1px rgba(190, 165, 255, 0.22);

        background:
            radial-gradient(
                ellipse at 10% 0%,
                rgba(255, 255, 255, 0.17),
                transparent 48%
            ),
            radial-gradient(
                ellipse at 100% 100%,
                rgba(130, 100, 255, 0.16),
                transparent 50%
            ),
            rgba(255, 255, 255, 0.09);
    }
}


    /* Category glass pills */

    .gaming-showcase .hero-category:hover,
    .new-game-category:hover {
        background: rgba(190, 140, 255, 0.25);

        border-color: rgba(255, 255, 255, 0.72);

        box-shadow:
            0 0 13px rgba(170, 120, 255, 0.25);
    }

    /* Rank badge shine */

    .gaming-showcase .hero-artwork:hover .hero-rank-badge {
        filter: brightness(1.2);

        box-shadow:
            0 5px 20px rgba(0, 0, 0, 0.25),
            0 0 20px rgba(100, 210, 255, 0.65),
            inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }
}

/* ---------------- CLICK FEEDBACK ---------------- */

.gaming-showcase button:active,
.new-game-card:active {
    transform: scale(0.98);
}

/* ---------------- ACCESSIBILITY ---------------- */

.gaming-showcase button:focus-visible,
.new-game-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}












/* =====================================================
   SECTION 24: EXPANDABLE GLASS CATEGORY BAR
   Clear Liquid Glass — Matching Hero Banner
===================================================== */


/* CATEGORY SECTION HEADING */

.category-heading {
  max-width: 1640px;
  width: calc(100% - 64px);
  margin: 0 auto 20px;
}

.category-heading h2 {
  font-family: var(--font-heading, "Outfit"), sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 20px 15px;
}



/* Main section positioning */

.category-section {
    width: calc(100% - 64px);
    max-width: 1640px;
    margin: -18px auto 42px;
    min-width: 0;
}

/* Main glass rectangle */

.category-bar {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-width: 0;
    padding: 13px 16px;

    border: 1px solid rgba(235, 224, 255, 0.48);
    border-radius: 25px;

    background:
        radial-gradient(
            ellipse at 10% 0%,
            rgba(255, 255, 255, 0.15),
            transparent 48%
        ),
        radial-gradient(
            ellipse at 100% 100%,
            rgba(130, 100, 255, 0.13),
            transparent 50%
        ),
        rgba(255, 255, 255, 0.065);

    -webkit-backdrop-filter: blur(8px) saturate(175%);
    backdrop-filter: blur(8px) saturate(175%);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.18),
        0 0 22px rgba(140, 105, 255, 0.16),
        inset 0 1.5px 1px rgba(255, 255, 255, 0.38),
        inset 0 -1px 1px rgba(190, 165, 255, 0.18);

    transition:
        transform 280ms ease,
        border-color 280ms ease,
        box-shadow 280ms ease,
        background 280ms ease;
}

/* Glass reflection */

.category-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;

    pointer-events: none;
    border-radius: inherit;

    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15),
        transparent 30%,
        transparent 72%,
        rgba(150, 175, 255, 0.11)
    );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Keep content above reflection */

.category-bar > * {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Main horizontal row */

.category-main-row {
    display: flex;
    align-items: center;
    gap: 9px;

    width: 100%;
    min-width: 0;
    overflow: visible !important;
}

/* Primary categories */

.category-primary-tabs {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 9px;

    min-width: 0;
    overflow: visible;
}

/* Common category tab */

.category-tab-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.category-tab {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    z-index: 1;
    

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    flex: 0 0 auto;
    min-height: 43px;
    padding: 0 17px;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 13px;

    background: rgba(255, 255, 255, 0.085);

    color: #fff;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;

    white-space: nowrap;
    cursor: pointer;

    -webkit-backdrop-filter: blur(12px) saturate(165%);
    backdrop-filter: blur(12px) saturate(165%);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.19);

    transition:
        transform 250ms ease,
        background 250ms ease,
        border-color 250ms ease,
        box-shadow 250ms ease,
        filter 250ms ease;
}

/* Tab shine */

.category-tab::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    pointer-events: none;

    background: linear-gradient(
        110deg,
        transparent 15%,
        rgba(255, 255, 255, 0.20) 48%,
        transparent 78%
    );

    opacity: 0;
    transition: opacity 250ms ease;
}

/* Tab hover */

@media (hover: hover) {
    .category-tab:hover {
        transform: translateY(-3px);
        z-index: 10;

        border-color: rgba(255, 255, 255, 0.75);

        background: linear-gradient(
            120deg,
            rgba(255, 255, 255, 0.22),
            rgba(174, 120, 255, 0.18),
            rgba(80, 150, 255, 0.17)
        );

        box-shadow:
            0 8px 22px rgba(0, 0, 0, 0.18),
            0 0 18px rgba(160, 110, 255, 0.28),
            0 0 28px rgba(92, 123, 255, 0.15),
            inset 0 1px 1px rgba(255, 255, 255, 0.42);
    }

    .category-tab:hover::before {
        opacity: 1;
    }
}

/* Selected category */

.category-tab.active {
    border-color: rgba(255, 255, 255, 0.75);

    background: linear-gradient(
        135deg,
        rgba(203, 164, 255, 0.43),
        rgba(94, 118, 255, 0.34)
    );

    color: #fff;

    box-shadow:
        inset 0 1.5px 1px rgba(255, 255, 255, 0.38),
        0 0 17px rgba(169, 102, 255, 0.25),
        0 0 25px rgba(88, 118, 255, 0.14);
}

/* Category icons */

.category-tab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 17px;
    line-height: 1;
}

/* More button */

.category-more-btn {
    flex: 0 0 auto;
    min-width: 88px;

    background: rgba(155, 115, 255, 0.16);
    border-color: rgba(220, 195, 255, 0.50);
}

.category-more-arrow {
    display: inline-block;
    font-size: 17px;
    line-height: 1;

    transition: transform 250ms ease;
}

.category-more-btn[aria-expanded="true"] .category-more-arrow {
    transform: rotate(180deg);
}

/* Expanded categories */

.category-more-content {
    display: block;

    margin-top: 13px;
    padding-top: 13px;

    border-top: 1px solid rgba(255, 255, 255, 0.17);

    animation: categoryExpand 280ms ease both;
}

/* Hide More when there are no extra categories */
.category-more-content[hidden] {
  display: none !important;
}

.category-extra-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

/* Expand animation */

@keyframes categoryExpand {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main rectangle hover */

@media (hover: hover) {
    .category-bar:hover {
        transform: translateY(-3px);

        border-color: rgba(235, 220, 255, 0.78);

        background:
            radial-gradient(
                ellipse at 10% 0%,
                rgba(255, 255, 255, 0.17),
                transparent 48%
            ),
            radial-gradient(
                ellipse at 100% 100%,
                rgba(130, 100, 255, 0.16),
                transparent 50%
            ),
            rgba(255, 255, 255, 0.09);

        box-shadow:
            0 18px 48px rgba(0, 0, 0, 0.25),
            0 0 35px rgba(160, 110, 255, 0.30),
            inset 0 1.5px 1px rgba(255, 255, 255, 0.50),
            inset 0 -1px 1px rgba(190, 165, 255, 0.22);
    }
}

/* Click feedback */

.category-tab:active {
    transform: scale(0.97);
}

/* Keyboard accessibility */

.category-tab:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1250px) {
    .category-section {
        width: calc(100% - 40px);
    }
}

@media (max-width: 650px) {
    .category-section {
        width: calc(100% - 24px);
        margin-top: -5px;
        margin-bottom: 28px;
    }

    .category-bar {
        padding: 10px;
        border-radius: 21px;
    }

    .category-main-row {
        gap: 7px;
    }

    .category-primary-tabs {
        gap: 7px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .category-primary-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tab {
        min-height: 39px;
        padding: 0 12px;
        font-size: 12px;
    }

    .category-more-btn {
        min-width: 75px;
    }

    .category-extra-tabs {
        gap: 7px;
    }
}








/* =========================================================
   SECTION 25: ALL GAMES SECTION
   Compact Premium Liquid Glass Game Cards
   Desktop: 6 Cards Per Row
========================================================= */

/* Main All Games Section */
.all-games-section {
    width: calc(100% - 64px);
    max-width: 1640px;
    margin: 0 auto 55px;
    margin-top: -22px;
    min-width: 0;
}

/* Section Heading */
.all-games-section .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
    margin-right: 10px;
}

.all-games-section .section-heading-content {
    min-width: 0;
}

.all-games-section .section-eyebrow {
    margin: 0 0 4px;
    color: #c5a5ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.all-games-section .section-heading h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-heading, "Outfit"), sans-serif;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 0 22px rgba(180, 140, 255, 0.24);
}

.all-games-section .section-description {
    margin: 5px 0 0;
    color: rgba(235, 229, 255, 0.72);
    font-size: 12px;
    display: none;
}

/* See All Games Link */
.all-games-section .see-all-games {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 10px 16px;

    border: 1px solid rgba(235, 224, 255, 0.38);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.08);
    color: #e6d7ff;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;

    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);

    transition: transform 220ms ease,
                background 220ms ease,
                border-color 220ms ease,
                box-shadow 220ms ease;
}

.all-games-section .see-all-games:hover {
    transform: translateY(-2px);
    background: rgba(174, 120, 255, 0.19);
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 20px rgba(160, 110, 255, 0.25);
}

/* Games Grid */
.all-games-section .games-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

/* Game Card Base */
.all-games-section .games-grid > * {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;

    border: 1px solid rgba(235, 224, 255, 0.35);
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.045)
        );

    color: #fff;
    text-decoration: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 5px 18px rgba(0, 0, 0, 0.12);

    -webkit-backdrop-filter: blur(10px) saturate(160%);
    backdrop-filter: blur(10px) saturate(160%);

    transition: transform 240ms ease,
                border-color 240ms ease,
                box-shadow 240ms ease,
                background 240ms ease;
}

/* Game Thumbnail */
.all-games-section .games-grid > * img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: rgba(0, 0, 0, 0.16);
}

/* Game Card Hover */
@media (hover: hover) {
    .all-games-section .games-grid > *:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 255, 255, 0.72);

        background:
            linear-gradient(
                135deg,
                rgba(255, 255, 255, 0.19),
                rgba(174, 120, 255, 0.10)
            );

        box-shadow:
            0 12px 28px rgba(0, 0, 0, 0.20),
            0 0 22px rgba(160, 110, 255, 0.23),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
}

/* Loading Message */
.all-games-section .games-loading {
    grid-column: 1 / -1;
    margin: 0;
    padding: 30px 15px;
    text-align: center;
    color: rgba(235, 229, 255, 0.72);
}


/* =========================================================
   SECTION 26: ALL GAMES CARD CONTENT DESIGN
   Compact Category • Favorite • Title • Play Count
========================================================= */

/* Game Card Layout */
.all-games-section .game-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Thumbnail */
.all-games-section .game-card .game-art {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.all-games-section .game-card .game-art > img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Game Information */
.all-games-section .game-card .game-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 7px 8px 8px;
    min-width: 0;
}

/* Category + Favorite Row */
.all-games-section .game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 6px;
}

/* Category Badge */
.all-games-section .game-category-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: calc(100% - 30px);
    padding: 3px 7px;

    border: 1px solid rgba(220, 195, 255, 0.35);
    border-radius: 6px;

    background: rgba(150, 105, 255, 0.18);
    color: #e8d9ff;

    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Favorite Button */
.all-games-section .game-card .favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 18px;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background: transparent !important;
    box-shadow: none !important;

    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color 180ms ease, transform 180ms ease;
}

.all-games-section .game-card .favorite:hover {
    color: #ff75bd;
    transform: scale(1.12);
}

.all-games-section .game-card .favorite.saved {
    color: #ff5ca8;
}

/* Game Title */
.all-games-section .game-card .game-info h3 {
    margin: 0 0 6px;
    padding: 0;

    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Played Count */
.all-games-section .game-card .game-play-count {
    display: flex;
    align-items: center;
    gap: 5px;

    color: rgba(235, 229, 255, 0.78);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.35;

    min-width: 0;
}

/* Play Count Icon */
.all-games-section .games-grid > * .game-play-count img {
    display: block;
    width: 12px;
    height: 12px;
    aspect-ratio: auto;
    object-fit: contain;
    flex: 0 0 12px;
}








/* =========================================================
   SECTION 27: TRENDING GAMES SECTION
   Compact Glass Game Cards
   Desktop: 6 Cards
========================================================= */

.trending-games-section {
    margin-bottom: 35px;
    min-width: 0;
}

/* Trending Grid */
.trending-games-section .games-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
}

/* Trending Card */
.trending-games-section .game-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

/* Game Thumbnail */
.trending-games-section .game-card .game-art {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.trending-games-section .game-card .game-art > img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Card Information */
.trending-games-section .game-card .game-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    padding: 7px 8px 9px;
}

/* Category and Favorite */
.trending-games-section .game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 5px;
}

.trending-games-section .game-category-badge {
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 28px);
    padding: 3px 7px;
    border: 1px solid rgba(220, 195, 255, 0.35);
    border-radius: 6px;
    background: rgba(150, 105, 255, 0.18);
    color: #e8d9ff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
}

.trending-games-section .game-card .favorite {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 20px;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.88);
    font-size: 17px;
    cursor: pointer;
}

.trending-games-section .game-card .favorite.saved {
    color: #ff5ca8;
}

/* Game Title */
.trending-games-section .game-card .game-info h3 {
    margin: 0 0 5px;
    padding: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Played Count */
.trending-games-section .game-card .game-play-count {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(235, 229, 255, 0.78);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.3;
}

.trending-games-section .game-card .game-play-count img {
    display: block;
    width: 12px;
    height: 12px;
    object-fit: contain;
    flex: 0 0 12px;
}











/* =========================================================
   SECTION 17: TABLET RESPONSIVE
   Screens up to 1150px
========================================================= */

@media (max-width: 1150px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header .brand {
    margin-right: auto;
  }

  .site-header .main-nav {
    order: 3;

    flex: 1 0 100%;
    width: 100%;
  }

  .site-header .nav-link {
    flex: 1;
    padding: 0 12px;
  }

  .site-header .header-search {
    flex: 1 1 220px;
    max-width: none;
  }
}


/* =========================================================
   SECTION 18: MOBILE RESPONSIVE
   Screens up to 650px
========================================================= */

@media (max-width: 650px) {
  body {
    padding-top: 8px;
  }

  body::before {
    background-position: center center;
    background-size: cover;
  }

  .site-header {
    position: relative;
    top: auto;

    width: calc(100% - 20px);
    min-height: auto;

    margin: 0 auto;
    padding: 12px;

    gap: 12px;
    border-radius: 22px;

    background:
      radial-gradient(
        ellipse at 10% 0%,
        rgba(255, 185, 255, 0.14),
        transparent 55%
      ),
      rgba(25, 19, 58, 0.35);

    -webkit-backdrop-filter: blur(26px) saturate(180%);
    backdrop-filter: blur(26px) saturate(180%);
  }

  .site-header .brand {
    flex: 1 1 auto;
  }

  .site-header .brand-logo {
    width: 145px;
    height: 44px;
  }

  .site-header .header-actions {
    gap: 6px;
  }

  .site-header .header-icon,
  .site-header .login-button {
    min-height: 38px;
    padding: 0 11px;

    font-size: 13px;
  }

  .site-header .header-icon {
    min-width: 38px;
  }

  .site-header .main-nav {
    order: 3;

    display: flex;
    justify-content: flex-start;
    gap: 5px;

    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;

    padding: 5px;

    overflow-x: auto;
    overscroll-behavior-x: contain;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .site-header .main-nav::-webkit-scrollbar {
    display: none;
  }

  .site-header .nav-link {
    flex: 0 0 auto;

    min-height: 44px;
    padding: 0 12px;
    gap: 7px;

    font-size: 14px;
  }

  .site-header .nav-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .site-header .header-search {
    order: 4;

    flex: 1 0 100%;
    max-width: none;
    min-width: 0;

    height: 44px;
  }

  .site-header .header-search input {
    font-size: 14px;
  }
}


/* =========================================================
   SECTION 19: SMALL PHONE RESPONSIVE
   Screens up to 380px
========================================================= */

@media (max-width: 380px) {
  .site-header {
    padding: 10px;
    gap: 10px;
  }

  .site-header .brand-logo {
    width: 125px;
    height: 38px;
  }

  .site-header .header-actions {
    gap: 5px;
  }

  .site-header .header-icon,
  .site-header .login-button {
    min-height: 35px;
    padding: 0 9px;

    font-size: 12px;
  }

  .site-header .header-icon {
    min-width: 35px;
  }

  .site-header .nav-link {
    padding: 0 10px;
    gap: 6px;

    font-size: 13px;
  }

  .site-header .nav-icon {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .site-header .header-search input {
    font-size: 13px;
  }
}


/* =========================================================
   SECTION 20: TOUCH SCREENS
   Avoid sticky hover effects on mobile devices
========================================================= */

@media (hover: none) {
  .site-header .nav-link:hover,
  .site-header .header-icon:hover,
  .site-header .login-button:hover {
    transform: none;
  }

  .site-header .header-search:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.20);
  }
}






/* =====================================================
   SECTION 23: RESPONSIVE LAYOUT
   Desktop • Tablet • Mobile
===================================================== */

/* ---------------- SMALLER DESKTOP ---------------- */

@media (max-width: 1250px) {

    .gaming-showcase {
        width: calc(100% - 40px);

        grid-template-columns:
            minmax(0, 1.8fr)
            minmax(290px, 1fr);

        gap: 18px;
    }

    .gaming-showcase .hero-banner {
        min-height: 440px;
        padding: 24px;
        gap: 22px;
    }

    .gaming-showcase .hero-content {
        margin-left: 12px;
    }

    .gaming-showcase .hero-title {
        font-size: clamp(30px, 3.2vw, 42px);
    }

    .gaming-showcase .hero-visual {
        min-height: 300px;
    }

    .gaming-showcase .hero-artwork {
        max-width: 260px;
    }
}


/* ---------------- TABLET ---------------- */

@media (max-width: 950px) {

    .gaming-showcase {
        width: calc(100% - 40px);

        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .gaming-showcase .hero-banner {
        min-height: 400px;
        padding: 26px;
    }

    .gaming-showcase .hero-content {
        margin-left: 10px;
    }

    .gaming-showcase .hero-title {
        font-size: clamp(34px, 5vw, 48px);
    }

    .gaming-showcase .hero-visual {
        min-height: 300px;
    }

    .gaming-showcase .hero-artwork {
        max-width: 270px;
    }
}


/* ---------------- SMALL TABLET / LARGE PHONE ---------------- */

@media (max-width: 700px) {

    .gaming-showcase .hero-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding: 22px;
    }

    .gaming-showcase .hero-content {
        width: 100%;
        margin-left: 0;
        order: 1;
    }

    .gaming-showcase .hero-visual {
        order: 0;
        min-height: 0;
        width: 100%;
    }

    .gaming-showcase .hero-artwork {
        width: 100%;
        max-width: 280px;
        aspect-ratio: 1 / 1;
    }

    .gaming-showcase .hero-title {
        font-size: clamp(30px, 7vw, 40px);
    }

    .gaming-showcase .hero-description {
        max-width: 100%;
    }

    .gaming-showcase .hero-dots {
        margin-top: 18px;
    }
}


/* ---------------- MOBILE ---------------- */

@media (max-width: 600px) {

    .gaming-showcase {
        width: calc(100% - 24px);
        margin: 16px auto 30px;
        gap: 15px;
    }

    .gaming-showcase .hero-banner {
        grid-template-columns: minmax(0, 1fr);

        min-height: 0;
        gap: 18px;

        padding: 18px;
        border-radius: 23px;
    }

    .gaming-showcase .hero-content {
        order: 1;
        margin-left: 0;
    }

    .gaming-showcase .hero-visual {
        order: 0;
        min-height: 0;
    }

    /* Square hero thumbnail */

    .gaming-showcase .hero-artwork {
        width: 100%;
        max-width: 280px;

        aspect-ratio: 1 / 1;
        height: auto;
    }

    /* Hanging rank badge */

    .gaming-showcase .hero-rank-badge {
        top: 0;
        left: 10px;
        z-index: 20;
    }

    .gaming-showcase .hero-eyebrow {
        margin-bottom: 12px;
        padding: 7px 11px;
        font-size: 10px;
    }

    .gaming-showcase .hero-title {
        margin-bottom: 4px;

        font-size: clamp(30px, 8.5vw, 40px);
        line-height: 1.12;
        letter-spacing: -0.8px;
    }

    .gaming-showcase .hero-description {
        margin-bottom: 8px;

        font-size: 13px;
        line-height: 1.6;

        -webkit-line-clamp: 2;
    }

    .gaming-showcase .hero-actions {
        gap: 10px;
    }

    .gaming-showcase .hero-play-button {
        min-height: 44px;
        padding: 0 19px;
        font-size: 13px;
    }

    .gaming-showcase .hero-play-count {
        font-size: 12px;
    }

    .gaming-showcase .hero-dots {
        margin-top: 16px;
        gap: 7px;
    }


}


/* ---------------- EXTRA SMALL PHONES ---------------- */

@media (max-width: 360px) {

    .gaming-showcase {
        width: calc(100% - 18px);
    }

    .gaming-showcase .hero-banner {
        padding: 15px;
        gap: 15px;
    }

    .gaming-showcase .hero-artwork {
        max-width: 240px;
    }

    .gaming-showcase .hero-title {
        font-size: 29px;
    }

    .gaming-showcase .hero-description {
        font-size: 12px;
    }

    .gaming-showcase .hero-play-button {
        min-height: 42px;
        padding: 0 16px;
    }
}




/* =========================================================
   SECTION 28: ALL + TRENDING GAMES RESPONSIVE
========================================================= */

/* Laptop */
@media (max-width: 1100px) {
    .all-games-section .games-grid,
    .trending-games-section .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 13px;
    }
}

/* Small Tablet */
@media (max-width: 750px) {
    .all-games-section {
        width: calc(100% - 40px);
    }

    .all-games-section .games-grid,
    .trending-games-section .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .all-games-section {
        width: calc(100% - 24px);
        margin-bottom: 38px;
    }

    .all-games-section .section-heading {
        gap: 10px;
        margin-bottom: 15px;
    }

    .all-games-section .section-heading h2 {
        font-size: 22px;
    }

    .all-games-section .section-description {
        font-size: 11px;
    }

    .all-games-section .see-all-games {
        padding: 8px 10px;
        gap: 5px;
        font-size: 11px;
    }
}




/* =========================================================
   SECTION 29: NEW GAMES RESPONSIVE
   Only New Games Panel
========================================================= */

/* Smaller Desktop */
@media (max-width: 1250px) {
    .new-games-panel {
        padding: 17px;
    }

    .new-game-card {
        grid-template-columns: 52px minmax(0, 1fr) 25px;
        gap: 8px;
    }

    .new-game-thumb {
        width: 52px;
    }

    .new-game-card::after {
        width: 29px;
        height: 29px;
    }
}

/* Tablet */
@media (max-width: 950px) {
    .new-games-panel {
        height: auto;
    }

    .new-game-card {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .new-game-thumb {
        width: 52px;
    }

    .new-game-card::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .new-games-panel {
        padding: 15px;
        border-radius: 22px;
    }

    .new-games-heading {
        margin-bottom: 15px;
    }

    .new-games-heading h2 {
        font-size: 21px;
    }

    .new-games-count {
        min-width: 28px;
        height: 27px;
    }

    .new-game-card {
        grid-template-columns: 72px minmax(0, 1fr) 30px;
        gap: 12px;
        padding: 9px;
        border-radius: 16px;
    }

    .new-game-thumb {
        width: 72px;
        border-radius: 12px;
    }

    .new-game-title {
        font-size: 13px;
    }

    .new-game-card::after {
        display: flex;
        width: 29px;
        height: 29px;
    }
}

/* Extra Small Phones */
@media (max-width: 360px) {
    .new-games-panel {
        padding: 12px;
    }

    .new-game-card {
        grid-template-columns: 62px minmax(0, 1fr) 27px;
        gap: 9px;
    }

    .new-game-thumb {
        width: 62px;
    }

    .new-game-card::after {
        width: 26px;
        height: 26px;
    }
}




/* =========================================================
   SECTION 30: TRENDING GAMES RESPONSIVE
   Desktop • Laptop • Tablet • Mobile
========================================================= */

/* Laptop: 5 Cards */
@media (max-width: 1250px) {
    .trending-games-section .games-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 11px;
    }
}

/* Small Laptop: 4 Cards */
@media (max-width: 1000px) {
    .trending-games-section .games-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }
}

/* Tablet: 3 Cards */
@media (max-width: 750px) {
    .trending-games-section .games-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .trending-games-section .game-card .game-info {
        padding: 6px 7px 8px;
    }

    .trending-games-section .game-card .game-info h3 {
        font-size: 12px;
    }
}

/* Mobile: 2 Cards */
@media (max-width: 520px) {
    .trending-games-section {
        margin-bottom: 28px;
    }

    .trending-games-section .games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}


















/* =========================================================
   SECTION 31: PREMIUM GLASS FOOTER
   Desktop • Tablet • Mobile
========================================================= */

.site-footer {
    width: calc(100% - 64px);
    max-width: 1640px;
    margin: 65px auto 24px;
    padding: 30px 32px 18px;

    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(105, 35, 190, 0.25),
            rgba(15, 35, 130, 0.30),
            rgba(120, 20, 180, 0.20)
        );

    border: 1px solid rgba(220, 195, 255, 0.35);
    border-radius: 25px;

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 28px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
}

.footer-logo img {
    width: 170px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    max-width: 330px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-links a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: rgba(230, 225, 255, 0.75);
    font-size: 12px;
    margin: 0;
}

/* Tablet */
@media (max-width: 750px) {
    .site-footer {
        width: calc(100% - 40px);
        padding: 25px 22px 16px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .site-footer {
        width: calc(100% - 24px);
        margin-top: 40px;
        padding: 22px 17px 15px;
        border-radius: 20px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-logo img {
        width: 145px;
    }

    .footer-brand p {
        font-size: 12px;
    }

    .footer-links h3 {
        font-size: 15px;
    }

    .footer-links a {
        font-size: 11px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .footer-bottom p {
        font-size: 10px;
    }
}


