/* ============================================
   TEBEX BLUE THEME - Premium FiveM Store
   ============================================ */

:root {
    /* Primary Blues */
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    --primary-glow: rgba(59, 130, 246, 0.4);
    --primary-subtle: rgba(59, 130, 246, 0.1);

    /* Backgrounds */
    --bg-darkest: #050a18;
    --bg-dark: #0a1128;
    --bg-card: #0d1530;
    --bg-card-hover: #111d3f;
    --bg-surface: #121a35;
    --bg-input: #0f1a36;

    /* Borders */
    --border: rgba(59, 130, 246, 0.12);
    --border-hover: rgba(59, 130, 246, 0.3);
    --border-active: rgba(59, 130, 246, 0.5);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #60a5fa;

    /* Status */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    /* Misc */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(59, 130, 246, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-heading: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

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

.main-content {
    flex: 1 0 auto;
}

.site-footer {
    flex-shrink: 0;
}

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-light);
}

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

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

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}
.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: rgba(5, 10, 24, 0.95);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
    z-index: 1300;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}
.pulse-dot::before,
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--success);
    opacity: 0;
    animation: pulse-ring 2.4s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
.pulse-dot::after { animation-delay: 1.2s; }
.pulse-dot-muted {
    background: var(--text-muted);
    box-shadow: none;
    opacity: 0.55;
}
.pulse-dot-muted::before,
.pulse-dot-muted::after {
    display: none;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(3.2); opacity: 0; }
}

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

.server-ip {
    color: var(--text-accent);
    font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-weight: 500;
    letter-spacing: -0.2px;
    background: var(--primary-subtle);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
}
.copy-btn:hover { color: var(--primary); }

.copy-feedback {
    color: var(--success);
    font-size: 11px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}
.copy-feedback.show { opacity: 1; }

.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    border-radius: 6px;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid var(--border-active);
}
.join-btn:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px var(--primary-glow);
}
.join-btn i { font-size: 10px; }

.join-btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 10px 14px;
    font-size: 13px;
}

.server-status {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.server-status i { color: var(--success); }

.discord-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7289da;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 6px;
    background: rgba(114, 137, 218, 0.1);
    border: 1px solid rgba(114, 137, 218, 0.2);
    transition: var(--transition);
}
.discord-link:hover {
    background: rgba(114, 137, 218, 0.2);
    color: #99aef0;
}
.discord-count {
    font-size: 11px;
    color: var(--text-muted);
}

.currency-switcher {
    position: relative;
}
.currency-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.currency-btn:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.currency-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    list-style: none;
    min-width: 100px;
    z-index: 100;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.currency-dropdown.show { display: block; }
.currency-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 13px;
}
.currency-dropdown li a:hover {
    background: var(--primary-subtle);
    color: var(--primary-light);
}
.currency-dropdown li.active a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== HEADER ===== */
.site-header {
    position: relative;
    z-index: 1100;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(5, 10, 24, 0.7) 0%,
        rgba(10, 17, 40, 0.85) 50%,
        var(--bg-darkest) 100%
    );
}

/* ===== NAVIGATION ===== */
.main-nav {
    position: relative;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.main-nav.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 10, 24, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand a {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--primary-subtle);
}
.nav-link i { font-size: 12px; }

.has-dropdown {
    position: relative;
}
.dropdown-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    list-style: none;
    min-width: 200px;
    z-index: 100;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.has-dropdown:hover .dropdown-nav { display: block; }
.dropdown-nav li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: var(--transition);
}
.dropdown-nav li a:hover {
    background: var(--primary-subtle);
    color: var(--primary-light);
    padding-left: 20px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-greeting {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.user-greeting i { color: var(--primary); }

.btn-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-login {
    background: var(--primary-subtle);
    color: var(--primary-light);
    border: 1px solid var(--border);
}
.btn-login:hover {
    background: var(--primary);
    color: white;
}
.btn-logout {
    color: var(--text-muted);
    background: transparent;
}
.btn-logout:hover { color: var(--danger); }

.btn-cart {
    position: relative;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-sm);
}
.btn-cart:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Dropdown */
.cart-wrapper { position: relative; }

.cart-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 1200;
    overflow: hidden;
}
.cart-dropdown.show { display: block; }

.cart-header {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}
.cart-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.cart-header h4 i { color: var(--primary); }

.cart-items {
    list-style: none;
    max-height: 240px;
    overflow-y: auto;
}
.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.cart-item:hover { background: var(--bg-card-hover); }
.cart-item-name {
    flex: 1;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}
.cart-item-price {
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 600;
    white-space: nowrap;
}
.cart-item-remove {
    color: var(--text-muted);
    padding: 4px;
}
.cart-item-remove:hover { color: var(--danger); }

.cart-footer {
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}
.cart-total-price { color: var(--primary-light); }

.btn-checkout {
    display: block;
    text-align: center;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-checkout:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 24px 100px;
}

.hero-section.hero-simple {
    padding: 40px 24px 50px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-light) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-simple .hero-title {
    font-size: 40px;
    margin-bottom: 8px;
}

.hero-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--primary-subtle);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}
.hero-badge i { color: var(--primary-light); }

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

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--primary-glow);
    color: white;
}

.btn-secondary-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    border: 2px solid var(--border-hover);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.btn-secondary-glow:hover {
    background: var(--primary-subtle);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    margin-top: 8px;
}
.notification-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--primary-light);
}
.notification-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}
.notification-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 400px;
}

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

/* ===== CATEGORY NAV BAR ===== */
.category-nav-bar {
    margin-bottom: 30px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}
.category-pill:hover {
    background: var(--primary-subtle);
    border-color: var(--border-hover);
    color: var(--primary-light);
}
.category-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}
.category-pill i { font-size: 12px; }

/* ===== STORE LAYOUT ===== */
.store-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    padding: 30px 0;
}

.store-main {
    min-width: 0;
}

.store-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ===== WELCOME CARD ===== */
.welcome-card {
    padding: 24px;
    margin-bottom: 30px;
}
.welcome-content {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}
.welcome-content a { color: var(--primary-light); }
.welcome-content img { border-radius: var(--radius-sm); }

/* ===== SECTION BLOCKS ===== */
.section-block {
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.section-title h2 i {
    color: var(--primary);
    font-size: 18px;
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--border-hover), transparent);
}

.section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.section-link:hover {
    color: var(--primary);
}
.section-link i { font-size: 11px; }

.category-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--primary-subtle);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

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

.package-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}

/* Scroll reveal animation */
.package-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.package-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.package-card.revealed:hover {
    transform: translateY(-4px);
}

/* Package Badge */
.package-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}
.sale-badge {
    background: var(--danger);
    color: white;
}
.free-badge {
    background: var(--success);
    color: white;
}
.escrow-badge {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
    color: white;
}
.open-badge {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
}

.package-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: var(--bg-surface);
}
.package-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.package-card:hover .package-image img {
    transform: scale(1.05);
}

.package-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
}
.package-placeholder i {
    font-size: 40px;
    color: var(--text-muted);
}

.package-details {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-category-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.package-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.package-name a {
    color: var(--text-primary);
}
.package-name a:hover {
    color: var(--primary-light);
}

.package-countdown {
    font-size: 12px;
    color: var(--danger);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.price-original {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 13px;
}
.price-current {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-light);
}
.price-currency {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}
.price-free {
    font-size: 18px;
    font-weight: 800;
    color: var(--success);
}

.btn-package {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-buy {
    background: var(--primary);
    color: white;
}
.btn-buy:hover {
    background: var(--primary-dark);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}
.btn-remove {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}
.btn-remove:hover {
    background: var(--danger);
    color: white;
}

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

/* ===== PACKAGES LIST VIEW ===== */
.packages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.package-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
}
.package-list-item:hover {
    transform: translateX(4px);
}

.list-item-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.list-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.package-placeholder-sm {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
}
.package-placeholder-sm i { color: var(--text-muted); }

.list-item-info {
    flex: 1;
    min-width: 0;
}
.list-item-info .package-name {
    margin-bottom: 2px;
}

.list-item-price {
    padding: 0 16px;
    text-align: right;
}

.list-item-action {
    flex-shrink: 0;
}

/* ===== CATEGORY HEADER ===== */
.category-header-card {
    padding: 30px;
    margin-bottom: 24px;
    border-left: 4px solid var(--primary);
}

.category-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.category-title i { color: var(--primary); }

.category-description {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 12px;
}

.category-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
}
.category-meta i { color: var(--primary); margin-right: 4px; }

.subcategory-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.subcategory-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}
.subcategory-card:hover {
    color: var(--primary-light);
    border-color: var(--border-hover);
}
.subcategory-card i:first-child { color: var(--primary); }
.subcategory-card i:last-child { font-size: 10px; margin-left: auto; }

.empty-state {
    text-align: center;
    padding: 60px 24px;
}
.empty-state i {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}
.empty-state p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* ===== CHECKOUT ===== */
.checkout-layout {
    grid-template-columns: 1fr;
}
.full-width { max-width: 100%; }

.checkout-card {
    overflow: hidden;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
}
.checkout-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-header h2 i { color: var(--primary); }
.checkout-total-amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-light);
}

.checkout-body {
    padding: 24px;
}

.checkout-table {
    width: 100%;
    border-collapse: collapse;
}
.checkout-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.checkout-table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-primary);
    vertical-align: middle;
}

.checkout-gift i { color: var(--primary); }
.checkout-thumb-cell { width: 72px; }
.checkout-thumb {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.checkout-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.checkout-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 18px;
}
.checkout-thumb-gift {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid var(--bg-card);
}
.checkout-name { font-weight: 600; }
.option-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--primary-light);
}
.option-tag i { font-size: 0.8rem; }
.checkout-price {
    font-weight: 700;
    color: var(--primary-light);
    white-space: nowrap;
}

.qty-input {
    width: 60px;
    padding: 8px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-align: center;
    font-size: 14px;
}
.qty-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-subtle);
}
.qty-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkout-actions {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    font-size: 13px;
}
.btn-icon:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}
.btn-refresh:hover { color: var(--primary); }
.btn-info-icon:hover { color: var(--info); }
.btn-remove-icon:hover { color: var(--danger); background: rgba(239, 68, 68, 0.1); }

.checkout-section {
    margin-top: 30px;
    padding-top: 20px;
}
.checkout-section h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.checkout-section h3 i { color: var(--primary); font-size: 15px; }

.coupon-form { margin-bottom: 12px; }
.coupon-input-group {
    display: flex;
    gap: 8px;
}
.coupon-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
}
.coupon-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-subtle);
}
.coupon-input::placeholder { color: var(--text-muted); }

.btn-coupon {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.btn-coupon:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}

.coupons-applied {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.coupon-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50px;
    font-size: 13px;
    color: #6ee7b7;
}
.coupon-tag i { color: var(--success); }
.coupon-remove {
    color: var(--text-muted);
    padding: 2px;
}
.coupon-remove:hover { color: var(--danger); }

.checkout-purchase-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.checkout-purchase-info {
    flex: 1;
    color: var(--text-secondary);
    font-size: 14px;
}
.checkout-purchase-btn {
    flex-shrink: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}
.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
}
.terms-link { color: var(--primary-light); text-decoration: underline; }

.referral-link {
    font-size: 13px;
    margin-left: auto;
    font-weight: 400;
}

.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.gateway-option {
    cursor: pointer;
}
.gateway-option input { display: none; }
.gateway-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
}
.gateway-option input:checked + .gateway-card {
    border-color: var(--primary);
    background: var(--primary-subtle);
    box-shadow: 0 0 15px var(--primary-glow);
}
.gateway-card img {
    max-height: 30px;
    width: auto;
}
.gateway-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row {
    display: flex;
    gap: 16px;
}
.form-group {
    flex: 1;
}
.form-group.full { flex: 2; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    -webkit-appearance: none;
}
.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-subtle);
}
select.form-input {
    cursor: pointer;
}

/* ===== REVIEWS ===== */
.reviews-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--bg-darkest), var(--bg-dark));
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.section-header h2 i { color: var(--warning); }
.section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Sliding carousel variant */
.reviews-carousel {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 80px,
        #000 calc(100% - 80px),
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0,
        #000 80px,
        #000 calc(100% - 80px),
        transparent 100%
    );
}
.reviews-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: reviewsScroll 40s linear infinite;
    will-change: transform;
}
.reviews-carousel:hover .reviews-track {
    animation-play-state: paused;
}
.reviews-carousel .review-card {
    flex: 0 0 360px;
    opacity: 1;
    transform: none;
}
@keyframes reviewsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .reviews-track { animation: none; }
}
@media (max-width: 640px) {
    .reviews-carousel .review-card { flex: 0 0 280px; }
    .reviews-track { animation-duration: 30s; }
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    display: flex;
    flex-direction: column;
}
.review-card .review-author {
    margin-top: auto;
}
.review-card.revealed {
    opacity: 1;
    transform: translateY(0);
}
.review-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.review-stars {
    margin-bottom: 14px;
    display: flex;
    gap: 3px;
}
.review-stars i {
    color: var(--warning);
    font-size: 15px;
}

.review-text {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.review-avatar i {
    font-size: 36px;
    color: var(--primary);
}
.review-info {
    display: flex;
    flex-direction: column;
}
.review-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
}
.review-badge {
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
}
.review-community {
    font-size: 11px;
    color: var(--primary-light);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px 0;
}
.review-community i { font-size: 10px; }

/* ===== SIDEBAR MODULES ===== */
.sidebar-module {
    overflow: hidden;
}

.module-header {
    padding: 14px 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.module-header i {
    color: var(--primary);
    font-size: 13px;
}

.module-body {
    padding: 16px;
}

.module-empty {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 12px;
}

/* Featured Package */
.featured-package {
    text-align: center;
}
.featured-image {
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.featured-image img {
    width: 100%;
    border-radius: var(--radius-sm);
    transition: transform 0.3s;
}
.featured-image:hover img {
    transform: scale(1.05);
}
.featured-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}
.featured-price {
    margin-bottom: 12px;
}
.featured-action .btn-package {
    width: 100%;
    justify-content: center;
}

/* Recent Payments */
.recent-payments {
    list-style: none;
}
.payment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.payment-item:last-child { border-bottom: none; }
.payment-avatar img {
    border-radius: 4px;
}
.payment-info { flex: 1; min-width: 0; }
.payment-ign {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.payment-time {
    color: var(--text-muted);
    font-size: 11px;
    margin-left: 6px;
}
.payment-extra {
    font-size: 12px;
    color: var(--text-secondary);
}
.payment-empty {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    padding: 12px 0;
}

/* Top Donator */
.top-donator {
    display: flex;
    align-items: center;
    gap: 14px;
}
.donator-avatar {
    position: relative;
}
.donator-avatar img {
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
}
.donator-crown {
    position: absolute;
    top: -8px;
    right: -8px;
    color: var(--warning);
    font-size: 14px;
}
.donator-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}
.donator-amount {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Goal Widget */
.goal-widget { }
.goal-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}
.goal-progress-text { color: var(--text-secondary); }
.goal-percent {
    font-weight: 700;
    color: var(--primary-light);
}
.goal-bar {
    height: 8px;
    background: var(--bg-surface);
    border-radius: 4px;
    overflow: hidden;
}
.goal-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 1s ease;
}
.goal-bar-fill.striped {
    background-image: linear-gradient(
        45deg,
        rgba(255,255,255,0.1) 25%, transparent 25%,
        transparent 50%, rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.1) 75%, transparent 75%
    );
    background-size: 20px 20px;
}
.goal-bar-fill.animated {
    animation: progress-stripe 1s linear infinite;
}
@keyframes progress-stripe {
    from { background-position: 20px 0; }
    to { background-position: 0 0; }
}

/* Server Widget */
.server-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.server-widget-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
}
.server-widget-label { color: var(--success); }
.server-widget-players {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}
.server-widget-players i { color: var(--primary); }
.server-widget-ip {
    display: flex;
    align-items: center;
    gap: 8px;
}
.server-widget-ip code {
    flex: 1;
    background: var(--bg-surface);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--primary-light);
    border: 1px solid var(--border);
}
.copy-btn-sm {
    background: var(--primary);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.copy-btn-sm:hover {
    background: var(--primary-dark);
}

/* Textbox */
.textbox-content {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.textbox-content a { color: var(--primary-light); }

/* Giftcard */
.giftcard-form .coupon-input {
    font-size: 13px;
}

/* ===== FOOTER ===== */
.site-footer {
    position: relative;
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding-top: 50px;
    margin-top: 40px;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-about p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}
.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 16px;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}
.footer-links-col ul {
    list-style: none;
}
.footer-links-col ul li {
    margin-bottom: 8px;
}
.footer-links-col ul li a {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}
.footer-links-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}
.footer-links-col ul li a i {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}
.powered-by a {
    color: var(--primary-light);
    font-weight: 600;
}

/* ===== MODAL ===== */
.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.modal-body {
    padding: 24px;
    color: var(--text-primary);
}
.modal-body img { border-radius: var(--radius-sm); }
.modal-body .btn { border-radius: var(--radius-sm); }
.modal-backdrop { background-color: rgba(0, 0, 0, 0.7); }

/* Bootstrap overrides for modal */
.modal-body .btn-info {
    background: var(--primary);
    border-color: var(--primary);
}
.modal-body .btn-danger {
    background: var(--danger);
    border-color: var(--danger);
}
.modal-body .btn-success {
    background: var(--success);
    border-color: var(--success);
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.panel { margin-bottom: 0; }
.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}
.btn-info {
    background: var(--primary);
    border-color: var(--primary);
    border-radius: var(--radius-sm);
}
.btn-success {
    background: var(--success);
    border-color: var(--success);
    border-radius: var(--radius-sm);
}
.btn-danger {
    background: var(--danger);
    border-color: var(--danger);
    border-radius: var(--radius-sm);
}
.table > thead > tr > th,
.table > tbody > tr > td {
    border-color: var(--border);
}
.table-hover > tbody > tr:hover {
    background: var(--bg-card-hover);
}
.img-thumbnail {
    background: var(--bg-surface);
    border-color: var(--border);
    border-radius: var(--radius-sm);
}

/* ===== PACKAGE DETAIL PAGE ===== */
.package-page {
    padding: 30px 0 60px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    transition: var(--transition);
}
.back-link:hover {
    color: var(--primary-light);
    background: var(--primary-subtle);
    padding-left: 20px;
}

.package-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    padding: 32px;
}

.package-detail-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-surface);
    align-self: start;
}
.package-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--bg-surface);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-main img,
.gallery-main iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border: 0;
}
.gallery-video-poster {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.gallery-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #fff;
    font-size: 48px;
    transition: background 0.15s ease;
}
.gallery-video-poster:hover .gallery-video-play {
    background: rgba(0,0,0,0.5);
}
.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.gallery-thumb {
    flex: 0 0 auto;
    width: 80px;
    height: 56px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb:hover {
    border-color: var(--primary-light);
}
.gallery-thumb.active {
    border-color: var(--primary);
}
.gallery-thumb-video .gallery-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 18px;
}

.package-placeholder-lg {
    width: 100%;
    padding-top: 75%;
    position: relative;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
}
.package-placeholder-lg i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    color: var(--text-muted);
}

.package-detail-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.package-detail-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.package-detail-name {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.package-detail-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 16px 20px;
    background: var(--primary-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}
.package-detail-price .price-current {
    font-size: 28px;
}
.package-detail-price .price-free {
    font-size: 28px;
}

.package-detail-countdown {
    margin-bottom: 16px;
}

.trust-row {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.trust-row li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.trust-row li i {
    color: var(--primary-light);
    font-size: 14px;
    flex-shrink: 0;
}
.trust-row li span { line-height: 1.2; }

.package-detail-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.package-detail-description p { margin-bottom: 12px; }
.package-detail-description a { color: var(--primary-light); }
.package-detail-description img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    margin: 12px 0;
}
.package-detail-description ul,
.package-detail-description ol {
    padding-left: 24px;
    margin-bottom: 12px;
}
.package-detail-description li { margin-bottom: 4px; }
.package-detail-description h2,
.package-detail-description h3 {
    color: var(--text-primary);
    margin: 18px 0 10px;
    font-family: var(--font-heading);
}

.package-detail-form .form-group {
    margin-bottom: 16px;
}

.package-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.package-detail-actions .btn-primary-glow,
.package-detail-actions .btn-secondary-glow {
    flex: 1;
    min-width: 180px;
    justify-content: center;
}

@media (max-width: 768px) {
    .package-detail {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
    .package-detail-name {
        font-size: 24px;
    }
    .package-detail-price .price-current,
    .package-detail-price .price-free {
        font-size: 22px;
    }
}

/* ===== HOME PAGE ===== */
.home-page {
    padding: 0 0 60px;
}

.home-hero {
    padding: 60px 24px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.18), transparent 60%);
    pointer-events: none;
    z-index: 0;
}
.home-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}
.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--border);
    border-radius: 50px;
    margin-bottom: 20px;
}
.home-hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.home-hero-title span {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.home-hero-subtitle {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto 32px;
}
.home-hero-subtitle em {
    color: var(--primary-light);
    font-style: italic;
}
.home-hero-cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.home-mission {
    padding: 60px 24px;
}
.home-mission-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.home-mission-eyebrow {
    display: inline-block;
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.home-mission-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 14px;
}
.home-mission-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}
.home-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.mission-pillar {
    padding: 28px 24px;
    text-align: left;
}
.mission-pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-subtle);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 20px;
    margin-bottom: 16px;
}
.mission-pillar h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.mission-pillar p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.home-categories,
.home-packages {
    padding: 40px 24px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.home-section-header {
    text-align: center;
    margin-bottom: 28px;
}
.home-section-header h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.home-section-header p {
    color: var(--text-secondary);
    font-size: 15px;
}
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.home-category-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
}
.home-category-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    color: var(--text-primary);
}
.home-category-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--primary-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    flex-shrink: 0;
}
.home-category-name {
    flex: 1;
    font-size: 15px;
}
.home-category-arrow {
    color: var(--text-muted);
    font-size: 13px;
    transition: var(--transition);
}
.home-category-card:hover .home-category-arrow {
    color: var(--primary-light);
    transform: translateX(4px);
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.home-showcase-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: var(--text-primary);
    transition: var(--transition);
}
.home-showcase-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    color: var(--text-primary);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow);
}
.home-showcase-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: var(--bg-surface);
}
.home-showcase-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.home-showcase-card:hover .home-showcase-image img {
    transform: scale(1.05);
}
.home-showcase-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card));
    color: var(--text-muted);
    font-size: 40px;
}
.home-showcase-body {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.home-showcase-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.home-showcase-cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: var(--transition);
}
.home-showcase-card:hover .home-showcase-cta {
    transform: translateX(2px);
}

.home-final-cta {
    padding: 40px 24px 0;
    max-width: 900px;
    margin: 0 auto;
}
.home-final-cta-inner {
    padding: 48px 32px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.08) 100%) !important;
}
.home-final-cta-inner h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
}
.home-final-cta-inner p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .home-hero { padding: 40px 16px 50px; }
    .home-hero-title { font-size: 36px; }
    .home-hero-subtitle { font-size: 15px; }
    .home-mission { padding: 40px 16px; }
    .home-mission-title { font-size: 26px; }
    .home-final-cta-inner { padding: 32px 20px; }
    .home-final-cta-inner h2 { font-size: 22px; }
}

/* ===== PACKAGE SHOWCASE (feature GIFs / screenshots) ===== */
.package-showcase {
    margin-top: 40px;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.package-showcase-header {
    text-align: center;
    margin-bottom: 28px;
}
.package-showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.package-showcase-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 8px;
}
.package-showcase-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}
.package-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.package-showcase-item {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.package-showcase-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-glow);
}
.package-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .package-showcase {
        padding: 28px 18px;
        margin-top: 24px;
    }
    .package-showcase-title { font-size: 22px; }
    .package-showcase-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===== PER-PACKAGE REVIEWS ===== */
.package-reviews {
    margin-top: 40px;
}
.package-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}
.package-reviews-grid .review-card {
    background: var(--bg-card);
}

@media (max-width: 768px) {
    .package-reviews { margin-top: 24px; }
    .package-reviews-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ===== CMS / CUSTOM PAGES ===== */
.custom-page {
    padding: 30px 0 60px;
    max-width: 900px;
    margin: 0 auto;
}

.page-card {
    padding: 40px 48px;
}

.page-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.page-content,
.page-content * {
    font-family: var(--font) !important;
}
.page-content {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
}
.page-content code,
.page-content pre,
.page-content pre * {
    font-family: 'Courier New', monospace !important;
}
.page-content p { margin-bottom: 16px; }
.page-content a { color: var(--primary-light); }
.page-content a:hover { color: var(--primary); text-decoration: underline; }
.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    margin: 28px 0 12px;
    line-height: 1.3;
}
.page-content h2 { font-size: 24px; }
.page-content h3 { font-size: 20px; }
.page-content h4 { font-size: 17px; }
.page-content ul,
.page-content ol {
    padding-left: 28px;
    margin-bottom: 16px;
}
.page-content li { margin-bottom: 6px; }
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 16px 0;
    border: 1px solid var(--border);
}
.page-content blockquote {
    border-left: 3px solid var(--primary);
    padding: 12px 20px;
    margin: 16px 0;
    background: var(--primary-subtle);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
    font-style: italic;
}
.page-content code {
    background: var(--bg-input);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: var(--primary-light);
    border: 1px solid var(--border);
}
.page-content pre {
    background: var(--bg-input);
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    overflow-x: auto;
    margin: 16px 0;
}
.page-content pre code {
    background: none;
    border: none;
    padding: 0;
}
.page-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 24px 0;
}
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.page-content table th,
.page-content table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}
.page-content table th {
    background: var(--primary-subtle);
    color: var(--text-primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-card {
        padding: 24px 20px;
    }
    .page-title {
        font-size: 26px;
    }
    .page-content {
        font-size: 15px;
    }
}

/* ===== USERNAME PAGE ===== */
.username-page {
    padding: 40px 20px 80px;
    display: flex;
    justify-content: center;
}

.username-card {
    max-width: 480px;
    width: 100%;
    padding: 40px 36px;
    text-align: center;
}

.username-icon {
    font-size: 56px;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1;
}

.username-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.username-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.username-form {
    text-align: left;
}

.username-form .form-group {
    margin-bottom: 16px;
}

.username-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.username-form label i {
    color: var(--primary);
    margin-right: 4px;
}

.username-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.username-btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .username-card {
        padding: 28px 24px;
    }
    .username-title {
        font-size: 22px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .store-layout {
        grid-template-columns: 1fr;
    }
    .store-sidebar {
        order: -1;
    }

    .hero-title { font-size: 40px; }
    .hero-subtitle { font-size: 18px; }

    .packages-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .nav-toggle { display: flex; }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(5, 10, 24, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px;
        flex-direction: column;
        gap: 16px;
    }
    .nav-menu.active { display: flex; }

    .nav-links {
        flex-direction: column;
        gap: 2px;
    }
    .nav-link {
        padding: 12px 16px;
    }

    .dropdown-nav {
        position: static;
        margin-top: 0;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
    }

    .nav-actions {
        margin-left: 0;
        justify-content: center;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: var(--radius) var(--radius) 0 0;
        max-height: 70vh;
    }

    .checkout-purchase-row {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .content-container { padding: 0 16px; }

    .top-bar-container {
        flex-direction: column;
        gap: 6px;
        padding: 0 12px;
    }
    .top-bar-left, .top-bar-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    /* keep the server IP / Join / copy row from overflowing narrow phones */
    .server-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 8px;
    }

    .hero-section { padding: 50px 16px 70px; }
    .hero-title { font-size: 32px; }
    .hero-badges { gap: 8px; }
    .hero-badge { padding: 6px 12px; font-size: 12px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn-primary-glow, .btn-secondary-glow {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .packages-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .package-list-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .list-item-price { padding: 0; }

    .category-header-card { padding: 20px; }
    .category-title { font-size: 22px; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .checkout-table thead { display: none; }
    .checkout-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 16px 0;
    }
    .checkout-table tbody td {
        padding: 4px 0;
        border: none;
    }
    .checkout-name { width: 100%; font-size: 15px; }
    .checkout-options { width: 100%; }
    .checkout-actions { width: 100%; justify-content: flex-end; }

    .gateway-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
    .package-card .package-image { padding-top: 50%; }

    .section-title {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-line { display: none; }
}

/* ===== PROMO BANNER ===== */
.promo-banner {
    position: relative;
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 50%, #f59e0b 100%);
    background-size: 200% 100%;
    animation: promoShimmer 8s linear infinite;
    color: #fff;
    padding: 10px 48px 10px 16px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    z-index: 1001;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.35);
}
.promo-banner.hidden { display: none; }

/* YouTube-visitor variant */
.promo-banner-yt {
    background: linear-gradient(90deg, #b91c1c 0%, #ff0033 50%, #b91c1c 100%);
    background-size: 200% 100%;
    box-shadow: 0 2px 12px rgba(255, 0, 51, 0.4);
}
.promo-banner-yt .promo-banner-icon {
    color: #fff;
    font-size: 18px;
    animation: none;
}

@keyframes promoShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.promo-banner-inner {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
}

.promo-banner-icon {
    font-size: 16px;
    animation: promoPulse 1.6s ease-in-out infinite;
}
@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.promo-banner-text strong {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.promo-banner-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 4px 12px;
    font-family: var(--font-mono, "JetBrains Mono", monospace);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}
.promo-banner-code:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #fff;
    transform: translateY(-1px);
}
.promo-banner-code i { font-size: 11px; opacity: 0.8; }

.promo-banner-feedback {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.2s ease;
    pointer-events: none;
}
.promo-banner-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.promo-banner-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.promo-banner-timer i {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
}
.promo-banner-timer strong {
    font-family: var(--font-mono, "JetBrains Mono", monospace);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.promo-banner-close {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.promo-banner-close:hover {
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
}

@media (max-width: 640px) {
    .promo-banner {
        padding: 8px 40px 8px 10px;
        font-size: 12px;
    }
    .promo-banner-inner { gap: 8px; }
    .promo-banner-code { padding: 3px 8px; font-size: 11px; letter-spacing: 0.5px; }
}
