:root {
  --bg: #050914;
  --bg-soft: #080f20;
  --surface: #0b1428;
  --surface-2: #101d37;
  --surface-3: #15264a;
  --text: #f5f8ff;
  --muted: #a6b5d0;
  --muted-2: #7185aa;
  --line: #18284b;
  --line-strong: #2a4577;
  --accent: #1763ff;
  --accent-ink: #ffffff;
  --blue: #4b89ff;
  --success: #58a6ff;
  --warning: #ffbe55;
  --danger: #ff647c;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 60px rgba(0, 0, 0, .28);
  --shadow-glow: 0 0 40px rgba(23, 99, 255, .24);
  --display: "Archivo", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --arabic: "Noto Kufi Arabic", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
  --ease: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px); background-size: 48px 48px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); transition: transform var(--ease); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.section-shell { width: var(--shell); margin-inline: auto; }

.utility-bar { height: 30px; padding-inline: max(24px, calc((100vw - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #152955; background: #071024; color: #c7d8ff; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.utility-bar span { display: inline-flex; align-items: center; gap: 9px; }
.utility-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.store-announcement { padding: 9px max(20px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgba(95,151,255,.24); background: linear-gradient(90deg, #0b1b39, #10234a 52%, #0b1b39); color: #e7efff; text-align: center; font-size: .73rem; font-weight: 700; line-height: 1.55; }
.store-announcement[hidden] { display: none; }

.site-header { position: sticky; z-index: 30; top: 0; height: 76px; padding-inline: max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(5,9,20,.86); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; min-width: 76px; width: 76px; height: 76px; }
.brand-mark { position: relative; display: block; width: 76px; height: 76px; overflow: hidden; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font: 800 1.02rem var(--display); letter-spacing: -.035em; }
.brand-copy small { margin-top: 1px; color: var(--muted); font: 600 .61rem var(--arabic); letter-spacing: 0; }
.desktop-nav { justify-self: center; display: flex; align-items: center; gap: 30px; }
.desktop-nav a { position: relative; padding: 27px 0 24px; color: #b5becb; font-size: .78rem; font-weight: 600; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform var(--ease); }
.desktop-nav a:hover { color: var(--text); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle { min-height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: 700 .76rem var(--arabic); transition: border-color var(--ease), background var(--ease); }
.language-toggle:hover { border-color: var(--accent); background: var(--surface-2); }
.header-search { display: inline-flex; align-items: center; gap: 7px; padding: 11px 13px; color: var(--muted); font-size: .75rem; }
.header-search span { font-size: 1.2rem; }
.cart-toggle { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font: 700 .75rem var(--body); transition: border-color var(--ease), background var(--ease); }
.cart-toggle:hover { border-color: var(--accent); background: var(--surface-2); }
.cart-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 800 .62rem var(--body); }
.cart-count.is-empty { background: #273752; color: #bdc8dc; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; padding: 11px 17px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .8rem; font-weight: 800; transition: transform var(--ease), border-color var(--ease), background var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-accent { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-glow); }
.button-accent:hover { background: #3d7bff; }
.menu-toggle { position: relative; width: 44px; height: 44px; display: none; flex: 0 0 44px; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.menu-toggle span { position: absolute; width: 18px; height: 1px; background: var(--text); transition: transform var(--ease); }
.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.mobile-nav { position: fixed; z-index: 29; top: 106px; left: 0; right: 0; display: grid; padding: 18px 24px 26px; border-bottom: 1px solid var(--line); background: rgba(5,9,20,.98); box-shadow: var(--shadow-card); }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font: 700 1rem var(--display); }

.hero { position: relative; min-height: 710px; overflow: hidden; display: grid; align-items: center; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero-media { position: absolute; z-index: -4; inset: 0 0 0 35%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; filter: saturate(.88) contrast(1.04); transform: scale(1.035); }
.hero-shade { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, #050914 0%, #050914 28%, rgba(5,9,20,.92) 43%, rgba(5,9,20,.35) 72%, rgba(5,9,20,.62) 100%), linear-gradient(0deg, #050914 0%, transparent 34%); }
.hero-pattern { position: absolute; z-index: -2; inset: 0; opacity: .12; background-image: linear-gradient(135deg, transparent 46%, var(--accent) 47%, transparent 48%); background-size: 42px 42px; mask-image: linear-gradient(90deg, #000 0, transparent 48%); }
.hero-content { width: var(--shell); margin: 0 auto; padding: 105px 0 125px; display: grid; grid-template-columns: minmax(0, 650px) 248px; gap: clamp(24px, 4.8vw, 74px); align-items: center; }
.hero-main { min-width: 0; }
.kicker { margin: 0 0 22px; display: flex; align-items: center; gap: 10px; color: #b8c4d3; font-size: .73rem; font-weight: 800; letter-spacing: .16em; }
.kicker span { width: 24px; height: 1px; background: var(--accent); }
.hero h1 { max-width: 690px; margin: 0; font: 800 clamp(4.3rem, 7.5vw, 7.2rem)/.87 var(--display); letter-spacing: -.075em; text-transform: uppercase; }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 500px; margin: 28px 0 0; color: #c4ccd7; font-size: 1rem; line-height: 1.8; }
.hero-actions { margin-top: 30px; display: flex; align-items: center; gap: 10px; }
.cliq-payment { min-height: 46px; display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 5px; border: 1px solid rgba(113,151,218,.28); border-radius: var(--radius-sm); background: rgba(9,17,33,.82); }
.cliq-logo-frame { width: 68px; height: 36px; flex: 0 0 68px; display: grid; place-items: center; overflow: hidden; border-radius: 5px; background: #fff; }
.cliq-logo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cliq-payment-copy { display: grid; gap: 2px; }
.cliq-payment-copy strong { color: #edf3ff; font-size: .68rem; font-weight: 800; }
.cliq-payment-copy small { color: #a9b9d2; font-size: .59rem; }
.hero-toolbox { width: 100%; justify-self: end; margin-top: 54px; padding: 18px; border: 1px solid rgba(113,151,218,.28); border-radius: 14px; background: linear-gradient(145deg, rgba(10,18,35,.92), rgba(7,13,26,.82)); box-shadow: 0 20px 55px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.04); backdrop-filter: blur(16px); }
.hero-search-form > label, .hero-toolbox-label { display: block; margin: 0; color: #9eacc2; font-size: .61rem; font-weight: 800; letter-spacing: .14em; }
.hero-search-control { margin-top: 10px; display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid #253b62; border-radius: 9px; background: rgba(4,9,19,.76); transition: border-color var(--ease), box-shadow var(--ease); }
.hero-search-control:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(23,99,255,.15); }
.hero-search-control input { width: 100%; min-width: 0; height: 38px; padding: 0 8px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: .76rem; direction: ltr; text-align: left; }
.hero-search-control input::placeholder { color: #77869d; }
.hero-search-control button { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--accent); color: var(--accent-ink); font-size: 1.2rem; font-weight: 800; transition: filter var(--ease), transform var(--ease); }
.hero-search-control button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.hero-search-form > p { margin: 8px 0 0; color: var(--muted-2); font-size: .63rem; line-height: 1.5; }
.hero-shortcuts { margin-top: 17px; padding-top: 15px; border-top: 1px solid rgba(113,151,218,.2); }
.hero-shortcuts ul { display: grid; gap: 4px; margin: 9px 0 0; padding: 0; list-style: none; }
.hero-shortcuts a { min-height: 37px; display: grid; grid-template-columns: 25px 1fr 16px; align-items: center; gap: 7px; padding: 0 8px; border: 1px solid transparent; border-radius: 7px; color: #d0d8e5; font-size: .7rem; font-weight: 700; transition: color var(--ease), background var(--ease), border-color var(--ease), transform var(--ease); }
.hero-shortcuts a:hover { border-color: rgba(113,151,218,.22); background: rgba(23,99,255,.1); color: var(--text); transform: translateX(2px); }
.hero-shortcut-index { color: #6482b3; font: 700 .58rem var(--display); }
.hero-shortcut-arrow { justify-self: end; color: var(--accent); font-size: .75rem; }
.hero-scroll { position: absolute; left: max(24px, calc((100vw - 1180px) / 2)); bottom: 40px; display: flex; align-items: center; gap: 11px; color: var(--muted-2); font-size: .58rem; font-weight: 700; letter-spacing: .14em; }
.hero-scroll span { width: 40px; height: 1px; background: var(--line-strong); }

.catalog-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.catalog-heading h2, .how h2, .contact h2 { margin: 0; font: 700 clamp(2.4rem, 4.6vw, 4.35rem)/1 var(--display); letter-spacing: -.065em; }
.catalog-heading > p { max-width: 380px; margin: 0 0 6px; color: var(--muted); font-size: .88rem; line-height: 1.75; }

.catalog { padding-top: 90px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.catalog-panel { margin-top: 38px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, var(--surface), color-mix(in srgb, var(--surface) 88%, var(--accent))); box-shadow: var(--shadow-card); }
.catalog-tabs { display: flex; gap: 6px; }
.catalog-tab { min-height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; color: var(--muted); font-size: .8rem; font-weight: 800; }
.catalog-tab span { margin-left: 5px; color: var(--muted-2); font-size: .62rem; }
.catalog-tab.active { background: var(--accent); color: #fff; font-weight: 900; text-shadow: 0 1px 1px rgba(0,0,0,.22); }
.catalog-tab.active span { color: rgba(255,255,255,.9); }
.catalog-tools { justify-self: end; display: flex; gap: 8px; min-width: min(100%, 540px); }
.search-box { height: 44px; flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--muted); }
.search-box > span { font-size: 1.25rem; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--text); font-size: .78rem; }
.search-box input::placeholder { color: var(--muted-2); }
.search-box kbd { padding: 3px 5px; border: 1px solid var(--line-strong); border-radius: 4px; color: var(--muted-2); font: 700 .52rem var(--body); }
.sort-control { height: 44px; min-width: 178px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); color: var(--muted-2); font-size: .65rem; }
.sort-control select { min-width: 0; flex: 1; border: 0; outline: 0; background: var(--bg-soft); color: var(--text); font-size: .72rem; }
.catalog-subbar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.filters { display: flex; align-items: center; gap: 6px; }
.filter { min-height: 36px; padding: 0 15px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.02); color: var(--muted); font-size: .7rem; font-weight: 700; transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease); }
.filter:hover { transform: translateY(-1px); border-color: var(--line-strong); }
.filter:hover { color: var(--text); }
.filter.active { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.results-count { color: var(--muted-2); font-size: .68rem; }
.product-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.game-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease); }
.game-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.game-cover-wrap { position: relative; aspect-ratio: 2 / 3; overflow: hidden; background: linear-gradient(145deg, #172131, #0a1018); }
.game-cover-wrap.is-loading::before { content: ""; position: absolute; z-index: 0; inset: 0; background: linear-gradient(105deg, #0b1321 18%, #182942 36%, #0b1321 54%); background-size: 220% 100%; animation: cover-skeleton 1.35s ease-in-out infinite; }
.game-cover-wrap.is-logo-cover { background: linear-gradient(145deg, #fff, #e8efff); }
.game-cover-wrap.is-logo-cover::after { display: none; }
.game-cover-wrap.is-logo-cover .game-cover { object-fit: contain; padding: 16%; }
.game-cover-wrap::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, rgba(5,9,20,.52)); pointer-events: none; }
.game-cover { position: relative; z-index: 1; width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transition: transform 420ms ease, opacity 250ms ease; }
.game-cover-wrap.has-image .game-cover, .game-cover-wrap.is-generated-cover .game-cover { opacity: 1; }
.game-card:hover .game-cover { transform: scale(1.035); }
.cover-fallback { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; padding: 18px; background: radial-gradient(circle at 76% 18%, rgba(23,99,255,.22), transparent 30%), linear-gradient(145deg, #14284c, #070d1a); color: #a8bad8; font: 800 3rem var(--display); text-align: center; }
.cover-fallback::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid #294575; box-shadow: 0 0 60px rgba(23,99,255,.12); transform: rotate(45deg); }
.game-cover-wrap.is-loading .cover-fallback { color: transparent; background: transparent; }
.game-cover-wrap.is-loading .cover-fallback::before { display: none; }
.game-cover-wrap.has-image .cover-fallback { display: none; }
.game-cover-wrap.is-generated-cover.is-loading .cover-fallback { display: none; }
@keyframes cover-skeleton { to { background-position: -220% 0; } }
.cover-badge { position: absolute; z-index: 3; top: 10px; left: 10px; padding: 5px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: rgba(5,9,20,.72); color: #e8edf4; backdrop-filter: blur(8px); font-size: .61rem; font-weight: 800; letter-spacing: .09em; }
.cover-badge-offline { padding: 5px 7px; border-color: rgba(255,255,255,.2); background: rgba(0,0,0,.68); color: rgba(255,255,255,.94); box-shadow: none; font-size: .62rem; letter-spacing: .055em; backdrop-filter: blur(2px); }
.cover-action { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; opacity: 0; transform: translateY(7px); transition: opacity var(--ease), transform var(--ease); }
.game-card:hover .cover-action, .cover-action:focus-visible { opacity: 1; transform: translateY(0); }
.game-card-body { padding: 17px 14px 15px; }
.game-card h3 { height: 2.55em; overflow: hidden; display: -webkit-box; margin: 0; font: 700 .96rem/1.28 var(--display); letter-spacing: -.025em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.game-meta { margin-top: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a8b2c0; font-size: .7rem; }
.game-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.availability { flex: none; color: var(--success); }
.availability.is-inquiry { color: #91a1ba; }
.availability.is-priced { color: #f2f6ff; font-size: .86rem; font-weight: 850; letter-spacing: -.01em; }
.price-inquiry-button { flex: none; padding: 2px 0; border: 0; background: transparent; color: #a9c4ff; font: 700 .67rem/1.25 var(--body); text-decoration: underline; text-decoration-color: rgba(169,196,255,.48); text-underline-offset: 3px; white-space: nowrap; }
.price-inquiry-button:hover { color: #fff; text-decoration-color: currentColor; }
.price-inquiry-button:focus-visible, .trust-links a:focus-visible { outline: 2px solid #7eabff; outline-offset: 3px; }
.product-specs { margin-top: 10px; display: grid; gap: 5px; color: #c2cce0; font-size: .64rem; line-height: 1.45; }
.product-specs > span, .product-access > span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.product-specs b { color: #8295b2; font-weight: 700; }
.product-specs strong { color: #eef3fc; font-size: .65rem; font-weight: 800; }
.product-access { margin-top: 2px; padding-top: 6px; border-top: 1px solid rgba(113,151,218,.16); }
.product-access p { margin: 4px 0 0; color: var(--muted); font-size: .62rem; line-height: 1.5; }
.game-catalog-info { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 3px 10px; color: var(--muted-2); font-size: .62rem; line-height: 1.5; }
.game-catalog-info b { color: var(--muted); font-weight: 700; }
.game-description { display: -webkit-box; overflow: hidden; margin: 7px 0 0; color: var(--muted); font-size: .68rem; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.custom-copy { white-space: pre-line; }
.card-purchase { margin-top: 14px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px; align-items: center; }
.quantity-control { min-width: 0; display: grid; grid-template-columns: 27px minmax(20px, 1fr) 27px; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft); }
.quantity-control button { width: 27px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #dbe6f8; font: 600 1rem var(--body); }
.quantity-control button:hover:not(:disabled) { background: rgba(23,99,255,.18); color: #fff; }
.quantity-control button:disabled { opacity: .4; }
.quantity-control input, .quantity-control output { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: 700 .73rem var(--body); text-align: center; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.game-order { width: 100%; min-width: 0; min-height: 42px; margin: 0; padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text); font-size: .7rem; font-weight: 800; line-height: 1.2; transition: background var(--ease), border-color var(--ease), color var(--ease); }
.game-order:hover { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.empty-state { grid-column: 1 / -1; min-height: 280px; display: grid; place-items: center; padding: 40px; border: 1px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--surface); text-align: center; }
.empty-state strong { display: block; font: 700 1.4rem var(--display); }
.empty-state span { display: block; margin-top: 8px; color: var(--muted); font-size: .85rem; }
.product-pagination { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 15px; }
.product-pagination button { min-height: 42px; padding: 0 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); font-size: .7rem; font-weight: 800; }
.product-pagination button:hover:not(:disabled) { border-color: var(--accent); }
.product-pagination button:disabled { opacity: .38; cursor: default; }
.product-pagination span { color: var(--muted); font-size: .7rem; }

.trust-strip { position: relative; margin: -42px auto 100px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trust-card { min-width: 0; min-height: 164px; display: grid; grid-template-columns: 25px minmax(0, 1fr); align-content: start; gap: 13px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(13,27,54,.96), rgba(7,13,26,.96)); box-shadow: var(--shadow-card); }
.trust-index { padding-top: 3px; color: var(--accent); font: 800 .64rem var(--display); }
.trust-card h2 { margin: 0; color: var(--text); font: 750 .92rem/1.35 var(--display); letter-spacing: -.015em; }
.trust-card p { margin: 7px 0 0; color: var(--muted); font-size: .72rem; line-height: 1.6; }
.trust-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.trust-links a { min-height: 30px; display: inline-flex; align-items: center; padding: 0 9px; border: 1px solid rgba(113,151,218,.28); border-radius: 999px; background: rgba(255,255,255,.025); color: #dbe7fb; font-size: .63rem; font-weight: 800; text-decoration: none; transition: background var(--ease), border-color var(--ease), color var(--ease); }
.trust-links a:hover { border-color: var(--accent); background: rgba(23,99,255,.18); color: #fff; }

.how { margin-bottom: 110px; padding: 72px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; border: 1px solid #203767; border-radius: var(--radius-lg); background: radial-gradient(circle at 15% 20%, rgba(23,99,255,.2), transparent 36%), #071024; }
.how-lead > p:last-child, .contact-copy > p:last-child { max-width: 440px; margin: 24px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #203767; }
.steps li { min-height: 120px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid #203767; }
.steps > li > span { color: var(--accent); font: 700 .7rem var(--display); }
.steps strong { font: 700 1.05rem var(--display); }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: .8rem; }

.contact { margin-bottom: 110px; display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; align-items: start; }
.contact-list { border-top: 1px solid var(--line); }
.contact-methods { border-bottom: 1px solid var(--line); }
.contact-method { min-height: 84px; display: grid; grid-template-columns: minmax(112px, .58fr) minmax(0, 1fr) 36px; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); transition: padding var(--ease), background var(--ease); }
.contact-method:last-child { border-bottom: 0; }
.contact-method:hover { padding-inline: 12px; background: var(--surface); }
.contact-method > span { color: var(--muted-2); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-method strong { overflow-wrap: anywhere; font: 600 .95rem/1.5 var(--display); }
.contact-method i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-style: normal; }
.contact-socials { padding-top: 22px; }
.contact-social-heading { margin: 0 0 13px; color: var(--muted); font-size: .78rem; font-weight: 700; }
.social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.social-link { min-height: 98px; padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: start; gap: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius-md); background: linear-gradient(150deg, rgba(16,29,55,.92), rgba(7,16,36,.78)); transition: transform var(--ease), border-color var(--ease), background var(--ease); }
.social-link:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.social-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; }
.social-icon svg { width: 21px; height: 21px; }
.social-instagram .social-icon { background: linear-gradient(135deg, #7652d4, #dc3681 58%, #f78b3d); }
.social-instagram svg { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-instagram .social-icon-dot { fill: currentColor; stroke: none; }
.social-discord .social-icon { background: #5865f2; }
.social-discord svg, .social-facebook svg { fill: currentColor; stroke: none; }
.social-facebook .social-icon { background: #1877f2; }
.social-name { grid-column: 1 / -1; align-self: end; font: 700 .88rem var(--display); }
.social-arrow { grid-column: 2; grid-row: 1; color: rgba(255,255,255,.78); font-size: .9rem; }

.site-footer { min-height: 135px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid var(--line); }
.site-footer > p { color: var(--muted); font-size: .75rem; }
.site-footer > div { justify-self: end; display: flex; align-items: center; gap: 22px; color: var(--muted-2); font-size: .68rem; }
.site-footer > div a { color: var(--text); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; max-width: calc(100vw - 32px); padding: 12px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #111923; color: var(--text); box-shadow: var(--shadow-card); font-size: .78rem; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: opacity var(--ease), transform var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.cart-dialog { position: fixed; inset: 0 auto 0 0; width: min(480px, 100vw); height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: visible; border: 0; background: transparent; color: var(--text); }
.cart-dialog:not([open]) { display: none; }
.cart-dialog::backdrop { background: rgba(1,4,10,.72); backdrop-filter: blur(4px); }
.cart-sheet { height: 100%; display: flex; flex-direction: column; border-right: 1px solid var(--line-strong); background: linear-gradient(155deg, #0c1730, #070c18 46%); box-shadow: 24px 0 80px rgba(0,0,0,.38); animation: cart-arrive 220ms ease-out both; }
@keyframes cart-arrive { from { opacity: .5; transform: translateX(-22px); } to { opacity: 1; transform: translateX(0); } }
.cart-header { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.cart-kicker { margin: 0 0 5px; color: #83aaff; font-size: .58rem; font-weight: 800; letter-spacing: .16em; }
.cart-header h2 { margin: 0; font: 700 1.55rem/1.2 var(--display); letter-spacing: -.04em; }
.cart-close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--text); font: 400 1.5rem/1 var(--body); }
.cart-close:hover { border-color: var(--accent); background: var(--surface-2); }
.cart-items { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.cart-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 19px 0; border-bottom: 1px solid rgba(113,151,218,.18); }
.cart-item-copy { min-width: 0; }
.cart-item-copy h3 { margin: 1px 0 6px; font: 700 .88rem/1.35 var(--display); }
.cart-item-copy p { margin: 0; color: var(--muted-2); font-size: .68rem; }
.cart-item-side { display: grid; justify-items: end; gap: 10px; }
.cart-item-side > strong { color: #f5f8ff; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.cart-item-actions { display: flex; align-items: center; gap: 9px; }
.cart-quantity { width: 94px; }
.cart-quantity button { height: 30px; }
.cart-quantity output { font-size: .72rem; }
.cart-remove { padding: 5px 3px; border: 0; background: transparent; color: #92a5c5; font-size: .64rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cart-remove:hover { color: #fff; }
.cart-empty { min-height: 100%; display: grid; justify-items: center; align-content: center; padding: 34px 12px; text-align: center; }
.cart-empty-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 15px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(23,99,255,.1); color: #93b5ff; font-size: 2rem; }
.cart-empty strong { font: 700 1.05rem var(--display); }
.cart-empty p { max-width: 260px; margin: 8px 0 17px; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.cart-browse, .cart-continue { padding: 7px 4px; border: 0; background: transparent; color: #9cbcff; font-size: .75rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.cart-browse:hover, .cart-continue:hover { color: #fff; }
.cart-footer { padding: 17px 24px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(5,9,20,.72); }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cart-total-row span { color: #bdc9dd; font-size: .76rem; font-weight: 700; }
.cart-total-row strong { font: 800 1.2rem var(--display); }
.cart-total-note { min-height: 18px; margin: 6px 0 13px; color: var(--muted-2); font-size: .66rem; line-height: 1.5; }
.cart-buy { width: 100%; min-height: 48px; }
.cart-buy:disabled { opacity: .42; box-shadow: none; cursor: not-allowed; }
.cart-continue { width: 100%; margin-top: 8px; text-decoration: none; }
html[dir="rtl"] .cart-dialog { inset: 0 0 0 auto; }
html[dir="rtl"] .cart-sheet { border-left: 1px solid var(--line-strong); border-right: 0; box-shadow: -24px 0 80px rgba(0,0,0,.38); animation-name: cart-arrive-rtl; }
@keyframes cart-arrive-rtl { from { opacity: .5; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
html[dir="rtl"] .cliq-payment { padding: 4px 5px 4px 12px; }

html[dir="rtl"] body { font-family: var(--arabic); line-height: 1.8; }
html[dir="rtl"] .hero-content { text-align: right; }
html[dir="rtl"] .hero-search-control input:placeholder-shown { direction: rtl; text-align: right; }
html[dir="rtl"] .hero-media { inset: 0 35% 0 0; }
html[dir="rtl"] .hero-shade { background: linear-gradient(270deg, #050914 0%, #050914 28%, rgba(5,9,20,.92) 43%, rgba(5,9,20,.35) 72%, rgba(5,9,20,.62) 100%), linear-gradient(0deg, #050914 0%, transparent 34%); }
html[dir="rtl"] .hero-pattern { mask-image: linear-gradient(270deg, #000 0, transparent 48%); }
html[dir="rtl"] .hero-scroll { left: auto; right: max(24px, calc((100vw - 1180px) / 2)); }
html[dir="rtl"] .kicker { letter-spacing: 0; }
html[dir="rtl"] .game-card h3,
html[dir="rtl"] .game-meta > span:first-child,
html[dir="rtl"] .brand-copy strong { direction: ltr; text-align: right; unicode-bidi: plaintext; }
html[dir="rtl"] .hero h1,
html[dir="rtl"] .catalog-heading h2,
html[dir="rtl"] .how h2,
html[dir="rtl"] .contact h2 { line-height: 1.35; letter-spacing: 0; }
html[dir="rtl"] .catalog-heading,
html[dir="rtl"] .contact,
html[dir="rtl"] .how { text-align: right; }
html[dir="rtl"] .game-card-body { text-align: right; }
html[dir="rtl"] .site-footer > div { justify-self: start; }
html[dir="rtl"] .skip-link { left: auto; right: 12px; }

@media (max-width: 1080px) {
  :root { --shell: min(100% - 40px, 960px); }
  .site-header { padding-inline: 20px; }
  .desktop-nav { gap: 20px; }
  .header-search { display: none; }
  .hero-media { left: 25%; }
  .hero-content { grid-template-columns: minmax(0, 1fr) 232px; gap: 28px; }
  .hero h1 { font-size: clamp(4rem, 6.8vw, 6.2rem); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how { padding: 54px; gap: 60px; }
}

@media (max-width: 820px) {
  :root { --shell: calc(100% - 36px); }
  .desktop-nav, .header-order { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .header-actions { grid-column: 2; justify-self: end; }
  .language-toggle { min-height: 40px; }
  .cart-toggle { min-height: 40px; }
  .menu-toggle { display: grid; border-color: #3a4a5e; }
  .hero { min-height: 0; align-items: center; }
  .hero-media { left: 5%; opacity: .72; }
  .hero-shade { background: linear-gradient(90deg, #050914 0%, rgba(5,9,20,.86) 55%, rgba(5,9,20,.38)), linear-gradient(0deg, #050914 0%, rgba(5,9,20,.16) 60%); }
  .hero-content { grid-template-columns: minmax(0, 1fr); gap: 27px; padding: 90px 0 130px; }
  .hero-main { max-width: 650px; }
  .hero-toolbox { max-width: 420px; justify-self: start; margin-top: 0; }
  .hero h1 { max-width: 620px; font-size: clamp(3.8rem, 11vw, 6rem); }
  .hero-scroll { display: none; }
  .catalog-panel { grid-template-columns: 1fr; }
  .catalog-tools { justify-self: stretch; min-width: 0; }
  .catalog-subbar { grid-column: auto; overflow: hidden; }
  .filters { overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; }
  .results-count { display: none; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: 1fr; margin-top: -34px; margin-bottom: 78px; }
  .trust-card { min-height: 0; }
  .how { grid-template-columns: 1fr; gap: 38px; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer > p { display: block; grid-column: 1 / -1; margin: 0; font-size: .7rem; line-height: 1.65; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 28px); }
  .utility-bar { padding-inline: 14px; font-size: .65rem; letter-spacing: .1em; }
  .site-header { height: 68px; padding-inline: 14px; }
  .brand { min-width: 0; }
  .brand, .brand-mark { width: 72px; height: 68px; }
  .brand-copy strong { font-size: .94rem; }
  .brand-copy small { font-size: .55rem; }
  .mobile-nav { top: 98px; }
  .hero { min-height: 650px; }
  .hero-media { inset: 0; }
  .hero-media img { object-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, #050914 4%, rgba(5,9,20,.5) 58%, rgba(5,9,20,.72) 100%), linear-gradient(90deg, rgba(5,9,20,.82), rgba(5,9,20,.12)); }
  .hero-pattern { opacity: .09; }
  .hero-content { min-width: 0; gap: 23px; padding: 58px 0 112px; align-self: center; }
  .kicker { margin-bottom: 16px; font-size: .66rem; letter-spacing: .13em; }
  .hero h1 { max-width: 100%; font-size: clamp(2.65rem, 12vw, 3.15rem); line-height: .93; letter-spacing: -.055em; }
  .hero-copy { max-width: 340px; margin-top: 20px; font-size: .88rem; line-height: 1.68; }
  .hero-actions { margin-top: 23px; align-items: stretch; flex-direction: column; max-width: 260px; }
  .hero-actions .button { justify-content: space-between; }
  .cliq-payment { width: 100%; max-width: 290px; }
  .hero-toolbox { max-width: 100%; padding: 14px; }
  .hero-search-control { margin-top: 8px; }
  .hero-search-control input { height: 36px; }
  .hero-search-control button { flex-basis: 36px; width: 36px; height: 36px; }
  .catalog-heading { display: block; }
  .catalog-heading h2, .how h2, .contact h2 { font-size: 2.55rem; }
  .catalog-heading > p { margin-top: 18px; }
  .catalog { padding-top: 68px; padding-bottom: 80px; }
  .catalog-panel { margin-top: 28px; padding: 12px; gap: 12px; }
  .catalog-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .catalog-tab { padding: 0 8px; font-size: .73rem; }
  .catalog-tools { display: grid; grid-template-columns: 1fr; }
  .sort-control { min-width: 0; }
  .search-box kbd { display: none; }
  .catalog-subbar { padding-top: 9px; }
  .filter { min-height: 34px; padding-inline: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .game-card-body { padding: 12px 11px; }
  .game-card h3 { font-size: .84rem; }
  .game-meta { font-size: .65rem; }
  .game-catalog-info { font-size: .59rem; }
  .product-specs { font-size: .6rem; }
  .product-specs strong { font-size: .61rem; }
  .product-access p { font-size: .59rem; }
  .price-inquiry-button { font-size: .58rem; }
  .card-purchase { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .card-quantity { width: 100%; max-width: 120px; }
  .availability { display: none; }
  .availability.is-inquiry { display: inline; font-size: .59rem; white-space: nowrap; }
  .availability.is-priced { display: inline; font-size: .72rem; white-space: nowrap; }
  .cover-badge { top: 7px; left: 7px; }
  .cover-badge-offline { padding: 4px 5px; font-size: .56rem; }
  .cover-action { display: none; }
  .game-order { min-height: 40px; }
  .cart-toggle { width: 42px; height: 42px; justify-content: center; gap: 3px; padding: 0; }
  .cart-toggle-label { display: none; }
  .cart-toggle svg { width: 17px; }
  .cart-count { min-width: 17px; height: 17px; padding: 0 3px; font-size: .55rem; }
  .cart-header { min-height: 82px; padding: 14px 18px; }
  .cart-items { padding-inline: 18px; }
  .cart-footer { padding-inline: 18px; }
  .cart-item { gap: 10px; }
  .product-pagination { gap: 8px; }
  .product-pagination button { padding-inline: 11px; }
  .product-pagination span { max-width: 100px; text-align: center; }
  .how { width: 100%; margin-bottom: 78px; padding: 62px 22px; border-radius: 0; border-left: 0; border-right: 0; }
  .steps li { min-height: 105px; }
  .contact { margin-bottom: 78px; }
  .contact { gap: 34px; }
  .contact-method { min-height: 76px; grid-template-columns: minmax(84px, .58fr) minmax(0, 1fr) 32px; gap: 10px; }
  .contact-method > span { font-size: .72rem; }
  .contact-method strong { font-size: .9rem; }
  .contact-method i { width: 30px; height: 30px; }
  .contact-socials { padding-top: 18px; }
  .social-links { gap: 8px; }
  .social-link { min-height: 88px; padding: 11px; gap: 10px 6px; }
  .social-icon { width: 36px; height: 36px; border-radius: 11px; }
  .social-icon svg { width: 19px; height: 19px; }
  .social-name { font-size: .84rem; }
  .site-footer { min-height: 150px; display: flex; flex-wrap: wrap; justify-content: space-between; padding-block: 24px; }
  .site-footer > p { flex: 0 0 100%; margin: 0; }
  .site-footer > div { width: 100%; justify-content: space-between; }
}

@media (max-width: 820px) {
  html[dir="rtl"] .hero-media { inset: 0 0 0 0; }
  html[dir="rtl"] .hero-media img { object-position: 35% center; }
  html[dir="rtl"] .header-actions { grid-column: 2; }
}

@media (max-width: 350px) {
  :root { --shell: calc(100% - 22px); }
  .hero h1 { font-size: 2.9rem; }
  .product-grid { gap: 7px; }
  .game-card h3 { font-size: .73rem; }
  .contact-method { grid-template-columns: minmax(78px, .55fr) minmax(0, 1fr) 30px; gap: 8px; }
  .social-link { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
