/**
 * GameSepet-inspired dark UI theme overrides
 * Applied on top of existing KoçakPin/header styles
 */

:root {
  --gs-bg: #f3f4f6;
  --gs-bg-elevated: #ffffff;
  --gs-bg-card: #ffffff;
  --gs-border: rgba(43, 25, 14, 0.1);
  /* Primary brand = orange (legacy var names kept for compatibility) */
  --gs-blue: #eb7725;
  --gs-blue-hover: #dc742a;
  --gs-indigo: #bd692e;
  --gs-primary: #eb7725;
  --gs-primary-hover: #dc742a;
  --gs-amber: #f59e0b;
  --gs-green: #10b981;
  --gs-green-hover: #059669;
  --gs-purple: #f05418;
  --gs-orange: #ff7b1f;
  --gs-text: #281910;
  --gs-muted: #6b7280;
  --gs-cyan: #ff7e25;
  --gs-glow: rgba(235, 119, 37, 0.35);
  --gs-radius: 16px;
  --gs-radius-pill: 9999px;
}

/* ===== Base ===== */
html[data-theme="dark"] body {
  background-color: #f3f4f6 !important;
  background-image: none !important;
  color: #281910;
}

html[data-theme="dark"] body::before {
  background: rgba(243, 244, 246, 0.95) !important;
}

html[data-theme="light"] body {
  background-color: #f3f4f6 !important;
  background-image: none !important;
  color: #281910 !important;
}

html[data-theme="light"] body::before {
  background: rgba(243, 244, 246, 0.92) !important;
}

/* ===== Announcement bar ===== */
.gs-announcement {
  background: linear-gradient(90deg, #bd692e, #eb7725 40%, #ff7b1f);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 1100;
}

.gs-announcement.hidden {
  display: none !important;
}

.gs-announcement-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6px 48px 6px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  position: relative;
}

.gs-announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: var(--gs-radius-pill);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
  justify-self: start;
}

.gs-announcement-text {
  text-align: center;
  line-height: 1.35;
  justify-self: center;
}

.gs-announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: background 0.2s, opacity 0.2s;
  justify-self: end;
}

.gs-announcement-close:hover {
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
}

@media (max-width: 768px) {
  .gs-announcement-badge {
    display: none;
  }
  .gs-announcement-inner {
    padding: 8px 40px 8px 16px;
  }
  .gs-announcement-text {
    font-size: 12px;
  }
}

/* ===== Topbar ===== */
.frontend-header .topbar-content {
  justify-content: flex-start !important;
}

.frontend-header .topbar-left {
  gap: 18px !important;
}

.frontend-header .topbar-right {
  display: none !important;
}

.frontend-header .topbar-contact {
  color: var(--gs-muted) !important;
  font-size: 12px !important;
  gap: 6px !important;
}

.frontend-header .topbar-contact:hover {
  color: #fff !important;
}

.frontend-header .topbar-contact i {
  color: var(--gs-green) !important;
}

.frontend-header .topbar-contact[href*="mailto"] i,
.frontend-header .topbar-contact.gs-support-link i {
  color: var(--gs-blue) !important;
}

/* ===== Header shell ===== */
.frontend-header {
  background: var(--gs-bg) !important;
  border-bottom: 1px solid var(--gs-border) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
}

.frontend-header .header-top,
header.frontend-header div.header-top {
  background: var(--gs-bg) !important;
  border-bottom: 1px solid var(--gs-border) !important;
  padding: 8px 24px !important;
}

.header-search-container {
  max-width: 560px !important;
  flex: 1 1 auto !important;
  margin: 0 20px !important;
}

.header-search-box {
  position: relative !important;
  overflow: hidden !important;
  background: #1c1c22 !important;
  border: 1px solid var(--gs-border) !important;
  border-radius: 10px !important;
  height: auto !important;
  max-height: 42px !important;
  min-height: 38px !important;
  padding: 8px 12px 8px 16px !important; /* py-2 px-4 compact */
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}

/* Sol neon accent şerit */
.header-search-box::before {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 3px !important;
  border-radius: 0 9999px 9999px 0 !important;
  background: #ff7b1f !important;
  box-shadow: 0 0 10px rgba(255, 123, 31, 0.8) !important;
  transition: box-shadow 0.3s ease, background 0.3s ease !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.header-search-box:hover {
  border-color: rgba(255, 123, 31, 0.35) !important;
  box-shadow: 0 0 12px rgba(255, 123, 31, 0.12) !important;
}

.header-search-box:hover::before {
  box-shadow: 0 0 14px rgba(255, 123, 31, 0.95) !important;
}

.header-search-box:focus-within {
  border-color: rgba(255, 123, 31, 0.5) !important;
  box-shadow: 0 0 15px rgba(255, 123, 31, 0.2) !important;
}

.header-search-box:focus-within::before {
  background: #ff7e25 !important;
  box-shadow:
    0 0 12px rgba(255, 123, 31, 1),
    0 0 22px rgba(255, 123, 31, 0.55) !important;
}

.header-search-input {
  font-size: 12px !important;
  line-height: 1.25 !important;
}

@media (min-width: 640px) {
  .header-search-input {
    font-size: 13px !important;
  }
}

.header-search-btn {
  background: transparent !important;
  color: var(--gs-muted) !important;
  border-radius: 8px !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  box-shadow: none !important;
}

.header-search-btn:hover {
  background: rgba(255, 123, 31, 0.12) !important;
  color: #ff7e25 !important;
}

.header-search-btn i {
  font-size: 12px !important;
  width: 1rem !important;
  height: 1rem !important;
  line-height: 1 !important;
}

.header-search-icon-left {
  display: none !important;
}

.header-search-input::placeholder {
  color: var(--gs-muted) !important;
}

/* Eski site logosu kullanılır (GameSepet metin logosu yok) */

.header-logo {
  display: block !important;
  height: 42px !important;
  max-width: 160px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ===== Header actions ===== */
.header-actions {
  gap: 10px !important;
}

.gs-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #1c1c22;
  border: 1px solid var(--gs-border);
  color: #e5e7eb;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.gs-icon-btn:hover {
  background: #252530;
  border-color: rgba(235, 119, 37, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.gs-cart-btn {
  width: auto;
  padding: 0 14px;
  gap: 8px;
  border-radius: var(--gs-radius-pill);
  font-size: 13px;
  font-weight: 600;
}

.gs-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--gs-radius-pill);
  background: #ff7b1f;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gs-bg);
  line-height: 1;
}

.gs-btn-login,
.gs-btn-login.btn-login,
a.gs-btn-login,
button.gs-btn-login {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 9999px !important;
  border: 1.5px solid var(--gs-blue) !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: background 0.2s, transform 0.2s !important;
}

.gs-btn-login:hover,
.gs-btn-login.btn-login:hover,
a.gs-btn-login:hover,
button.gs-btn-login:hover {
  background: rgba(235, 119, 37, 0.15) !important;
  transform: translateY(-1px);
  color: #fff !important;
  box-shadow: none !important;
}

.gs-btn-login i,
.gs-btn-login.btn-login i {
  color: var(--gs-blue) !important;
  font-size: 14px !important;
}

.gs-btn-register,
a.gs-btn-register {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding: 0 16px !important;
  border-radius: 9999px !important;
  border: none !important;
  background: linear-gradient(135deg, #eb7725, #dc742a) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 16px var(--gs-glow) !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.gs-btn-register:hover,
a.gs-btn-register:hover {
  background: linear-gradient(135deg, #dc742a, #bd692e) !important;
  transform: translateY(-1px);
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(255, 123, 31, 0.45) !important;
}

html.dark,
html[data-theme="dark"] {
  color-scheme: dark;
}
html:not(.dark):not([data-theme="dark"]),
html[data-theme="light"] {
  color-scheme: light;
}

/* Turuncu vurgu her iki temada sabit (e-spor kimliği) */
html.dark,
html[data-theme="dark"],
html[data-theme="light"] {
  --om-accent: #ff7b1f;
  --om-accent-hover: #eb7725;
}

/* Theme toggle — glass pill (rounded-full) */
.theme-toggle-btn {
  width: 3.5rem !important;   /* w-14 */
  height: 2rem !important;    /* h-8 */
  min-width: 3.5rem !important;
  min-height: 2rem !important;
  padding: 0 1rem !important; /* px-4 */
  border-radius: 9999px !important;
  background: rgba(39, 39, 42, 0.8) !important; /* dark:bg-zinc-800/80 */
  border: 1px solid rgba(63, 63, 70, 0.5) !important; /* dark:border-zinc-700/50 */
  color: #ff7b1f !important; /* text-orange-500 */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.theme-toggle-btn:hover {
  border-color: rgba(255, 123, 31, 0.45) !important;
  color: #ff7e25 !important;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.18),
    0 0 12px rgba(255, 123, 31, 0.15) !important;
}

.theme-toggle-btn:active {
  transform: scale(0.95) !important;
}

.theme-toggle-btn i {
  font-size: 13px !important;
  line-height: 1 !important;
}

html[data-theme="light"] .theme-toggle-btn {
  background: rgba(228, 228, 231, 0.8) !important; /* bg-zinc-200/80 */
  border-color: rgba(212, 212, 216, 0.5) !important; /* border-zinc-300/50 */
  color: #eb7725 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .theme-toggle-btn:hover {
  border-color: rgba(255, 123, 31, 0.45) !important;
  background: rgba(255, 247, 237, 0.95) !important;
  color: #ff7b1f !important;
}

.gs-theme-switch,
.mm-theme-switch {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  height: 2rem !important; /* h-8 */
  padding: 3px 4px !important;
  border-radius: 9999px !important;
  background: rgba(39, 39, 42, 0.8) !important;
  border: 1px solid rgba(63, 63, 70, 0.5) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.gs-theme-switch button,
.mm-theme-switch button {
  width: 28px !important;
  height: 26px !important;
  border: none !important;
  border-radius: 9999px !important;
  background: transparent !important;
  color: #a1a1aa !important; /* zinc-400 */
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  transition: all 0.3s ease !important;
}

.gs-theme-switch button:active,
.mm-theme-switch button:active {
  transform: scale(0.95) !important;
}

.gs-theme-switch button.active,
.mm-theme-switch button.active {
  background: rgba(255, 123, 31, 0.2) !important;
  color: #ff7b1f !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15) !important;
}

.gs-theme-switch button:hover,
.mm-theme-switch button:hover {
  color: #ff7e25 !important;
}

html[data-theme="light"] .gs-theme-switch,
html[data-theme="light"] .mm-theme-switch {
  background: rgba(228, 228, 231, 0.8) !important;
  border-color: rgba(212, 212, 216, 0.5) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .gs-theme-switch button,
html[data-theme="light"] .mm-theme-switch button {
  color: #52525b !important; /* zinc-600 */
}

html[data-theme="light"] .gs-theme-switch button.active,
html[data-theme="light"] .mm-theme-switch button.active {
  background: rgba(255, 123, 31, 0.18) !important;
  color: #eb7725 !important;
}

html[data-theme="light"] .gs-theme-switch button:hover,
html[data-theme="light"] .mm-theme-switch button:hover {
  color: #ff7b1f !important;
}

/* Hide old combined auth dropdown when new buttons present */
.auth-buttons .auth-header-dropdown {
  display: none !important;
}

.auth-buttons.gs-auth-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 992px) {
  .gs-cart-btn span,
  .gs-btn-login span,
  .gs-btn-register span {
    display: none;
  }
  .gs-btn-login,
  .gs-btn-register,
  .gs-cart-btn {
    width: 42px;
    padding: 0;
    justify-content: center;
  }
  .header-search-container {
    margin: 0 12px !important;
  }
}

/* ===== Category nav (GameSepet) ===== */
.header-nav {
  background: #121216 !important;
  border-top: 1px solid var(--gs-border) !important;
  padding: 0 !important;
}

.gs-nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  z-index: 100;
  flex-wrap: nowrap;
  box-sizing: border-box;
}

.gs-nav-cats-fixed {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
  position: relative;
  z-index: 80;
}

.gs-nav-categories {
  position: relative !important;
  overflow: visible !important;
}

.gs-nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
  flex: 0 1 auto;
  justify-content: flex-end;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gs-nav-left::-webkit-scrollbar {
  display: none;
}

.gs-nav-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 12px;
}

.header-nav .nav-item,
.header-nav .gs-nav-pill {
  background: transparent !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  gap: 8px !important;
  color: #e5e7eb !important;
  transition: background 0.2s !important;
  white-space: nowrap;
  flex: 0 0 auto !important;
  align-items: center !important;
  box-sizing: border-box;
}

.header-nav .nav-item:not(.has-dropdown),
.header-nav a.gs-nav-pill {
  max-height: 44px !important;
  overflow: hidden !important;
}

.header-nav .nav-item.has-dropdown {
  overflow: visible !important;
  max-height: none !important;
}

.header-nav .nav-item:hover,
.header-nav .gs-nav-pill:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: transparent !important;
  transform: none !important;
}

.header-nav .nav-item.has-dropdown::after {
  display: none !important;
}

.header-nav .nav-item > span:not(.gs-nav-game-icon) {
  max-width: 160px !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-nav-icon-purple {
  color: #fd5a19 !important;
  font-size: 18px !important;
  flex-shrink: 0;
}

.gs-nav-icon-pink {
  color: #ec4899 !important;
  font-size: 16px !important;
  flex-shrink: 0;
}

.gs-nav-game-icon {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  background: rgba(255, 255, 255, 0.06);
}

.gs-nav-game-icon img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 6px !important;
}

.header-nav .nav-item .dropdown-arrow {
  font-size: 9px;
  opacity: 0.55;
  margin-left: 2px;
  flex-shrink: 0;
}

.gs-account-drop {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  max-height: none !important;
  overflow: visible !important;
}

.gs-account-drop .dropdown-menu {
  right: 0 !important;
  left: auto !important;
}

@media (max-width: 992px) {
  .header-logo {
    height: 40px !important;
    max-width: 140px !important;
  }
}

/* ===== Hero / Banner ===== */
.banner-split {
  max-width: 1400px !important;
  margin: 12px auto 0 !important;
  padding: 0 !important;
}

.banner-split::before {
  display: none !important;
}

.banner-grid {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  padding: 0 20px !important;
  box-sizing: border-box;
}

.popular-column {
  display: none !important;
}

.slider-column {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

.banner-carousel {
  border-radius: 24px !important;
  overflow: hidden !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  min-height: 320px;
}

@media (max-width: 768px) {
  .banner-carousel {
    height: 220px !important;
    min-height: 0 !important;
    max-height: 220px !important;
    aspect-ratio: auto !important;
    border-radius: 14px !important;
  }
  .hero-slide-img {
    object-fit: cover !important;
    object-position: top center !important;
    border-radius: 14px !important;
  }
  .gs-slide-timer {
    left: 12px !important;
    bottom: 10px !important;
    width: 36px !important;
    height: 36px !important;
    font-size: 10px !important;
    transform: scale(0.9);
    transform-origin: left bottom;
  }
  .gs-slide-timer::before {
    inset: 2px;
  }
  .banner-split {
    margin-top: 12px !important;
  }
  .banner-grid {
    padding: 0 12px !important;
  }
}

@media (max-width: 600px) {
  .banner-carousel {
    height: 200px !important;
    max-height: 200px !important;
  }
  .gs-slide-timer {
    width: 32px !important;
    height: 32px !important;
    font-size: 9px !important;
    transform: scale(0.85);
  }
}

.hero-slide-bg,
.hero-slide-art,
.hero-slide-link,
.slider-content,
.slider-text,
.hero-brand,
.hero-kicker,
.hero-headline,
.hero-subhead,
.slider-description {
  display: none !important;
}

.hero-slide-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 24px !important;
  display: block !important;
  pointer-events: none !important;
  -webkit-user-drag: none !important;
  user-select: none !important;
}

.carousel-slide {
  border-radius: 24px;
  background: transparent !important;
}

.carousel-slide[data-href] {
  cursor: pointer;
}

.carousel-slide img {
  border-radius: 24px;
}

.gs-slide-timer {
  position: absolute !important;
  left: 24px !important;
  bottom: 22px !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  z-index: 20 !important;
  pointer-events: none;
  isolation: isolate;
  background: conic-gradient(#ffffff calc(var(--gs-timer-p, 1) * 100%), rgba(255,255,255,0.2) 0) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35) !important;
  backdrop-filter: none !important;
}
.gs-slide-timer::before {
  content: '' !important;
  display: block !important;
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(46, 21, 9, 0.88);
  z-index: 0;
}
.gs-slide-timer-bar { display: none !important; }
.gs-slide-timer > span {
  position: relative;
  z-index: 1;
  line-height: 1;
}
.hero-indicators { display: none !important; }

.carousel-nav,
.carousel-btn {
  display: none !important;
}

.popular-column .popular-card,
.popular-banner-slot {
  border-radius: 16px !important;
  overflow: hidden;
}

.slider-icon:hover,
.slider-icon.active {
  border-color: var(--gs-blue) !important;
  background: rgba(235, 119, 37, 0.15) !important;
}

/* ===== Hero altı — 4’lü Banner Grid ===== */
.home-banner-grid-section {
  max-width: 1400px;
  margin: 8px auto 0 !important;
  padding: 0 24px !important;
  width: 100%;
  box-sizing: border-box;
}

.home-banner-grid {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 1rem !important;
  width: 100% !important;
  padding: 1rem 0 !important;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .home-banner-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .home-banner-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.home-banner-card {
  display: block !important;
  position: relative;
  width: 100% !important;
  height: 110px !important;
  min-height: 110px !important;
  max-height: 110px !important;
  border-radius: 1rem !important; /* rounded-2xl */
  overflow: hidden !important;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
  transition: transform 0.2s ease !important;
  background: #181920;
}

.home-banner-card:hover {
  transform: scale(1.02) !important;
}

.home-banner-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: inherit;
}

@media (max-width: 1023px) {
  .home-banner-card {
    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;
  }
}

@media (max-width: 639px) {
  .home-banner-card {
    height: 110px !important;
    min-height: 110px !important;
    max-height: 110px !important;
  }
  .home-banner-grid-section {
    padding: 0 16px !important;
  }
}

/* ===== Flash deals / Vitrin as Günün Fırsatları ===== */
.gs-deals-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.gs-deals-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin: 0;
}

.gs-deals-title i {
  color: var(--gs-orange);
}

.gs-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gs-orange);
  color: #fff;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}

.gs-see-all {
  color: var(--gs-muted) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.gs-see-all:hover {
  color: #fff !important;
}

.tabs-section .tabs-header {
  margin-bottom: 8px;
}

.tabs-section .tab-btn.active,
.tabs-section .tab-btn:hover {
  border-color: var(--gs-blue) !important;
}

.tabs-all-btn:hover,
.epin-tabs-all-btn:hover,
.see-more-btn {
  background: linear-gradient(135deg, var(--gs-blue), var(--gs-indigo)) !important;
  border-color: transparent !important;
}

.listing-card,
.epin-card-home,
.hizli-pazar-card,
.blog-card {
  border-radius: 16px !important;
  background: var(--gs-bg-card) !important;
  border: 1px solid var(--gs-border) !important;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.listing-card:hover,
.epin-card-home:hover {
  transform: scale(1.03) translateY(-2px) !important;
  border-color: rgba(255, 123, 31, 0.4) !important;
  box-shadow: 0 16px 40px rgba(154, 52, 18, 0.2) !important;
}

.gs-deal-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: var(--gs-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(255, 123, 31, 0.4);
}

.gs-deal-badge.gs-urgent-badge {
  background: linear-gradient(135deg, #ff7b1f, #ff7b1f);
  box-shadow: 0 4px 12px rgba(255, 123, 31, 0.45);
}

.gs-deal-badge.gs-vitrin-badge {
  background: linear-gradient(135deg, #fd5a19, #f36018);
  box-shadow: 0 4px 12px rgba(253, 90, 25, 0.4);
}

.listing-ribbon {
  display: none !important;
}

.gs-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.gs-price-now {
  color: #fff !important;
  font-weight: 800;
  font-size: 16px;
}

.gs-price-old {
  color: var(--gs-muted) !important;
  text-decoration: line-through;
  font-size: 13px;
  font-weight: 500;
}

.gs-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eb7725, #dc742a);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
  border: none;
  text-decoration: none !important;
  box-shadow: 0 4px 14px var(--gs-glow);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.gs-buy-btn:hover {
  background: linear-gradient(135deg, #dc742a, #bd692e);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 123, 31, 0.45);
}

.listing-footer {
  background: transparent !important;
  border-top: none !important;
  padding-top: 0 !important;
}

/* Flash deal kartlarında eski reveal animasyonunu kapat */
.vitrin-card .listing-text-reveal .listing-content,
.featured-card .listing-text-reveal .listing-content,
.vitrin-card .listing-footer,
.featured-card .listing-footer {
  transform: none !important;
  opacity: 1 !important;
  transition: none !important;
}

.listings-grid,
.ipv-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
  align-items: start;
}
@media (min-width: 640px) {
  .listings-grid,
  .ipv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 768px) {
  .listings-grid,
  .ipv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
  .listings-grid,
  .ipv-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}
@media (min-width: 1280px) {
  .listings-grid,
  .ipv-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

.price-badge {
  background: linear-gradient(135deg, var(--gs-blue), var(--gs-indigo)) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(235, 119, 37, 0.35) !important;
}

.vitrin-card .price-badge {
  background: linear-gradient(135deg, var(--gs-green), #059669) !important;
}

/* ===== EPIN category block ===== */
.epin-tab-btn.active .epin-tab-thumb {
  border-color: var(--gs-blue) !important;
  box-shadow: 0 10px 28px rgba(235, 119, 37, 0.25) !important;
}

.gs-tag-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.gs-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--gs-radius-pill);
  background: #1a1a20;
  border: 1px solid var(--gs-border);
  color: var(--gs-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
}

.gs-tag:hover,
.gs-tag.active {
  color: #fff;
  border-color: var(--gs-purple);
  background: rgba(240, 84, 24, 0.2);
}

.gs-discount-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--gs-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
}

.epin-img {
  position: relative;
}

.epin-price-mini {
  color: #fff !important;
  font-size: 15px !important;
}

/* Accent orange → red globally in key hover borders */
.listing-card:hover,
.blog-card:hover,
.epin-card-home:hover {
  border-color: rgba(255, 123, 31, 0.4) !important;
}

.see-more-btn:hover {
  box-shadow: 0 6px 20px rgba(235, 119, 37, 0.4) !important;
}

/* =========================================================
   LIGHT MODE — tüm sayfalar (gamesepet-theme koyu !important ezmeleri)
   ========================================================= */
html[data-theme="light"] {
  --gs-bg: #f3f4f6;
  --gs-bg-elevated: #ffffff;
  --gs-bg-card: #ffffff;
  --gs-border: rgba(43, 25, 14, 0.1);
  --gs-text: #281910;
  --gs-muted: #6b7280;
}

html[data-theme="light"] body,
html[data-theme="light"] main,
html[data-theme="light"] .main-content,
html[data-theme="light"] .page-content {
  background: #f3f4f6 !important;
  background-color: #f3f4f6 !important;
  color: #281910 !important;
}

html[data-theme="light"] .frontend-header,
html[data-theme="light"] .frontend-header .header-top,
html[data-theme="light"] header.frontend-header div.header-top,
html[data-theme="light"] .frontend-header .header-top[style] {
  background: #ffffff !important;
  border-bottom-color: #e5e7eb !important;
  box-shadow: 0 4px 20px rgba(43, 25, 14, 0.06) !important;
}

html[data-theme="light"] .frontend-header .topbar {
  background: #fcf9f8 !important;
  border-bottom: 1px solid #e5e7eb !important;
}

html[data-theme="light"] .frontend-header .topbar-contact {
  color: #64748b !important;
}

html[data-theme="light"] .frontend-header .topbar-contact:hover {
  color: #2b190e !important;
}

html[data-theme="light"] .header-search-box {
  background: #f4f4f5 !important;
  border: 1px solid #e4e4e7 !important;
}

html[data-theme="light"] .header-search-box:hover {
  border-color: rgba(255, 123, 31, 0.4) !important;
  box-shadow: 0 0 12px rgba(255, 123, 31, 0.1) !important;
  background: #ffffff !important;
}

html[data-theme="light"] .header-search-box:focus-within {
  border-color: rgba(255, 123, 31, 0.5) !important;
  box-shadow: 0 0 15px rgba(255, 123, 31, 0.2) !important;
  background: #ffffff !important;
}

html[data-theme="light"] .header-search-input {
  color: #18181b !important;
}

html[data-theme="light"] .header-search-input::placeholder {
  color: #a1a1aa !important;
}

html[data-theme="light"] .header-search-btn {
  background: transparent !important;
  color: #71717a !important;
}

html[data-theme="light"] .header-search-btn:hover {
  background: rgba(255, 123, 31, 0.1) !important;
  color: #eb7725 !important;
}

html[data-theme="light"] .gs-icon-btn,
html[data-theme="light"] .gs-cart-btn {
  background: #f6ede9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

html[data-theme="light"] .gs-icon-btn:hover,
html[data-theme="light"] .gs-cart-btn:hover {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
  color: #2b190e !important;
}

html[data-theme="light"] .gs-btn-login,
html[data-theme="light"] .gs-btn-login.btn-login,
html[data-theme="light"] a.gs-btn-login,
html[data-theme="light"] button.gs-btn-login {
  background: #ffffff !important;
  border: 1.5px solid #eb7725 !important;
  color: #bd692e !important;
  height: 40px !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
}

html[data-theme="light"] .gs-btn-login:hover,
html[data-theme="light"] .gs-btn-login.btn-login:hover {
  background: rgba(235, 119, 37, 0.08) !important;
  color: #bd692e !important;
}

html[data-theme="light"] .gs-btn-login i {
  color: #eb7725 !important;
}

html[data-theme="light"] .gs-theme-switch {
  background: rgba(228, 228, 231, 0.8) !important;
  border-color: rgba(212, 212, 216, 0.5) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="light"] .gs-theme-switch button {
  color: #52525b !important;
}

html[data-theme="light"] .gs-theme-switch button.active {
  background: rgba(255, 123, 31, 0.18) !important;
  color: #eb7725 !important;
}

html[data-theme="light"] .header-nav {
  background: #ffffff !important;
  border-top: 1px solid #e5e7eb !important;
}

html[data-theme="light"] .header-nav .nav-item,
html[data-theme="light"] .header-nav .gs-nav-pill,
html[data-theme="light"] .header-nav .nav-item span,
html[data-theme="light"] .header-nav .nav-item i {
  color: #334155 !important;
}

html[data-theme="light"] .header-nav .nav-item:hover,
html[data-theme="light"] .header-nav .gs-nav-pill:hover {
  background: #f6ede9 !important;
  color: #2b190e !important;
}

html[data-theme="light"] .gs-nav-icon-purple {
  color: #f05418 !important;
}

html[data-theme="light"] .gs-nav-icon-pink {
  color: #db2777 !important;
}

html[data-theme="light"] .gs-deals-title,
html[data-theme="light"] .gs-price-now,
html[data-theme="light"] .section-title {
  color: #281910 !important;
}

html[data-theme="light"] .gs-see-all {
  color: #64748b !important;
}

html[data-theme="light"] .gs-see-all:hover {
  color: #2b190e !important;
}

html[data-theme="light"] .listing-card,
html[data-theme="light"] .listing-card:not(.vitrin-card),
html[data-theme="light"] .vitrin-card,
html[data-theme="light"] .featured-card,
html[data-theme="light"] .epin-card-home,
html[data-theme="light"] .blog-card,
html[data-theme="light"] .hizli-pazar-card {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  color: #281910 !important;
}

html[data-theme="light"] .listing-card:hover,
html[data-theme="light"] .epin-card-home:hover,
html[data-theme="light"] .blog-card:hover {
  border-color: rgba(235, 119, 37, 0.45) !important;
  box-shadow: 0 12px 28px rgba(154, 52, 18, 0.1) !important;
}

html[data-theme="light"] .listing-title,
html[data-theme="light"] .listing-card:not(.vitrin-card) .listing-title,
html[data-theme="light"] .epin-title-text,
html[data-theme="light"] .blog-item-title {
  color: #281910 !important;
}

html[data-theme="light"] .listing-description,
html[data-theme="light"] .listing-card:not(.vitrin-card) .listing-description,
html[data-theme="light"] .gs-price-old,
html[data-theme="light"] .blog-excerpt,
html[data-theme="light"] .seller-label {
  color: #6b7280 !important;
}

html[data-theme="light"] .seller-name {
  color: #281910 !important;
}

html[data-theme="light"] .listing-footer {
  background: #fcf9f8 !important;
  border-top: 1px solid #e5e7eb !important;
}

html[data-theme="light"] .gs-price-now,
html[data-theme="light"] .epin-price-mini {
  color: #281910 !important;
}

html[data-theme="light"] .home-banner-card {
  box-shadow: 0 10px 25px rgba(43, 25, 14, 0.12) !important;
  background: #f6ede9;
}

html[data-theme="light"] .gs-tag {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

html[data-theme="light"] .gs-tag:hover,
html[data-theme="light"] .gs-tag.active {
  color: #ad431c !important;
  border-color: #ff6527 !important;
  background: rgba(240, 84, 24, 0.08) !important;
}

html[data-theme="light"] .tabs-section .tabs-header,
html[data-theme="light"] .epin-tabs-left,
html[data-theme="light"] .seo-card {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
}

html[data-theme="light"] .tab-btn,
html[data-theme="light"] .epin-tab-btn,
html[data-theme="light"] .epin-btn-dark {
  color: #281910 !important;
  background: #fcf9f8 !important;
}

html[data-theme="light"] .tabs-all-btn,
html[data-theme="light"] .tabs-all-btn i,
html[data-theme="light"] .epin-tabs-all-btn,
html[data-theme="light"] .epin-tabs-all-btn i {
  color: #281910 !important;
  background: #ffffff !important;
  border-color: #d1d5db !important;
}

html[data-theme="light"] .tabs-all-btn:hover,
html[data-theme="light"] .tabs-all-btn:focus,
html[data-theme="light"] .tabs-all-btn:active,
html[data-theme="light"] .tabs-all-btn:hover i,
html[data-theme="light"] .epin-tabs-all-btn:hover,
html[data-theme="light"] .epin-tabs-all-btn:focus,
html[data-theme="light"] .epin-tabs-all-btn:hover i {
  color: #281910 !important;
  background: #f3f4f6 !important;
  border-color: #281910 !important;
}

html[data-theme="light"] .tab-btn.active,
html[data-theme="light"] .epin-tab-btn.active,
html[data-theme="light"] .epin-btn.active {
  background: #fff8f3 !important;
  color: #bd692e !important;
}

html[data-theme="light"] .site-footer,
html[data-theme="light"] .footer-topbar,
html[data-theme="light"] .footer-quicknav {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #334155 !important;
}

html[data-theme="light"] .mobile-bottom-menu.magic-bottom-nav {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(228, 228, 231, 0.90) !important;
}

html[data-theme="light"] .mobile-bottom-menu .bottom-menu-item {
  color: #64748b !important;
}

html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .mobile-menu-content {
  background: #ffffff !important;
  color: #281910 !important;
}

html[data-theme="light"] .banner-split,
html[data-theme="light"] .banner-accent-overlay {
  opacity: 1;
}

html[data-theme="light"] .popular-card,
html[data-theme="light"] .popular-empty {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #64748b !important;
}

html[data-theme="light"] .dropdown-menu,
html[data-theme="light"] .categories-panel,
html[data-theme="light"] .live-search-dropdown {
  background: #ffffff !important;
  border-color: #e5e7eb !important;
  color: #281910 !important;
}

html[data-theme="light"] .category-card1 {
  background: #fcf9f8 !important;
  border-color: #e5e7eb !important;
  color: #281910 !important;
}

html[data-theme="light"] .category-card1:hover {
  background: #fff8f3 !important;
  color: #dc742a !important;
}

html[data-theme="light"] .gs-buy-btn {
  color: #ffffff !important;
}

/* ===== Mobile responsive fixes ===== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  body {
    padding-bottom: calc(64px + 12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .gs-desktop-only {
    display: none !important;
  }

  .mobile-bottom-menu.magic-bottom-nav {
    display: block !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    z-index: 50 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .magic-nav-shell {
    background: rgba(9, 9, 11, 0.95) !important;
    border: none !important;
    border-top: 1px solid rgba(39, 39, 42, 0.80) !important;
    border-radius: 16px 16px 0 0 !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    overflow: visible !important;
    min-height: 64px !important;
    height: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45) !important;
  }

  html[data-theme="light"] .mobile-bottom-menu.magic-bottom-nav {
    background: transparent !important;
    border: none !important;
  }

  html[data-theme="light"] .magic-nav-shell {
    background: rgba(255, 255, 255, 0.96) !important;
    border-top-color: rgba(228, 228, 231, 0.90) !important;
  }

  #live-toast-container {
    bottom: 90px !important;
    z-index: 50 !important;
  }

  .banner-carousel {
    overflow: hidden !important;
    height: 220px !important;
    min-height: 0 !important;
    max-height: 220px !important;
    aspect-ratio: auto !important;
  }

  .hero-kicker { font-size: 1.05rem !important; }
  .hero-headline { font-size: 1.35rem !important; }
  .hero-subhead { font-size: 1rem !important; }
  .slider-description { font-size: 0.8rem !important; }

  .home-banner-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .home-banner-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
  }
  .home-banner-card img {
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 12px !important;
  }

  /* Mobil header: hamburger | logo | profil — yan yana görünür */
  header.frontend-header div.header-top,
  .frontend-header .header-top {
    flex-direction: row !important;
    align-items: center !important;
    padding: 6px 12px !important;
    gap: 8px !important;
  }
  .frontend-header .header-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .frontend-header .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    color: #ff7b1f !important;
    font-size: 18px !important;
    background: transparent !important;
    border: none !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .frontend-header .logo-section {
    flex: 1 1 auto !important;
    display: flex !important;
    justify-content: center !important;
    min-width: 0 !important;
  }
  .frontend-header .header-logo {
    height: 36px !important;
    max-width: 120px !important;
    display: block !important;
  }
  .frontend-header .header-search-container {
    display: none !important;
  }
  .gs-announcement {
    display: none !important;
  }
  .frontend-header .header-nav {
    display: none !important;
  }
  .theme-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 3.5rem !important;
    height: 2rem !important;
    min-width: 3.5rem !important;
    border-radius: 9999px !important;
    flex-shrink: 0 !important;
  }
  .frontend-header .header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }
  .frontend-header .mobile-account-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .gs-topbar,
  .frontend-header .top-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gs-announcement-inner {
    overflow: visible !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
  }

  .gs-announcement-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw;
  }
}

@media (min-width: 769px) {
  .mobile-account-btn {
    display: none !important;
  }
}

.pack-card {
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  overflow: hidden;
  text-decoration: none !important;
  color: #281910 !important;
}
.pack-art {
  position: relative;
  aspect-ratio: 1 / 1.05;
  background: #ffcbbd center / cover no-repeat;
  overflow: hidden;
}
.pack-art.tone-valorant { background: linear-gradient(160deg, #4d2f19, #be123c); }
.pack-art.tone-razer { background: linear-gradient(160deg, #022c22, #14532d); }
.pack-art.tone-default { background: linear-gradient(160deg, #2b190e, #334155); }
.pack-art.tone-pubg { background: linear-gradient(180deg, #ff4c25, #ff390f 55%, #f22f05); }
.pack-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pack-art.is-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43, 25, 14, 0.28) 0%, rgba(43, 25, 14, 0.08) 42%, rgba(43, 25, 14, 0.5) 100%);
}
.pack-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}
.pack-top {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 56px);
}
.pack-region {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
.pack-flag { display: block; flex: 0 0 auto; }
.pack-logo {
  height: 16px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.pack-game {
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pack-value {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 10px 12px;
  color: #f6e7c1;
  font-weight: 900;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-align: center;
  text-shadow: 0 2px 0 rgba(120, 72, 12, 0.35), 0 8px 18px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}
.pack-value span {
  display: block;
  margin-top: 6px;
  font-size: 0.42em;
  letter-spacing: 0.14em;
}
.pack-foot {
  padding: 10px 12px 12px;
  background: #fff !important;
}
.pack-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: #374151 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pack-prices {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.pack-now {
  font-size: 15px;
  font-weight: 800;
  color: #281910 !important;
}
.pack-old {
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af !important;
  text-decoration: line-through;
}

/* ===== Public polish ===== */
html[data-theme="light"] body,
html[data-theme="dark"] body {
  background:
    radial-gradient(1100px 420px at 0% -8%, rgba(255, 123, 31, 0.1), transparent 60%),
    radial-gradient(900px 380px at 100% 0%, rgba(253, 93, 17, 0.07), transparent 55%),
    #fbf7f5 !important;
}

.frontend-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(43, 25, 14, 0.06);
}

.header-content {
  max-width: 1240px;
  margin: 0 auto;
  gap: 16px !important;
}

.header-search-container {
  flex: 1 1 240px !important;
  min-width: 0 !important;
}

.header-search-input {
  border-radius: 999px !important;
  background: #fcf9f8 !important;
  border: 1px solid rgba(43, 25, 14, 0.08) !important;
}

.header-actions,
.auth-buttons.gs-auth-row {
  flex-shrink: 0;
}

.gs-btn-login,
.gs-btn-login.btn-login,
.gs-btn-register {
  border-radius: 999px !important;
}

.gs-btn-register {
  background: linear-gradient(135deg, #ff7e25, #eb7725) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(235, 119, 37, 0.28);
}

.gs-announcement {
  background: linear-gradient(90deg, #281910 0%, #955121 46%, #eb7725 100%) !important;
  letter-spacing: 0.01em;
}

.header-nav {
  background: #101114 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.listing-card,
.epin-card-home,
.hizli-pazar-card,
.blog-card {
  box-shadow: 0 8px 24px rgba(43, 25, 14, 0.05);
}

.listing-card:hover,
.epin-card-home:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 18px 40px rgba(43, 25, 14, 0.12) !important;
}

.tabs-section,
.home-section {
  scroll-margin-top: 90px;
}


