/* ==========================================================================
   FancyOrb Events -- Component Styles
   Every named component in the storefront.
   ========================================================================== */


/* ==========================================================================
   Video Background
   ========================================================================== */

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 16:9 inverse */
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 12, 30, 0.7) 0%, rgba(4, 12, 30, 0.4) 40%, rgba(4, 12, 30, 0.8) 100%);
}


/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--duration-normal) ease, box-shadow var(--duration-normal) ease;
}

.site-header.scrolled {
    background: rgba(4, 12, 30, 0.92);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    min-height: 64px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: var(--text-xl);
    letter-spacing: var(--tracking-tight);
    transition: opacity var(--duration-fast) ease;
}

.logo:hover {
    opacity: 0.85;
    color: var(--light);
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 178, 210, 0.3);
    box-shadow: 0 0 12px rgba(16, 178, 210, 0.15);
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(16, 178, 210, 0.3);
    box-shadow: 0 0 12px rgba(16, 178, 210, 0.15);
}

.logo-text {
    color: var(--light);
    letter-spacing: var(--tracking-tight);
}

.logo-text .logo-accent {
    color: var(--accent);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color var(--duration-fast) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--primary-light));
    border-radius: var(--radius-full);
    transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--accent);
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-left: var(--space-2xs);
}

/* User menu */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-2xs) var(--space-sm);
    background: rgba(16, 178, 210, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.user-menu-toggle:hover {
    background: rgba(16, 178, 210, 0.15);
    border-color: var(--border-hover);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-sm);
    color: var(--light);
}

.user-avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: border-color var(--duration-fast) ease;
}

.user-avatar-img:hover {
    border-color: var(--primary-light);
}

.user-name {
    font-size: var(--text-sm);
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + var(--space-xs));
    right: 0;
    min-width: 200px;
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--duration-normal) var(--ease-out);
    z-index: var(--z-dropdown);
    overflow: hidden;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.dropdown-item:hover {
    background: rgba(16, 178, 210, 0.1);
    color: var(--light);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    flex-shrink: 0;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-2xs) 0;
}

/* Mobile menu */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    border-radius: var(--radius-md);
    transition: background var(--duration-fast) ease;
}

.mobile-menu-toggle:hover {
    background: rgba(16, 178, 210, 0.1);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger::before,
.hamburger::after {
    content: '';
}

.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--dark-surface);
    border-bottom: 1px solid var(--border);
    z-index: var(--z-sticky);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(16, 178, 210, 0.08);
    color: var(--accent);
}


/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    overflow: hidden;
}

.hero-section--banner {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(4, 12, 30, 0.5) 0%,
            rgba(4, 12, 30, 0.3) 30%,
            rgba(4, 12, 30, 0.6) 70%,
            rgba(4, 12, 30, 0.95) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
    font-weight: 900;
    letter-spacing: var(--tracking-tight);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--light);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: var(--leading-relaxed);
}

/* Event countdown */
.countdown-bar {
    display: inline-flex;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    margin-bottom: var(--space-xl);
}

.countdown-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    text-shadow: 0 0 12px rgba(16, 178, 210, 0.4);
}

.countdown-label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--text-muted);
    margin-top: var(--space-2xs);
}


/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    padding: var(--space-md) var(--space-lg);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-2xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    white-space: nowrap;
}

.trust-item svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    opacity: 0.8;
    flex-shrink: 0;
}

.trust-item .trust-separator {
    display: none;
}


/* ==========================================================================
   Event Info Section
   ========================================================================== */

.event-info {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.event-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-dark), var(--accent), var(--primary-light));
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: rgba(16, 178, 210, 0.12);
    border: 1px solid rgba(16, 178, 210, 0.25);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.event-date-badge svg {
    width: 16px;
    height: 16px;
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.event-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: rgba(16, 178, 210, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.event-highlight-item svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}


/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
    font-weight: 800;
    margin: 0 0 var(--space-sm);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin: 0;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}


/* ==========================================================================
   Products Grid & Product Cards
   ========================================================================== */

.products-section {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

/* --- Product Card --- */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition:
        transform var(--duration-normal) var(--ease-out),
        border-color var(--duration-normal) ease,
        box-shadow var(--duration-normal) ease;
    cursor: pointer;
    min-height: 340px;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-active);
    box-shadow: var(--shadow-card-hover);
}

/* Shine sweep on hover */
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(16, 178, 210, 0.06) 40%,
        rgba(255, 255, 255, 0.04) 50%,
        rgba(16, 178, 210, 0.06) 60%,
        transparent 80%
    );
    transform: skewX(-15deg);
    transition: left var(--duration-slower) var(--ease-out);
    z-index: 3;
    pointer-events: none;
}

.product-card:hover::after {
    left: 130%;
}

/* Card image area */
.product-image-wrapper {
    position: relative;
    height: 140px;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 12, 30, 0.1) 0%,
        rgba(4, 12, 30, 0.5) 60%,
        rgba(10, 22, 40, 0.95) 100%
    );
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-elevated) 0%, var(--dark-surface) 100%);
}

.product-placeholder svg {
    opacity: 0.08;
    width: 80px;
    height: 80px;
    color: var(--accent);
}

/* Badge container */
.product-badge-container {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    z-index: 4;
}

.product-badge {
    padding: 4px 10px;
    font-family: var(--font-heading);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.product-badge.popular {
    background: var(--badge-popular);
    color: var(--dark);
}

.product-badge.best-value {
    background: var(--badge-best-value);
    color: var(--light);
}

.product-badge.max-value {
    background: var(--badge-max-value);
    color: var(--dark);
}

.product-badge.sale {
    background: var(--badge-sale);
    color: var(--light);
}

.product-badge.vip {
    background: var(--badge-vip);
    color: var(--dark);
}

/* Card content */
.product-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-sm) var(--space-md) var(--space-md);
}

.product-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    opacity: 0.7;
}

.product-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--light);
    margin: 0 0 var(--space-xs);
    line-height: var(--leading-snug);
}

.product-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Feature list inside card */
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
    flex: 1;
}

.product-features li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-snug);
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b2d2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: 0.8;
}

/* Server availability chips */
.product-servers {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
}

.server-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: rgba(16, 178, 210, 0.1);
    border: 1px solid rgba(16, 178, 210, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: var(--tracking-wide);
}

.server-chip--all {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

/* Price area */
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.product-price {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--light);
    line-height: 1;
}

.product-price .price-period {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-muted);
}

.price-original {
    font-size: var(--text-base);
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
}

.price-current {
    color: var(--accent);
}

.price-type {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-weight: 400;
}

/* Card action */
.product-actions {
    margin-top: auto;
}


/* ==========================================================================
   Bundle Section
   ========================================================================== */

.bundle-section {
    position: relative;
    margin: var(--space-2xl) 0;
    padding: var(--space-2xl) var(--space-xl);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background:
        linear-gradient(135deg,
            rgba(4, 36, 116, 0.6) 0%,
            rgba(12, 137, 189, 0.3) 40%,
            rgba(4, 36, 116, 0.5) 100%
        );
    border: 1px solid rgba(16, 178, 210, 0.2);
}

.bundle-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16, 178, 210, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(43, 183, 241, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.bundle-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.bundle-info {
    flex: 1;
    min-width: 280px;
}

.bundle-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--light);
    margin: 0 0 var(--space-xs);
}

.bundle-description {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin: 0 0 var(--space-lg);
}

.bundle-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.bundle-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    padding: var(--space-2xs) var(--space-sm);
    background: rgba(16, 178, 210, 0.15);
    border: 1px solid rgba(16, 178, 210, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--accent);
}

.bundle-badge--save {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--success);
}

.bundle-badge--discount {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.bundle-badge--bonus {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.3);
    color: var(--warning);
}

.bundle-pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-md);
}

.bundle-price-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.bundle-price-original {
    font-size: var(--text-lg);
    color: var(--text-muted);
    text-decoration: line-through;
}

.bundle-price-current {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--light);
    text-shadow: 0 0 20px rgba(16, 178, 210, 0.3);
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.625rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-wide);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Primary -- gradient with glow */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--light);
    box-shadow: 0 2px 8px rgba(12, 137, 189, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(16, 178, 210, 0.4);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(12, 137, 189, 0.2);
}

/* Secondary -- outlined */
.btn-secondary {
    background: rgba(16, 178, 210, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(16, 178, 210, 0.15);
    border-color: var(--border-hover);
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-sm);
}

.btn-ghost:hover {
    color: var(--light);
    background: rgba(16, 178, 210, 0.08);
}

/* Success (Buy Now) */
.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--light);
    border: 1px solid #16a34a;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
    transform: translateY(-1px);
}

/* Danger */
.btn-danger {
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    color: var(--light);
}

.btn-danger:hover {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Size variants */
.btn-sm {
    padding: var(--space-2xs) var(--space-sm);
    font-size: var(--text-xs);
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    border-radius: var(--radius-lg);
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* CTA button (for bundle / hero) */
.btn-cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: var(--dark);
    font-weight: 700;
    font-size: var(--text-base);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(16, 178, 210, 0.35);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.btn-cta:hover {
    box-shadow: 0 8px 32px rgba(16, 178, 210, 0.5);
    transform: translateY(-2px);
}

/* Buy Now (green, prominent) */
.btn-buy-now {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: 2px solid #16a34a;
    color: var(--light);
    font-weight: 700;
    font-size: calc(var(--text-base) * 1.05);
    padding: calc(var(--space-md) * 1.1) var(--space-lg);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-buy-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-buy-now:hover:not(:disabled) {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-color: #15803d;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.btn-buy-now:hover:not(:disabled)::before {
    left: 100%;
}

.btn-buy-now:disabled {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--border);
    opacity: 0.5;
    box-shadow: none;
}

/* Add to Cart (subtle) */
.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    background: rgba(16, 178, 210, 0.08);
    border: 1px solid var(--border);
    color: var(--light);
    font-weight: 500;
}

.btn-add-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: transparent;
}

.btn-add-cart svg {
    width: 18px;
    height: 18px;
}


/* ==========================================================================
   Cart Sidebar
   ========================================================================== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-overlay);
    pointer-events: none;
}

.cart-sidebar.active {
    pointer-events: auto;
}

.cart-sidebar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 12, 30, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity var(--duration-normal) ease;
}

.cart-sidebar.active .cart-sidebar-overlay {
    opacity: 1;
}

.cart-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background: var(--dark-surface);
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform var(--duration-normal) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active .cart-sidebar-content {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    margin: 0;
    font-size: var(--text-xl);
    font-family: var(--font-heading);
}

.close-cart {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: var(--text-2xl);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) ease;
}

.close-cart:hover {
    color: var(--light);
    background: rgba(16, 178, 210, 0.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--space-lg);
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 178, 210, 0.2) transparent;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.cart-items::-webkit-scrollbar-thumb {
    background: rgba(16, 178, 210, 0.2);
    border-radius: var(--radius-full);
}

.cart-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(16, 178, 210, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-sm);
    transition: border-color var(--duration-fast) ease;
}

.cart-item:hover {
    border-color: var(--border);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2xs);
}

.cart-item-price {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.cart-item-server {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-2xs);
}

.server-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.server-name {
    color: var(--text-primary);
}

.cart-item-subscription {
    margin-top: var(--space-xs);
}

.subscription-badge {
    display: inline-block;
    padding: 3px 8px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--badge-best-value);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.quantity-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 178, 210, 0.08);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--light);
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.quantity-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

.quantity-value {
    min-width: 2ch;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    color: var(--text-muted);
}

.cart-empty svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    margin-bottom: var(--space-md);
}

.cart-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
    background: rgba(4, 12, 30, 0.5);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-md);
}


/* ==========================================================================
   Modals
   ========================================================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: none;
    background: rgba(4, 12, 30, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

#auth-modal {
    z-index: var(--z-auth-modal);
}

.modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 12, 30, 0.8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    cursor: default;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(16, 178, 210, 0.2) transparent;
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(16, 178, 210, 0.2);
    border-radius: var(--radius-full);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.modal-header h2,
.modal-header h3 {
    margin: 0;
    font-family: var(--font-heading);
}

.modal-body {
    padding: var(--space-lg);
}

.modal-footer {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
}

.modal-footer .btn {
    flex: 1;
}

.close-modal {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--duration-fast) ease;
}

.close-modal:hover {
    color: var(--light);
    background: rgba(16, 178, 210, 0.1);
}

/* Server Selection Modal (wider, two-column) */
#server-selection-modal .modal-container {
    max-width: 1000px;
    width: 95%;
}

.modal-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.modal-left-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.modal-right-column {
    display: flex;
    flex-direction: column;
}

.configuration-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

/* Product preview in modal */
.product-preview {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: rgba(16, 178, 210, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
}

.product-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.product-placeholder-small {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 178, 210, 0.06);
    border-radius: var(--radius-md);
    color: var(--text-muted);
}

.product-preview-info {
    flex: 1;
}

.product-preview-name {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--light);
    margin-bottom: var(--space-2xs);
}

.product-preview-price {
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
}

/* Price summary in modal */
.price-summary {
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-lg);
    text-align: center;
}

.price-summary-label {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-2xs);
}

.price-summary-value {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--light);
}

/* Auth modal */
.auth-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.auth-header h3 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0;
}

.steam-logo {
    color: var(--accent);
}

.auth-info {
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(16, 178, 210, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
}

.auth-benefits {
    list-style: none;
    margin: var(--space-md) 0 0 0;
    padding: 0;
}

.auth-benefits li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.auth-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b2d2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.steam-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: var(--text-base);
    padding: var(--space-md) var(--space-xl);
    width: 100%;
    margin-bottom: var(--space-md);
}

.auth-note {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-md);
}

.auth-security {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(16, 178, 210, 0.04);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.auth-security svg {
    flex-shrink: 0;
    opacity: 0.6;
}


/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label,
.config-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.config-icon {
    opacity: 0.6;
    flex-shrink: 0;
}

.required-indicator {
    color: var(--error);
    font-weight: 700;
    margin-left: 2px;
}

.form-input,
.server-select {
    width: 100%;
    padding: 0.625rem var(--space-md);
    background: rgba(4, 12, 30, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--text-base);
    transition: all var(--duration-fast) ease;
}

.form-input:focus,
.server-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 178, 210, 0.12);
    background: rgba(10, 22, 40, 0.9);
}

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

.server-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: calc(var(--space-md) * 3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(240,246,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    background-size: 18px;
}

.server-select option {
    background-color: var(--dark-surface);
    color: var(--light);
    padding: var(--space-sm);
}

.server-select option:disabled {
    color: var(--text-muted);
}

.server-select option:checked {
    background: var(--primary);
    color: var(--light);
}

.server-select:hover {
    border-color: var(--border-hover);
}

.config-help-text {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2xs);
}

.quantity-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.quantity-input {
    flex: 1;
    max-width: 80px;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(4, 12, 30, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--light);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    text-align: center;
}

.quantity-input:focus {
    outline: none;
    border-color: var(--accent);
}

/* Subscription toggle */
.subscription-container {
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(12, 137, 189, 0.08) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-lg);
}

.subscription-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
}

.subscription-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--accent);
}

.subscription-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subscription-title {
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
}

.subscription-subtitle {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

/* Gift section */
.gift-container {
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(236, 72, 153, 0.06) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-lg);
}

.gift-label {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    cursor: pointer;
}

.gift-checkbox {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--error);
}

.gift-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gift-title {
    color: var(--light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-sm);
}

.gift-subtitle {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.gift-recipient-field {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gift-recipient-field .form-input {
    margin-top: var(--space-sm);
}

.gift-recipient-field .form-input:focus {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}


/* ==========================================================================
   Toast Notifications
   ========================================================================== */

.toast-container {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    min-width: 320px;
    max-width: 420px;
    padding: var(--space-md) var(--space-lg);
    background: var(--dark-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    transform: translateX(calc(100% + var(--space-lg)));
    transition: transform var(--duration-normal) var(--ease-out);
    font-size: var(--text-sm);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 3px solid var(--success);
}

.toast.error {
    border-left: 3px solid var(--error);
}

.toast.warning {
    border-left: 3px solid var(--warning);
}

.toast.info {
    border-left: 3px solid var(--info);
}


/* ==========================================================================
   Product Details Modal
   ========================================================================== */

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.product-details-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--dark-elevated);
    border: 1px solid var(--border-subtle);
}

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

.product-details-info h3 {
    font-size: var(--text-2xl);
    margin: 0 0 var(--space-md);
}

.product-details-price {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: var(--space-xl);
}

.product-details-description {
    margin-bottom: var(--space-xl);
}

.product-details-description h4 {
    font-size: var(--text-lg);
    margin: 0 0 var(--space-sm);
    color: var(--text-muted);
}

.product-details-description p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

.product-details-actions {
    display: flex;
    gap: var(--space-md);
}

/* Description in modal */
.product-description-title {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--light);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
}

.product-description-content {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.product-description-content p {
    margin: 0;
}

.product-description-content ul,
.product-description-content ol {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.product-description-content li {
    margin: var(--space-2xs) 0;
}

/* Modal product description block */
#modal-product-description {
    padding: var(--space-lg);
    background: rgba(16, 178, 210, 0.04);
    border: 1px solid var(--border-subtle);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-lg);
}


/* ==========================================================================
   Navigation Cards (Home page categories)
   ========================================================================== */

.navlink-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl);
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-primary);
    min-height: 200px;
    transition: all var(--duration-normal) var(--ease-out);
}

.navlink-card:hover {
    border-color: var(--border-active);
    background: var(--surface-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    color: var(--light);
}

.navlink-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    opacity: 0.5;
    color: var(--text-muted);
    transition: all var(--duration-normal) var(--ease-out);
}

.navlink-icon svg {
    width: 100%;
    height: 100%;
}

.navlink-card:hover .navlink-icon {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-4px);
}

.navlink-name {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    letter-spacing: var(--tracking-tight);
}

.navlink-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-normal);
}


/* ==========================================================================
   Alerts
   ========================================================================== */

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    border: 1px solid;
}

.alert-info {
    background: rgba(12, 137, 189, 0.08);
    border-color: rgba(12, 137, 189, 0.2);
    color: var(--text-primary);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--text-primary);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.2);
    color: var(--text-primary);
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    color: var(--text-primary);
}


/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--border-subtle);
    padding: 10px 0;
    margin-top: auto;
}

.site-footer .footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: var(--space-sm);
    line-height: 1;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-brand {
    margin: 0;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.6875rem;
}

.footer-center {
    flex: 1;
    justify-content: center;
}

.footer-center a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.6875rem;
    transition: color var(--duration-fast) ease;
}

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

.separator {
    color: var(--text-muted);
    font-size: 0.5625rem;
    opacity: 0.5;
    margin: 0 4px;
}

.powered-by {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.powered-by a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.powered-by a:hover {
    color: var(--primary-light);
}

/* Multi-row footer variant (for stores that want more content) */
.footer-content--full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-weight: 600;
    font-size: var(--text-base);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    transition: all var(--duration-fast) ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: var(--space-xs);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: var(--text-sm);
}


/* ==========================================================================
   Cards (generic)
   ========================================================================== */

.card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    position: relative;
    transition: all var(--duration-normal) var(--ease-out);
}

.card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-card);
}

.card-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-subtle);
}

.card-body {
    color: var(--text-secondary);
}

.card-footer {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}


/* ==========================================================================
   Info Sections
   ========================================================================== */

.info-section {
    background: rgba(16, 178, 210, 0.04);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.info-section h3 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.info-section p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}


/* ==========================================================================
   Module Cards
   ========================================================================== */

.module-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--duration-normal) var(--ease-out);
}

.module-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.module-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--text-primary);
}

.module-content {
    flex: 1;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}


/* ==========================================================================
   Skeleton Loaders
   ========================================================================== */

.skeleton {
    background: linear-gradient(
        90deg,
        var(--dark-elevated) 25%,
        var(--dark-surface) 37.5%,
        var(--dark-elevated) 50%
    );
    background-size: 400% 100%;
    border-radius: var(--radius-md);
}

.skeleton-card {
    height: 420px;
    border-radius: var(--radius-xl);
}

.skeleton-text {
    height: 16px;
    margin-bottom: var(--space-xs);
}

.skeleton-text--sm {
    height: 12px;
    width: 60%;
}

.skeleton-text--lg {
    height: 24px;
    width: 40%;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-image {
    height: 180px;
    border-radius: var(--radius-lg);
}


/* ==========================================================================
   Spinner
   ========================================================================== */

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
}

.spinner--sm {
    width: 16px;
    height: 16px;
    border-width: 1.5px;
}

.spinner--lg {
    width: 40px;
    height: 40px;
    border-width: 3px;
}


/* ==========================================================================
   Removal of legacy decorative elements
   ========================================================================== */

.frost-overlay,
#snow-particles,
.particles,
.particle,
.floating-element,
.hero-bg-elements,
.header-frost,
.footer-frost {
    display: none !important;
}
