/* --- CORE GRID & SCALING --- */
* { box-sizing: border-box; }
body { margin: 0; padding: 0; overflow-x: hidden; width: 100%; }

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}
@media(min-width: 1200px) { .container { max-width: 1400px; } }

.row { 
    display: flex; 
    flex-wrap: wrap; /* Critical for grid wrapping */
    margin-left: -8px; 
    margin-right: -8px; 
}

/* --- POSTER GRID (2 COLUMNS MOBILE) --- */
.col-7-grid { 
    padding: 0 8px; 
    width: 14.285%; 
    flex: 0 0 14.285%;
}
@media(max-width: 1200px) { .col-7-grid { width: 20%; flex: 0 0 20%; } }
@media(max-width: 992px) { .col-7-grid { width: 25%; flex: 0 0 25%; } }

/* FORCED 2-COLUMN MOBILE */
@media(max-width: 768px) { 
    .col-7-grid { 
        width: 50% !important; 
        flex: 0 0 50% !important;
        max-width: 50% !important;
    } 
}

/* --- NAV BAR (FULL WIDTH) --- */
nav {
    width: 100% !important;
    background: #111; /* Match your image color */
    position: sticky;
    top: 0;
    z-index: 1000;
}


@media (max-width: 768px) {
    /* Target the specific image class or the breakout character */
    .char-breakout, 
    .hero-banner img {
        display: none !important;
    }
    
    /* Center the content since the image is gone */
    .hero-content {
        width: 100%;
        text-align: center;
        padding: 40px 20px;
    }
}

/* Makes top bar reach edges on mobile */
/* --- HAMBURGER & MOBILE DRAWER --- */
@media (max-width: 992px) {
    /* Ensure the hamburger stays on top and visible */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 2100;
        position: relative;
        padding: 5px;
    }

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: #fff;
        border-radius: 4px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        display: block; /* Ensures they render */
    }

    /* Animation: This turns the hamburger into an X */
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* The Slide-out Menu */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(11, 10, 26, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex !important;
        flex-direction: column;
        padding: 100px 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 2000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active { right: 0; }

    /* Styling items INSIDE the menu */
    .nav-links a, 
    .nav-links .account-link {
        display: flex !important;
        align-items: center;
        color: #fff !important;
        font-size: 18px;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-decoration: none;
        width: 100%;
        opacity: 1 !important;
        margin: 0 !important;
    }

    /* Hide the original items from the header on mobile */
    .nav-actions > .account-link, 
    .nav-actions .btn-blue { 
        display: none !important; 
    }
}

/* --- PC RECOVERY (Keeps PC layout perfect) --- */
@media (min-width: 993px) {
    .nav-actions { display: flex; align-items: center; }
    .account-link { 
        display: inline-flex !important; 
        margin-right: 20px; 
        opacity: 0.8; 
        font-size: 14px; 
        color: #fff;
        text-decoration: none;
    }
    .menu-toggle { display: none !important; }
}




        /* --- PIXEL PERFECT UI SKIN --- */
        :root {
            --bg-dark: #efefefc5;
            --panel-hex: #ffffff;
            --hh-blue: #0095ff;
            --hh-purple: #1879ff;
            --glass-white: rgb(255, 255, 255);
            --text-dim: #000000;
            --text-banner: #ffffff;
            --hh-roadmap: #5fe009cb;
            --poster-title: #3d8bff;
        }

        body {
    background-color: var(--bg-dark, #0b0a1a); 
    background-image: 
        radial-gradient(circle at 50% -20%, #201b4d 0%, transparent 50%),
        url('https://t4.ftcdn.net/jpg/02/52/46/25/360_F_252462576_koy7njo9iYx6gUcM26IZcDUs9fMKIKJs.jpg');
    
    background-attachment: fixed; 
    background-size: cover; 
    
    color: #ffffffe5;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

      nav {
    padding: 1px 0;
    background: rgba(0, 0, 0, .84);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    position: sticky; top: 0; z-index: 1000;
    margin-bottom: 20px;
}

        .nav-inner { display: flex; align-items: center; justify-content: space-between; }
        .logo-box { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
        
        
        .nav-links a { color: #fff; text-decoration: none; margin-left: 25px; font-size: 14px; font-weight: 500; opacity: 0.7; transition: 0.2s; }
        .nav-links a:hover { opacity: 1; color: var(--hh-blue); }

        .btn-blue { background: var(--hh-blue); color: #fff; padding: 10px 22px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: 0 4px 15px rgba(0, 149, 255, 0.3); }

        .hero-banner {
    background: #000000ee; 
    border-radius: 24px;
    display: flex; 
    overflow: hidden; 
    position: relative;
    justify-content: left;
    min-height: 45px;
    border: 1px solid rgba(68, 0, 0, 0.08);
}

.hero-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-h1 {
    /* Fixed: Changed from 48px to 32px to fit mobile screens */
    font-size: 32px;
    font-weight: 800;
    color: #ffffff; 
    line-height: 1.1;
    margin-bottom: 20px;
    margin-top: 2px;
}

.hero-description {
    color: #a1a1aa;
    font-size: 16px;
    max-width: 450px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.trust-badge {
    color: #10b981; 
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.char-breakout {
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.hero-actions { display: flex; gap: 15px; }

.btn-blue-solid {
    background: #1d79f2;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}


/* Ensure the menu spans are still visible */
.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white; 
    margin: 2px 0;
}


.btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 50px; /* Added 'px' here */
    height: 60px; 
    display: flex;
    align-items: center;
    justify-content: center;
    /* Clean slate: remove everything else */
    background: none; 
    border-radius: 0;
    border: none;
    margin-top: 10px;
}

.logo-img {
    height: 100%; 
    width: auto;
    display: block;
    object-fit: contain;
}

.cart-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #fff;
}

.cart-icon {
    width: 24px;
    height: 24px;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #5fe009; /* Matches your --hh-roadmap variable */
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Optional: subtle border to make it pop against dark backgrounds */
    border: 2px solid #0b0a1a; 
}

        .toolbar { margin: 40px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
        
        .pill-tabs { background: var(--glass-white); padding: 5px; border-radius: 50px; display: flex; border: 1px solid rgba(255,255,255,0.05);
        border-color: #000;
        border-radius: 50px;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
        text-decoration: none;
        padding: 1px 2px;
        opacity: 1px;
     }
        .tab { padding: 8px 20px; border-radius: 50px; color: #000000; text-decoration: none; font-size: 13px; font-weight: 600; }
        .tab.active { background: var(--hh-blue); }

.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
  align-items: left;
  justify-content: left;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.search-bar {
  width: 100%;
  background: var(--glass-white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(90, 91, 93);
  padding: 12px 20px 12px 45px;
  border-radius: 12px; 
  color: #000000;
  opacity: 0.53;
  outline: none;
  font-size: 16px;
  transition: all 0.3s ease; 
}

.search-bar:focus {
  background: rgba(0, 0, 0, 0.027);
  border-color: rgb(0, 0, 0);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.search-bar::placeholder {
  color: rgba(0, 0, 0, 0.6);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%); 
  opacity: 0.4;
  color: #000000;
  pointer-events: none; 
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.search-container:focus-within .search-icon {
  opacity: 0.9;
}

        .poster { margin-bottom: 2px; cursor: pointer; transition: 0.3s cubic-bezier(0.2, 0, 0.2, 1); }
        .poster-box { 
            width: 100%; aspect-ratio: 2/2.8; border-radius: 12px; overflow: hidden; 
            background: #25224d; position: relative; border: 1px solid rgba(255,255,255,0.05);
            margin-bottom: 12px;
        }
        .poster:hover .poster-box { transform: translateY(-10px); border-color: var(--hh-blue); box-shadow: 0 15px 35px rgba(0,0,0,0.5); }
        .poster-box img { width: 100%; height: 100%; object-fit: cover; transition: 0.9s; }
        .poster:hover img { transform: scale(1.15); }

        .platform-icons {
        display: flex;
        gap: 5px;
        margin-bottom: 30px;
        align-items: center;
        justify-content: left;
        }

        .icon-box {
        width: 30px;
        height: 30px;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #8a8d9b;
        }

        .icon-box svg {
        width: 15px;
        height: 15px;
        }

        .ribbon-update { position: absolute; top: 10px; left: 10px; background: #22c55e; color: #fff; font-size: 9px; padding: 4px 8px; border-radius: 4px; font-weight: 800; }
        .ribbon-sale { position: absolute; top: 10px; left: 10px; background: #fbbf24; color: #000; font-size: 9px; padding: 4px 8px; border-radius: 4px; font-weight: 800; }
        .badge-exclusive { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background: #a855f7; color: #fff; font-size: 8px; padding: 3px 10px; border-radius: 50px; font-weight: 800; }

      .game-title { 
        font-weight: 700; 
        font-size: 16px; 
        display: block; 
        margin-top: 15px; 
        color: var(--poster-title);
        }

    .game-price { 
    color: var(--text-dim); 
    font-size: 14px; 
    display: block; 
    margin-top: 5px; 
    margin-bottom: 20px; 
}














/* THIS IS FOR THE FOOTER ONLY */

@media only screen and (max-width: 768px) {
    /* 1. Hide Trustpilot and Desktop Clutter */
    .trustpilot-header, .stars-row, .tagline, .tagline-sub,.tagline2, .tagline-sub2 { 
        display: none !important; 
    }

    /* 2. Style the Dropdown Headers */
.link-col h3 {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center;
        width: 100%;
        cursor: pointer;
        
        /* The "Nicer" separation */
        padding: 18px 5px !important; 
        margin: 0 !important; /* Resetting margins to use borders for spacing */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle divider */
        
        font-size: 16px !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Add a "+" symbol */
   .link-col h3::after {
        content: '+';
        font-size: 22px;
    }

   .link-col h3::after {
        content: '+';
        font-size: 20px;
        color: #fff;
        transition: transform 0.3s ease;
    }


   .link-col h3.active-header::after {
        content: '−';
        transform: rotate(180deg);
    }

    /* 3. HIDE THE LINKS BY DEFAULT */
    /* Removed !important from display: none to allow .active to override it */
   .link-col ul {
    display: none; 
    list-style: none !important;
    margin: 0 !important;
    padding: 10px 0 20px 0 !important; 
    width: 100%;
    }

    /* 4. SHOW THE LINKS WHEN ACTIVE */
    /* This overrides the display: none above */
    .link-col.active ul {
        display: block !important;
    }

  .link-col ul.show-mobile {
    display: block !important;
  }

   .link-col {
        width: 100%;
        text-align: left !important; /* Forces internal text left */
    }

    /* 5. Center Logo and Payments */
    .footer-container { 
        display: flex;
        flex-direction: column !important; 
        align-items: center !important; 
        text-align: center; /* Changed to center for mobile aesthetic */
    }

    .link-col h3:first-child {
        margin-top: 0 !important;
    }

    .link-col ul + h3 {
        margin-top: 15px !important;
    }

    .link-col li {
        width: 100%;
        text-align: left !important; /* Explicitly align text left */
        padding: 10px 0; /* Vertical spacing for tap targets */
    }

    .link-col li a {
        display: block; /* Makes the whole row clickable */
        width: 100%;
        text-align: left !important;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.7);
        font-size: 15px;
    }

        .socials{
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }
     .logo-area {
    display: flex !important;
    justify-content: center !important; /* Centers horizontally */
    align-items: center !important;     /* Centers vertically */
    text-align: center !important;
    
    width: 100%;             /* Occupies full width to allow centering */
    margin: 0 0 20px 0 !important; /* Removes the huge negative margin; adds bottom spacing */
    padding: 0 !important;   /* Ensures no internal padding is offsetting the center */
    
    /* Prevents any parent overflow issues */
    position: relative;
    left: 0;
}

    .payment-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;   /* Keeps them on one line */
        justify-content: center !important;
        align-items: center !important;
        gap: 8px;                       /* Reduced gap to save space */
        width: 100%;
        padding: 10px 0;
        overflow-x: hidden;             /* Hides overflow if they finally fit */
    }

    /* 2. Target the icons specifically */
    .payment-row img, 
    .payment-row svg,
    .payment-row .payment-icon {
        height: 18px !important;        /* Smaller height for mobile */
        width: auto !important;         /* Maintains aspect ratio */
        flex: 0 0 auto !important;      /* Prevents shrinking/squishing */
        opacity: 0.8;                   /* Optional: makes them look cleaner */
        filter: grayscale(0);           /* Ensures they stay in color */
    }

    /* 3. Social Icons adjustment (if they are in a different row) */
    .socials img, .socials svg {
        height: 20px !important;
        width: auto !important;
    }
}


  :root {
    --bg-color: #0c0d10;
    --text-main: #ffffff;
    --text-muted: #a1a1a1;
    --text-dim: #5c5f66;
    --accent-blue: #0099ff;
    --trust-green: #00b67a;
}

body { margin: 0; background-color: var(--bg-color); }

.footer {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 80px 0 40px 0; /* Removed side padding to let max-width handle it */
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* 1. THE MAIN GRID - Balanced and centered */
.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Changed from space-between for better grouping */
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px; /* Controlled spacing between columns */
    padding: 0 40px;
}

/* 2. THE BRAND COLUMN - Keeping your features intact */
.brand-col { 
    flex: 2; /* Slightly larger to accommodate Trustpilot */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-area {
    display: flex;
    align-items: center; 
    margin-left: -12px;
    padding: 12px;
    /* Gap should be slightly larger since we've removed the dead space */
    gap: 1px;           
    margin-bottom: 5px;
}

.footer-logo-img {
    /* Height is the master control; width: auto prevents stretching */
    height: 90px;        
    width: 90px;  
    margin-top: 10px;     
    display: block;
    object-fit: contain;
}

.logo-text {
    color: #ffffff;
    font-size: 42px;    /* Increased size slightly to match the 80px logo height */
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px; /* Tighter tracking for that premium "Komado" look */
    text-transform: uppercase;
    margin: 0;
    line-height: 0.8;    /* Pulls the baseline closer to the center */
}

/* 3. LINK COLUMNS - Symmetrical */
.link-col { 
    flex: 1; 
    min-width: 150px;
}

.link-col h3 { 
    font-size: 16px; 
    font-weight: bold; 
    margin-bottom: 25px; 
    color: white;
    text-transform: uppercase;
}

.link-col ul { list-style: none; padding: 0; margin: 0; }
.link-col li { margin-bottom: 12px; }
.link-col a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 14px; 
    transition: 0.2s; 
}
.link-col a:hover { color: white; }

/* 4. SOCIALS & TRUSTPILOT */
.tagline { color: var(--text-muted); font-size: 14px; font-weight: 600; margin: 0; }
.tagline-sub { color: var(--text-muted); font-size: 14px; margin: 4px 0 25px 0; }

.socials { display: flex; gap: 18px; margin-bottom: 35px; }
.socials svg, .socials img { width: 20px; height: 20px; cursor: pointer; opacity: 0.9; fill: white; }

.trustpilot-header { color: var(--trust-green); font-weight: bold; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; font-size: 18px; }
.stars-row { display: flex; align-items: center; gap: 4px; }
.star-rect { background: var(--trust-green); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.rating-num { font-weight: bold; margin-left: 10px; font-size: 20px; }

/* 5. BOTTOM AREA - Perfectly centered */
.footer-bottom {
    text-align: center;
    padding: 20px;
    background-color: #0b0e11; /* Matching your screenshot */
    color: #8a8d91;
    font-family: sans-serif;
  }
  .payment-label {
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
  }
  .payment-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between icons */
    flex-wrap: wrap;
    margin-bottom: 20px;
  }

/* Restored payment styles from your code */
.pay-icon {
    max-height: 24px; /* Keeps them all the same height */
    width: auto;
    display: block;
    filter: brightness(0.9); /* Subtly blends them into a dark theme */
    transition: filter 0.2s;
  }
  .pay-icon:hover {
    filter: brightness(1.1);
  }
.amex-pill {
    background: #1e2026;
    border-radius: 4px;
    padding: 6px 14px;
    color: #7a7d85;
    font-weight: 900;
    font-size: 14px;
    border: 1px solid #2d2f36;
}

.copyright {
    font-size: 12px;
    opacity: 0.6;
  }


 .tagline2, .tagline-sub2 { color: var(--text-muted); font-size: 14px; font-weight: 600; margin: 0; 
margin: 0; /* Removes the default gap entirely */
    padding: 2px 0; /* Optional: gives you precise control over spacing */
    margin-bottom: 12px;
}

.tagline-sub2 a {
    color: #678aff; /* Replace with your preferred hex color */
    text-decoration: none; /* Optional: removes the underline */
}

.tagline-sub2 a:hover {
    color: #c70039; /* Optional: changes color when you hover over it */
}
.logo-button {
  text-decoration: none;
  color: inherit;
}

.logo-button:visited {
  color: inherit;
}