@font-face {
    font-family: "Fixedsys";
    src: url("fonts/Fixedsys.ttf") format("truetype");
    font-weight: normal;
    font-display: swap;
}

:root {
    --bg:       #0b0a07;
    --bg-2:     #14110a;
    --panel:    rgba(38, 30, 20, 0.92);
    --panel-2:  rgba(20, 16, 10, 0.85);
    --gold:     rgb(195, 162, 105);
    --yellow:   rgb(255, 220, 130);
    --cream:    rgb(232, 210, 165);
    --muted:    rgba(232, 210, 165, 0.62);
    --line:     rgba(195, 162, 105, 0.45);
    --ink:      rgb(38, 30, 20);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Fixedsys", "Courier New", monospace;
    background: var(--bg);
    color: var(--cream);
    line-height: 1.55;
    -webkit-font-smoothing: none;
    overflow-x: hidden;
}

body.ru [data-lang="en"], body.en [data-lang="ru"] { display: none; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
    font-family: "Fixedsys", "Courier New", monospace;
    color: var(--yellow);
    line-height: 1.15;
    letter-spacing: 1px;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.55);
}

.accent { color: #ffe9a3; }

.container { width: min(1120px, 92vw); margin: 0 auto; }

.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px clamp(16px, 4vw, 40px);
    background: transparent;
    border-bottom: 3px solid transparent;
    transition: background .25s, border-color .25s;
}
.nav.scrolled {
    background: rgba(11, 10, 7, 0.94);
    border-bottom-color: var(--gold);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
    width: 40px; height: 40px;
    border: 2px solid var(--gold);
    image-rendering: auto;
}
.brand-name {
    font-size: 22px; color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0,0,0,.6);
}
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); }
.nav-links a { color: var(--cream); font-size: 17px; }
.nav-links a:hover { color: var(--yellow); }
.tg { display: inline-flex; align-items: center; gap: 7px; }
.tg svg { width: 18px; height: 18px; fill: currentColor; }
.nav-links .tg:hover { color: var(--yellow); }
.lang { display: inline-flex; border: 2px solid var(--gold); }
.lang button {
    font-family: inherit; font-size: 15px; cursor: pointer;
    background: transparent; color: var(--muted);
    border: 0; padding: 5px 11px;
}
.lang button.active { background: var(--gold); color: var(--ink); }

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: inherit; font-size: 19px; cursor: pointer;
    padding: 13px 26px;
    border: 3px solid var(--gold);
    transition: transform .05s;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary {
    background: var(--yellow); color: var(--ink);
    border-color: var(--yellow);
    font-size: 21px;
    box-shadow: 4px 4px 0 rgba(0,0,0,.55), 0 0 28px rgba(255, 220, 130, 0.55);
    animation: glow 2.2s ease-in-out infinite;
}
.btn--primary:hover { background: #ffe79a; border-color: #ffe79a; }
.btn--primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 rgba(0,0,0,.55), 0 0 22px rgba(255, 220, 130, 0.5); }
@keyframes glow {
    0%, 100% { box-shadow: 4px 4px 0 rgba(0,0,0,.55), 0 0 22px rgba(255, 220, 130, 0.45); }
    50%      { box-shadow: 4px 4px 0 rgba(0,0,0,.55), 0 0 36px rgba(255, 220, 130, 0.75); }
}
.btn--ghost { background: var(--panel); color: var(--yellow); }
.btn--ghost:active { transform: translate(2px, 2px); }

.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px clamp(16px, 4vw, 40px) 80px;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background-image: url("island.jpg");
    background-size: cover; background-position: center;
    transform: scale(1.05);
}
.hero__scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(11,10,7,.55) 0%, rgba(11,10,7,.35) 40%, rgba(11,10,7,.96) 100%),
        linear-gradient(90deg, rgba(11,10,7,.85) 0%, rgba(11,10,7,.15) 60%);
}
.hero__inner { position: relative; width: min(720px, 100%); }
.eyebrow {
    display: inline-block; font-size: 15px; letter-spacing: 2px;
    color: var(--ink); background: var(--gold);
    padding: 5px 12px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 7vw, 72px); margin-bottom: 20px; }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--cream); max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 18px; }
.hero__meta { font-size: 15px; color: var(--muted); }
.hero__meta b { color: var(--yellow); font-weight: normal; }

.scrolldown {
    position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    font-size: 13px; letter-spacing: 3px; color: var(--muted);
    animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100%{ transform: translateX(-50%) translateY(0);} 50%{ transform: translateX(-50%) translateY(7px);} }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-2); }
[id] { scroll-margin-top: 80px; }

.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 66px); }
.kicker {
    display: inline-block; font-size: 14px; letter-spacing: 3px;
    color: var(--gold); border: 2px solid var(--line);
    padding: 4px 12px; margin-bottom: 18px;
}
.head h2 { font-size: clamp(28px, 4.5vw, 46px); margin-bottom: 16px; }
.head p { font-size: 18px; color: var(--cream); }

.showcase { display: grid; gap: clamp(40px, 7vw, 90px); }
.show {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px);
    align-items: center;
}
.show--flip .show__media { order: 2; }
.show__media {
    border: 4px solid var(--gold);
    box-shadow: 8px 8px 0 rgba(0,0,0,.5);
    overflow: hidden; background: #000;
}
.show__media img { width: 100%; height: 100%; object-fit: cover; }
.show__n {
    display: inline-block; font-size: 15px; color: var(--gold);
    border: 2px solid var(--line); padding: 3px 11px; margin-bottom: 16px;
}
.show h3 { font-size: clamp(24px, 3.6vw, 38px); margin-bottom: 16px; }
.show p { font-size: 18px; color: var(--cream); margin-bottom: 14px; }
.taglist { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag {
    font-size: 15px; color: var(--cream);
    background: var(--panel-2); border: 2px solid var(--line);
    padding: 6px 13px;
}

.cta-band { background: var(--bg-2); text-align: center; }
.cta-band h2 { font-size: clamp(30px, 5vw, 50px); margin-bottom: 16px; }
.cta-band .lead { margin: 0 auto 28px; }
.steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
    margin: 48px 0 10px;
}
.step {
    background: var(--panel); border: 3px solid var(--line);
    padding: 22px 18px; text-align: left;
}
.step .n {
    font-size: 30px; color: var(--yellow);
    text-shadow: 2px 2px 0 rgba(0,0,0,.6); margin-bottom: 10px;
}
.step p { font-size: 16px; color: var(--cream); }
.fineprint { margin-top: 30px; font-size: 15px; color: var(--muted); }
.fineprint a { color: var(--gold); }
.ver { margin-top: 14px; font-size: 15px; color: var(--muted); }

.footer {
    border-top: 3px solid var(--gold);
    padding: 30px clamp(16px, 4vw, 40px);
    display: flex; flex-wrap: wrap; gap: 8px 22px;
    align-items: center; justify-content: center;
    font-size: 15px; color: var(--muted);
}
.footer .brand-name { font-size: 18px; }
.footer .dots { color: var(--gold); margin: 0 4px; }
.footer .tg { color: var(--gold); }
.footer .tg:hover { color: var(--yellow); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
    .nav-links a { display: none; }
    .show { grid-template-columns: 1fr; }
    .show--flip .show__media { order: 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
    .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
