:root {
    --bg: #0f1419;
    --surface: #1a2028;
    --text: #e6e8eb;
    --muted: #8b949e;
    --accent: #f7931a; /* фирменный оранжевый BTC */
    --accent-2: #ffb347;
    --border: #2a333d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 10;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.logo { color: var(--accent); font-weight: 700; font-size: 1.3rem; text-decoration: none; }
nav a {
    color: var(--text); text-decoration: none; margin-left: 1.25rem;
    transition: color .2s;
}
nav a:hover { color: var(--accent); }

.hero {
    padding: 5rem 0 4rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(247,147,26,0.15), transparent 60%);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 700px; margin: 0 auto 2rem; }

.price-widget {
    display: inline-flex; align-items: center; gap: .75rem;
    background: var(--surface); padding: .75rem 1.5rem; border-radius: 10px;
    border: 1px solid var(--border); margin-bottom: 2rem;
    font-size: 1.1rem;
}
.price { color: var(--accent); font-weight: 700; }
.change.up { color: #3fb950; }
.change.down { color: #f85149; }

.btn {
    display: inline-block; background: var(--accent); color: #000;
    padding: .75rem 1.75rem; border-radius: 8px; text-decoration: none;
    font-weight: 600; border: none; cursor: pointer;
    transition: transform .15s, background .2s;
}
.btn:hover { background: var(--accent-2); transform: translateY(-1px); }

.features, .stats { padding: 4rem 0; }
.features h2, .stats h2 { text-align: center; margin-bottom: 2.5rem; font-size: 2rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--surface); padding: 1.75rem; border-radius: 12px;
    border: 1px solid var(--border);
    transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card h3 { margin-bottom: .75rem; color: var(--accent); }
.card a { color: var(--accent); text-decoration: none; font-weight: 500; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; text-align: center; }
.stat .num { display: block; font-size: 2.5rem; font-weight: 700; color: var(--accent); }
.stat .desc { color: var(--muted); }

.article { padding: 3rem 0; max-width: 800px; }
.article h1 { margin-bottom: 1rem; }
.article h2 { margin: 2rem 0 1rem; color: var(--accent); }
.article p, .article li { margin-bottom: 1rem; }
.article ul { padding-left: 1.5rem; }

.info-box, .warning-box {
    padding: 1rem 1.25rem; border-radius: 8px; margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
    background: var(--surface);
}
.warning-box { border-color: #f85149; }

details {
    background: var(--surface); padding: 1rem 1.25rem; border-radius: 8px;
    margin-bottom: .75rem; border: 1px solid var(--border);
}
details summary { cursor: pointer; font-weight: 600; }
details[open] summary { color: var(--accent); margin-bottom: .75rem; }

.news-list { display: grid; gap: 1rem; }
.news-item {
    background: var(--surface); padding: 1.25rem; border-radius: 10px;
    border: 1px solid var(--border);
}
.news-item h3 { margin-bottom: .5rem; }
.news-item .date { color: var(--muted); font-size: .85rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; max-width: 500px; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
    background: var(--surface); border: 1px solid var(--border); color: var(--text);
    padding: .65rem .9rem; border-radius: 6px; font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); }
.form-status { color: var(--accent); min-height: 1.2em; }

.site-footer {
    margin-top: 4rem; padding: 2rem 0; text-align: center;
    border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem;
}
.site-footer a { color: var(--accent); }

@media (max-width: 600px) {
    nav a { margin-left: .5rem; font-size: .9rem; }
    .hero { padding: 3rem 0; }
}