/* ================== CSS VARIABLES ================== */
:root {
  /* Dark theme - lighter grayish tones */
  --bg-primary: #1a1d24;
  --bg-secondary: #22262e;
  --bg-tertiary: #2a2f38;
  --bg-card: #252932;
  --bg-card-hover: #2d323c;
  
  /* Blue accent */
  --accent-primary: #4a9eff;
  --accent-secondary: #3d8be8;
  --accent-tertiary: #2d7ad4;
  --accent-glow: rgba(74, 158, 255, 0.3);
  
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #707085;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --info: #60a5fa;
  
  --gradient-primary: linear-gradient(135deg, #262b34 0%, #1e2228 100%);
  --gradient-accent: linear-gradient(135deg, #4a9eff 0%, #2d7ad4 100%);
  --gradient-card: linear-gradient(180deg, #282d36 0%, #22272f 100%);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--accent-glow);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-primary: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', sans-serif;
}

/* ================== LIGHT THEME ================== */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  
  --accent-primary: #0f172a;
  --accent-secondary: #1e293b;
  --accent-tertiary: #334155;
  --accent-glow: rgba(15, 23, 42, 0.08);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  --gradient-primary: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  --gradient-accent: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 0 3px var(--accent-glow);
  
  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;
}

[data-theme="light"] body::before {
  opacity: 0.03;
  filter: saturate(0.3);
}

[data-theme="light"] body::after {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.95) 100%);
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
}

[data-theme="light"] .account-card {
  box-shadow: var(--shadow-md);
  background: #ffffff;
  border: 1px solid var(--border-color);
}


[data-theme="light"] .account-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

[data-theme="light"] .account-card-badge {
  box-shadow: var(--shadow-sm);
  background: var(--accent-primary);
  color: #ffffff;
}

[data-theme="light"] .account-card-title {
  color: var(--text-primary);
}

[data-theme="light"] .stat-item {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

[data-theme="light"] .stat-item.gold {
  background: #fef3c7;
  color: #92400e;
}

[data-theme="light"] .stat-item.premium {
  background: #f3e8ff;
  color: #7c3aed;
}

[data-theme="light"] .stat-item.top {
  background: #d1fae5;
  color: #047857;
}

[data-theme="light"] .stat-value {
  color: inherit;
}

[data-theme="light"] .stat-label {
  color: inherit;
  opacity: 0.85;
}

[data-theme="light"] .btn-details {
  box-shadow: var(--shadow-md);
  background: var(--gradient-accent);
}

[data-theme="light"] .btn-details:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

[data-theme="light"] .price-current {
  color: var(--text-primary);
  text-shadow: none;
}

[data-theme="light"] .btn-outline {
  border-color: var(--border-color);
  color: var(--text-primary);
  background: transparent;
}

[data-theme="light"] .btn-outline:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: white;
}

[data-theme="light"] .btn-primary {
  background: var(--gradient-accent);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-right: 12px;
}

.theme-toggle:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
  transform: rotate(15deg);
}

.theme-toggle .fa-sun {
  display: none;
}

.theme-toggle .fa-moon {
  display: block;
}

[data-theme="light"] .theme-toggle .fa-sun {
  display: block;
}

[data-theme="light"] .theme-toggle .fa-moon {
  display: none;
}

/* Light theme - Auth pages */
[data-theme="light"] .auth-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .auth-title {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .auth-form input {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .auth-form input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .auth-form input::placeholder {
  color: var(--text-muted);
}

[data-theme="light"] .auth-form label {
  color: var(--text-secondary);
}

[data-theme="light"] .auth-divider span {
  background: #ffffff;
  color: var(--text-muted);
}

[data-theme="light"] .captcha-image {
  border-color: var(--border-color);
  background: #1e293b;
}

/* Light theme - Giveaway page */
[data-theme="light"] .giveaway-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .giveaway-title {
  color: var(--text-primary);
}

[data-theme="light"] .giveaway-prize {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

[data-theme="light"] .giveaway-timer-value {
  background: var(--accent-primary);
  color: #ffffff;
}

[data-theme="light"] .giveaway-participants {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

/* Light theme - Form controls */
[data-theme="light"] .form-control {
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .form-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
  outline: none;
}

[data-theme="light"] .form-control::placeholder {
  color: var(--text-muted);
}

/* Light theme - Alerts */
[data-theme="light"] .alert {
  border: 1px solid;
}

[data-theme="light"] .alert-error {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.3);
}

[data-theme="light"] .alert-success {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.3);
}

/* Light theme - Profile page */
[data-theme="light"] .profile-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .profile-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
}

[data-theme="light"] .purchase-item {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
}

/* Light theme - Support/Ticket pages */
[data-theme="light"] .ticket-card,
[data-theme="light"] .support-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .message-bubble {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

[data-theme="light"] .message-bubble.own {
  background: var(--accent-primary);
  color: #ffffff;
}


/* Light theme - Theme toggle */
[data-theme="light"] .theme-toggle {
  background: #ffffff;
  border-color: var(--border-color);
}

[data-theme="light"] .theme-toggle:hover {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

/* Light theme - Avatars */
[data-theme="light"] .review-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
}

[data-theme="light"] .user-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #ffffff;
}

/* Light theme - Review card */
[data-theme="light"] .review-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

[data-theme="light"] .review-date {
  color: var(--text-muted);
}

[data-theme="light"] .review-text {
  color: var(--text-primary);
}

[data-theme="light"] .review-author {
  color: var(--text-primary);
}

/* Light theme - Game tabs improved */
[data-theme="light"] .game-tab {
  background: #ffffff;
  border: 2px solid var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .game-tab span {
  color: var(--text-primary);
}

[data-theme="light"] .game-tab i {
  color: var(--text-muted);
}

[data-theme="light"] .game-tab:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tertiary);
}

[data-theme="light"] .game-tab:hover i {
  color: var(--accent-primary);
}

[data-theme="light"] .game-tab.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .game-tab.active span {
  color: #ffffff;
}

[data-theme="light"] .game-tab.active i {
  color: #ffffff;
}

[data-theme="light"] .game-tab.active small {
  color: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .game-tab.active .tab-region {
  background: #ffffff;
  color: var(--accent-primary);
  border-color: transparent;
}

[data-theme="light"] .game-tab[data-tab="blitz"].active {
  background: #b45309;
  border-color: #b45309;
}

[data-theme="light"] .game-tab[data-tab="blitz"].active i {
  color: #ffffff;
}

[data-theme="light"] .game-tab[data-tab="blitz"].active .tab-region {
  background: #ffffff;
  color: #b45309;
}

[data-theme="light"] .game-tab[data-tab="blitz"]:hover {
  border-color: #b45309;
}

[data-theme="light"] .game-tab[data-tab="blitz"]:hover i {
  color: #b45309;
}

[data-theme="light"] .tab-region {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  border-color: var(--border-color);
}

/* Light theme - Stars rating */
[data-theme="light"] .review-rating i {
  color: #f59e0b;
}

/* Light theme - Navigation */
[data-theme="light"] .nav-link {
  color: var(--text-secondary);
}

[data-theme="light"] .nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

[data-theme="light"] .nav-link.active {
  color: var(--accent-primary);
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .nav-link.active .nav-icon {
  stroke: var(--accent-primary);
}

/* Light theme - Section titles */
[data-theme="light"] .section-title {
  color: var(--text-primary);
}

[data-theme="light"] .section-subtitle {
  color: var(--text-secondary);
}

/* Light theme - Footer */
[data-theme="light"] .footer-logo {
  color: var(--text-primary);
}

[data-theme="light"] .footer-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .footer-links a:hover {
  color: var(--text-primary);
}

[data-theme="light"] .footer-copy {
  color: var(--text-muted);
}

/* Light theme - Hero section */
[data-theme="light"] .hero-title {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-subtitle {
  color: var(--text-secondary);
}

/* Light theme - Feature cards */
[data-theme="light"] .feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .feature-card:hover {
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .feature-icon {
  background: var(--gradient-accent);
}

/* Light theme - Account card details */
[data-theme="light"] .account-card-footer {
  border-top-color: var(--border-color);
}

/* Light theme - FAQ page */
[data-theme="light"] .faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
}

[data-theme="light"] .faq-item:hover {
  border-color: #cbd5e1;
}

[data-theme="light"] .faq-question {
  color: var(--text-primary);
}

[data-theme="light"] .faq-answer {
  color: var(--text-secondary);
}

/* Light theme - Support page */
[data-theme="light"] .support-info-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
}

[data-theme="light"] .ticket-list-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
}

[data-theme="light"] .ticket-list-item:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-sm);
}

/* Light theme - Modals */
[data-theme="light"] .modal-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

/* Light theme - Dropdowns */
[data-theme="light"] .user-dropdown {
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .user-dropdown a {
  color: var(--text-secondary);
}

[data-theme="light"] .user-dropdown a:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* Light theme - Logo */
[data-theme="light"] .logo {
  color: var(--text-primary);
}

/* Light theme - User balance */
[data-theme="light"] .user-balance {
  background: transparent;
  color: var(--text-primary);
}

/* Light theme - Stock badge */
[data-theme="light"] .stock-badge {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}

[data-theme="light"] .btn-details .stock-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-shadow: none;
}

/* Light theme - FAQ page */
[data-theme="light"] .faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
}

[data-theme="light"] .faq-question {
  color: var(--text-primary);
}

/* ================== RESET & BASE ================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Background image layer */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/bg-mini-tanks.jpg') center center / cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: -2;
}

/* Dark overlay + accent gradients */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(22, 26, 32, 0.4);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

/* ================== TYPOGRAPHY ================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ================== CONTAINER ================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================== HEADER ================== */
.header {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.logo-svg {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 8px rgba(74, 158, 255, 0.4));
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-link.active {
  color: var(--accent-primary);
}

.nav-link.active .nav-icon {
  stroke: var(--accent-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================== BUTTONS ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
  color: white;
}

.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
  background: var(--accent-primary);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #ef4444;
}

.btn-success {
  background: var(--success);
  color: #0f1923;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* ================== USER BUTTON ================== */
.user-menu {
  position: relative;
}

.user-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.user-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.user-menu:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.user-dropdown a:last-child {
  border-bottom: none;
}

.user-dropdown a:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

/* ================== HERO SECTION ================== */
.hero {
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ================== GAME INFO BANNER ================== */
.game-info-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
  border: 2px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-primary);
}

.game-info-banner i {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .game-info-banner {
    font-size: 0.95rem;
    padding: 12px 16px;
  }
}

/* ================== GAME TABS ================== */
.game-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.game-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  font-family: var(--font-primary);
  color: var(--text-secondary);
}

.game-tab i {
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.game-tab span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.game-tab small {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: -4px;
}

.tab-region {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  border: 1px solid var(--border-color);
}

.game-tab:hover {
  border-color: var(--accent-primary);
  background: var(--bg-card-hover);
}

.game-tab:hover i {
  color: var(--accent-primary);
}

.game-tab.active {
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.15) 0%, rgba(45, 122, 212, 0.1) 100%);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(74, 158, 255, 0.2);
}

.game-tab.active i {
  color: var(--accent-primary);
}

.game-tab.active .tab-region {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.game-tab[data-tab="blitz"].active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.1) 100%);
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.game-tab[data-tab="blitz"].active i {
  color: #f59e0b;
}

.game-tab[data-tab="blitz"].active .tab-region {
  background: #f59e0b;
  color: #0f1923;
  border-color: #f59e0b;
}

.game-tab[data-tab="blitz"]:hover {
  border-color: #f59e0b;
}

.game-tab[data-tab="blitz"]:hover i {
  color: #f59e0b;
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .game-tabs {
    flex-direction: column;
  }
  
  .game-tab {
    width: 100%;
    justify-content: center;
  }
}

/* ================== FEATURES SECTION ================== */
.features-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--accent-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ================== CATALOG HEADER ================== */
.catalog-header {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.catalog-header-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--accent-primary);
}

.catalog-header-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-header-info h1 {
  font-size: 2.5rem;
  margin: 0;
}

.catalog-header-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.catalog-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
}

.catalog-game-badge.badge-wot {
  background: rgba(74, 158, 255, 0.15);
  color: #4a9eff;
  border: 1px solid rgba(74, 158, 255, 0.3);
}

.catalog-game-badge.badge-blitz {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.region-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  width: fit-content;
}

@media (max-width: 768px) {
  .game-selection {
    flex-direction: column;
    align-items: center;
  }
  
  .game-card {
    min-width: 280px;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .catalog-header-info h1 {
    font-size: 1.75rem;
  }
}

/* ================== CATEGORY SECTION ================== */
.category-section {
  padding: 24px 0 40px;
}

.category-section:first-child {
  padding-top: 0;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.category-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.category-count {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 4px 12px;
  border-radius: 20px;
  margin-left: auto;
}

.stock-badge {
  background: rgba(46, 213, 115, 0.2);
  color: #2ed573;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.stock-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 16px;
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.2);
  border-radius: 10px;
  color: #2ed573;
  font-size: 0.95rem;
}

.stock-display strong {
  font-weight: 700;
}

/* ================== CARDS GRID ================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ================== ACCOUNT CARD ================== */
.account-card {
  background: linear-gradient(165deg, #2e343e 0%, #262b34 50%, #232830 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.account-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(165deg, #343a45 0%, #2c323c 50%, #282e38 100%);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(74, 158, 255, 0.1);
}


.account-card > * {
  position: relative;
  z-index: 1;
}

.account-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.account-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow), 0 20px 40px rgba(0,0,0,0.3);
}


.account-card-badge {
  position: absolute;
  top: 18px;
  left: 24px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
}

.account-card-badge i {
  font-size: 0.6rem;
}

.account-card-badge.discount {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
}

.account-card-badge.vip {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}

.account-card-badge.abandoned {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
  box-shadow: 0 3px 10px rgba(107, 114, 128, 0.3);
}

/* Feature badges row */
.account-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(74, 158, 255, 0.15);
  border: 1px solid rgba(74, 158, 255, 0.3);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #60a5fa;
}

.feature-tag.premium {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.feature-tag.gold {
  background: rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}

.feature-tag.top {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.account-card-image {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2137 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.account-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.account-card:hover .account-card-image img {
  transform: scale(1.05);
}

.account-card-image .placeholder-icon {
  font-size: 3rem;
  opacity: 0.2;
  color: var(--accent-primary);
}

.account-card-content {
  padding: 18px 18px 16px;
}

/* Add space for badge when no image */
.account-card:has(.account-card-badge):not(:has(.account-card-image)) .account-card-content {
  padding-top: 48px;
}

.account-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 4px;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: 0.01em;
  word-break: break-word;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.account-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-card-stats:not(:empty) {
  margin-bottom: 16px;
}

.stat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-tertiary);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.stat-item i {
  color: var(--accent-primary);
  font-size: 0.75rem;
}

.stat-item.gold {
  background: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}

.stat-item.gold i, .stat-item.gold img {
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.stat-item.premium {
  background: rgba(168, 85, 247, 0.1);
  color: #c084fc;
}

.stat-item.top {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}

.currency-icon-small {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
}

.account-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 10px;
  border-top: 1px solid var(--border-color);
}

.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-details {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-details:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
}

.btn-details .stock-badge {
  background: rgba(74, 158, 255, 0.25);
  color: #4ade80;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 4px;
  text-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

/* Card glow effect on hover */
.account-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ================== NEW ACCOUNT CARD ================== */
.account-card-new {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, #2e343e 0%, #262b34 50%, #232830 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Subtle card background image - full card */
.account-card-new .card-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/bc-mini2.jpg') center center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: grayscale(0.7) brightness(0.8);
  border-radius: 17px;
}

.account-card-new:hover .card-bg-overlay {
  opacity: 0.14;
  filter: grayscale(0.5) brightness(0.9);
}

.card-header-new,
.card-body-new,
.card-footer-new {
  position: relative;
  z-index: 1;
}

.account-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.account-card-new:hover::before {
  opacity: 0.7;
}

.account-card-new:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(74, 158, 255, 0.1);
  background: linear-gradient(165deg, #343a45 0%, #2c323c 50%, #282e38 100%);
}

/* ============ CARD BACKGROUND CLASSES (no animations) ============ */

/* Gold accounts */
.card-bg-gold {
  overflow: hidden;
}

/* Premium accounts */
.card-bg-premium {
  position: relative;
}

/* Tech/rare accounts */
.card-bg-tech {
  position: relative;
}

/* VIP accounts */
.card-bg-vip {
  position: relative;
}

/* Orbs background */
.card-bg-orbs {
  position: relative;
}

/* Sale/discount static effect */
.card-bg-sale::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, #f97316, #ef4444);
  opacity: 0.8;
  z-index: 10;
}

/* ============ END CARD BACKGROUNDS ============ */

.card-header-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  min-height: 44px;
  gap: 12px;
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.card-header-right {
  flex-shrink: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.card-game-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.card-game-badge.blitz {
  background: rgba(0, 180, 216, 0.15);
  color: #00b4d8;
}

.card-game-badge.wot {
  background: rgba(255, 107, 53, 0.15);
  color: #ff6b35;
}

.card-region-badge {
  padding: 3px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(99, 102, 241, 0.9);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tag i {
  font-size: 0.6rem;
}

.card-tag.tag-sale {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.card-tag.tag-vip {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.card-stock {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 4px 8px;
  border-radius: 4px;
}

.card-body-new {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100px;
}

.card-title-new {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px 0;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* Highlighted accent text in titles - use [text] in admin */
.title-accent {
  display: inline;
  background: linear-gradient(135deg, #4a9eff 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.account-card-new:hover .title-accent {
  animation: accentPop 0.3s ease;
}

@keyframes accentPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Term tooltips */
.term-tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  transition: border-color 0.2s;
}

.term-tooltip:hover {
  border-bottom-color: var(--accent-primary);
}

.term-tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  transform: scale(0.9);
  background: #1a1d24;
  color: #f0f0f5;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.term-tooltip::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 8px;
  border: 6px solid transparent;
  border-top-color: #1a1d24;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.term-tooltip:hover::before,
.term-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

.term-tooltip:hover::before {
  transform: scale(1);
}

/* Light theme tooltip */
[data-theme="light"] .term-tooltip {
  border-bottom-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .term-tooltip::before {
  background: #fff;
  color: #1a1d24;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .term-tooltip::after {
  border-top-color: #fff;
}

.card-tags-row {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.card-mini-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-mini-tag.tag-prems {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.card-mini-tag.tag-gold {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.card-stats-new {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.card-stats-new::-webkit-scrollbar {
  display: none;
}

.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  white-space: nowrap;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.stat-chip i {
  font-size: 0.65rem;
  opacity: 0.8;
}

.stat-chip.gold {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.stat-chip.gold i { color: #fbbf24; }

.stat-chip.premium {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.stat-chip.premium i { color: #c084fc; }

.stat-chip.top {
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
}

.stat-chip.top i { color: #34d399; }

.card-footer-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-price-new {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-main {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.price-main small {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 1px;
}

.price-old-new {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: line-through;
}

.card-btn-new {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  border-radius: 50%;
  color: #fff;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.account-card-new:hover .card-btn-new {
  background: var(--accent-secondary);
  transform: translateX(3px);
}

/* Light theme - New card */
[data-theme="light"] .account-card-new {
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .account-card-new:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

[data-theme="light"] .card-header-new {
  background: var(--bg-tertiary);
}

[data-theme="light"] .card-title-new {
  color: var(--text-primary);
}

[data-theme="light"] .title-accent {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .card-mini-tag.tag-prems {
  background: rgba(168, 85, 247, 0.15);
  color: #9333ea;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

[data-theme="light"] .card-mini-tag.tag-gold {
  background: rgba(234, 179, 8, 0.15);
  color: #b45309;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

[data-theme="light"] .stat-chip {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

[data-theme="light"] .stat-chip.gold {
  background: #fef3c7;
  color: #92400e;
}

[data-theme="light"] .stat-chip.premium {
  background: #f3e8ff;
  color: #7c3aed;
}

[data-theme="light"] .stat-chip.top {
  background: #d1fae5;
  color: #047857;
}

[data-theme="light"] .card-footer-new {
  background: var(--bg-tertiary);
  border-top-color: var(--border-color);
}

[data-theme="light"] .price-main {
  color: var(--text-primary);
}

[data-theme="light"] .price-old-new {
  color: var(--text-muted);
}

[data-theme="light"] .card-stock {
  background: rgba(5, 150, 105, 0.1);
  color: #047857;
}

[data-theme="light"] .card-region-badge {
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
}

[data-theme="light"] .account-card-new .card-bg-overlay {
  opacity: 0.07;
  filter: grayscale(0.8) brightness(1.1);
}

[data-theme="light"] .account-card-new:hover .card-bg-overlay {
  opacity: 0.1;
  filter: grayscale(0.6) brightness(1.1);
}

/* ================== VIP CARDS ================== */
.vip-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.vip-card {
  background: linear-gradient(135deg, #1e2d3d 0%, #162231 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.vip-card:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

.vip-card-header {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.vip-card-avatar {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  overflow: hidden;
}

.vip-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vip-card-info {
  flex: 1;
}

.vip-card-title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.vip-card-premium {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #f59e0b;
  margin-bottom: 8px;
}

.vip-card-body {
  padding: 0 20px 20px;
}

.vip-card-footer {
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vip-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f59e0b;
}

/* ================== EMPTY STATE ================== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

.empty-state p {
  font-size: 1.1rem;
}

/* ================== PAGE HEADER ================== */
.page-header {
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.page-header h1 {
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ================== REVIEWS ================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}

.review-meta {
  flex: 1;
}

.review-username {
  font-weight: 600;
  color: var(--text-primary);
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-rating {
  color: #f59e0b;
  font-size: 1rem;
  white-space: nowrap;
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.review-text {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================== FORMS ================== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}

/* ================== FAQ ================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--bg-tertiary);
}

.faq-question i {
  color: var(--accent-primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p,
.faq-answer ul,
.faq-answer ol {
  margin-bottom: 12px;
}

.faq-answer p:last-child,
.faq-answer ul:last-child,
.faq-answer ol:last-child {
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 1000px;
}

@media (max-width: 768px) {
  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================== GIVEAWAY ================== */
.giveaway-card {
  background: linear-gradient(135deg, #1e2d3d 0%, #162231 100%);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.giveaway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.3;
}

.giveaway-card > * {
  position: relative;
  z-index: 1;
}

.giveaway-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--accent-primary);
}

.giveaway-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.giveaway-description {
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.giveaway-prize {
  display: inline-block;
  padding: 12px 24px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

/* ================== FOOTER ================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(74, 158, 255, 0.3));
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ================== BONUS BANNER ================== */
.bonus-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--gradient-card);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  z-index: 1000;
  max-width: 280px;
}

.bonus-banner-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-primary);
}

.bonus-banner-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.bonus-code {
  background: var(--bg-tertiary);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.bonus-banner .btn {
  width: 100%;
}

.bonus-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
}

/* ================== ALERT ================== */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.alert-success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.alert-info {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid var(--info);
  color: var(--info);
}

/* ================== ACCOUNT DETAIL PAGE ================== */
.account-detail {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  padding: 40px 0;
}

.account-detail-main {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.account-detail-image {
  width: 100%;
  height: 300px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-detail-body {
  padding: 32px;
}

.account-detail-title {
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-weight: 700;
}

.account-detail-description h3 {
  color: var(--accent-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-detail-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.detail-stat {
  background: var(--bg-tertiary);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.detail-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.detail-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.account-detail-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

.account-detail-sidebar {
  position: sticky;
  top: 100px;
}

/* Tank Preview - Float Right */
.account-detail-body {
  position: relative;
  overflow: visible;
}

.tank-preview-inline {
  float: right;
  width: 200px;
  margin-left: 30px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.tank-preview-inline img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.account-detail-header {
  display: block;
}

.account-detail-header .account-detail-title {
  margin-bottom: 20px;
}

@media (max-width: 700px) {
  .tank-preview-inline {
    float: none;
    width: 160px;
    margin: 0 auto 20px;
  }
}

.purchase-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.purchase-price {
  text-align: center;
  margin-bottom: 24px;
}

.purchase-price-current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.purchase-price-old {
  font-size: 1.25rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 12px;
}

.purchase-btn {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.purchase-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================== 404 PAGE ================== */
.error-page {
  text-align: center;
  padding: 100px 20px;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  color: var(--accent-primary);
  opacity: 0.3;
  line-height: 1;
}

.error-title {
  font-size: 2rem;
  margin-bottom: 16px;
}

.error-text {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 1024px) {
  .account-detail {
    grid-template-columns: 1fr;
  }
  
  .account-detail-sidebar {
    position: static;
  }
}

/* Old mobile styles removed - see MOBILE HEADER section below */

/* ================== ANIMATIONS ================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ================== SCROLLBAR ================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-tertiary);
}

/* ================== PROFILE PAGE ================== */
.profile-page {
  padding: 40px 0;
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-bottom: 30px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.profile-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.auth-badge.telegram {
  background: rgba(0, 136, 204, 0.2);
  color: #00aaff;
}

.auth-badge.vk {
  background: rgba(0, 119, 255, 0.2);
  color: #0077ff;
}

.auth-badge.email {
  background: rgba(74, 158, 255, 0.2);
  color: #4a9eff;
}

.profile-email {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-email i {
  color: var(--accent-primary);
}

.profile-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.profile-balance {
  flex-shrink: 0;
}

.balance-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  min-width: 180px;
}

.balance-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 5px;
}

.balance-amount {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 15px;
}

/* Profile Tabs */
.profile-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.profile-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.profile-tab:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.profile-tab.active {
  background: var(--gradient-accent);
  border-color: var(--accent-primary);
  color: white;
}

.tab-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.empty-state p {
  margin-bottom: 20px;
}

/* Purchases List */
.purchases-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.purchase-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s;
}

.purchase-card:hover {
  border-color: var(--accent-primary);
}

.purchase-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.purchase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.purchase-info {
  flex: 1;
}

.purchase-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.purchase-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.purchase-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.login-data-modal {
  margin-top: 15px;
  padding: 15px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
}

.login-data-content h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.login-data-content pre {
  background: var(--bg-tertiary);
  padding: 15px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-all;
  margin-bottom: 10px;
}

/* Settings */
.settings-section {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-bottom: 20px;
}

.settings-section h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.linked-accounts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.linked-account {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-sm);
}

.account-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.account-icon.telegram {
  background: rgba(0, 136, 204, 0.2);
  color: #00aaff;
}

.account-icon.vk {
  background: rgba(0, 119, 255, 0.2);
  color: #0077ff;
}

.account-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-name {
  font-weight: 500;
  color: var(--text-primary);
}

.account-status.connected {
  color: var(--success);
  font-size: 0.9rem;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #e55555;
}

/* VK Button */
.btn-vk {
  background: #0077ff;
  color: white;
}

.btn-vk:hover {
  background: #0066dd;
}

/* Responsive Profile */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .profile-meta {
    justify-content: center;
  }
  
  .profile-balance {
    width: 100%;
  }
  
  .balance-card {
    width: 100%;
  }
  
  .profile-tabs {
    flex-wrap: wrap;
  }
  
  .purchase-card {
    flex-direction: column;
    text-align: center;
  }
  
  .purchase-meta {
    justify-content: center;
  }
}

/* ================== AUTH PAGES ================== */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(165deg, rgba(30, 35, 50, 0.95) 0%, rgba(20, 25, 40, 0.98) 100%);
  border: 1px solid rgba(74, 158, 255, 0.15);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
}

.auth-title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--accent-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.auth-subtitle strong {
  color: var(--accent-primary);
}

.verify-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(74, 158, 255, 0.2), rgba(74, 158, 255, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-primary);
}

.auth-title:last-of-type {
  margin-bottom: 28px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-form label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.auth-form input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.auth-form input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(74, 158, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.auth-form input::placeholder {
  color: var(--text-muted);
}

.auth-form .btn-block {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 8px;
}

/* Captcha styles */
.captcha-group {
  margin-top: 10px;
}

.captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.captcha-image {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 60px;
  width: 200px;
  object-fit: contain;
  background: #1a1a2e;
}

.captcha-refresh {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.captcha-refresh:hover {
  background: rgba(74, 158, 255, 0.1);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.captcha-input {
  width: 100%;
  max-width: 200px;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 8px;
  font-weight: 600;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-social {
  display: flex;
  gap: 12px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-telegram {
  background: linear-gradient(135deg, #0088cc, #0077b5);
  color: white;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.3);
}

.btn-vk {
  background: linear-gradient(135deg, #0077ff, #0066dd);
  color: white;
}

.btn-vk:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 119, 255, 0.3);
}

.auth-footer {
  text-align: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.auth-footer a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.forgot-password-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-password-link:hover {
  color: var(--accent-primary);
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.alert-error {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

.alert-success {
  background: rgba(46, 213, 115, 0.1);
  border: 1px solid rgba(46, 213, 115, 0.3);
  color: #2ed573;
}

.alert-info {
  background: rgba(74, 158, 255, 0.1);
  border: 1px solid rgba(74, 158, 255, 0.3);
  color: var(--accent-primary);
}

/* Verification code input */
.verification-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}

.verification-inputs input {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  transition: all 0.2s;
}

.verification-inputs input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(74, 158, 255, 0.05);
}

.resend-link {
  text-align: center;
  margin-top: 20px;
}

.resend-link a {
  color: var(--accent-primary);
  text-decoration: none;
}

.resend-link a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-card {
    padding: 30px 24px;
    border-radius: 20px;
  }
  
  .auth-title {
    font-size: 1.5rem;
  }
  
  .auth-social {
    flex-direction: column;
  }
  
  .verification-inputs input {
    width: 44px;
    height: 52px;
    font-size: 1.25rem;
  }
}

/* ================== MOBILE OPTIMIZED ================== */

/* Safe Area Insets for iPhones with notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  @media (max-width: 768px) {
    .nav {
      padding-bottom: env(safe-area-inset-bottom);
    }
    
    body {
      padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
  }
}

/* Container padding on mobile */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ================== MOBILE BOTTOM NAV (Separate Element) ================== */
.mobile-nav {
  display: none;
}

@media screen and (max-width: 768px) {
  /* HIDE OLD NAV IN HEADER */
  .header .nav {
    display: none !important;
  }
  
  /* SHOW NEW MOBILE BOTTOM NAV */
  .mobile-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0);
    justify-content: space-around;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 10px 8px;
    color: var(--text-secondary);
    font-size: 0.65rem;
    text-decoration: none;
    min-width: 55px;
    text-align: center;
  }
  
  .mobile-nav-link svg {
    width: 20px;
    height: 20px;
  }
  
  .mobile-nav-link.active,
  .mobile-nav-link:hover {
    color: var(--accent-primary);
  }
  
  /* HEADER MOBILE */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
  }
  
  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8px;
    gap: 8px;
  }
  
  .logo {
    font-size: 1.1rem;
    flex-shrink: 0;
    gap: 8px;
  }
  
  .logo svg,
  .logo-svg {
    width: 28px;
    height: 28px;
  }
  
  /* Body padding for fixed elements */
  body {
    padding-top: 56px;
    padding-bottom: 0;
  }
  
  /* Footer compact on mobile */
  .footer {
    padding: 20px 0 70px 0;
    margin-bottom: 0;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-logo {
    font-size: 1.1rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    font-size: 0.85rem;
  }
  
  .footer-logo-svg {
    width: 28px;
    height: 28px;
  }
  
  .footer-copy {
    font-size: 0.75rem;
  }
  
  /* Hide desktop menu on mobile */
  .user-menu,
  .user-balance {
    display: none !important;
  }
  
  /* Hide theme toggle on mobile */
  .theme-toggle {
    display: none !important;
  }
  
  /* Auth buttons - ICONS ONLY on mobile */
  .header-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
  }
  
  .header-actions .btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }
  
  /* Hide text on mobile */
  .header-actions .btn .btn-text {
    display: none;
  }
  
  .header-actions .btn i {
    margin: 0;
    font-size: 1rem;
  }
  
  /* Mobile auth buttons for logged-in users */
  .mobile-auth-btn {
    display: inline-flex !important;
  }
  
  /* Mobile balance display */
  .mobile-balance {
    display: flex !important;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
  }
  
  .mobile-balance i {
    color: var(--accent-primary);
    font-size: 0.75rem;
  }
  
  .mobile-balance span {
    font-weight: 600;
    color: var(--text-primary);
  }
  
  .desktop-only {
    display: none !important;
  }
}

/* Extra small screens */
@media screen and (max-width: 360px) {
  .logo span {
    display: none;
  }
  
  .header-actions .btn {
    width: 36px;
    height: 36px;
    padding: 8px;
  }
}

/* Mobile auth forms */
@media screen and (max-width: 768px) {
  .auth-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .auth-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }
  
  .auth-subtitle {
    margin-bottom: 16px;
    font-size: 0.85rem;
  }
  
  .auth-form {
    gap: 14px;
  }
  
  .auth-form .form-group {
    margin-bottom: 0;
  }
  
  .form-group {
    margin-bottom: 14px;
  }
  
  .form-label {
    margin-bottom: 6px;
    font-size: 0.85rem;
  }
  
  .form-control {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  
  .auth-social {
    gap: 10px;
  }
  
  .btn-social {
    padding: 12px;
    font-size: 0.9rem;
  }
  
  .auth-footer {
    margin-top: 16px;
    font-size: 0.85rem;
  }
  
  .auth-divider {
    margin: 16px 0;
  }
}

/* Mobile Hero Section */
@media (max-width: 768px) {
  .hero {
    padding: 30px 0 24px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .game-tabs {
    gap: 10px;
  }
  
  .game-tab {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .game-tab i {
    font-size: 1.1rem;
  }
}

/* Mobile Cards Grid */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .account-card-new {
    border-radius: 16px;
  }
  
  .card-header-new {
    padding: 14px 16px;
  }
  
  .card-body-new {
    padding: 0 16px 16px;
  }
  
  .card-title-new {
    font-size: 1rem;
  }
  
  .card-footer-new {
    padding: 12px 16px;
  }
  
  .price-main {
    font-size: 1.3rem;
  }
  
  .card-game-badge,
  .card-region-badge,
  .card-stock {
    font-size: 0.65rem;
    padding: 3px 6px;
  }
  
  .stat-chip {
    font-size: 0.7rem;
    padding: 4px 8px;
  }
}

/* Mobile - 2 columns for tablets */
@media (min-width: 500px) and (max-width: 768px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Account Detail Page */
@media (max-width: 768px) {
  .account-detail-header {
    padding: 20px 16px;
  }
  
  .account-detail-title {
    font-size: 1.25rem;
  }
  
  .account-detail-body {
    padding: 20px 16px;
  }
  
  .account-detail-price {
    font-size: 2rem;
  }
  
  .btn-buy {
    padding: 14px 28px;
    font-size: 1rem;
    width: 100%;
  }
  
  .purchase-card-new,
  .info-card-new {
    padding: 20px 16px;
  }
  
  .screenshots-gallery {
    padding: 16px;
  }
  
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .screenshot-thumb {
    border-radius: 8px;
  }
}

/* Mobile Support & Tickets */
@media (max-width: 768px) {
  .ticket-messages {
    padding: 16px;
  }
  
  .ticket-message {
    padding: 12px;
    max-width: 90%;
  }
  
  .ticket-form {
    padding: 16px;
  }
  
  .ticket-form textarea {
    min-height: 80px;
  }
}

/* Mobile Profile */
@media (max-width: 768px) {
  .profile-header {
    padding: 20px 16px;
  }
  
  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .profile-name {
    font-size: 1.4rem;
  }
  
  .profile-cards {
    grid-template-columns: 1fr;
  }
  
  .profile-card {
    padding: 20px 16px;
  }
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer {
    margin-bottom: 60px; /* Space for fixed nav */
  }
  
  .footer-content {
    padding: 24px 16px;
  }
}

/* Mobile Forms */
@media (max-width: 768px) {
  .form-control {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn {
    padding: 14px 24px;
  }
  
  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile Reviews */
@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .review-card {
    padding: 20px 16px;
  }
}

/* Mobile FAQ */
@media (max-width: 768px) {
  .faq-item {
    margin-bottom: 12px;
    border-radius: 10px;
  }
  
  .faq-question {
    padding: 14px 16px;
    font-size: 0.9rem;
    gap: 12px;
  }
  
  .faq-question span {
    flex: 1;
    text-align: left;
    word-break: break-word;
  }
  
  .faq-question i {
    flex-shrink: 0;
    font-size: 0.8rem;
  }
  
  .faq-answer {
    padding: 0 16px;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 16px 16px;
  }
  
  .faq-answer p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  
  .faq-answer ul,
  .faq-answer ol {
    padding-left: 20px;
    font-size: 0.85rem;
  }
  
  .faq-answer li {
    margin-bottom: 4px;
  }
}

/* Mobile Giveaway */
@media (max-width: 768px) {
  .tg-bot-banner {
    padding: 24px 20px;
    border-radius: 16px;
  }
  
  .tg-bot-banner h2 {
    font-size: 1.25rem;
  }
  
  .tg-bot-features {
    flex-direction: column;
    gap: 8px;
  }
  
  .giveaway-card {
    padding: 24px 20px;
  }
}

/* Mobile Gallery Modal */
@media (max-width: 768px) {
  .gallery-modal-content {
    padding: 10px;
  }
  
  .gallery-nav {
    width: 50px;
    height: 50px;
  }
  
  .gallery-nav i {
    font-size: 1.25rem;
  }
}

/* Touch Friendly - Larger tap targets */
@media (max-width: 768px) {
  a, button, .btn, .nav-link, .game-tab {
    min-height: 44px;
    min-width: 44px;
  }
  
  .card-btn-new {
    width: 40px;
    height: 40px;
  }
}

/* Hide unnecessary elements on mobile */
@media (max-width: 768px) {
  .desktop-only,
  .desktop-text {
    display: none !important;
  }
}

/* Show mobile-only elements */
@media (min-width: 769px) {
  .mobile-only,
  .mobile-text {
    display: none !important;
  }
  
  .mobile-auth-btn {
    display: none !important;
  }
  
  .mobile-balance {
    display: none !important;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .header-inner {
    padding: 8px 12px;
  }
  
  .logo {
    font-size: 0.95rem;
    gap: 6px;
  }
  
  .logo svg,
  .logo-svg {
    width: 24px;
    height: 24px;
  }
  
  .header-actions .btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
  
  .theme-toggle {
    width: 30px;
    height: 30px;
  }
  
  .nav-link {
    min-width: 45px;
    padding: 6px 2px;
    font-size: 0.55rem;
  }
  
  .nav-link svg {
    width: 16px;
    height: 16px;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .game-tab {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  .card-title-new {
    font-size: 0.95rem;
  }
  
  .price-main {
    font-size: 1.2rem;
  }
}

/* Extra small phones - hide button text */
@media (max-width: 360px) {
  .header-actions .btn {
    padding: 8px 10px;
  }
  
  /* Keep icons, text is short enough */
  .header-actions .btn i {
    margin-right: 4px;
  }
  
  .logo span {
    font-size: 0.9rem;
  }
}
