:root {
    --accent: #1E7F38;
    --accent-light: #2ea84f;
    --bg: #0a0f0c;
    --card: #111916;
    --border: rgba(255, 255, 255, 0.08);
    --text: #f0f4f1;
    --muted: rgba(255, 255, 255, 0.55);
    --error: #ff6b6b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: radial-gradient(ellipse at top, #142018 0%, var(--bg) 55%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(17, 25, 22, 0.85);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-logo {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #fff;
}

.site-logo span { color: var(--accent-light); }

.site-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.site-nav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    padding: 8px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
    background: rgba(30, 127, 56, 0.18);
    color: var(--accent-light);
    text-decoration: none;
}

.site-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 48px;
}

.site-main.wide { align-items: flex-start; }

.card {
    width: 100%;
    max-width: 520px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.card.wide { max-width: 720px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-light);
    background: rgba(30, 127, 56, 0.15);
    border: 1px solid rgba(30, 127, 56, 0.35);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

h2 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
}

.subtitle, .card p, .card li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
}

.subtitle { margin-bottom: 20px; }

.card ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.card li { margin-bottom: 6px; }

.feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.feature-list li {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.feature-list li strong {
    display: block;
    color: #fff;
    font-size: 13px;
    margin-bottom: 2px;
}

.code-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 16px;
}

.code-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.code-value {
    font-size: 13px;
    line-height: 1.5;
    word-break: break-all;
    color: #fff;
    font-family: ui-monospace, 'Cascadia Code', monospace;
}

.steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.steps li {
    display: flex;
    gap: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
}

.steps span {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(30, 127, 56, 0.2);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, opacity 0.15s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    margin-bottom: 10px;
}

.btn-primary:hover { opacity: 0.92; }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    border: 1px solid var(--border);
}

.toast {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-light);
    min-height: 20px;
}

.error-box {
    border-color: rgba(255, 107, 107, 0.35);
    background: rgba(255, 107, 107, 0.08);
}

.error-box .code-value { color: var(--error); }

.hidden { display: none !important; }

.yt-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 20px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--muted);
}

.site-footer a { margin: 0 8px; }

.legal-updated {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 16px;
}
