:root {
    --bg: #050914;
    --bg-2: #0a1226;
    --panel: rgba(13, 22, 45, 0.88);
    --panel-2: rgba(16, 27, 54, 0.96);
    --text: #f5f8ff;
    --muted: #b9c7e1;
    --line: rgba(255,255,255,0.08);
    --accent: #ffb703;
    --accent-2: #fb8500;
    --accent-3: #ff5a3c;
    --success: #22c55e;
    --danger: #ff4d6d;
    --radius: 20px;
    --shadow: 0 22px 42px rgba(0,0,0,0.28);
    --container: 1240px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(255,183,3,.16), transparent 22%),
        radial-gradient(circle at 88% 12%, rgba(251,133,0,.14), transparent 22%),
        radial-gradient(circle at 50% 0%, rgba(114, 53, 255, .14), transparent 28%),
        linear-gradient(180deg, #030713 0%, #081127 100%);
    line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.site-header, .admin-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(3, 7, 19, .78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    font-size: 30px;
    color: white;
    font-weight: 800;
    letter-spacing: .02em;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.main-nav a {
    color: white;
    opacity: .95;
}
.main-nav a:hover { opacity: 1; }
.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: .18s ease;
    border: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #121212;
    box-shadow: var(--shadow);
}
.btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.16);
    background: transparent;
}
.btn-muted {
    color: white;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}
.btn-delete {
    color: white;
    background: linear-gradient(135deg, #ff7b7b, var(--danger));
}
.page-wrap { padding: 42px 0 72px; }
.hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(38px);
    pointer-events: none;
}
.hero::before {
    width: 360px;
    height: 360px;
    left: -90px;
    top: 60px;
    background: rgba(255,183,3,.18);
}
.hero::after {
    width: 440px;
    height: 440px;
    right: -140px;
    bottom: -80px;
    background: rgba(251,133,0,.15);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    opacity: .26;
    transform: scale(1.04);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3,7,19,.92) 0%, rgba(3,7,19,.58) 52%, rgba(3,7,19,.84) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
    align-items: center;
    padding: 52px 0;
}
.kicker {
    display: inline-block;
    margin-bottom: 16px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,183,3,.12);
    color: #ffd978;
    font-size: 12px;
    letter-spacing: .1em;
    font-weight: 800;
    text-transform: uppercase;
}
.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(42px, 6vw, 80px);
    line-height: 1.02;
}
.hero p {
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 19px;
    max-width: 650px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.floating-card, .content-panel, .form-panel, .table-panel {
    background: linear-gradient(180deg, rgba(16,27,54,.96), rgba(9,15,32,.96));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}
.feature-stack {
    display: grid;
    gap: 16px;
}
.feature-mini {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.03);
}
.feature-mini strong { display: block; font-size: 18px; }
.feature-mini span { color: var(--muted); font-size: 14px; }
.section { padding: 62px 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 24px;
}
.section h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 48px);
}
.section-intro {
    margin: 0;
    color: var(--muted);
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(15,25,51,.96), rgba(8,14,31,.96));
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.card-image {
    height: 250px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,183,3,.18), transparent 32%),
        linear-gradient(135deg, rgba(255,183,3,.12), rgba(251,133,0,.08));
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body { padding: 22px; }
.card h3 {
    margin: 0 0 10px;
    font-size: 28px;
}
.card p {
    margin: 0 0 16px;
    color: var(--muted);
}
.specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 18px;
}
.spec-chip {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #dce7f8;
    font-size: 13px;
}
.category-card {
    position: relative;
    min-height: 240px;
}
.category-card .card-image { height: 240px; }
.category-card .card-body {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(180deg, rgba(3,7,19,0) 0%, rgba(3,7,19,.96) 100%);
}
.empty-state {
    padding: 24px;
    border-radius: var(--radius);
    border: 1px dashed var(--line);
    color: var(--muted);
}
.two-col {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
}
.admin-title {
    margin: 0 0 20px;
    font-size: 40px;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
th { color: #e6eefc; }
.form-row { margin-bottom: 16px; }
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="file"], textarea, select {
    width: 100%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    color: white;
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
}
textarea {
    min-height: 120px;
    resize: vertical;
}
.button-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
input[type="checkbox"] {
    transform: translateY(1px);
}
.hero-preview, .image-preview {
    margin-top: 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
}
.hero-preview img, .image-preview img {
    width: 100%;
}
.flash {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.08);
}
.flash-success {
    background: rgba(34,197,94,.12);
    color: #d8ffe5;
}
.flash-danger {
    background: rgba(255,77,109,.12);
    color: #ffd9e1;
}
.site-footer {
    border-top: 1px solid var(--line);
    background: rgba(4,8,20,.72);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 24px;
    padding: 30px 0;
}
.meta { color: var(--muted); font-size: 14px; }
@media (max-width: 1024px) {
    .hero-content, .two-col, .card-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .hero { min-height: auto; }
    .hero-content { padding: 36px 0; }
    .hero h1 { font-size: 44px; }
    .section { padding: 46px 0; }
    .card h3 { font-size: 24px; }
}
