:root {
  color-scheme: dark;
  --bg: #041F1F;
  --bg-2: #062D2E;
  --ink: #020B0C;
  --card: rgba(255,255,255,0.06);
  --card-strong: rgba(5,20,22,0.78);
  --border: rgba(212,175,55,0.35);
  --border-soft: rgba(147,222,214,0.18);
  --gold: #D4AF37;
  --gold-2: #F5D77F;
  --text: #F4F7F7;
  --muted: #A9B8B8;
  --green: #00B759;
  --blue: #1E88E5;
  --danger: #ff807c;
  --shadow: 0 28px 80px rgba(0,0,0,.42);
  font-family: Inter, Manrope, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% -10%, rgba(30,136,229,.22), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(212,175,55,.20), transparent 28rem),
    linear-gradient(180deg, var(--bg-2), var(--bg) 48%, var(--ink));
  color: var(--text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black 0 56%, transparent 95%);
}
.water-bg { position: fixed; inset: 0; overflow: hidden; z-index: -2; pointer-events: none; }
.water-bg::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    repeating-radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.055) 0 2px, transparent 3px 26px),
    linear-gradient(115deg, transparent 0 42%, rgba(245,215,127,.08) 48%, transparent 56%);
  filter: blur(.2px);
  animation: water-drift 18s linear infinite;
}
.ray { position: absolute; top: -12%; width: 26vw; height: 120vh; background: linear-gradient(180deg, rgba(245,215,127,.12), transparent 70%); transform: rotate(18deg); filter: blur(8px); }
.ray-one { left: 18%; }
.ray-two { right: 14%; opacity: .55; transform: rotate(-16deg); }
.bubble { position: absolute; border-radius: 50%; border: 1px solid rgba(147,222,214,.25); background: rgba(255,255,255,.035); animation: bubble-rise 13s infinite ease-in; }
.b1 { left: 8%; bottom: -40px; width: 12px; height: 12px; }
.b2 { left: 28%; bottom: -80px; width: 18px; height: 18px; animation-delay: 2s; }
.b3 { right: 18%; bottom: -40px; width: 10px; height: 10px; animation-delay: 4s; }
.b4 { right: 34%; bottom: -90px; width: 24px; height: 24px; animation-delay: 6s; }
.b5 { left: 62%; bottom: -70px; width: 14px; height: 14px; animation-delay: 8s; }
.site-header {
  position: sticky; top: 16px; z-index: 20;
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  margin: 16px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  background: rgba(3,18,19,.68);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 52px rgba(0,0,0,.28);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; min-width: max-content; }
.brand strong { display: block; font-size: 17px; letter-spacing: 0; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.app-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(145deg, #ffe99e, #b98424);
  color: #081514; font-weight: 1000; font-size: 23px;
  box-shadow: inset 0 1px 12px rgba(255,255,255,.58), 0 16px 34px rgba(0,0,0,.3);
}
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.nav a, .rustore-chip {
  color: var(--muted); text-decoration: none; font-weight: 850; font-size: 14px;
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 13px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.nav a:hover { color: var(--text); border-color: var(--border-soft); background: rgba(255,255,255,.05); transform: translateY(-1px); }
.rustore-chip { color: #171104; background: linear-gradient(180deg, var(--gold-2), var(--gold)); border-color: rgba(255,255,255,.18); box-shadow: inset 0 1px 10px rgba(255,255,255,.42); }
.rustore-chip:not(.active) { color: var(--gold-2); background: rgba(212,175,55,.09); border-color: var(--border); box-shadow: none; }
.menu-toggle { display: none; min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid var(--border-soft); color: var(--text); background: rgba(255,255,255,.05); font-size: 24px; }
.section-shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 88px 0; }
.hero { min-height: min(720px, calc(100svh - 112px)); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: clamp(26px, 4vw, 58px); align-items: center; padding-top: 42px; padding-bottom: 56px; }
.hero-copy, .hero-visual { min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 950; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(0,183,89,.75); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 18px 0 20px; max-width: 720px; font-size: clamp(42px, 4.7vw, 68px); line-height: .98; }
.mobile-break { display: none; }
h2 { margin: 14px 0 16px; font-size: clamp(30px, 4.4vw, 56px); line-height: 1; }
h3 { margin: 0 0 10px; font-size: 21px; }
p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.62; }
.hero-lead { max-width: 660px; font-size: clamp(17px, 1.6vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.button {
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px;
  border: 0; border-radius: 999px; color: #171104; text-decoration: none; font: inherit; font-weight: 950;
  background: linear-gradient(180deg, #ffe59b, #d4af37);
  box-shadow: inset 0 1px 12px rgba(255,255,255,.5), 0 20px 46px rgba(0,0,0,.34);
  cursor: pointer; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); filter: brightness(1.06); }
.button-ghost, .rustore-disabled {
  color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--border-soft); box-shadow: none;
}
.rustore-disabled { color: var(--gold-2); border-color: var(--border); }
.microcopy { margin-top: 14px; font-size: 14px; color: rgba(244,247,247,.72); }
.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; perspective: 1200px; }
.phone-frame {
  width: min(350px, 88vw); min-height: 610px; border-radius: 40px; padding: 13px;
  background: linear-gradient(145deg, rgba(244,247,247,.18), rgba(2,11,12,.95) 24%, rgba(212,175,55,.22));
  border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow), inset 0 0 0 1px rgba(255,255,255,.08);
  animation: float-phone 6s ease-in-out infinite;
}
.phone-speaker { width: 94px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.22); margin: 4px auto 12px; }
.app-screen { min-height: 560px; overflow: hidden; position: relative; border-radius: 30px; border: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, #10494e, #031516); }
.map-screen::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 26% 20%, rgba(30,136,229,.28), transparent 18rem), linear-gradient(135deg, transparent 0 46%, rgba(255,255,255,.04) 47% 49%, transparent 50%); }
.map-lines { position: absolute; inset: 0; background-image: linear-gradient(30deg, transparent 0 42%, rgba(147,222,214,.10) 43% 45%, transparent 46%), linear-gradient(115deg, transparent 0 50%, rgba(212,175,55,.10) 51% 53%, transparent 54%); background-size: 180px 130px, 220px 160px; }
.top-search { position: absolute; left: 20px; right: 20px; top: 22px; min-height: 46px; border-radius: 16px; background: rgba(2,11,12,.62); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; padding: 0 16px; color: var(--text); font-weight: 900; }
.map-pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--gold); box-shadow: 0 0 0 9px rgba(212,175,55,.14), 0 0 32px rgba(212,175,55,.45); }
.pin-a { left: 28%; top: 33%; } .pin-b { right: 24%; top: 44%; background: var(--blue); } .pin-c { left: 48%; bottom: 33%; background: var(--green); }
.forecast-widget { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 20px; border-radius: 24px; background: rgba(2,11,12,.78); border: 1px solid var(--border); backdrop-filter: blur(18px); }
.forecast-widget span, .forecast-widget small { display: block; color: var(--muted); }
.forecast-widget strong { display: block; color: var(--gold-2); font-size: 58px; line-height: 1; margin: 8px 0; }
.progress { height: 10px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin: 12px 0; }
.progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--gold)); }
.float-card { position: absolute; z-index: 2; border-radius: 18px; padding: 12px 15px; background: rgba(4,31,31,.72); border: 1px solid var(--border-soft); backdrop-filter: blur(16px); color: var(--text); font-weight: 900; box-shadow: 0 14px 34px rgba(0,0,0,.25); animation: float-badge 5s ease-in-out infinite; }
.weather-pill { left: 0; top: 18%; }
.chance-pill { right: 0; top: 32%; color: var(--gold-2); border-color: var(--border); animation-delay: 1s; }
.pin-pill { left: 6%; bottom: 18%; color: var(--green); animation-delay: 1.8s; }
.section-title { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-title p { max-width: 570px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card, .audience-card, .faq-item, .policy-card, .support-panel, .account-panel, .reset-panel, .release-panel, .premium-card, .forecast-panel {
  position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(150deg, var(--card), rgba(255,255,255,.025)); border: 1px solid var(--border-soft); box-shadow: 0 18px 50px rgba(0,0,0,.22); backdrop-filter: blur(18px);
}
.feature-card { min-height: 238px; padding: 24px; transition: transform .22s ease, border-color .22s ease, background .22s ease; }
.feature-card::after, .premium-card::after, .forecast-panel::after { content: ""; position: absolute; inset: auto -20% -55% 20%; height: 160px; background: radial-gradient(circle, rgba(212,175,55,.18), transparent 70%); pointer-events: none; }
.feature-card:hover { transform: translateY(-6px); border-color: var(--border); background: linear-gradient(150deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); }
.icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 16px; color: var(--gold-2); background: rgba(212,175,55,.10); border: 1px solid var(--border); font-size: 25px; }
.screens { padding-top: 48px; }
.screen-strip { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 14px; align-items: start; }
.shot h3 { text-align: center; margin-top: 14px; color: var(--muted); font-size: 15px; }
.mini-phone { min-height: 318px; border-radius: 28px; padding: 11px; background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(3,15,16,.98)); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 20px 50px rgba(0,0,0,.24); }
.mini-top { width: 62px; height: 5px; border-radius: 999px; background: rgba(255,255,255,.22); margin: 2px auto 10px; }
.mini-content { position: relative; min-height: 278px; border-radius: 21px; padding: 16px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, #10494e, #031516); border: 1px solid rgba(255,255,255,.09); }
.mini-content::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(30deg, transparent 0 46%, rgba(147,222,214,.1) 47% 49%, transparent 50%); background-size: 110px 90px; }
.mini-content span, .mini-content strong, .mini-content i { position: relative; z-index: 1; }
.mini-content span { color: var(--gold-2); font-weight: 950; margin-bottom: 6px; }
.mini-content strong { font-size: 18px; line-height: 1.15; }
.mini-content i { display: block; width: 100%; height: 9px; border-radius: 999px; margin-top: 10px; background: rgba(255,255,255,.12); }
.forecast .mini-content { background: linear-gradient(180deg, #0c383b, #071112); }
.catch .mini-content { background: linear-gradient(180deg, #153b34, #071112); }
.premium .mini-content { background: linear-gradient(180deg, rgba(212,175,55,.22), #071112); }
.profile .mini-content { background: linear-gradient(180deg, #174253, #071112); }
.notify .mini-content { background: linear-gradient(180deg, #123146, #071112); }
.forecast-panel, .premium-card, .release-panel, .account-panel, .support-panel, .reset-panel { display: grid; grid-template-columns: minmax(0,.95fr) minmax(320px,1.05fr); gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); }
.bite-card { padding: 24px; border-radius: 22px; background: rgba(2,11,12,.68); border: 1px solid var(--border); }
.bite-head { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.bite-head strong { color: var(--green); }
.bite-index { margin: 22px 0; color: var(--gold-2); }
.bite-index span { font-size: clamp(76px, 10vw, 124px); font-weight: 1000; line-height: .8; }
.bite-index small { color: var(--muted); font-size: 24px; }
.factor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.factor { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.factor span { display: block; color: var(--muted); font-size: 12px; }
.factor strong { display: block; margin-top: 5px; }
.notice { margin-top: 18px; color: var(--gold-2); font-weight: 850; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan { min-height: 190px; border-radius: 18px; padding: 22px; background: rgba(255,255,255,.055); border: 1px solid var(--border-soft); display: flex; flex-direction: column; justify-content: space-between; }
.plan strong { color: var(--gold-2); font-size: 42px; }
.plan small { color: var(--muted); }
.highlighted { border-color: var(--border); background: rgba(212,175,55,.10); }
.audience-grid, .faq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience-card { padding: 24px; min-height: 180px; }
.release-panel { grid-template-columns: .7fr 1.3fr; }
.changelog { margin: 0; color: var(--muted); line-height: 1.8; font-size: 17px; }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.faq-item { padding: 20px; }
.faq-item summary { cursor: pointer; color: var(--text); font-weight: 950; }
.faq-item p { margin-top: 12px; }
form { display: grid; gap: 12px; }
input, textarea {
  width: 100%; min-height: 50px; border-radius: 14px; padding: 0 15px; border: 1px solid var(--border-soft);
  background: rgba(2,11,12,.65); color: var(--text); font: inherit; outline: none;
}
textarea { min-height: 132px; padding-top: 14px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--border); box-shadow: 0 0 0 3px rgba(212,175,55,.10); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-box { padding: 20px; border-radius: 20px; background: rgba(2,11,12,.5); border: 1px solid var(--border-soft); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tabs button { min-height: 42px; border-radius: 12px; border: 1px solid var(--border-soft); color: var(--muted); background: rgba(255,255,255,.04); font: inherit; font-weight: 900; cursor: pointer; }
.tabs button.active { color: #171104; background: linear-gradient(180deg, #ffe59b, #d4af37); border-color: transparent; }
.auth-panel { display: none; }
.auth-panel.active { display: grid; }
.form-note { font-size: 13px; margin-top: 12px; }
.status { min-height: 22px; color: var(--green); font-weight: 850; }
.status.error { color: var(--danger); }
.reset-only { display: none; }
.reset-page .reset-only { display: block; }
.reset-page .hero, .reset-page #features, .reset-page #screens, .reset-page #forecast, .reset-page #premium, .reset-page .audience, .reset-page #updates, .reset-page .faq, .reset-page #account, .reset-page #support { display: none; }
.support-page .hero, .support-page #features, .support-page #screens, .support-page #forecast, .support-page #premium, .support-page .audience, .support-page #updates, .support-page .faq, .support-page #account { display: none; }
.support a, .policy-card a { color: var(--gold-2); }
.footer { border-top: 1px solid var(--border-soft); padding: 34px 0; }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: start; }
.footer p { max-width: 440px; margin-top: 12px; font-size: 14px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--gold-2); }
.legal { color: var(--muted); text-align: right; font-size: 14px; line-height: 1.6; }
.policy { padding-top: 72px; }
.policy-card { max-width: 920px; margin: 0 auto; padding: clamp(24px,4vw,52px); }
.policy-card h1 { font-size: clamp(38px, 6vw, 70px); }
.policy-card h2 { font-size: 28px; margin-top: 34px; }
.policy-card li { color: var(--muted); margin: 8px 0; }
.reveal { opacity: 1; transform: translateY(0); transition: transform .55s ease, border-color .22s ease, background .22s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes water-drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-80px,40px,0); } }
@keyframes bubble-rise { 0% { transform: translateY(0) scale(.8); opacity: 0; } 15% { opacity: .75; } 100% { transform: translateY(-110vh) scale(1.1); opacity: 0; } }
@keyframes float-phone { 0%,100% { transform: translateY(0) rotateX(0) rotateY(-5deg); } 50% { transform: translateY(-14px) rotateX(2deg) rotateY(3deg); } }
@keyframes float-badge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .screen-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 620px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .legal { text-align: left; }
}
@media (max-width: 760px) {
  .site-header { width: min(100% - 20px, 1180px); top: 8px; margin-top: 8px; padding: 10px; border-radius: 18px; align-items: flex-start; justify-content: space-between; }
  .brand { min-width: 0; }
  .brand strong { font-size: 15px; }
  .brand small { font-size: 11px; }
  .app-icon { width: 44px; height: 44px; border-radius: 13px; font-size: 21px; }
  .menu-toggle { display: grid; place-items: center; flex: 0 0 44px; margin-left: auto; }
  .nav { position: absolute; left: 12px; right: 12px; top: 72px; display: none; padding: 12px; border-radius: 18px; background: rgba(3,18,19,.94); border: 1px solid var(--border-soft); backdrop-filter: blur(18px); justify-content: flex-start; }
  .nav.open { display: flex; }
  .nav a, .rustore-chip { width: 100%; justify-content: flex-start; }
  .section-shell { width: min(100% - 24px, 1180px); padding: 64px 0; }
  .hero { padding-top: 36px; overflow: hidden; }
  .hero-copy { width: 100%; max-width: 100%; }
  .hero-visual { min-height: 486px; }
  .phone-frame { min-height: 486px; width: min(286px, 78vw); border-radius: 32px; }
  .app-screen { min-height: 444px; border-radius: 24px; }
  .float-card { display: none; }
  .section-title, .forecast-panel, .premium-card, .release-panel, .account-panel, .support-panel, .reset-panel { display: block; }
  .feature-grid, .screen-strip, .audience-grid, .faq-grid, .plans, .factor-grid, .form-row, .footer-inner { grid-template-columns: 1fr; }
  .bite-card, .plans, .auth-box, form { margin-top: 20px; }
  h1 { max-width: 100%; font-size: clamp(33px, 9.6vw, 38px); line-height: 1.06; text-wrap: balance; }
  .desktop-dash { display: none; }
  .mobile-break { display: block; }
  h2 { font-size: clamp(30px, 10vw, 42px); }
  p, .hero-lead { font-size: 16px; }
  .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}