:root {
  /* Primary Colors — Octopus red/orange theme */
  --primary: #ff5e3a;
  --primary-dark: #cc3c1d;
  --primary-light: #ff8a65;

  /* Secondary Colors — Optional: warm violet/orange combo */
  --secondary: #ff9500;
  --secondary-dark: #cc7a00;
  --secondary-light: #ffb84d;

  /* Purple Theme Variables */
  --purple-primary: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-light: #a855f7;
  --purple-accent: #c084fc;

  /* Dark Theme Colors */
  --dark: #0a0a0a;
  --dark-100: #111111;
  --dark-200: #1a1a1a;
  --dark-300: #252525;
  --dark-400: #333333;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #808080;

  /* Sidebar colors for better readability */
  --sidebar-bg: #1a1a1a;
  --sidebar-item-bg: #2a2a2a;
  --sidebar-item-hover: #333333;
  --sidebar-item-active: #404040;
  --sidebar-text-primary: #ffffff;
  --sidebar-text-secondary: #cccccc;
  --sidebar-text-muted: #999999;

  /* Light Mode Variables */
  --light-bg: #ffffff;
  --light-bg-100: #f8fafc;
  --light-bg-200: #f1f5f9;
  --light-bg-300: #e2e8f0;
  --light-text-primary: #1e293b;
  --light-text-secondary: #64748b;
  --light-border: rgba(148, 163, 184, 0.2);

  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Other */
  --border: rgba(255, 255, 255, 0.1);
  --shadow: rgba(0, 0, 0, 0.5);
  --radius: 8px;
  --radius-lg: 12px;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

  /* Theme Toggle */
  --current-bg: var(--dark);
  --current-bg-100: var(--dark-100);
  --current-bg-200: var(--dark-200);
  --current-bg-300: var(--dark-300);
  --current-text-primary: var(--text-primary);
  --current-text-secondary: var(--text-secondary);
  --current-border: var(--border);
}

/* Light Theme Override */
[data-theme="light"] {
    --current-bg: var(--light-bg);
    --current-bg-100: var(--light-bg-100);
    --current-bg-200: var(--light-bg-200);
    --current-bg-300: var(--light-bg-300);
    --current-text-primary: var(--light-text-primary);
    --current-text-secondary: var(--light-text-secondary);
    --current-border: var(--light-border);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary, .btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}
.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--dark-100);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
}

.top-bar-left span {
    color: var(--text-secondary);
}

.top-bar-left i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.currency-selector {
    background: var(--dark-200);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    cursor: pointer;
}

/* ===== HEADER ===== */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--text-primary);
}

.accent {
    color: var(--primary);
}

/* Search Bar */
.nav-middle {
    flex: 1;
    max-width: 500px;
}

.search-bar {
    display: flex;
    background: var(--dark-200);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.search-bar button {
    background: none;
    border: none;
    padding: 0 1rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.search-bar button:hover {
    color: var(--primary);
}

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--dark-200);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ===== MAIN NAVIGATION ===== */
.main-nav {
    background: var(--dark-200);
    border-bottom: 1px solid var(--border);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    position: relative;
    font-weight: 500;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-menu > li:hover > a::after {
    width: 100%;
}

/* Dropdown & Mega Menu */
.dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-100);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    min-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 3rem;
    box-shadow: 0 10px 40px var(--shadow);
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-column h3 {
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-column ul a {
    color: var(--text-secondary);
    padding: 0.25rem 0;
    display: block;
}

.mega-menu-column ul a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300ff88' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto 3rem;
    background: var(--dark-200);
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-search input {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem 2rem;
    color: var(--text-primary);
    font-size: 1rem;
}

.hero-search .btn {
    border-radius: 0 50px 50px 0;
    padding: 1rem 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-stats .stat i {
    font-size: 2rem;
    color: var(--primary);
}

.hero-stats .stat h3 {
    margin: 0;
    color: var(--primary);
}

.hero-stats .stat p {
    margin: 0;
    font-size: 0.875rem;
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-nav {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-accent);
    color: var(--dark);
    border-color: transparent;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* ===== GAME CATEGORIES ===== */
.game-categories {
    background: var(--dark-100);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--dark-200);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.game-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.service-count {
    background: var(--primary);
    color: var(--dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.game-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    margin: 0;
}

.game-card p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--dark-200);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    padding: 0;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 94, 58, 0.2);
    border-color: var(--primary);
}

.service-card:active {
    transform: translateY(-4px);
}

.service-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.service-image {
    height: 140px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--dark-300);
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}
.service-card:hover .service-image img {
    transform: scale(1.1);
}
.service-icon-fallback {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    background: var(--dark-300);
}
.service-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.3) 100% );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover .service-image::before {
    opacity: 1;
}

.service-info {
    padding: 1rem;
}

.service-game {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.service-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}
.service-description {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.service-features {
    list-style: none;
    margin-bottom: 0.75rem;
}

.service-features li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.15rem 0;
}

.service-features li i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.service-footer {
    display: none; /* Ocultado por solicitud */
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    background: var(--dark-100);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    color: var(--dark);
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* ===== FEATURES ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--dark-200);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--dark);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: var(--dark-100);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--dark-200);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
}

.stars {
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-card p {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trustpilot-widget {
    text-align: center;
    padding: 2rem;
    background: var(--dark-200);
    border-radius: var(--radius-lg);
}

/* ===== NEWSLETTER ===== */
.newsletter {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.newsletter-form input {
    flex: 1;
    background: var(--dark-200);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    color: var(--text-primary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-100);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gradient-accent);
    color: var(--dark);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.payment-methods img {
    height: 30px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods img:hover {
    opacity: 1;
}

/* ===== CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 50%;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border: 2px solid var(--dark);
    border-radius: 50%;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: var(--dark-100);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: var(--gradient-accent);
    color: var(--dark);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header-info h4 {
    margin: 0;
    font-size: 1rem;
}

.chat-status-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.chat-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    opacity: 0.8;
}

.chat-close:hover {
    opacity: 1;
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.chat-message.user {
    flex-direction: row-reverse;
}

.chat-message img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.message-content {
    max-width: 70%;
}

.message-content p {
    background: var(--dark-300);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    margin: 0;
}

.chat-message.user .message-content p {
    background: var(--gradient-accent);
    color: var(--dark);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.chat-input-area {
    padding: 1rem;
    border-top: 1px solid var(--border);
}

.chat-form {
    display: flex;
    gap: 0.5rem;
}

.chat-form input {
    flex: 1;
    background: var(--dark-300);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    color: var(--text-primary);
}

.chat-form button {
    padding: 0.5rem 1rem;
    background: var(--gradient-accent);
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.6; }
    100% { transform: scale(1); opacity: 0.8; }
}
@keyframes authSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes authIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@keyframes fadeInBanner {
    from { opacity: 0; transform: scale(1.1); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


/* ===== AUTH PAGES ===== */
.auth-container {
    background: var(--current-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-card {
    background: var(--current-bg-200);
    border: 1px solid var(--current-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    position: relative;
    backdrop-filter: blur(10px);
    animation: authSlideIn 0.6s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-light));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: authIconPulse 2s ease-in-out infinite;
}

.auth-welcome {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--purple-primary), var(--purple-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--current-text-secondary);
    font-size: 1rem;
    margin-bottom: 0;
}

.auth-form {
    background: var(--current-bg-200);
    border: 1px solid var(--current-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    color: var(--current-text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--current-border);
    border-radius: var(--radius);
    background: var(--current-bg-300);
    color: var(--current-text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--purple-primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 2px solid var(--current-border);
    border-radius: var(--radius);
    background: var(--current-bg);
    color: var(--current-text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-btn.google { border-color: #ea4335; }
.social-btn.google:hover { background: #ea4335; color: white; border-color: #ea4335; }
.social-btn.facebook { border-color: #1877f2; }
.social-btn.facebook:hover { background: #1877f2; color: white; border-color: #1877f2; }
.social-btn.discord { border-color: #5865f2; }
.social-btn.discord:hover { background: #5865f2; color: white; border-color: #5865f2; }


.divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--current-text-secondary);
    font-size: 0.875rem;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--current-border);
    z-index: 1;
}

.divider span {
    background: var(--current-bg-200);
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}
.auth-footer {
  margin-top: 2rem;
  text-align: center;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--current-bg-200);
    border: 2px solid var(--current-border);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* ===== DASHBOARD ===== */
.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 280px;
  background: var(--dark-200);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  padding: 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.user-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.user-status {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--dark-200);
}

.user-status.online {
  background: var(--success);
}

.sidebar-nav ul {
  list-style: none;
  padding: 1.5rem 0;
}

.sidebar-nav li {
  margin-bottom: 0.25rem;
}

.sidebar-nav a, .sidebar-nav button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.sidebar-nav li.active a,
.sidebar-nav a:hover,
.sidebar-nav button:hover {
  background: var(--dark-300);
  color: var(--primary);
}

.sidebar-footer {
  margin-top: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.wallet-balance {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--dark-300);
  padding: 1rem;
  border-radius: var(--radius);
}

.wallet-balance i {
  font-size: 1.5rem;
  color: var(--primary);
}

.wallet-balance div {
  display: flex;
  flex-direction: column;
}

.dashboard-main {
  flex: 1;
  padding: 2rem;
  background: var(--dark-100);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--dark-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--primary);
}

.dashboard-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.recent-orders, .quick-links {
  background: var(--dark-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.order-list {
  margin-top: 1rem;
}

.order-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

.order-game {
  background: var(--dark-300);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-weight: 700;
}

.order-details {
  flex: 1;
}

.order-status {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.order-status.in-progress { background: rgba(59, 130, 246, 0.2); color: var(--info); }
.order-status.completed { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.order-status.pending { background: rgba(245, 158, 11, 0.2); color: var(--warning); }


.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--dark-300);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

.link-card:hover {
  background: var(--dark-400);
  transform: translateY(-3px);
}

.link-card i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

/* ===== GAME SELECTION & BANNERS ===== */
.game-selection {
    background: var(--dark-100);
    padding: 4rem 0;
    position: relative;
}
.game-selection::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 94, 58, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.game-dropdown-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 100;
}
.game-dropdown {
    position: relative;
    min-width: 350px;
    max-width: 500px;
}
.dropdown-toggle {
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: var(--dark-200);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.dropdown-toggle:hover {
    border-color: var(--primary);
    background: var(--dark-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 94, 58, 0.2);
}
.dropdown-toggle.active {
    border-color: var(--primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: var(--dark-300);
}
.dropdown-toggle i {
    transition: transform 0.3s ease;
    color: var(--primary);
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-200);
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.8rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 94, 58, 0.1), transparent);
    transition: left 0.5s ease;
}
.dropdown-item:hover::before {
    left: 100%;
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background: var(--dark-300);
    color: var(--primary);
    padding-left: 2.5rem;
    transform: translateX(5px);
}
.dropdown-item i {
    font-size: 1.3rem;
    color: var(--primary);
    width: 24px;
    text-align: center;
}
.dropdown-item span {
    font-weight: 500;
    letter-spacing: 0.3px;
}
.dropdown-item[data-game="wow-anniversary"] i { color: #ffd700; }
.dropdown-item[data-game="wow-sod"] i { color: #32cd32; }
.dropdown-item[data-game="wow-anniversary"]:hover { background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), var(--dark-300)); }
.dropdown-item[data-game="wow-sod"]:hover { background: linear-gradient(90deg, rgba(50, 205, 50, 0.1), var(--dark-300)); }


.game-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    padding: 0 1rem;
}
.game-banner {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s ease;
    position: relative;
}
.game-banner.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.banner-image {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(45deg, var(--dark-300), var(--dark-400));
}
.banner-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.banner-image::before {
    display: none;
}
.banner-image:hover::before {
    display: none;
}
.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(0.9) contrast(1.1);
}
.banner-image:hover img {
    transform: scale(1.15);
    filter: brightness(1) contrast(1.2);
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.8) 80%, rgba(0, 0, 0, 0.95) 100% );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: white;
    z-index: 2;
}
.banner-overlay h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}
.banner-overlay p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.4;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
.banner-overlay .btn {
    align-self: flex-start;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    background: var(--gradient-primary);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.banner-overlay .btn:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 94, 58, 0.3);
}
.game-banner:nth-child(1) { transition-delay: 0.1s; }
.game-banner:nth-child(2) { transition-delay: 0.2s; }
.game-banner:nth-child(3) { transition-delay: 0.3s; }
.game-banner:nth-child(4) { transition-delay: 0.4s; }


/* ===== SERVICES PAGE & CONTENT ===== */
.services-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
    background: var(--dark-100);
}
.hero-banner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeInBanner 0.8s ease forwards;
    background-attachment: fixed;
}
.services-hero[data-game] .hero-banner {
    animation: fadeInBanner 0.8s ease forwards;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.8) 100% );
    z-index: 1;
}
.services-hero .container {
    position: relative;
    z-index: 2;
    padding: 4rem 20px;
}
#services-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}
#services-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}
.services-hero[data-game="wow-tww"] .hero-banner { background-image: url('Images/Games/tww-header-bg.jpg'); }
.services-hero[data-game="wow-mop"] .hero-banner { background-image: url('Images/Games/mop-header-bg.jpg'); }
.services-hero[data-game="wow-classic"] .hero-banner { background-image: url('Images/Games/wowclassic.jpg'); }
.services-hero[data-game="osrs"] .hero-banner { background-image: url('Images/Games/osrs.png'); }
.services-hero[data-game="wow-anniversary"] .hero-banner { background-image: url('Images/Games/20thbannerfinal.svg'); }
.services-hero[data-game="wow-sod"] .hero-banner { background-image: url('Images/Games/sod-banner-bg.jpg'); }
.services-hero:not([data-game]) .hero-banner,
.services-hero[data-game=""] .hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.breadcrumb a { color: var(--primary); }
.services-hero .breadcrumb a,
.services-hero .breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.services-hero .breadcrumb a { color: var(--primary); }

.services-content {
    padding: 3rem 0;
}
.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}
.services-main {
    min-height: 600px;
}
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}
.services-count {
    color: var(--text-secondary);
}
.sort-options select {
    background: var(--dark-200);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
}
.no-services {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}
.no-services i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Service Section Headers */
.service-section {
    margin-bottom: 5rem;
    padding: 3rem 0;
    border-bottom: 2px solid var(--border);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.service-section.show {
    opacity: 1;
    transform: translateY(0);
}
.service-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.service-section h2 {
    position: relative;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.service-section h2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100% );
    z-index: 1;
}
.service-section h2 span {
    position: relative;
    z-index: 2;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}
#services-tww h2 { background-image: url('https://via.placeholder.com/1200x300/1a1a1a/ffffff?text=WoW+TWW'); }
#services-mop h2 { background-image: url('Images/Games/mop-header-bg.jpg'); }
#services-classic h2 { background-image: url('Images/Games/classic-header-bg.jpg'); }
#services-osrs h2 { background-image: url('Images/Games/osrs-header-bg.jpg'); }
#services-anniversary h2 { background-image: url('Images/Games/anniversary-header-bg.jpg'); }
#services-sod h2 { background-image: url('Images/Games/sod-header-bg.jpg'); }


/* ===== SERVICES SIDEBAR ===== */
.services-sidebar {
    background: var(--dark-200);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0;
    height: fit-content;
    position: sticky;
    top: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.sidebar-header {
    display: none; /* Oculto por solicitud */
}
.games-menu {
    padding: 0;
}
.game-menu-item {
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.game-menu-item:last-child {
    border-bottom: none;
}
.game-toggle {
    width: 100%;
    background: var(--sidebar-item-bg);
    padding: 1rem 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-align: left;
    border: none;
    border-left: 3px solid transparent;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary) !important;
}
.game-toggle:hover {
    background: var(--sidebar-item-hover);
    border-left: 3px solid var(--primary);
    color: var(--primary-light) !important;
}
.game-toggle.active {
    background: var(--sidebar-item-active);
    border-left: 3px solid var(--primary);
    box-shadow: 0 2px 8px rgba(255, 94, 58, 0.2);
}
.game-toggle *, .game-toggle:hover * {
    color: inherit !important;
}
.game-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.game-icon {
    font-size: 1.3rem;
    color: var(--primary);
    width: 20px;
    height: 20px;
    text-align: center;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1) saturate(1.2);
    border-radius: 3px;
}
.game-toggle:hover .game-icon {
    filter: brightness(1.2) saturate(1.4);
    transform: scale(1.1);
}
.game-toggle.active .game-icon {
    filter: brightness(1.3) saturate(1.5) drop-shadow(0 0 4px var(--primary));
    transform: scale(1.05);
}
.game-name {
    font-weight: 600;
    font-size: 0.9rem;
}
.game-count {
    background: rgba(255, 94, 58, 0.2);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}
.game-toggle:hover .game-count, .game-toggle.active .game-count {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

.chevron {
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}
.game-toggle.active .chevron {
    transform: rotate(180deg);
}

.services-submenu {
    max-height: 0;
    overflow: hidden;
    background: var(--dark-400);
    transition: max-height 0.3s ease;
    border-left: 3px solid var(--primary);
    margin-left: 1rem;
}
.game-toggle.active + .services-submenu {
    max-height: 400px;
}
.service-option {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    color: var(--text-secondary) !important;
}
.service-option:last-child {
    border-bottom: none;
}
.service-option:hover {
    background: var(--dark-300);
    padding-left: 2rem;
    color: var(--primary) !important;
}
.service-option .service-name {
    font-weight: 500;
    font-size: 0.8rem;
    margin-left: 1rem;
    transition: color 0.3s ease;
    color: inherit !important;
}

/* Sidebar Price Filter & Stats */
.price-filter { padding: 0.5rem; }
.price-range { margin-top: 1rem; }
.price-range input[type="range"] { width: 100%; accent-color: var(--primary); }
.price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-top: 0.5rem;
}
.price-min, .price-max {
    background: #f1f5f9;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.price-range-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e2e8f0;
    outline: none;
    appearance: none;
    cursor: pointer;
}
.price-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(255, 94, 58, 0.3);
    transition: all 0.2s ease;
}
.price-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 94, 58, 0.4);
}
.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 94, 58, 0.3);
}

.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f1f5f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.stat-item:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}
.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ===== SERVICE CHECKOUT PANEL ===== */
.checkout-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--dark-200);
    border-left: 2px solid var(--border);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}
.checkout-panel.open { right: 0; }
.checkout-panel-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.checkout-panel-overlay.show { opacity: 1; visibility: visible; }

.checkout-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    background-size: cover;
    background-position: center;
    min-height: 120px;
}
.checkout-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.8) 100% );
    z-index: 1;
}
.checkout-header h3, .close-panel {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
.checkout-header h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.close-panel { background: none; border: none; font-size: 1.5rem; cursor: pointer; opacity: 0.8; transition: opacity 0.3s ease; }
.close-panel:hover { opacity: 1; }
.checkout-header.no-image { background: var(--gradient-primary); min-height: auto; }
.checkout-header.no-image::before { display: none; }
.checkout-header.no-image h3, .checkout-header.no-image .close-panel { color: var(--dark); text-shadow: none; }


.checkout-content { padding: 2rem; }
.service-overview {
    background: var(--dark-300);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}
.service-overview h4 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.1rem; }
.service-overview p { margin-bottom: 1rem; color: var(--text-secondary); font-size: 0.9rem; }
.service-features-checkout { list-style: none; margin-bottom: 1.5rem; }
.service-features-checkout li { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0; font-size: 0.85rem; color: var(--text-secondary); }
.service-features-checkout li i { color: var(--success); font-size: 0.8rem; }
.checkout-options { margin-bottom: 2rem; }
.checkout-section { margin-bottom: 2rem; }
.checkout-section h5 { color: var(--text-primary); margin-bottom: 1rem; font-size: 1rem; font-weight: 600; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.option-group { display: flex; flex-direction: column; gap: 0.75rem; }

.option-item {
    background: var(--dark-400);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.option-item:hover { border-color: var(--primary); background: var(--dark-300); }
.option-item.selected { border-color: var(--primary); background: var(--dark-300); box-shadow: 0 0 0 1px var(--primary); }
.option-item.selected::before {
    content: '✓';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--primary);
    color: var(--dark);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}
.option-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.option-title { font-weight: 600; color: var(--text-primary); font-size: 0.9rem; }
.option-price { color: var(--primary); font-weight: 700; font-size: 0.9rem; }
.option-description { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.4; }

/* Checkout Panel - Range Slider & Select */
.option-item.range-option {
    padding: 1.5rem;
    border: 2px solid var(--border);
    background: var(--dark-400);
}
.option-item.range-option.selected {
    border-color: var(--primary);
    background: var(--dark-300);
    box-shadow: 0 0 0 1px var(--primary), 0 4px 12px rgba(255, 94, 58, 0.3);
}
.range-container { margin-top: 1rem; }
.range-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.range-label { font-size: 0.85rem; color: var(--text-primary); font-weight: 600; }
.range-value {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 94, 58, 0.4);
}
.range-slider-container { position: relative; margin-bottom: 0.75rem; padding: 0.5rem 0; }
.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--dark-200);
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.6);
    transition: all 0.2s ease;
    border: 2px solid var(--dark);
}
.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); box-shadow: 0 6px 20px rgba(255, 94, 58, 0.8); }
.range-slider::-webkit-slider-thumb:active { transform: scale(1.05); }
.range-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    cursor: pointer;
    border: 2px solid var(--dark);
    box-shadow: 0 4px 15px rgba(255, 94, 58, 0.6);
}
.range-track {
    position: absolute;
    top: 50%;
    left: 0;
    height: 8px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transform: translateY(-50%);
    transition: width 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(255, 94, 58, 0.5);
}
.range-indicators { display: flex; justify-content: space-between; margin-top: 0.5rem; padding: 0 12px; }
.range-indicator { font-size: 0.7rem; color: var(--text-secondary); position: relative; font-weight: 600; }
.range-indicator::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 6px;
    background: var(--primary);
    opacity: 0.7;
}
.range-price-display { text-align: center; margin-top: 0.75rem; padding: 0.75rem; background: var(--dark-200); border-radius: var(--radius); border: 1px solid var(--primary); }
.range-price-text { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.25rem; }
.range-price-amount { font-size: 1.1rem; font-weight: 700; color: var(--primary); text-shadow: 0 0 10px rgba(255, 94, 58, 0.5); }

.select-container { margin-top: 1rem; }
.armor-select, .key-level-select {
    width: 100%;
    background: var(--dark-200);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.armor-select:focus, .key-level-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255, 94, 58, 0.2); }
.armor-select:hover, .key-level-select:hover { border-color: var(--primary); }
.armor-select option, .key-level-select option { background: var(--dark-200); color: var(--text-primary); padding: 0.5rem; font-weight: 500; }

.checkout-summary {
    background: var(--dark-300);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}
.summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}
.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.btn-checkout {
    background: var(--gradient-primary);
    color: var(--dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-checkout:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 94, 58, 0.3); }
.btn-checkout:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-continue {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-continue:hover { border-color: var(--primary); color: var(--primary); }


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .nav-middle {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar, .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    .section-header, .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .chat-window {
        width: 90vw;
        right: 5vw;
        left: 5vw;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .game-dropdown {
        min-width: 280px;
        max-width: 90vw;
    }
    .dropdown-toggle, .dropdown-item {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    .game-banners {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 0.5rem;
    }
    .banner-image { height: 240px; }
    .banner-overlay { padding: 2rem; }
    .banner-overlay h3 { font-size: 1.4rem; }
    .banner-overlay p { font-size: 1rem; margin-bottom: 1.5rem; }
    .banner-overlay .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .services-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    .services-header {
        flex-direction: column;
        gap: 1rem;
    }
    .services-hero {
        min-height: 300px;
    }
    .services-hero .container {
        padding: 3rem 20px;
    }
    #services-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    #services-subtitle {
        font-size: 1.1rem;
    }
    .service-section h2 {
        padding: 3rem 1rem;
        min-height: 150px;
    }
    .service-section h2 span {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .hero-banner {
        background-attachment: scroll;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    .service-info { padding: 0.75rem; }
    .service-image { height: 120px; font-size: 2.5rem; }
    .checkout-panel {
        width: 100%;
        right: -100%;
    }
    .checkout-content { padding: 1.5rem; }
    .quick-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    .theme-toggle {
        top: 1rem;
        right: 1rem;
    }
    .game-dropdown {
        min-width: 250px;
    }
    .dropdown-toggle, .dropdown-item {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
    .dropdown-item span { font-size: 0.9rem; }
    .banner-image { height: 200px; }
    .banner-overlay { padding: 1.5rem; }
    .banner-overlay h3 { font-size: 1.2rem; line-height: 1.3; }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Cambios al register/login */
/* ===== AUTH & DASHBOARD ENHANCEMENTS ===== */

/* --- Smooth Form Inputs --- */
.auth-form input {
  transition: all 0.3s ease;
}

.auth-form input:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.checkbox-label {
    display: flex; 
    align-items: center; 
    gap: 0.5rem; 
    font-weight: normal; 
    text-transform: none; 
    letter-spacing: normal;
    color: var(--current-text-secondary);
    font-size: 0.9rem;
}
.checkbox-label input {
    width: auto; 
    margin: 0;
}
.checkbox-label a {
    color: var(--purple-primary);
    font-weight: 600;
}

.auth-footer-link {
    text-align: center; 
    margin-top: 1.5rem; 
    color: var(--current-text-secondary);
    font-size: 0.9rem;
}
.auth-footer-link a {
    color: var(--purple-primary); 
    font-weight: 600;
}


/* --- Dashboard General --- */
.dashboard-main .header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.notifications-bell {
  position: relative;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}
.notifications-bell:hover {
  color: var(--primary);
}
.notification-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background: var(--danger);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

/* --- Order Cards --- */
.orders-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
}
.order-card {
  background: var(--dark-200);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.order-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}
.order-card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-card-header h3 {
  margin: 0;
  font-size: 1.1rem;
}
.order-card-body {
  padding: 1.5rem;
  flex-grow: 1;
}
.order-card-body p {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.order-card-body p strong {
  color: var(--text-primary);
}
.order-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* --- Progress Bar --- */
.progress-bar-container {
  margin-top: 1rem;
}
.progress-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: block;
}
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--dark-300);
  border-radius: 4px;
  overflow: hidden;
}
.progress {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* --- Account Settings & Support --- */
.account-settings-form, .support-header {
  max-width: 800px;
}
.account-settings-form h3, .support-header h3 {
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}
.account-settings-form hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2rem 0;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.tickets-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ticket-item {
    background: var(--dark-200);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
}
.ticket-info {
    display: flex;
    flex-direction: column;
}
.ticket-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.ticket-status.open { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.ticket-status.closed { background: rgba(239, 68, 68, 0.2); color: var(--danger); }

/* ===== GLOBAL LAYOUT & AUTH HARMONY ===== */

/* --- Main content structure with Header/Footer --- */
.main-content {
  padding-top: 167px; /* Combined height of the full header */
  background: var(--dark);
}

.auth-page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  min-height: calc(100vh - 167px); /* Ensures footer stays at the bottom */
}

/* --- Improved Auth Buttons --- */
.social-btn {
  justify-content: flex-start; /* Align content to the left */
  padding-left: 1.5rem;
  gap: 1rem;
}
.social-btn i {
  font-size: 1.2rem;
  width: 20px; /* Fixed width for the icon */
  text-align: center;
}

/* --- Dashboard with Fixed Header --- */
.dashboard-container {
  padding-top: 2rem; /* Add padding to avoid content being hidden by the fixed header */
}

.dashboard-sidebar {
  position: sticky;
  top: 187px; /* padding-top + header height */
  height: calc(100vh - 207px); /* Adjust height to not overlap with footer */
}
/* ===== NEW DASHBOARD & AUTH STYLES ===== */

/* --- Main Layout for Auth/Dashboard --- */
.main-content {
    padding-top: 167px; /* Height of the fixed header */
    background: var(--dark);
    min-height: 100vh;
}

/* --- Dashboard Container --- */
.dashboard-container {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
}

/* --- Dashboard Sidebar --- */
.dashboard-sidebar {
    width: 260px;
    background: var(--dark-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: sticky;
    top: calc(167px + 2rem); /* Header height + padding */
    flex-shrink: 0;
}

.sidebar-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.user-avatar {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 3px solid var(--primary);
    padding: 3px;
}

.user-avatar img {
    border-radius: 50%;
}

.sidebar-header h3 {
    margin-bottom: 0.25rem;
}

.sidebar-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 1.5rem 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    background: var(--primary);
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(255, 94, 58, 0.3);
}

.sidebar-nav a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.sidebar-footer #logoutBtn {
    width: 100%;
    margin-top: 1rem;
    background: var(--danger);
    color: white;
}
.sidebar-footer #logoutBtn:hover {
    background: #c23636;
}

/* --- Dashboard Main Content --- */
.dashboard-main {
    flex-grow: 1;
    background: var(--dark-200);
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.dashboard-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.dashboard-section {
    display: none;
}
.dashboard-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--dark-300);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}
.stat-card .stat-title {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}
.dashboard-table th, .dashboard-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.dashboard-table th {
    color: var(--text-secondary);
    font-weight: 600;
}
.dashboard-table .status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Booster Register Page --- */
#booster-register-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--current-border);
    border-radius: var(--radius);
    background-color: var(--current-bg-300);
    color: var(--current-text-primary);
    min-height: 120px;
    resize: vertical;
}

#booster-register-form .form-group {
    margin-bottom: 1.5rem;
}
.payment-method {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 4px;
    font-size: 12px;
    min-width: 50px;
    text-align: center;
}
/* Search Results Styling */
.search-result {
    position: relative;
}

.search-match-type {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.search-result mark {
    background: var(--primary);
    color: white;
    padding: 0.1rem 0.2rem;
    border-radius: 3px;
    font-weight: 600;
}

.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
}

.no-services i {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.no-services h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.no-services p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.no-services ul {
    color: var(--text-secondary);
    text-align: left;
    display: inline-block;
}

/* Css del carrito*/
