:root {
    --brand-1: #111111;
    --brand-2: #ffffff;
    --brand-3: #f3f4f6;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --bg-soft: #f8fafc;
    --bg-page: #f5f7fb;
    --text-dark: #111827;
    --text-soft: #6b7280;
    --border: #e5e7eb;
    --white: #ffffff;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.12);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --transition: all .25s ease;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.04), transparent 22%),
        linear-gradient(180deg, #fbfcfe 0%, var(--bg-page) 100%);
    color: var(--text-dark);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    min-width: 320px;
    line-height: 1.6;
}

.site-nav {
    background: linear-gradient(
        135deg,
        rgba(229, 205, 241, 0.92) 0%,
        rgba(219, 234, 254, 0.90) 35%,
        rgba(147, 197, 253, 0.85) 70%,
        rgba(96, 165, 250, 0.80) 100%
    );

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(59, 130, 246, 0.25);

    box-shadow:
        0 8px 30px rgba(37, 99, 235, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* HERO */
.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(37, 99, 235, 0.88)),
        linear-gradient(180deg, #0f172a, #1e293b);
    color: #ffffff;
    border-radius: 0 0 30px 30px;
    box-shadow: var(--shadow-lg);
}

.hero::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    filter: blur(10px);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -90px;
    left: -90px;
    width: 260px;
    height: 260px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    filter: blur(14px);
}

.hero h1,
.hero h2,
.hero h3,
.hero p,
.hero .btn {
    position: relative;
    z-index: 1;
}

/* CARDS */
.hero-card,
.form-card,
.dash-card,
.listing-card,
.table-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hero-card:hover,
.form-card:hover,
.dash-card:hover,
.listing-card:hover,
.table-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
}

/* LISTING CARD */
.listing-card {
    overflow: hidden;
}

.listing-card .card-img-top,
.listing-card img {
    transition: transform .35s ease;
}

.listing-card:hover .card-img-top,
.listing-card:hover img {
    transform: scale(1.03);
}

/* BADGES */
.listing-card .status-badge,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
    border-radius: 999px;
    padding: .42rem .8rem;
    background: #eef2ff;
    color: #1e40af;
    border: 1px solid #dbeafe;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.08);
}

/* PRICE */
.price-tag {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: -.02em;
}

/* FOOTER */
.site-footer {
    background:
        linear-gradient(135deg, #0f172a 0%, #111827 55%, #1e293b 100%);
    color: #e5e7eb;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: #93c5fd;
}

/* FORMS */
.form-label {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: .45rem;
}

.form-control,
.form-select,
textarea {
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-dark);
    min-height: 48px;
    box-shadow: none;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

/* BUTTONS */
.btn-primary,
.sell-btn,
.primary-btn {
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    border: none;
    color: #ffffff;
    border-radius: 14px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
    transition: var(--transition);
}

.btn-primary:hover,
.sell-btn:hover,
.primary-btn:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent));
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

.btn-outline-primary,
.shop-btn {
    background: #ffffff;
    color: var(--text-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-primary:hover,
.shop-btn:hover {
    background: #f9fafb;
    color: var(--accent);
    border-color: #cbd5e1;
}

/* SECURE NOTE */
.secure-note {
    background: linear-gradient(135deg, #eff6ff, #f8fbff);
    border: 1px solid #dbeafe;
    border-left: 4px solid var(--accent);
    border-radius: 14px;
    color: #1e3a8a;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.06);
}

/* SIDEBAR */
.sidebar-links a {
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-links a:hover,
.sidebar-links a.active {
    background: #ffffff;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}

/* TABLES */
.table-card {
    overflow: hidden;
}

.table thead th {
    background: #f8fafc;
    color: #374151;
    font-weight: 800;
    border-bottom: 1px solid var(--border);
}

.table tbody tr:hover {
    background: #fafcff;
}

/* SMALL INFO BLOCKS */
.stat-box,
.quick-box,
.info-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}

/* MOBILE */
@media (max-width: 991.98px) {
    .hero {
        border-radius: 0 0 24px 24px;
    }

    .hero-card,
    .form-card,
    .dash-card,
    .listing-card,
    .table-card {
        border-radius: 16px;
    }
}

@media (max-width: 576px) {
    .hero {
        border-radius: 0 0 20px 20px;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .price-tag {
        font-size: 1.15rem;
    }

    .listing-card .status-badge,
    .status-badge {
        font-size: .72rem;
        padding: .36rem .68rem;
    }
}