/* ====== Base / Reset / Theme ====== */
:root{
  --bg: #0e0f12;
  --panel: #14161b;
  --panel-2: #1a1d23;
  --text: #e6e7eb;
  --muted: #a3a7b2;
  --line: #2a2f38;

  --accent: #cbb473;
  --accent-600: #cbb473;
  --accent-700: #cbb473;

  --success: #59d189;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;

  --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-2: 0 6px 20px rgba(0,0,0,.35);

  --container: 1150px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(242,193,78,.08), transparent 60%),
    radial-gradient(900px 500px at 10% 10%, rgba(242,193,78,.06), transparent 60%),
    var(--bg);
  line-height: 1.55;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }

.section__title{ font-size: clamp(22px, 3.4vw, 28px); margin:0 0 18px; font-weight:800; }
.muted{ color: var(--muted); }

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

/* Utilities */
.reveal{ opacity:0; transform: translateY(10px); transition: .6s ease; }
.reveal--visible{ opacity:1; transform: translateY(0); }

section{ padding: 72px 0; }

:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

/* Редкие и крупные снежинки — аккуратный эффект */
body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* Крупные и редкие хлопья */
    background-image:
        radial-gradient(5px 5px at 15% 20%, rgba(255,255,255,0.9) 50%, transparent 51%),
        radial-gradient(6px 6px at 80% 10%, rgba(255,255,255,0.85) 50%, transparent 51%),
        radial-gradient(4px 4px at 40% 70%, rgba(255,255,255,0.9) 50%, transparent 51%),
        radial-gradient(5px 5px at 70% 50%, rgba(255,255,255,0.8) 50%, transparent 51%),
        radial-gradient(7px 7px at 25% 85%, rgba(255,255,255,0.9) 50%, transparent 51%);
    
    /* Меньше повторов — больше «воздуха» */
    background-size: 500px 500px;
    background-repeat: repeat;

    animation: snow-fall 15s linear infinite;
    z-index: 9999;
    opacity: 0.8;
}

@keyframes snow-fall {
    0% {
        transform: translateY(-100vh);
    }
    100% {
        transform: translateY(100vh);
    }
}