:root {
    --bg: #0b1118;
    --panel: #141d28;
    --panel-2: #1e2a36;
    --line: #334252;
    --gold: #d7af5a;
    --red: #c82424;
    --text: #f4eee2;
    --muted: #b9c1c8;
    --green: #66d18f;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    background: radial-gradient(circle at 50% 20%, #25364a 0, var(--bg) 52%, #05080d 100%);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
    min-height: 100vh;
}
a { color: inherit; }
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 28px;
    background: rgba(7, 12, 18, .82);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 5;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand img { width: 54px; height: 54px; object-fit: contain; background: #fff; border-radius: 4px; padding: 4px; }
nav { display: flex; gap: 18px; color: var(--muted); font-weight: 700; }
nav a { text-decoration: none; }
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 36px 0 70px; }
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; min-height: 520px; }
.hero h1 { font-size: clamp(46px, 6vw, 92px); line-height: .95; margin: 0 0 22px; }
.hero p { color: var(--muted); font-size: 21px; line-height: 1.5; max-width: 720px; }
.button, button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #080b0f;
    border: 0;
    border-radius: 6px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}
.button.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
.product-card, .panel {
    background: rgba(20, 29, 40, .94);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 22px;
}
.package-art {
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #111922, #27384b);
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    box-shadow: 0 22px 55px rgba(0,0,0,.35);
}
.package-art img { max-width: 210px; background: #fff; border-radius: 6px; padding: 10px; }
.package-art h2 { margin: 24px 0 8px; font-size: 32px; }
.case-art {
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    padding: 0;
    text-align: left;
}
.case-art .case-cover {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    background: transparent;
    border-radius: 0;
    padding: 0;
}
.case-art-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 24px 22px;
    background: linear-gradient(transparent, rgba(5, 8, 13, .9));
}
.case-art-caption h2 { margin: 0 0 6px; font-size: 30px; }
.case-art-caption p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.35; }
.eyebrow { color: var(--gold); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.price { font-size: 32px; font-weight: 900; color: var(--gold); margin: 12px 0; }
.muted { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 24px 28px; text-align: center; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; }
input, textarea, select {
    width: 100%;
    background: #0d141c;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    padding: 11px 12px;
    font-size: 16px;
}
textarea { min-height: 110px; resize: vertical; }
table { width: 100%; border-collapse: collapse; background: rgba(20,29,40,.92); border: 1px solid var(--line); }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--gold); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.flash { background: rgba(102,209,143,.12); border: 1px solid rgba(102,209,143,.5); color: var(--green); padding: 12px; border-radius: 6px; margin-bottom: 18px; }
.danger { color: #ff8585; }
.code-box { font-size: 30px; letter-spacing: .08em; color: var(--gold); background: #0d141c; border: 1px dashed var(--gold); padding: 16px; border-radius: 6px; text-align: center; font-weight: 900; }
@media (max-width: 760px) {
    .site-header, nav { flex-direction: column; align-items: flex-start; }
    .hero { grid-template-columns: 1fr; min-height: auto; }
}
