/* Ghost Holster Direct - Main Design System & CSS */
:root {
    --bg-dark: #090b10;
    --bg-surface: #121622;
    --bg-card: #181d2d;
    --bg-card-hover: #20273c;
    --bg-glass: rgba(18, 22, 34, 0.85);

    --border-color: #272f45;
    --border-glow: #ff2e4d;

    --text-main: #f0f3f8;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --accent-red: #ff2e4d;
    --accent-red-hover: #ff4763;
    --accent-red-glow: rgba(255, 46, 77, 0.35);
    
    --accent-gold: #ffb703;
    --accent-gold-glow: rgba(255, 183, 3, 0.25);
    
    --accent-blue: #3a86ff;
    --accent-green: #10b981;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-red: 0 8px 25px rgba(255, 46, 77, 0.3);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent { color: var(--accent-red); }
.text-success { color: var(--accent-green); }
.text-warning { color: var(--accent-gold); }
.text-danger { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #111 0%, #1e0910 50%, #111 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 24px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

.announcement-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.live-status {
    font-size: 0.78rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

.btn-admin-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: rgba(255, 46, 77, 0.15);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-admin-toggle:hover {
    background: var(--accent-red);
    color: #fff;
    box-shadow: var(--shadow-red);
}

/* Header */
.main-header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-red), #99001a);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: var(--shadow-red);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    line-height: 1;
}

.brand-sub {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-red);
}

/* Search Box */
.search-box {
    flex: 1;
    max-width: 520px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 12px 42px 12px 44px;
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.92rem;
    transition: all 0.25s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 15px var(--accent-red-glow);
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-dim);
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

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

.header-icon-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
}

.header-icon-btn:hover {
    border-color: var(--accent-red);
    background: var(--bg-card-hover);
}

.cart-trigger-btn {
    background: linear-gradient(135deg, var(--accent-red), #b3001e);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-red);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 46, 77, 0.45);
}

.cart-icon-wrap {
    position: relative;
    font-size: 1.2rem;
}

.cart-count-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #fff;
    color: var(--accent-red);
    font-size: 0.72rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-total-wrap {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.cart-total-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
    line-height: 1;
}

.cart-total-val {
    font-weight: 700;
    font-size: 0.95rem;
}

/* Category Navbar */
.categories-nav {
    background: #0e111a;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-cat-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 14px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-cat-btn:hover {
    color: #fff;
}

.nav-cat-btn.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 70px 24px 60px;
    background: radial-gradient(circle at 50% 20%, rgba(255, 46, 77, 0.12) 0%, rgba(9, 11, 16, 1) 70%),
                linear-gradient(180deg, #090b10 0%, #101420 100%);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 46, 77, 0.12);
    border: 1px solid rgba(255, 46, 77, 0.3);
    color: var(--accent-red);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 50px;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 36px;
    border-top: 1px solid var(--border-color);
    padding-top: 36px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.highlight-item i {
    font-size: 1.8rem;
    color: var(--accent-red);
}

.highlight-item div {
    display: flex;
    flex-direction: column;
}

.highlight-item strong {
    font-size: 0.95rem;
    color: #fff;
}

.highlight-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.82rem;
}

.btn-primary {
    background: var(--accent-red);
    color: #fff;
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
}

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

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

.btn-block {
    width: 100%;
}

.badge {
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
}

.badge-warning { background: var(--accent-gold); color: #000; }
.badge-danger { background: var(--accent-red); color: #fff; }
.badge-success { background: var(--accent-green); color: #fff; }

/* Catalog Section */
.catalog-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.catalog-filters {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.filter-group select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.88rem;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
}

/* Active Filter Tags */
.active-filter-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    background: var(--bg-card);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.tag-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.filter-tag {
    background: rgba(255, 46, 77, 0.15);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
}

.btn-clear-all {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 0.82rem;
    cursor: pointer;
    text-decoration: underline;
    margin-left: auto;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 46, 77, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.product-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f121d;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent-red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.badge-stock {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 700;
}

.stock-in { background: rgba(16, 185, 129, 0.85); color: #fff; }
.stock-low { background: rgba(255, 183, 3, 0.9); color: #000; }
.stock-out { background: rgba(255, 46, 77, 0.9); color: #fff; }

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-chip {
    font-size: 0.75rem;
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.meta-pill {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.card-actions {
    display: flex;
    gap: 8px;
}

/* Modals & Drawer Overlays */
.drawer-overlay, .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.drawer-overlay.active, .modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-Over Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 90vw;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-color);
    z-index: 201;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.close-btn, .modal-close {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-btn:hover, .modal-close:hover {
    color: #fff;
    border-color: var(--accent-red);
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: #000;
}

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

.cart-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 2px 8px;
}

.qty-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-card);
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: 600;
}

.subtotal-val {
    color: var(--accent-red);
    font-size: 1.25rem;
    font-weight: 800;
}

/* Modals */
.modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: translate(-50%, -50%);
}

.modal-md { max-width: 600px; }
.modal-lg { max-width: 900px; }
.modal-xl { max-width: 1140px; }

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

.modal-body { padding: 28px; }

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: var(--bg-card);
}

/* Form Styling */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group.full-width { grid-column: span 2; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    color: #fff;
    font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

/* Admin Dashboard */
.admin-tab-nav {
    display: flex;
    gap: 10px;
    padding: 12px 28px 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-card);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: var(--accent-red);
    border-bottom-color: var(--accent-red);
}

.admin-tab-pane { display: none; }
.admin-tab-pane.active { display: block; }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.kpi-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.icon-green { background: rgba(16, 185, 129, 0.15); color: var(--accent-green); }
.icon-blue { background: rgba(58, 134, 255, 0.15); color: var(--accent-blue); }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.icon-red { background: rgba(255, 46, 77, 0.15); color: var(--accent-red); }

.kpi-label { font-size: 0.8rem; color: var(--text-muted); }
.kpi-data h3 { font-size: 1.5rem; font-weight: 800; color: #fff; }

/* Admin Table */
.table-responsive { overflow-x: auto; }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.admin-table th {
    background: var(--bg-card);
    padding: 12px 16px;
    text-align: left;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
}

.stock-input-sm {
    width: 70px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    text-align: center;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    animation: slideInRight 0.3s ease;
}

.toast-success { border-left: 4px solid var(--accent-green); }
.toast-error { border-left: 4px solid var(--accent-red); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.main-footer {
    background: #06070a;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 -1px 0 rgba(255, 46, 77, 0.25);
    padding: 60px 24px 24px;
    margin-top: 48px;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about { color: var(--text-muted); font-size: 0.9rem; margin: 16px 0; }

.footer-social {
    max-width: 1320px;
    margin: 0 auto 28px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}
.footer-follow {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 1.15rem;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-link:hover {
    color: #fff;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
}

.tech-badge-strip { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-pill { background: rgba(255, 255, 255, 0.05); padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; color: var(--text-muted); }

.footer-heading { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-red); }

.footer-bottom { max-width: 1320px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border-color); text-align: center; color: var(--text-dim); font-size: 0.82rem; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .hero-title { font-size: 2.3rem; }
}

@media (max-width: 600px) {
    .kpi-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group.full-width { grid-column: span 1; }
    .admin-topbar { flex-direction: column; align-items: flex-start; }
    .admin-page-tabs { overflow-x: auto; }
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 10px;
}
.lang-switcher button {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.lang-switcher button.active,
.lang-switcher button:hover {
    color: #fff;
    border-color: var(--accent-red);
    background: rgba(255, 46, 77, 0.15);
}

.i18n-lang-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.i18n-lang-tabs .tab-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
}
.admin-page {
    min-height: 100vh;
    background: var(--bg-dark);
}

.admin-login-gate {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background:
        radial-gradient(ellipse at top, rgba(255, 46, 77, 0.12), transparent 55%),
        var(--bg-dark);
}

.admin-login-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.admin-login-card h1 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: #fff;
    margin-bottom: 8px;
}

.admin-login-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.admin-cred-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 183, 3, 0.1);
    border: 1px solid var(--accent-gold);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.admin-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

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

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar-left,
.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.admin-topbar-title {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-user-chip {
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
}

.admin-page-tabs {
    position: sticky;
    top: 64px;
    z-index: 40;
}

.admin-main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 28px 24px 60px;
}

.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.admin-toolbar h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.2rem;
}

.admin-search-wrap input {
    min-width: 260px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.admin-section-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}

.admin-section-box h3 {
    font-size: 1.05rem;
    color: #fff;
}

.mb-3 { margin-bottom: 16px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.ms-2 { margin-left: 8px; }
.text-warning { color: var(--accent-gold); }

