/* SAIROX - Main Styles */
:root {
    --primary-color: #FF1B6B;
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --card-bg: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border-color: #2a2a35;
    --hover-bg: #252530;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --card-bg: #ffffff;
    --text-primary: #000000;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --hover-bg: #f0f0f0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-y: scroll;
    scrollbar-gutter: stable both-edges;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

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

.nav-link i {
    font-size: 14px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 8px;
}

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

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

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

/* Header Actions */
.header-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--fg);
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: rgba(139,92,246,0.1);
}

.profile-dropdown {
    position: relative;
    z-index: 1400;
}

.profile-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
}

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

.menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.menu-items {
    padding: 8px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    color: inherit;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.menu-item:hover {
    background: rgba(139,92,246,0.1);
}

.menu-item i {
    width: 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .profile-menu {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        transform: translateY(100%);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .profile-menu.open {
        transform: translateY(0);
    }
}

/* Hero */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), #8a2be2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

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

.btn-primary:hover {
    background: #e01558;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--border-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Platforms */
.platforms {
    padding: 40px 0;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.platform-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.platform-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.platform-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.platform-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
}

/* Section */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section h2 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section h2 i {
    color: var(--primary-color);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.countdown span {
    font-size: 12px;
    color: var(--text-secondary);
}

.timer {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-weight: 700;
}

/* Deals Banner */
.deals-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.deals-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(255,27,107,0.3));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.banner-overlay h3 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.banner-overlay p {
    font-size: 18px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
}

/* Gift Cards */
.gift-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gift-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.gift-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.gift-card i {
    font-size: 48px;
    margin-bottom: 16px;
}

.gift-card.steam i { color: #1b2838; }
.gift-card.playstation i { color: #003087; }
.gift-card.xbox i { color: #107c10; }
.gift-card.nintendo i { color: #e60012; }

.gift-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.gift-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Bundles */
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.bundle-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.bundle-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

.bundle-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bundle-card .discount {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f59e0b;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
}

.bundle-card h3 {
    padding: 20px 20px 8px;
    font-size: 20px;
}

.bundle-card p {
    padding: 0 20px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.bundle-card .price {
    padding: 0 20px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.price .old {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 16px;
}

.price .new {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 700;
}

.bundle-card button {
    margin: 0 20px 20px;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-card {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
}

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

.category-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.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);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.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(--foreground);
}

.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(--muted-foreground);
    font-size: 0.9rem;
}

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

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

/* ===== SEARCH BAR IN HEADER ===== */
.header-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
    margin: 0 2rem;
}

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

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

.search-input-wrapper input:focus {
    outline: none;
    border-color: #FF1B6B;
    background: rgba(255, 255, 255, 0.08);
}

.search-input-wrapper input::placeholder {
    color: var(--muted-foreground);
}

.search-input-wrapper i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
}

/* Hide mini search button on other pages */
.search-btn {
    display: none !important;
}

/* ===== LIGHT THEME IMPROVEMENTS ===== */
[data-theme="light"] {
    --background: #f5f5f5;
    --foreground: #1a1a1a;
    --card-bg: #ffffff;
    --border: #e0e0e0;
    --muted-foreground: #666666;
    --input-bg: #f9f9f9;
}

[data-theme="light"] .header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-bottom: 1px solid #e0e0e0;
}

[data-theme="light"] .hero {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}

[data-theme="light"] .game-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .game-card:hover {
    box-shadow: 0 8px 30px rgba(255, 27, 107, 0.15);
}

[data-theme="light"] .search-input-wrapper input {
    background: #f0f0f0;
    border-color: #e0e0e0;
    color: #1a1a1a;
}

[data-theme="light"] .search-input-wrapper input:focus {
    background: #ffffff;
    border-color: #FF1B6B;
}

[data-theme="light"] .site-footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-top: 1px solid #e0e0e0;
}

[data-theme="light"] .footer-column h3 {
    color: #FF1B6B;
}

[data-theme="light"] .footer-column ul li a {
    color: #666666;
}

[data-theme="light"] .footer-column ul li a:hover {
    color: #FF1B6B;
}

/* ===== USER ROLES ===== */
.user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.role-buyer {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.role-elite {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.role-admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.role-progress {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.role-progress h3 {
    color: #FF1B6B;
    margin-bottom: 1rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 27, 107, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF1B6B 0%, #FF6B9D 100%);
    transition: width 0.3s ease;
}

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

/* ===== COUPON SYSTEM ===== */
.coupon-card {
    background: linear-gradient(135deg, rgba(255, 27, 107, 0.1) 0%, rgba(255, 107, 157, 0.1) 100%);
    border: 2px dashed #FF1B6B;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 27, 107, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.coupon-discount {
    font-size: 2rem;
    font-weight: 700;
    color: #FF1B6B;
}

.coupon-code {
    background: var(--card-bg);
    border: 1px solid #FF1B6B;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #FF1B6B;
    cursor: pointer;
    transition: all 0.3s ease;
}

.coupon-code:hover {
    background: #FF1B6B;
    color: white;
}

.coupon-details {
    color: var(--muted-foreground);
    font-size: 0.9rem;
}

.coupon-expiry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.85rem;
}

/* Dropdown menus (shared styles) */
.dropdown-menu {
  position: absolute;
  min-width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
}

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

/* Profile & Notifications menus */
.profile-menu, .notifications-menu {
  right: 0;
  top: 100%;
  margin-top: 8px;
  max-width: 90vw;
  width: 320px;
}

.menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.menu-item:hover {
  background: rgba(139,92,246,0.1);
}

/* Dropdown System */
.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
}

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

.menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.menu-items {
  padding: 8px 0;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: none;
  color: inherit;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.menu-item:hover {
  background: rgba(139,92,246,0.1);
}

.menu-item i {
  width: 20px;
  text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .profile-menu, .notifications-menu {
    position: fixed;
    width: 100%;
    max-width: 100%;
    bottom: 0;
    top: auto;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transform: translateY(100%);
  }
  
  .profile-menu.open, .notifications-menu.open {
    transform: translateY(0);
  }

  .dropdown-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    transform: translateY(100%);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .dropdown-menu.open {
    transform: translateY(0);
  }
}

/* Badges */
.notify-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #EC4899;
  color: white;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer — modern, responsive, theme-aware */
.site-footer {
  padding: 48px 0 28px;
  color: rgba(255,255,255,0.92);
  background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.04));
  border-top: 1px solid rgba(255,255,255,0.03);
  position: relative;
  z-index: 5;
}

html[data-theme="light"] .site-footer {
  color: #111;
  background: linear-gradient(180deg, #f6f7ff, #eef2ff);
  border-top: 1px solid rgba(0,0,0,0.04);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* Columns */
.footer-column h3 {
  margin: 0 0 10px;
  font-size: 1.03rem;
  letter-spacing: .2px;
  color: inherit;
}

.footer-column p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.78);
  font-size: .95rem;
  line-height: 1.45;
}

html[data-theme="light"] .footer-column p { color: rgba(17,17,17,0.72); }

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.footer-column ul li { margin: 8px 0; }

.footer-column a {
  color: inherit;
  text-decoration: none;
  opacity: .95;
  transition: color .15s, transform .12s;
}

.footer-column a:hover { color: rgba(139,92,246,0.98); transform: translateX(4px); }

/* Email & social */
.footer-email { margin-top: 12px; display: flex; gap: 8px; align-items: center; font-weight:600; }

.social-links { display:flex; gap:10px; margin-top:12px; }
.social-links a {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:8px; color:inherit;
  background: rgba(255,255,255,0.03); text-decoration:none;
  transition: transform .12s, background .12s;
}
html[data-theme="light"] .social-links a { background: rgba(0,0,0,0.04); }
.social-links a:hover { transform: translateY(-4px); background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(236,72,153,0.08)); color: rgba(139,92,246,1); }

/* Footer bottom */
.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.7);
  font-size: .88rem;
}

/* Make footer responsive */
@media (max-width: 980px) {
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .footer-content { grid-template-columns: 1fr; gap:18px; padding-bottom: 8px; }
  .site-footer { padding: 28px 0 18px; }
  .social-links a { width:34px; height:34px; border-radius:8px; }
  .footer-column h3 { font-size: 1rem; }
  .footer-bottom { text-align:center; font-size:.85rem; }
}

/* Small accessibility & visual polish */
.site-footer a:focus { outline: 3px solid rgba(139,92,246,0.18); outline-offset: 3px; border-radius:6px; }
.footer-column ul li a { display:inline-block; padding:4px 0; }
.footer-column ul li a::before { content: ''; display:inline-block; width:6px; height:6px; margin-right:10px; border-radius:50%; background: rgba(139,92,246,0.85); transform: translateY(-1px); opacity: .9; }
html[data-theme="light"] .footer-column ul li a::before { background: rgba(139,92,246,0.75); }

/* Rodo Admin Panel tik jei JS įjungs */
.admin-only:not([data-admin-visible="true"]) { display: none !important; }
.admin-only[data-admin-visible="true"] { display: revert !important; }

/* ============================================
   RECENT PURCHASES POPUP (Social Proof)
   ============================================ */
.recent-purchases-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: 280px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateX(-120%);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.recent-purchases-popup.show {
    opacity: 1;
    transform: translateX(0);
}

.purchase-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.purchase-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
}

.purchase-info {
    flex: 1;
}

.purchase-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.purchase-game {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.purchase-game strong {
    color: #8b5cf6;
}

.purchase-time {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
}

/* Responsive styles for popup */
@media (max-width: 768px) {
    .recent-purchases-popup {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        min-width: auto;
    }
}
