/* /public_html/assets/css/main.css */
/* HavikON.nl — Dark Drone Magazine UI */

:root {
    --bg: #050914;
    --bg2: #07111f;
    --bg3: #020617;

    --panel: rgba(15, 23, 42, .78);
    --panel2: rgba(2, 6, 23, .58);
    --panel3: rgba(15, 23, 42, .92);

    --line: rgba(148, 163, 184, .16);
    --line2: rgba(56, 189, 248, .26);
    --line3: rgba(34, 197, 94, .24);

    --text: #f8fafc;
    --soft: #cbd5e1;
    --muted: #94a3b8;
    --muted2: #64748b;

    --blue: #2563eb;
    --blue2: #38bdf8;
    --green: #22c55e;
    --green2: #86efac;
    --yellow: #f59e0b;
    --danger: #ef4444;
    --purple: #a855f7;

    --radius: 26px;
    --radius2: 34px;
    --shadow: 0 28px 90px rgba(0, 0, 0, .38);
    --shadow2: 0 18px 54px rgba(0, 0, 0, .24);

    --max: 1480px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background:
        radial-gradient(circle at 15% -10%, rgba(34, 197, 94, .16), transparent 34%),
        radial-gradient(circle at 85% 0%, rgba(56, 189, 248, .18), transparent 32%),
        linear-gradient(180deg, var(--bg) 0%, var(--bg2) 42%, var(--bg) 100%);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(148, 163, 184, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at 50% 8%, #000, transparent 72%);
}

body::after {
    content: "";
    position: fixed;
    inset: auto -20% -35% auto;
    z-index: -1;
    width: 620px;
    height: 620px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, .14), transparent 70%);
}

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

img,
svg,
video {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background: rgba(56, 189, 248, .30);
    color: #fff;
}

/* Layout */
.container {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(900px, calc(100% - 40px));
    margin-inline: auto;
}

main {
    min-height: 60vh;
}

/* Utility */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    color: #a7f3d0;
    background: rgba(34, 197, 94, .10);
    border: 1px solid rgba(34, 197, 94, .24);
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 18px rgba(34, 197, 94, .80);
}

.meta {
    color: var(--muted);
    font-size: .9rem;
    font-weight: 750;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 46px;
    padding: 0 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    color: #fff;
    font-weight: 950;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--blue {
    background:
        radial-gradient(circle at 20% 20%, rgba(134, 239, 172, .24), transparent 34%),
        linear-gradient(135deg, var(--blue), #0ea5e9);
    color: #fff;
    border-color: rgba(56, 189, 248, .36);
    box-shadow: 0 16px 34px rgba(14, 165, 233, .24);
}

.btn--blue:hover {
    box-shadow: 0 20px 44px rgba(14, 165, 233, .34);
}

.btn--ghost {
    color: #e2e8f0;
    background: rgba(15, 23, 42, .64);
    border-color: rgba(148, 163, 184, .20);
}

.btn--ghost:hover {
    border-color: rgba(56, 189, 248, .45);
    background: rgba(15, 23, 42, .88);
}

.btn--large {
    min-height: 54px;
    padding: 0 1.35rem;
    font-size: 1rem;
}

/* Cards / Content */
.content-card {
    position: relative;
    overflow: hidden;
    padding: 1.45rem;
    border-radius: var(--radius);
    color: var(--soft);
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .10), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, .82), rgba(2, 6, 23, .64));
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
}

.content-card h1,
.content-card h2,
.content-card h3 {
    color: #fff;
}

.prose {
    color: var(--soft);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #fff;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.prose p {
    color: var(--soft);
}

.prose a {
    color: var(--blue2);
    font-weight: 850;
}

.prose ul,
.prose ol {
    padding-left: 1.3rem;
}

.prose li + li {
    margin-top: .35rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    margin-bottom: 1rem;
    font-weight: 850;
    line-height: 1.55;
}

.alert--danger {
    color: #fecaca;
    background: rgba(239, 68, 68, .10);
    border: 1px solid rgba(239, 68, 68, .28);
}

.alert--success {
    color: #bbf7d0;
    background: rgba(34, 197, 94, .10);
    border: 1px solid rgba(34, 197, 94, .25);
}

/* Header compatibility */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 197, 94, .14), transparent 32%),
        radial-gradient(circle at 78% 0%, rgba(56, 189, 248, .16), transparent 34%),
        linear-gradient(180deg, rgba(5, 9, 20, .98), rgba(5, 9, 20, .88));
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}

.topbar {
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    color: var(--muted);
    font-size: 13px;
}

.topbar__inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar__right {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.topbar a {
    color: var(--soft);
    padding: 8px 10px;
    border-radius: 999px;
}

.topbar a:hover {
    color: #fff;
    background: rgba(148, 163, 184, .10);
}

.nav-wrap {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.07em;
}

.brand span {
    color: #fff;
}

.brand strong {
    color: var(--green);
    text-shadow: 0 0 18px rgba(34, 197, 94, .34);
}

.brand--footer {
    font-size: 30px;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .62);
    border: 1px solid rgba(148, 163, 184, .14);
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    color: var(--soft);
    font-size: 14px;
    font-weight: 850;
    white-space: nowrap;
    transition: .2s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(34, 197, 94, .18), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, .88), rgba(14, 165, 233, .62));
}

.header-search {
    width: 285px;
    height: 48px;
    display: flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(56, 189, 248, .20);
    background: rgba(2, 6, 23, .52);
    overflow: hidden;
}

.header-search input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    padding: 0 12px 0 18px;
    font-weight: 750;
}

.header-search button {
    width: 44px;
    height: 44px;
    margin-right: 2px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    background:
        radial-gradient(circle at 30% 25%, rgba(134, 239, 172, .28), transparent 36%),
        linear-gradient(135deg, var(--blue), var(--blue2));
}

.nav-toggle {
    display: none;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
    color: var(--muted);
    font-size: .9rem;
    padding: 1rem 0;
}

.breadcrumb a {
    color: #cfe2ff;
    font-weight: 850;
}

.breadcrumb a:hover {
    color: var(--blue2);
}

/* Hero */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 2rem;
}

.page-hero--compact {
    padding: 3.2rem 0 1.7rem;
    background:
        radial-gradient(circle at 75% 0%, rgba(56, 189, 248, .20), transparent 32%),
        radial-gradient(circle at 10% 0%, rgba(34, 197, 94, .12), transparent 34%);
}

.page-hero h1 {
    max-width: 900px;
    margin: .45rem 0 1rem;
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: .95;
    letter-spacing: -.075em;
    font-weight: 950;
}

.page-hero p {
    max-width: 780px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.75;
}

/* Sections */
.section-block {
    margin: 0 0 1.6rem;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin: 0 0 1rem;
}

.section-head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.55rem;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.section-head a {
    color: var(--blue2);
    font-weight: 950;
}

.section-head a:hover {
    color: #fff;
}

/* Grids */
.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 1.6rem;
    align-items: start;
    margin-top: 1.5rem;
}

.layout-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 1.6rem;
    margin-top: 1.5rem;
}

.article-grid,
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.05rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.05rem;
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .9rem;
}

.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Old category cards compatibility */
.category-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-block: 2rem;
}

.category-card {
    position: relative;
    overflow: hidden;
    min-height: 165px;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding: 1.2rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 85% 0%, rgba(56, 189, 248, .15), transparent 34%),
        rgba(15, 23, 42, .62);
    border: 1px solid var(--line);
    transition: .22s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, .40);
}

.category-card > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    color: #fff;
    background: rgba(56, 189, 248, .11);
    border: 1px solid rgba(56, 189, 248, .20);
    font-size: 21px;
}

.category-card strong {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.15;
}

.category-card small {
    color: var(--muted);
    line-height: 1.5;
}

/* Article card compatibility */
.article-card,
.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        radial-gradient(circle at 85% 0%, rgba(56, 189, 248, .14), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, .84), rgba(2, 6, 23, .68));
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
    transition: .24s ease;
}

.article-card:hover,
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, .40);
    box-shadow: var(--shadow);
}

.article-card__image,
.product-card__image {
    position: relative;
    display: block;
    height: 240px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 45%, rgba(56, 189, 248, .20), transparent 44%),
        rgba(2, 6, 23, .76);
}

.article-card__image img,
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.article-card:hover .article-card__image img,
.product-card:hover .product-card__image img {
    transform: scale(1.07);
    filter: saturate(1.08) contrast(1.05);
}

.article-card__body,
.product-card__body {
    padding: 1.15rem;
}

.article-card h3,
.product-card h3 {
    margin: .5rem 0;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.article-card h3 a:hover,
.product-card h3 a:hover {
    color: var(--blue2);
}

.article-card p,
.product-card p {
    color: var(--muted);
}

.badge,
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    color: #bbf7d0;
    background: rgba(2, 6, 23, .72);
    border: 1px solid rgba(34, 197, 94, .28);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* Deal card compatibility */
.deal-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 100px;
    padding: 12px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 90% 0%, rgba(34, 197, 94, .13), transparent 34%),
        rgba(15, 23, 42, .64);
    border: 1px solid var(--line);
    transition: .22s ease;
}

.deal-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, .36);
}

.deal-card img {
    width: 82px;
    height: 76px;
    object-fit: cover;
    border-radius: 17px;
    background: var(--panel2);
}

.deal-card span {
    min-width: 0;
}

.deal-card strong {
    display: block;
    color: #fff;
    line-height: 1.25;
}

.deal-card small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
}

.deal-card b {
    color: #fff;
    font-size: 1.05rem;
    white-space: nowrap;
}

/* Prices */
.price-line {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin: .9rem 0;
}

.price-line strong {
    color: white;
    font-size: 1.55rem;
    line-height: 1;
    letter-spacing: -.045em;
    font-weight: 950;
}

.price-line del {
    color: var(--muted2);
    font-weight: 850;
}

.price-line--large strong {
    font-size: 2.3rem;
}

/* Forms */
.content-form,
.admin-form {
    display: grid;
    gap: 1rem;
}

.content-form input,
.content-form textarea,
.content-form select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.search-page-form input,
.newsletter-box input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 6, 23, .40);
    color: var(--text);
    border-radius: 16px;
    padding: .85rem 1rem;
    outline: none;
    font-weight: 750;
}

.content-form input:focus,
.content-form textarea:focus,
.content-form select:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.search-page-form input:focus,
.newsletter-box input:focus {
    border-color: rgba(56, 189, 248, .55);
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .10);
}

.content-form textarea,
.admin-form textarea {
    min-height: 140px;
    resize: vertical;
}

.search-page-form {
    display: flex;
    gap: 1rem;
    max-width: 760px;
}

/* Newsletter compatibility */
.newsletter-box {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
    gap: 1.4rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 197, 94, .16), transparent 34%),
        radial-gradient(circle at 92% 0%, rgba(56, 189, 248, .16), transparent 34%),
        rgba(15, 23, 42, .66);
    border: 1px solid var(--line2);
    box-shadow: var(--shadow2);
}

.newsletter-box h2 {
    margin: .5rem 0;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.newsletter-box p {
    color: var(--muted);
}

.newsletter-box form {
    display: grid;
    gap: .75rem;
}

/* Pagination */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 2rem 0;
}

.pagination a {
    min-width: 42px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .9rem;
    border-radius: 999px;
    color: var(--soft);
    background: rgba(15, 23, 42, .68);
    border: 1px solid var(--line);
    font-weight: 850;
    transition: .2s ease;
}

.pagination a:hover,
.pagination a.is-active {
    transform: translateY(-2px);
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(134, 239, 172, .20), transparent 34%),
        linear-gradient(135deg, var(--blue), #0ea5e9);
    border-color: rgba(56, 189, 248, .35);
}

/* Tables */
.compare-table-wrap,
.admin-table-wrap {
    overflow: auto;
    border-radius: 22px;
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .10), transparent 30%),
        rgba(15, 23, 42, .68);
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
}

.compare-table,
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td,
.admin-table th,
.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
    text-align: left;
}

.compare-table th,
.admin-table th {
    color: #fff;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.compare-table td,
.admin-table td {
    color: #cbd5e1;
}

/* Affiliate note */
.affiliate-note {
    color: #dffad0;
    background: rgba(34, 197, 94, .09);
    border: 1px solid rgba(34, 197, 94, .25);
    border-radius: 18px;
    padding: 1rem;
    margin: 1rem 0;
}

/* Sidebar compatibility */
.sidebar {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 1rem;
    align-self: start;
}

.sidebar-panel {
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .13), transparent 34%),
        rgba(15, 23, 42, .66);
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
}

.sidebar-panel h2 {
    margin: .5rem 0;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.sidebar-panel p {
    color: var(--muted);
}

.popular-list {
    display: grid;
    gap: .75rem;
}

.popular-list a {
    display: grid;
    grid-template-columns: 32px 70px minmax(0, 1fr);
    gap: .75rem;
    align-items: center;
    padding: .65rem;
    border-radius: 18px;
    background: rgba(2, 6, 23, .32);
    border: 1px solid rgba(148, 163, 184, .12);
    transition: .2s ease;
}

.popular-list a:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, .32);
}

.popular-list b {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--green2);
    background: rgba(34, 197, 94, .10);
    border: 1px solid rgba(34, 197, 94, .20);
}

.popular-list img {
    width: 70px;
    height: 62px;
    object-fit: cover;
    border-radius: 14px;
}

.popular-list span {
    color: #fff;
    font-weight: 900;
    line-height: 1.25;
}

.popular-list small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 700;
}

/* Footer compatibility */
.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    color: #e2e8f0;
    background:
        radial-gradient(circle at 12% 0%, rgba(34, 197, 94, .16), transparent 34%),
        radial-gradient(circle at 88% 0%, rgba(56, 189, 248, .18), transparent 34%),
        linear-gradient(180deg, rgba(5, 9, 20, .96), #020617 62%, #01040c);
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr repeat(3, minmax(180px, .75fr));
    gap: 22px;
    padding: 42px 0 26px;
}

.site-footer h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 1rem;
}

.site-footer p {
    max-width: 520px;
    color: var(--muted);
}

.site-footer a:not(.brand) {
    display: block;
    color: var(--muted);
    margin: .45rem 0;
    font-weight: 800;
    transition: .2s ease;
}

.site-footer a:not(.brand):hover {
    color: #fff;
    transform: translateX(2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(148, 163, 184, .14);
    padding: 1.2rem 0 1.6rem;
    color: var(--muted2);
    font-size: .85rem;
    font-weight: 800;
}

/* Admin */
.admin-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.admin-card {
    width: min(460px, 100%);
    background:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .12), transparent 34%),
        rgba(15, 23, 42, .78);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.admin-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    background:
        radial-gradient(circle at 20% 0%, rgba(34, 197, 94, .13), transparent 30%),
        linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(2, 6, 23, .94));
    border-right: 1px solid var(--line);
    padding: 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 18px 0 60px rgba(0, 0, 0, .28);
}

.admin-sidebar nav {
    display: grid;
    gap: .4rem;
    margin-top: 1.5rem;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 .85rem;
    border-radius: 14px;
    color: #c8d8ea;
    font-weight: 850;
    transition: .2s ease;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a.is-active {
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(34, 197, 94, .16), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, .72), rgba(14, 165, 233, .46));
}

.admin-main {
    min-width: 0;
    padding: 2rem;
}

.admin-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1.3rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .10), transparent 34%),
        rgba(15, 23, 42, .58);
    border: 1px solid var(--line);
}

.admin-top h1 {
    margin: 0;
    color: #fff;
    line-height: 1;
    letter-spacing: -.055em;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.admin-stats > div,
.admin-stats .admin-card {
    min-height: 130px;
    padding: 1.25rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, .12), transparent 34%),
        rgba(15, 23, 42, .64);
    border: 1px solid var(--line);
    box-shadow: var(--shadow2);
}

.admin-stats strong {
    display: block;
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 950;
}

.admin-stats span {
    display: block;
    margin-top: .5rem;
    color: var(--muted);
    font-weight: 850;
}

.admin-log {
    white-space: pre-wrap;
    color: #cfe2ff;
}

.admin-form {
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .10), transparent 30%),
        rgba(15, 23, 42, .68);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 1.35rem;
    max-width: 980px;
    box-shadow: var(--shadow2);
}

/* Responsive */
@media (max-width: 1320px) {
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: inline-grid;
        place-items: center;
        width: 48px;
        height: 48px;
        border: 1px solid var(--line);
        border-radius: 16px;
        color: #fff;
        background: rgba(15, 23, 42, .78);
        font-size: 22px;
        cursor: pointer;
    }

    .nav-wrap {
        grid-template-columns: auto 1fr auto;
    }

    .header-search {
        justify-self: end;
    }

    .deal-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .content-with-sidebar,
    .layout-home {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-grid,
    .featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .admin-sidebar nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .container,
    .narrow {
        width: min(100% - 28px, var(--max));
    }

    .topbar {
        display: none;
    }

    .nav-wrap {
        min-height: 74px;
        grid-template-columns: auto auto;
    }

    .header-search {
        display: none;
    }

    .brand {
        font-size: 24px;
    }

    .page-hero {
        padding: 3rem 0 1.5rem;
    }

    .page-hero h1 {
        font-size: 2.7rem;
    }

    .split-block,
    .newsletter-box,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .deal-grid,
    .article-grid,
    .featured-grid,
    .category-strip {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .admin-main {
        padding: 1rem;
    }

    .admin-sidebar nav {
        grid-template-columns: 1fr;
    }

    .admin-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .search-page-form {
        flex-direction: column;
    }

    .deal-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .deal-card b {
        grid-column: 2;
    }

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