/* ============================================================
   БАЗА: CSS-переменные, сброс стилей, типографика, общие контейнеры (.wrap/.section/.sec-*), скроллбар, выделение текста. Используется на каждой странице сайта.
   ============================================================ */

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

::selection {
    background: #FFB830;
    color: #08040C;
}

::-moz-selection {
    background: #FFB830;
    color: #08040C;
}

html,
body,
div,
section,
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
a,
button,
li {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

html {
  scroll-behavior: smooth;
}

:root {
  --gold: #FFB830;
  --gold2: #FF8C00;
  --red: #FF3B3B;
  --purple: #A855F7;
  --green: #00E68A;
  --dark: #08040C;
  --dark2: #0C0813;
  --card: #141020;
  --text: #D4C8E8;
  --text-dim: rgba(212, 200, 232, 0.6);
  --white: #fff;
  --border: rgba(255, 255, 255, 0.07);
  --border-gold: rgba(255, 184, 48, 0.22);
  --f-body: "Montserrat", sans-serif;
  --f-display: "Oswald", sans-serif;
  --gap-3xs: 4px;
  --gap-2xs: 8px;
  --gap-xs: 12px;
  --gap-sm: 16px;
  --gap-md: 24px;
  --gap-lg: 32px;
  --gap-xl: 48px;
  --container-px: 22px;
  --section-py: 52px;
  --head-gap: 34px;
  --container-max: 1180px;
  --container-narrow: 600px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --shadow-card: 0 10px 32px rgba(0, 0, 0, 0.38);
  --shadow-gold: 0 0 30px rgba(255, 184, 48, 0.18);
}

@media (min-width: 1024px) {
  :root {
    --container-px: 48px;
    --section-py: 88px;
    --head-gap: 46px;
  }
}

body {
  
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255, 184, 48, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(168, 85, 247, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 20%, rgba(0, 230, 138, 0.04) 0%, transparent 40%), #08040C;
  color: var(--white);
  font-family: var(--f-body);
  *overflow-x: hidden;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom, 0px); 
  position: relative;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--gold), var(--gold2));
  border-radius: 999px;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 2px;
  width: 4px;
  *height: 100vh;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 184, 48, 0.9), transparent);
  box-shadow: 0 0 12px rgba(255, 184, 48, 0.7), 0 0 28px rgba(255, 184, 48, 0.3);
  opacity: 0.35;
  z-index: 999999;
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.accent {
  color: var(--gold);
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

.section {
  position: relative;
  z-index: 1;
  padding: var(--section-py) var(--container-px);
}

.wrap {
  max-width: var(--container-max);
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  margin-bottom: var(--head-gap);
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.sec-eyebrow::before,
.sec-eyebrow::after {
  content: "";
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.sec-eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.sec-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sec-sub {
  font-size: 15px;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

body {
  padding-top: calc(env(safe-area-inset-top, 0px) + 68px);
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  
}

.sh-logo-text .accent {
  font-weight: 700;
}

