/* New Design CSS with Improvements */
:root {
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #7C3AED;
  --secondary: #EC4899;
  --accent: #ec4899;
  --accent-hover: #db2777;
  --accent-glow: #f472b6;
  --background: #0f172a;
  --card-bg: rgba(30, 41, 59, 0.7);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --border: rgba(255, 255, 255, 0.1);
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient-start: #8B5CF6;
  --gradient-end: #EC4899;
  --header-height: 76px;

  /* Popover & inputs (naudojama dropdown spalvoms) */
  --popover-bg: rgba(20, 20, 30, 0.98);
  --input-bg: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] {
  --background: #f1f5f9;
  --card-bg: rgba(255, 255, 255, 0.9);
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border: rgba(0, 0, 0, 0.1);
  --primary: #8B5CF6;
  --primary-light: #A78BFA;
  --primary-dark: #7C3AED;
  --secondary: #EC4899;
  --accent: #ec4899;
  --accent-hover: #db2777;
  --accent-glow: #f472b6;

  --popover-bg: rgba(255, 255, 255, 0.98);
  --input-bg: rgba(0, 0, 0, 0.03);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { color-scheme: light dark; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .header {
  background: rgba(241, 245, 249, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  letter-spacing: 0.02em;
}

.logo:hover {
  transform: scale(1.05);
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 600px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

[data-theme="light"] .search-input-wrapper input {
  background: #f3f4f6;
  border-color: #e5e7eb;
  color: #1f2937;
}

.search-input-wrapper input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .search-input-wrapper input:focus {
  background: #f3f4f6;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.search-input-wrapper i {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

[data-theme="light"] .search-input-wrapper i {
  color: #9ca3af;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

[data-theme="light"] .theme-toggle {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #4b5563;
}

.theme-toggle:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

[data-theme="light"] .cart-btn {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #4b5563;
}

.cart-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--secondary);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Profile Button - Matching Theme and Cart Button Style */
.profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

[data-theme="light"] .profile-btn {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #4b5563;
}

.profile-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Profile Dropdown */
.profile-dropdown {
  position: relative;
  z-index: 1400;
}

.profile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(24, 24, 37, 0.92));
  backdrop-filter: blur(24px);
  border: 1px solid rgba(236, 72, 153, 0.25);
  border-radius: 16px;
  width: 280px;
  padding: 1.5rem;
  margin-top: 0.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(236, 72, 153, 0.2);
  z-index: 1500;
  overflow: visible;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  width: 18px;
  height: 18px;
  background: inherit;
  transform: rotate(45deg);
  border-left: inherit;
  border-top: inherit;
  z-index: -1;
}

[data-theme="light"] .profile-menu::before {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(236, 72, 153, 0.25);
}

.profile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[data-theme="light"] .profile-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(236, 72, 153, 0.25);
  box-shadow: 0 15px 50px rgba(236, 72, 153, 0.18), 0 0 0 1px rgba(236, 72, 153, 0.18);
}

.profile-menu-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .profile-menu-header {
  border-bottom: 1px solid rgba(236, 72, 153, 0.2);
}

.profile-menu-header i {
  font-size: 2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.profile-menu-header span {
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  background: rgba(236, 72, 153, 0.05);
  border: 1px solid rgba(236, 72, 153, 0.1);
  width: 100%;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.profile-menu-item:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: var(--text-primary);
  border-color: rgba(236, 72, 153, 0.3);
  transform: translateX(5px);
}

[data-theme="light"] .profile-menu-item {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.15);
  color: #1a1a2e;
}

[data-theme="light"] .profile-menu-item:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
  border-color: rgba(236, 72, 153, 0.4);
  color: #1a1a2e;
}

.profile-menu-item i {
  width: 24px;
  text-align: center;
  color: var(--primary);
  font-size: 1.1rem;
}

.profile-menu-item:last-child {
  margin-bottom: 0;
}

/* Service fee info components */
.fee-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

 .fee-info-trigger {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 255, 0.94);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 0.9rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.fee-info-trigger i {
  color: inherit;
}

.fee-info-trigger::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.65), rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0));
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: -1;
}

.fee-info-trigger:hover,
.fee-info-trigger:focus-visible {
  color: #fff;
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.35);
  box-shadow: 0 10px 22px -12px rgba(139, 92, 246, 0.75);
  outline: none;
  transform: translateY(-1px);
}

.fee-info-trigger:hover::after,
.fee-info-trigger:focus-visible::after {
  opacity: 1;
  transform: scale(1.1);
}

[data-theme="light"] .fee-info-trigger {
  border-color: rgba(0, 0, 0, 0.12);
  background: rgba(15, 23, 42, 0.06);
  color: #1f2937;
}

[data-theme="light"] .fee-info-trigger:hover,
[data-theme="light"] .fee-info-trigger:focus-visible {
  color: #fff;
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.15);
}

[data-fee-info-modal] {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 1.5rem;
}

[data-fee-info-modal].is-visible {
  opacity: 1;
  visibility: visible;
}

 .fee-info-dialog {
  background: #121a35;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem;
  max-width: 640px;
  width: min(90vw, 640px);
  box-shadow: 0 30px 80px rgba(10, 12, 24, 0.65), 0 0 0 1px rgba(139, 92, 246, 0.12);
  position: relative;
  text-align: center;
}

[data-theme="light"] .fee-info-dialog {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 40px 90px rgba(20, 20, 35, 0.15), 0 0 0 1px rgba(139, 92, 246, 0.08);
}

.fee-info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.25));
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .fee-info-icon {
  color: var(--primary);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.fee-info-dialog h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.fee-info-dialog p {
  color: var(--text-secondary);
}

.fee-info-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
}

.fee-info-close:hover,
.fee-info-close:focus-visible {
  color: var(--primary);
  outline: none;
}

.logout-btn {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

.logout-btn:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.3) 100%) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

[data-theme="light"] .logout-btn {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  color: #1a1a2e !important;
}

[data-theme="light"] .logout-btn:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.3) 100%) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

.profile-menu-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

[data-theme="light"] .profile-menu-footer {
  border-top: 1px solid rgba(236, 72, 153, 0.2);
}

/* Login Link - Simple Direct Redirect */
.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

[data-theme="light"] .login-link {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #4b5563;
}

.login-link:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

[data-theme="light"] .login-link:hover {
  background: rgba(139, 92, 246, 0.05);
}

/* Main Navigation */
.main-navigation {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: var(--header-height, 76px);
  z-index: 1090;
}

[data-theme="light"] .main-navigation {
  background: rgba(249, 250, 251, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center; /* centruota kaip bundles.html */
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(236, 72, 153, 0.2) 100%);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  color: white;
}

[data-theme="light"] .nav-link {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #1f2937;
}

[data-theme="light"] .nav-link:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.15) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

[data-theme="light"] .nav-link.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
  color: white;
}

/* Categories Dropdown - Aligned with button */
.dropdown-trigger {
  position: relative;
  cursor: pointer;
}

.categories-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(-15px);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(236, 72, 153, 0.3);
  border-radius: 16px;
  min-width: 320px;
  padding: 1rem;
  margin-top: 0.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(236, 72, 153, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.dropdown-trigger:hover .categories-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
    background: rgba(255, 255, 255, 0.1); /* Adjusted background for lighter tone */

.categories-dropdown a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 12px;
  background: rgba(236, 72, 153, 0.05);
  border: 1px solid rgba(236, 72, 153, 0.1);
}

.categories-dropdown a:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  color: var(--text-primary);
  border-color: rgba(236, 72, 153, 0.3);
  transform: translateX(5px);
  padding-left: 2rem;
}

.categories-dropdown a i {
  width: 24px;
  text-align: center;
  color: var(--primary);
  font-size: 1.1rem;
}

/* Light Theme Improvements for Categories Dropdown */
[data-theme="light"] .categories-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(236, 72, 153, 0.3);
  box-shadow: 0 15px 50px rgba(236, 72, 153, 0.15), 0 0 0 1px rgba(236, 72, 153, 0.2);
}

[data-theme="light"] .categories-dropdown a {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid rgba(236, 72, 153, 0.15);
  color: #1a1a2e;
}

[data-theme="light"] .categories-dropdown a:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
  border-color: rgba(236, 72, 153, 0.4);
  color: #1a1a2e;
}

[data-theme="light"] .categories-dropdown a i {
  color: var(--accent);
}

/* Responsive Categories Dropdown */
@media (max-width: 1024px) {
  .categories-dropdown {
    min-width: 300px;
    max-width: 90vw;
  }
}

@media (max-width: 768px) {
  .categories-dropdown {
    min-width: 280px;
    max-width: 85vw;
  }
}

@media (max-width: 480px) {
  .categories-dropdown {
    min-width: 90vw;
    max-width: 320px;
    left: 50%;
    transform: translateX(-50%) translateY(-15px);
  }
  
  .dropdown-trigger:hover .categories-dropdown {
    transform: translateX(-50%) translateY(0);
  }
}

/* FORM CONTROLS – Dropdown teminis fonas ir tekstas (fix „baltą“ meniu) */
.filter-group select,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text-primary);
  border: 1px solid var(--border);
  outline: none;
  appearance: none;
}

.filter-group select option,
select option {
  background-color: var(--popover-bg);
  color: var(--text-primary);
}

.filter-group select:focus,
select:focus {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

/* Filtrų blokas (bendri stiliai) */
.filters-section { padding: 12px 0 0; }
.filters-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.filter-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: .2px;
  text-transform: uppercase;
}

/* Games grid (bendras) */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* Original Game Card Styles - Restored + patobulinta su 16:9 wrapper */
.game-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: #FF1B6B;
  box-shadow: 0 8px 30px rgba(255, 27, 107, 0.2);
}

/* 16:9 wrapper – jei naudojamas .game-image */
.game-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255,255,255,.04);
}
.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.game-card:hover .game-image img { transform: scale(1.06); }

/* Suderinamumas su senu markup (jei nėra .game-image wrapper) */
.game-card img {
  width: 100%;
  height: 200px; /* fallback */
  object-fit: cover;
  display: block;
}

/* Badge’ai kortelėje */
.badge-sale {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #8B5CF6, #EC4899);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45);
  z-index: 2;
}
.badge-platform {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,.18);
  z-index: 2;
}

/* Esamas „discount“ (paliekame suderinamumui) */
.game-card .discount {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #FF1B6B 0%, #FF6B9D 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 27, 107, 0.4);
  z-index: 2;
}

.game-card .game-info {
  padding: 1.5rem;
}

.game-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.game-card .game-platform {
  display: inline-block;
  background: rgba(255, 27, 107, 0.1);
  color: #FF1B6B;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.game-card .price-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.game-card .old-price {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.game-card .new-price {
  color: #FF1B6B;
  font-size: 1.5rem;
  font-weight: 700;
}

.game-card .btn {
  width: 100%;
}

/* Platform selector dropdown (senas komponentas) */
.platform-selector {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
}
.platform-selector:focus {
  outline: none;
  border-color: var(--primary);
}

/* Auth Modal Styles */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Pink Accent Colors Throughout */
[data-theme="light"] {
  --primary: var(--accent);
  --primary-hover: var(--accent-hover);
  --primary-glow: var(--accent-glow);
}

[data-theme="light"] .add-to-cart-btn {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
}
[data-theme="light"] .add-to-cart-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--primary-dark) 100%);
}
[data-theme="light"] .cart-btn:hover {
  background: rgba(236, 72, 153, 0.1);
  border-color: var(--accent);
}
[data-theme="light"] .profile-btn:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--primary-dark) 100%);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container { padding: 0 1rem; }
  .header-content { gap: 1rem; }
  .header-search { max-width: 400px; }
}

@media (max-width: 768px) {
  .header-content { flex-wrap: wrap; }
  .header-search { max-width: 100%; order: 3; flex: 0 0 100%; }
  .nav-links { gap: 0.75rem; }
  .nav-link { padding: 0.5rem 0.75rem; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .header { padding: 0.75rem 0; }
  .logo { font-size: 1.5rem; }
  .header-actions { gap: 0.5rem; }
  .profile-btn, .cart-btn, .theme-toggle { width: 36px; height: 36px; }
  .nav-links { gap: 0.5rem; }
  .nav-link { padding: 0.5rem; font-size: 0.8rem; }
  .nav-link i { display: none; }

  .game-card-content { padding: 1rem; }
  .game-card-title { font-size: 1rem; }
  .current-price { font-size: 1.1rem; }
}
