/* ==========================================================================
   GameStore — HTML/CSS demo of the WordPress theme
   ========================================================================== */

:root {
  --bg: #0e0d10;
  --bg-2: rgba(250, 250, 250, 0.03);
  --bg-3: #16151a;
  --text: #fafafa;
  --text-2: rgba(250, 250, 250, 0.68);
  --text-3: rgba(250, 250, 250, 0.45);
  --line: rgba(250, 250, 250, 0.09);
  --primary: #3dafe2;
  --secondary: #6f76c0;
  --gradient: linear-gradient(90deg, #3dafe2 0%, #6f76c0 100%);
  --glow: 0 10px 34px -8px rgba(61, 175, 226, 0.65);
  --radius: 8px;
  --wrap: 1540px;
  --gutter: clamp(16px, 3vw, 48px);
  --font: "Urbanist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrapper {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 7vw, 112px) 0 0; }

.icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Typography helpers ---------- */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 600; line-height: 1.15; }
.section-head p { margin-top: 16px; color: var(--text-2); }

.row-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.row-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 600; line-height: 1.15; }
.row-head h2 span { color: var(--primary); }
.row-head .actions { display: flex; align-items: center; gap: 12px; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px; border-radius: 4px; border: 0; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gradient); color: #fff; box-shadow: var(--glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -6px rgba(61, 175, 226, 0.8); }
.btn-outline {
  background: transparent; box-shadow: none; border: 1px solid var(--line); color: var(--text);
}
.btn-outline:hover { border-color: var(--primary); box-shadow: none; }
.btn-light { background: var(--text); color: var(--bg); box-shadow: none; }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 11px; }
.btn-block { width: 100%; }

.arrow-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--gradient); color: #fff; cursor: pointer; box-shadow: var(--glow);
}
.arrow-btn .icon { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 13, 16, 0.72);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrapper { display: flex; align-items: center; gap: 40px; min-height: 84px; }
.logo img { width: 180px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-right: auto; }
.main-nav a {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.header-tools { display: flex; align-items: center; gap: 20px; }
.header-tools .tool { position: relative; color: var(--text-2); display: grid; place-items: center; }
.header-tools .tool:hover { color: var(--text); }
.cart-count {
  position: absolute; top: -8px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 10px; background: var(--gradient); color: #fff; font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
}
.member-btn {
  border: 1px solid var(--line); border-radius: 4px; padding: 10px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.member-btn:hover { border-color: var(--primary); }
.nav-toggle, .nav-burger { display: none; }

/* News dropdown */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 6px; }
.caret { width: 12px; height: 12px; transition: transform 0.2s; }
.has-sub:hover .caret { transform: rotate(180deg); }
.submenu {
  position: absolute; top: 100%; left: -20px; min-width: 340px; padding: 10px 0; margin-top: 18px;
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.2s ease;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.main-nav .submenu a {
  display: block; padding: 12px 20px; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; line-height: 1.4;
}
.main-nav .submenu a:hover { background: var(--bg-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(520px, 82vh, 820px); display: flex; align-items: center;
  background-size: cover; background-position: center; isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 13, 16, 0.92) 0%, rgba(14, 13, 16, 0.55) 45%, rgba(14, 13, 16, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14, 13, 16, 0) 35%);
}
.hero-video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-content { max-width: 680px; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem); font-weight: 700; line-height: 1.08; }
.hero h1 span { color: var(--primary); }
.hero p { margin: 22px 0 34px; font-size: 1.125rem; color: var(--text-2); }
.hero-badges { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative; padding: clamp(80px, 9vw, 140px) 0 clamp(56px, 6vw, 96px); text-align: center;
  background-size: cover; background-position: center; isolation: isolate;
}
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14, 13, 16, 0.78) 0%, rgba(14, 13, 16, 0.86) 70%, var(--bg) 100%);
}
.page-header h1 { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 700; line-height: 1.1; }
.page-header p { max-width: 720px; margin: 16px auto 0; color: var(--text-2); }
.page-header .chips { justify-content: center; margin-top: 36px; }
.breadcrumbs { display: flex; gap: 8px; justify-content: center; margin-bottom: 18px; font-size: 13px; color: var(--text-3); }
.breadcrumbs a:hover { color: var(--primary); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border: 1px solid var(--line); border-radius: 6px;
  background: rgba(14, 13, 16, 0.5); font-size: 14px; transition: border-color 0.2s, color 0.2s;
}
.chip:hover, .chip.active { border-color: var(--primary); color: var(--primary); }
.chip.upper { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.chip .icon { color: var(--primary); width: 16px; height: 16px; }
.chip-sm { padding: 5px 12px; font-size: 12px; border-radius: 20px; background: var(--bg-2); }

/* ---------- Brands marquee ---------- */
.brands { padding: 40px 0; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: clamp(48px, 6vw, 96px); padding-right: clamp(48px, 6vw, 96px); }
.brands img { height: 40px; width: auto; opacity: 0.85; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Games line (moving covers) ---------- */
.games-line { padding: 40px 0 0; overflow: hidden; }
.games-line .marquee { animation-duration: 60s; }
.games-line .marquee-group { gap: 16px; padding-right: 16px; }
.games-line img { width: 270px; height: 360px; object-fit: cover; border-radius: var(--radius); }

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.news-card {
  position: relative; display: flex; flex-direction: column; text-align: center;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.news-card::before { content: ""; height: 6px; background: var(--gradient); }
.news-card h3 { padding: 26px 24px 20px; font-size: 1.6rem; font-weight: 600; line-height: 1.25; color: var(--primary); }
.news-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body { padding: 24px 28px 32px; display: flex; flex-direction: column; gap: 22px; align-items: center; flex: 1; }
.news-card .body p { color: var(--text-2); font-size: 15px; }
.news-card .meta { display: flex; gap: 14px; justify-content: center; }
.news-card .btn { margin-top: auto; }

/* ---------- Game cards ---------- */
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 20px 16px; }
.game-card { display: flex; flex-direction: column; gap: 8px; }
.game-card .cover { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); }
.game-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.game-card:hover .cover img { transform: scale(1.06); }
.game-card .price { margin-top: 6px; font-size: 13px; letter-spacing: 0.08em; color: var(--secondary); }
.game-card .price del { color: var(--text-3); margin-right: 6px; }
.game-card h3 { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-card:hover h3 { color: var(--primary); }
.badge {
  position: absolute; top: 12px; left: 12px; padding: 3px 10px; border-radius: 4px;
  background: var(--gradient); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.badge.static { position: static; display: inline-block; }
.platforms { display: flex; gap: 8px; color: var(--secondary); }
.platforms .icon { width: 15px; height: 15px; }

/* Horizontal scrolling row */
.scroll-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin;
  scrollbar-color: var(--secondary) transparent;
}
.scroll-row > * { scroll-snap-align: start; }

/* ---------- New releases ---------- */
.releases { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.release-main, .release-list {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.release-main { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.release-main .cover { position: relative; border-radius: var(--radius); overflow: hidden; }
.release-main .cover img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.release-main h3 { margin: 12px 0 14px; font-size: 1.75rem; font-weight: 600; }
.release-main p { color: var(--text-2); font-size: 15px; }
.release-main .platforms { margin: 16px 0 10px; }
.release-main .price { color: var(--secondary); letter-spacing: 0.08em; margin-bottom: 24px; }
.release-list { display: flex; flex-direction: column; padding: 8px 24px; }
.release-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center; padding: 16px 0; }
.release-item + .release-item { border-top: 1px solid var(--line); }
.release-item img { width: 64px; height: 84px; object-fit: cover; border-radius: 6px; }
.release-item h4 { font-size: 15px; font-weight: 700; }
.release-item .date { margin: 4px 0 6px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.release-item .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.release-item .right .price { color: var(--secondary); font-size: 14px; letter-spacing: 0.08em; }
.release-item:hover h4 { color: var(--primary); }

/* ---------- CTA ---------- */
.cta {
  position: relative; margin-top: clamp(80px, 9vw, 140px); padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line); border-radius: var(--radius); isolation: isolate;
  background:
    radial-gradient(ellipse at 85% 60%, rgba(160, 20, 30, 0.45) 0%, rgba(14, 13, 16, 0) 60%),
    linear-gradient(90deg, rgba(20, 14, 18, 1) 0%, rgba(40, 14, 20, 1) 100%);
}
.cta-content { max-width: 640px; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; line-height: 1.15; }
.cta p { margin: 18px 0 32px; color: var(--text-2); }
.cta .buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-image {
  position: absolute; right: 2%; bottom: 0; width: min(46%, 560px); z-index: 0;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.filters {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  position: sticky; top: 108px;
}
.filter-group + .filter-group { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.filter-group h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.filter-group label { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; color: var(--text-2); cursor: pointer; }
.filter-group label:hover { color: var(--text); }
input[type="checkbox"], input[type="radio"] { accent-color: var(--primary); width: 16px; height: 16px; margin: 0; }
.filters details {
  border: 1px solid var(--line); border-radius: 6px; padding: 0 16px; margin-top: 12px;
}
.filters summary {
  padding: 14px 0; cursor: pointer; font-size: 14px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.filters summary::-webkit-details-marker { display: none; }
.filters summary::after { content: "⌄"; color: var(--text-3); }
.filters details[open] summary::after { content: "⌃"; }
.filters details label { padding: 4px 0 4px; }
.filters details > div { padding-bottom: 12px; }
.filters .btn { margin-top: 24px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 14px; }
select, .input {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 12px 16px; min-height: 48px; width: 100%;
  outline: none; transition: border-color 0.2s;
}
select:focus, .input:focus { border-color: var(--primary); }
.sort select { width: auto; min-width: 200px; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
.load-more .btn { min-width: 240px; }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 48px; }
.pagination a, .pagination span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700;
  background: var(--bg-3); border: 1px solid var(--line);
}
.pagination .current { background: var(--gradient); border: 0; }
.pagination a:hover { border-color: var(--primary); }

/* ---------- Single product ---------- */
.product { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 4vw, 64px); padding-top: 48px; align-items: start; }
.product-media { position: sticky; top: 108px; }
.product-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.product-media .platforms { justify-content: center; margin-top: 18px; color: var(--text); gap: 18px; }
.product-media .platforms .icon { width: 20px; height: 20px; }
.product-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.product h1 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 700; line-height: 1.1; }
.product .esrb { width: 64px; flex-shrink: 0; }
.product .chips { margin: 24px 0; }
.product .lead { color: var(--text-2); font-size: 17px; }
.specs { margin: 28px 0; }
.specs div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; text-align: right; }
.specs dd a { color: var(--secondary); margin-left: 12px; }
.specs dd a:hover { color: var(--primary); }
.buy { display: flex; align-items: center; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.buy .price { font-size: 1.75rem; font-weight: 700; }
.buy .price del { font-size: 1rem; color: var(--text-3); margin-right: 8px; font-weight: 400; }
.content { padding-top: 32px; color: var(--text-2); }
.content h2 { margin: 40px 0 16px; color: var(--text); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.content h3 { margin-bottom: 12px; color: var(--text); font-size: 1.25rem; font-weight: 700; }
.content p + p { margin-top: 16px; }
.content img { border-radius: var(--radius); margin: 32px 0; width: 100%; }
.content blockquote {
  margin: 32px 0; padding: 24px 28px; border-left: 4px solid var(--primary); background: var(--bg-2);
  border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); font-size: 1.15rem;
}

/* ---------- Single news ---------- */
.article { max-width: 880px; margin: 0 auto; }
.article-meta { display: flex; justify-content: center; gap: 18px; margin-top: 22px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-cover { margin-top: -24px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.share { display: flex; gap: 12px; align-items: center; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }

.article-header { text-align: left; }
.article-header .breadcrumbs, .article-header .article-meta { justify-content: flex-start; }
.share-bar { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; }
.share-bar .eyebrow { margin-right: 6px; }
.share-btn {
  width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center;
  background: var(--secondary); color: #fff; transition: background 0.2s;
}
.share-btn:hover { background: var(--primary); }
.share-btn .icon { width: 16px; height: 16px; }
.content .list { margin: 20px 0; display: flex; flex-direction: column; gap: 10px; }
.content .list li { position: relative; padding-left: 24px; }
.content .list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gradient);
}
.content strong { color: var(--text); }

/* ---------- Info sections (services / help) ---------- */
.info-list-wrap { display: flex; flex-direction: column; gap: clamp(56px, 6vw, 96px); padding-top: clamp(40px, 5vw, 72px); }
.info-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1200px; margin: 0 auto; width: 100%; }
.info-section.reverse .info-text { order: 2; }
.info-text h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 600; line-height: 1.15; margin-bottom: 20px; }
.info-text h2 span { color: var(--primary); }
.info-text p { color: var(--text-2); }
.info-text .note { margin-top: 8px; color: var(--secondary); font-size: 14px; }
.info-text .btn { margin-top: 28px; }
.info-media img { width: 100%; border-radius: 12px; aspect-ratio: 3 / 2; object-fit: cover; }

.accessories {
  position: relative; margin-top: clamp(80px, 9vw, 140px); padding: clamp(64px, 7vw, 110px) 0;
  background-size: cover; background-position: center; isolation: isolate;
}
.accessories::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(14, 13, 16, 0.8) 30%, rgba(14, 13, 16, 0.8) 70%, var(--bg) 100%);
}
.acc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.acc-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 16px 24px; text-align: center;
  background: rgba(250, 250, 250, 0.06); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; transition: border-color 0.2s, transform 0.2s;
}
.acc-card img { width: 100%; max-width: 200px; aspect-ratio: 300 / 241; object-fit: contain; transition: transform 0.4s ease; }
.acc-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.acc-card:hover img { transform: scale(1.06); }

.ps5-gallery {
  display: flex; align-items: center; justify-content: center; gap: 24px; overflow: hidden; padding: 24px 0;
}
.ps5-gallery img { width: 26%; max-width: 420px; border-radius: 12px; opacity: 0.55; filter: blur(1px); }
.ps5-gallery img:nth-child(2) { width: 34%; max-width: 560px; opacity: 1; filter: none; box-shadow: 0 0 60px rgba(61, 175, 226, 0.25); }

.faq-section { max-width: 1000px; margin: clamp(56px, 6vw, 96px) auto 0; }
.faq-section h2 { text-align: center; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); font-weight: 600; margin-bottom: 32px; }
.faq-section + .info-section, .faq-section + .wide-banner { margin-top: clamp(64px, 7vw, 110px); }
.wide-banner { max-width: 1000px; margin: clamp(64px, 7vw, 110px) auto 0; }
.wide-banner img { width: 100%; border-radius: 16px; }
.info-section + .faq-section { margin-top: clamp(64px, 7vw, 110px); }

/* ---------- Contact ---------- */
.support-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.support-card {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 16px;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(14, 13, 16, 0.55);
  transition: border-color 0.2s, transform 0.2s;
}
.support-card:hover { border-color: var(--primary); transform: translateY(-3px); }
.support-card img { width: 40px; height: 40px; }
.contact-banner {
  position: relative; padding: clamp(56px, 7vw, 110px) 0; background-size: cover; background-position: center right; isolation: isolate;
}
.contact-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(14, 13, 16, 0.85) 40%, rgba(14, 13, 16, 0) 75%);
}
.contact-banner h2 { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); font-weight: 700; }
.contact-banner p { max-width: 560px; margin: 16px 0 32px; color: var(--text-2); }
.inline-form { display: flex; gap: 12px; max-width: 640px; flex-wrap: wrap; }
.inline-form .input { flex: 1 1 180px; width: auto; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.info-item .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); flex-shrink: 0; }
.info-item h4 { font-size: 15px; margin-bottom: 4px; }
.info-item p { color: var(--text-2); font-size: 14px; }

/* ---------- Forms / panels ---------- */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.panel h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.panel h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--text-2); }
.field label .req { color: var(--primary); }
textarea.input { min-height: 140px; resize: vertical; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.form-foot a { font-size: 14px; color: var(--primary); }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 400px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 0 12px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); border-bottom: 1px solid var(--line); }
.cart-table td { padding: 20px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-product { display: flex; gap: 18px; align-items: center; }
.cart-product img { width: 72px; height: 96px; object-fit: cover; border-radius: 6px; }
.cart-product h4 { font-size: 16px; margin-bottom: 6px; }
.cart-product .platform-name { font-size: 13px; color: var(--text-3); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.qty button { width: 36px; height: 40px; border: 0; background: var(--bg-3); cursor: pointer; }
.qty input { width: 44px; height: 40px; border: 0; text-align: center; background: transparent; }
.remove { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-3); }
.remove:hover { color: #ff6b6b; border-color: #ff6b6b; }
.coupon { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.coupon .input { max-width: 280px; }
.totals .line { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.totals .line strong { color: var(--text); }
.totals .line.total { border-bottom: 0; font-size: 1.25rem; color: var(--text); font-weight: 700; padding-top: 20px; }
.totals .btn { margin-top: 20px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--text-3); }
.pay-logos { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-logos img { height: 30px; width: auto; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 440px; gap: 32px; align-items: start; }
.steps { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.steps span b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.steps span.done, .steps span.now { color: var(--text); }
.steps span.now b, .steps span.done b { background: var(--gradient); border: 0; }
.steps i { width: 40px; height: 1px; background: var(--line); align-self: center; }
.order-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-item img { width: 56px; height: 72px; object-fit: cover; border-radius: 6px; }
.order-item h4 { font-size: 14px; }
.order-item span { font-size: 12px; color: var(--text-3); }
.pay-methods { display: flex; flex-direction: column; gap: 10px; }
.pay-method { border: 1px solid var(--line); border-radius: 6px; padding: 16px; }
.pay-method:has(input:checked) { border-color: var(--primary); background: rgba(61, 175, 226, 0.06); }
.pay-method .check { color: var(--text); justify-content: space-between; }
.pay-method .check > span { display: flex; align-items: center; gap: 10px; }
.pay-method p { margin-top: 10px; font-size: 13px; color: var(--text-3); padding-left: 26px; }

/* ---------- Account ---------- */
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 1100px; margin: 0 auto; }
.account-grid .field + .field { margin-top: 16px; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(64px, 9vw, 140px) 0 0; }
.notfound .code { font-size: clamp(8rem, 5rem + 12vw, 16rem); font-weight: 800; line-height: 1; }
.notfound h1 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); margin: 12px 0 16px; }
.notfound p { color: var(--text-2); max-width: 520px; margin: 0 auto 32px; }
.notfound .buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.search-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(80px, 9vw, 140px) 0 clamp(48px, 5vw, 80px); }
.footer-box {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 48px); backdrop-filter: blur(24px);
}
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.footer-about img { width: 61px; margin-bottom: 20px; }
.footer-about p { max-width: 400px; color: var(--text-2); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.footer-nav a { font-size: 14px; color: var(--text-2); }
.footer-nav a:hover { color: var(--primary); }
.faq { display: flex; flex-direction: column; gap: 16px; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: rgba(14, 13, 16, 0.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; color: var(--primary); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15px; }
.footer-line { height: 1px; background: var(--line); margin: 48px 0 24px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-bottom .left { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; font-weight: 600; }
.footer-bottom .left a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .left a:hover { color: var(--primary); }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--primary); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 11px; }
  .logo img { width: 150px; }
}

@media (max-width: 1200px) {
  .releases { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 250px 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 360px; }
  .site-header .wrapper { gap: 20px; }
  .nav-burger {
    display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer;
    order: 3;
  }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    display: none; max-height: calc(100vh - 84px); overflow-y: auto;
  }
  .main-nav a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .header-tools { margin-left: auto; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; margin: 0; padding: 0 0 0 16px;
    min-width: 0; background: none; border: 0; box-shadow: none;
  }
  .submenu::before, .caret { display: none; }
  .main-nav .submenu a { padding: 12px 0; font-size: 13px; color: var(--text-2); }
}

@media (max-width: 1024px) {
  .info-section { grid-template-columns: 1fr; }
  .info-section.reverse .info-text { order: 0; }
  .acc-grid { grid-template-columns: repeat(2, 1fr); }
  .ps5-gallery img { width: 40%; }
  .ps5-gallery img:nth-child(n+3) { display: none; }
  .product { grid-template-columns: 1fr; }
  .product-media { position: static; max-width: 420px; }
  .shop-layout, .cart-layout, .checkout-layout, .contact-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .cta-image { opacity: 0.35; }
}

@media (max-width: 720px) {
  .logo img { width: 140px; }
  .member-btn { display: none; }
  .release-main { grid-template-columns: 1fr; }
  .release-main .cover { max-width: 260px; }
  .games-line img { width: 180px; height: 240px; }
  .form-grid, .account-grid { grid-template-columns: 1fr; }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .cart-table td { padding: 0; border: 0; }
  .cart-table td.c-product { grid-column: 1 / -1; }
  .cart-table td.c-price { display: none; }
  .footer-bottom, .footer-bottom .left { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { gap: 20px; }
  .support-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-top { flex-direction: column-reverse; }
  .search-form { flex-direction: column; }
}
