@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap");

:root {
    --primary: #0a84ff;
    --bg-dark: #050a14;
    --bg-card: #101928;
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --accent: #16ffd8;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 90px;
}

.container { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

header {
    padding: 100px 0 50px;
    text-align: center;
    background: radial-gradient(circle at top, #1e3a8a 0%, transparent 70%);
}

h1 { 
    font-size: clamp(1.8rem, 5vw, 3rem); 
    font-weight: 800; 
    margin-bottom: 20px; 
    color: #fff; 
    line-height: 1.1; 
}

h2 { 
    font-size: 2rem; 
    color: var(--accent); 
    margin: 60px 0 25px; 
    font-weight: 800; 
    line-height: 1.2; 
}

h3 { 
    font-size: 1.4rem; 
    color: var(--primary); 
    margin: 40px 0 15px; 
    font-weight: 700; 
    border-left: 3px solid var(--accent); 
    padding-left: 15px; 
}

p { 
    margin-bottom: 20px; 
    font-size: 1.1rem; 
    font-weight: 400; 
    color: #cbd5e1; 
}

strong { 
    color: #fff; 
}

/* Блоки изображений */
.img-wrap { 
    margin: 45px 0; 
    background: var(--bg-card); 
    border-radius: 15px; 
    overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.1); 
}

.img-wrap img { 
    width: 100%; 
    height: auto; 
    display: block; 
    background: #1a2233; 
    min-height: 250px; 
}

.img-cap { 
    padding: 15px; 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    text-align: center; 
    font-style: italic; 
    background: rgba(0,0,0,0.2); 
}

/* Этимология */
.etymology-simple {
    background: var(--bg-card); 
    padding: 40px; 
    border-radius: 20px;
    margin: 40px 0; 
    border: 1px solid rgba(10, 132, 255, 0.2);
    text-align: center; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 30px;
}

.et-part h4 { 
    font-size: 3.5rem; 
    color: var(--primary); 
    margin-bottom: 5px; 
    font-weight: 800; 
}

.et-part span { 
    color: var(--text-muted); 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    letter-spacing: 1px; 
}

.plus { 
    font-size: 2.5rem; 
    color: var(--accent); 
}

/* Кнопки и CTA */
.cta-block { 
    text-align: center; 
    margin: 50px 0; 
}

.btn-main { 
    display: inline-block; 
    padding: 20px 45px; 
    background: var(--accent); 
    color: #000; 
    text-decoration: none; 
    font-weight: 800; 
    border-radius: 50px; 
    text-transform: uppercase; 
    transition: 0.3s; 
    box-shadow: 0 10px 20px rgba(22, 255, 216, 0.2); 
}

.btn-main:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 15px 30px rgba(22, 255, 216, 0.4); 
}

/* Нижняя панель */
.sticky-nav {
    position: fixed; 
    bottom: 0; 
    left: 0; 
    width: 100%;
    background: rgba(10, 20, 40, 0.95); 
    backdrop-filter: blur(10px);
    padding: 15px 0; 
    z-index: 999; 
    border-top: 1px solid var(--primary);
}

.sticky-nav .container { 
    display: flex; 
    gap: 12px; 
}

.s-btn { 
    flex: 1; 
    text-align: center; 
    padding: 14px; 
    border-radius: 10px; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    transition: 0.2s; 
}

.s-reg { 
    background: var(--accent); 
    color: #000; 
}

.s-bon { 
    background: var(--primary); 
    color: #fff; 
}

.s-btn:active { 
    transform: scale(0.97); 
}

footer { 
    padding: 60px 0; 
    text-align: center; 
    color: #64748b; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    margin-top: 60px; 
}

@media (max-width: 600px) { 
    h1 { font-size: 1.8rem; } 
    h2 { font-size: 1.6rem; }
    .etymology-simple { flex-direction: column; gap: 10px; }
}