@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --ink: #0E1414;
    --panel: #141B1B;
    --line: #25302F;
    --signal: #5EE6B0;
    --signal2: #3FA9F5;
    --warn: #F5A623;
    --paper: #EDEFEC;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background-color: var(--ink);
    background-image:
        linear-gradient(rgba(94,230,176,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(94,230,176,0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    color: var(--paper);
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a.link-signal { color: var(--signal2); }
a.link-signal:hover { color: var(--signal); }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--signal);
    margin: 0 0 10px;
}

.card {
    background-color: var(--panel);
    border: 1px solid var(--line);
    border-radius: 10px;
}

.btn {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background-color: var(--signal);
    color: var(--ink);
    font-weight: 600;
    border: none;
    transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn-primary:hover { background-color: #7CF0C2; transform: translateY(-1px); }

.btn-outline { color: var(--paper); background: transparent; transition: border-color 0.12s ease, color 0.12s ease; }
.btn-outline:hover { border-color: var(--signal); color: var(--signal); }
.btn-outline.danger:hover { border-color: var(--warn); color: var(--warn); }

.btn-small { padding: 6px 12px; font-size: 0.75rem; }

input[type=text], input[type=password], input[type=url], textarea {
    width: 100%;
    background-color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--paper);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
}
label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: rgba(237,239,236,0.6);
    margin-bottom: 6px;
}
.field { margin-bottom: 20px; }
.hint { font-size: 0.78rem; color: rgba(237,239,236,0.4); margin-top: 6px; }

.header { border-bottom: 1px solid var(--line); padding: 60px 0 32px; margin-bottom: 56px; }
.title { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0; }
.tagline { font-size: 1.1rem; color: rgba(237,239,236,0.7); max-width: 520px; }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } }

.product-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.product-thumb {
    aspect-ratio: 16/9;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.review-body h2 { font-size: 1.5rem; font-weight: 700; margin: 32px 0 12px; }
.review-body h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 8px; }
.review-body p { margin: 0 0 16px; color: rgba(237,239,236,0.85); }
.review-body ul { margin: 0 0 16px; padding-left: 24px; }
.review-body li { color: rgba(237,239,236,0.85); margin-bottom: 4px; }

.video-embed { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.video-embed iframe { width: 100%; height: 100%; border: 0; }

.admin-nav { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 40px; }
.admin-nav .links { display: flex; gap: 24px; align-items: center; }
.admin-nav a { font-size: 0.9rem; }

.footer-disclosure { margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.75rem; color: rgba(237,239,236,0.4); font-family: 'JetBrains Mono', monospace; }

.empty-state { padding: 60px; text-align: center; color: rgba(237,239,236,0.5); font-family: 'JetBrains Mono', monospace; font-size: 0.85rem; }

.product-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.product-row:last-child { border-bottom: none; }
.product-row .meta { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: rgba(237,239,236,0.5); margin-top: 4px; }
.row-actions { display: flex; gap: 8px; flex-shrink: 0; }

.alert { padding: 12px 16px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 20px; font-family: 'JetBrains Mono', monospace; }
.alert-error { background: rgba(245,166,35,0.1); border: 1px solid var(--warn); color: var(--warn); }
.alert-success { background: rgba(94,230,176,0.1); border: 1px solid var(--signal); color: var(--signal); }

.settings-section { margin-bottom: 24px; padding: 20px; }
