:root {
  --bg: #07100c;
  --bg-2: #0a1510;
  --panel: #0e1c15;
  --panel-2: #12241b;
  --text: #f2fff7;
  --muted: #8ea99a;
  --green: #35e47d;
  --green-2: #16b85d;
  --line: rgba(93, 255, 155, 0.12);
  --danger: #ff6b7a;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --nav: rgba(10, 18, 14, 0.78);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 75% 8%, rgba(41, 226, 116, 0.12), transparent 28rem),
    radial-gradient(circle at 12% 28%, rgba(25, 166, 91, 0.08), transparent 24rem),
    var(--bg);
  background-size: 120% 120%, 115% 115%, auto;
  animation: pageGlow 14s ease-in-out infinite alternate;
}

.splash-active { overflow: hidden; }
.splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  background: #0b1510;
  color: #f2fff7;
  isolation: isolate;
}
.splash-active .splash { display: grid; place-items: center; }
.splash.is-exiting { animation: splashExit .55s ease-in-out forwards; }
.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 70%, #183426 0, transparent 65%);
}
.splash-content { position: relative; width: min(90vw, 580px); text-align: center; }
.splash-kicker {
  color: #a9c8b3;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 42px;
  animation: splashFade .5s .15s both;
}
.splash-logo { display: grid; justify-items: center; }
.splash-blocks { display: flex; justify-content: center; gap: clamp(7px, 1.5vw, 12px); }
.splash-block {
  width: clamp(58px, 17vw, 100px);
  height: clamp(67px, 19vw, 112px);
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid #4aab70;
  border-radius: 5px;
  background: #278a50;
  box-shadow: inset 3px 3px 0 rgba(255,255,255,.09), inset -5px -5px 0 rgba(0,43,22,.25), 0 9px 0 #12552f, 0 16px 16px rgba(0,0,0,.3);
  color: #e8ffed;
  font-size: clamp(40px, 10vw, 72px);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  padding-right: .08em;
  animation: splashBlockDrop .78s cubic-bezier(.22, .85, .28, 1.14) calc(.18s + var(--index) * .16s) both;
}
.splash-block::before {
  content: "";
  position: absolute;
  width: 36%;
  height: 8px;
  left: 32%;
  top: -8px;
  border: 1px solid #4aab70;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #278a50;
}
.splash-studio {
  margin-top: 29px;
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 700;
  letter-spacing: -.055em;
  animation: splashStudio .6s 1.05s both;
}
.splash-period { color: #35e47d; }
.splash-caption { margin: 12px 0 0; color: #9eb4a5; font-size: 14px; animation: splashFade .5s 1.2s both; }
.splash-loader { width: min(100%, 320px); margin: 62px auto 0; animation: splashFade .5s 1.3s both; }
.splash-loader-meta { display: flex; justify-content: space-between; color: #9eb4a5; font-size: 12px; margin-bottom: 10px; }
.splash-loader-meta span:last-child { font-variant-numeric: tabular-nums; color: #d9eee0; }
.splash-track { height: 4px; overflow: hidden; border-radius: 2px; background: #294232; }
.splash-fill { display: block; width: 0; height: 100%; background: #59d586; transition: width .18s ease-out; }
@keyframes splashBlockDrop {
  0% { opacity: 0; transform: translateY(-100vh) rotate(-7deg); }
  70% { opacity: 1; transform: translateY(9px) rotate(1deg); }
  84% { transform: translateY(-5px) rotate(-.5deg); }
  100% { transform: translateY(0) rotate(0) scale(1); }
}
@keyframes splashStudio { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes splashFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes splashExit { to { opacity: 0; visibility: hidden; } }
@media (max-width: 560px) {
  .splash-kicker { margin-bottom: 34px; }
  .splash-loader { margin-top: 52px; }
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: auto; }
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 40; background: var(--green); color: #031108; padding: 8px 12px; border-radius: 10px; }

.topbar {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--line);
  background: var(--nav);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.28);
}
.nav-pill.is-entering { animation: navDrop .7s ease both; }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.04em;
  padding-right: 8px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green), #0e8f49);
  color: #031108;
  display: grid;
  place-items: center;
  font-weight: 900;
  animation: markPulse 2.8s ease-in-out infinite;
}
.nav-links { display: flex; gap: 2px; }
.nav-links a, .icon-btn {
  color: #b7cec0;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.nav-links a:hover, .icon-btn:hover { transform: translateY(-1px); }
.nav-links a:hover, .icon-btn:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-links a.server-link {
  color: #031108;
  background: var(--green);
  box-shadow: 0 8px 24px rgba(53, 228, 125, 0.12);
}
.nav-links a.server-link:hover {
  color: #031108;
  background: #5df59a;
}
.icon-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #b7cec0;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}
.avatar-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1a3326;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.avatar-chip:hover { transform: translateY(-2px) scale(1.04); border-color: rgba(53, 228, 125, 0.35); }
.avatar-chip img { width: 100%; height: 100%; object-fit: cover; }
.login-link {
  min-width: 78px;
  min-height: 32px;
  border: 1px solid rgba(93, 255, 155, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  color: #eafff2;
  background: rgba(53, 228, 125, 0.08);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.login-link:hover {
  transform: translateY(-2px);
  border-color: rgba(53, 228, 125, 0.38);
  background: rgba(53, 228, 125, 0.14);
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}
.btn:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}
.btn:hover:after { transform: translateX(120%); }
.btn-primary {
  background: var(--green);
  color: #031108;
  box-shadow: 0 8px 30px rgba(53, 228, 125, 0.16);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost, .btn-social {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: #eafff2;
}
.btn-ghost:hover, .btn-social:hover { background: rgba(255, 255, 255, 0.05); }
.btn-social { width: 100%; border-radius: 14px; padding: 13px 16px; }
.btn-telegram { background: #229ed9; border-color: transparent; color: #fff; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 80px 0 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(53, 228, 125, 0.2);
  background: rgba(53, 228, 125, 0.06);
  color: #83f5ae;
  padding: 8px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: dotPulse 1.6s ease-in-out infinite;
}
h1 {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 22px 0 20px;
}
.accent {
  background: linear-gradient(90deg, var(--green), #c8ffda, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: accentFlow 4s linear infinite;
}
.hero p, .lead { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 600px; }
.actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.visual { height: 470px; position: relative; display: grid; place-items: center; }
.orb {
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #baffd5 0 3%, #36e47d 12%, #0c6d3a 43%, transparent 70%);
  box-shadow: 0 0 100px rgba(53, 228, 125, 0.25);
  animation: orbFloat 6s ease-in-out infinite;
}
.cube {
  position: absolute;
  width: 250px;
  height: 250px;
  transform: rotate(30deg) skewY(-5deg);
  border: 1px solid rgba(160, 255, 194, 0.45);
  background: linear-gradient(135deg, rgba(53, 228, 125, 0.25), rgba(4, 28, 17, 0.75));
  box-shadow: inset 0 0 70px rgba(53, 228, 125, 0.14), 0 30px 90px rgba(0, 0, 0, 0.5);
  border-radius: 28px;
  animation: cubeDrift 7s ease-in-out infinite;
}
.float {
  position: absolute;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(8, 22, 15, 0.75);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  font-size: 12px;
  color: #bdeacb;
  box-shadow: var(--shadow);
  animation: floatCard 5s ease-in-out infinite;
}
.f1 { top: 80px; right: 15px; animation-delay: 0.1s; }
.f2 { bottom: 80px; left: 10px; animation-delay: 0.8s; }
.f3 { bottom: 35px; right: 35px; animation-delay: 1.4s; }

section { padding: 70px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 25px; margin-bottom: 28px; }
.kicker { color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; }
h2 { font-size: 38px; letter-spacing: -0.045em; margin: 8px 0; }
.section-head p { color: var(--muted); max-width: 440px; line-height: 1.6; }
.stats, .grid { display: grid; gap: 14px; }
.stats { grid-template-columns: repeat(3, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.stat, .card, .project, .auth-card, .panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 39, 28, 0.8), rgba(8, 19, 13, 0.8));
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.stat { padding: 25px; }
.stat strong { font-size: 34px; display: block; }
.stat span, .muted { color: var(--muted); font-size: 13px; }
.card { padding: 24px; min-height: 180px; }
.card:hover, .panel:hover, .stat:hover, .project:hover {
  transform: translateY(-5px);
  border-color: rgba(53, 228, 125, 0.3);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(53, 228, 125, 0.09);
  color: var(--green);
  font-weight: 800;
  margin-bottom: 18px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.card:hover .icon { transform: rotate(-5deg) scale(1.08); background: rgba(53, 228, 125, 0.14); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-size: 11px;
  color: #c9ead6;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.chip:hover { transform: translateY(-1px); border-color: rgba(53, 228, 125, 0.35); }
.portfolio { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr; grid-template-rows: 220px 220px; gap: 14px; }
.project { padding: 22px; overflow: hidden; position: relative; }
.project:after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(53, 228, 125, 0.12);
  right: -60px;
  top: -80px;
  transition: transform 0.4s ease;
}
.project:hover:after { transform: scale(1.18) translate(-12px, 10px); }
.project.big { grid-row: span 2; }
.project small { color: #83f5ae; }
.project h3, .project p { position: relative; z-index: 1; }
.cta {
  border: 1px solid rgba(53, 228, 125, 0.2);
  border-radius: 26px;
  padding: 45px;
  background: radial-gradient(circle at 80% 30%, rgba(53, 228, 125, 0.15), transparent 28%), linear-gradient(135deg, #0d2418, #09130e);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background-size: 150% 150%, auto;
  animation: ctaGlow 7s ease-in-out infinite alternate;
}

.page-hero { padding: 70px 0 20px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.page-hero p { margin: 0 auto; }

.store-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; padding-bottom: 80px; }
.filters { padding: 18px; height: fit-content; position: sticky; top: 92px; }
.filters h3 { margin: 0 0 12px; font-size: 15px; }
.filter-list { display: grid; gap: 6px; }
.filter-list a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
}
.filter-list a.active, .filter-list a:hover { background: rgba(53, 228, 125, 0.08); color: #fff; }
.search {
  width: 100%;
  margin-bottom: 14px;
  background: #0b1711;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
}
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.product-card { padding: 0; overflow: hidden; min-height: 0; }
.product-cover {
  height: 150px;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--accent, #35e47d) 45%, transparent), transparent 40%),
    linear-gradient(135deg, #123722, #08130d);
  background-size: 130% 130%, auto;
  transition: transform 0.35s ease, filter 0.35s ease, background-position 0.35s ease;
}
.product-card:hover .product-cover {
  transform: scale(1.04);
  filter: saturate(1.25);
  background-position: 18% 20%, center;
}
.product-body { padding: 18px 18px 20px; }
.price { color: var(--green); font-weight: 800; }

.auth-wrap { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 70px 0; }
.auth-card { width: min(420px, 100%); padding: 28px; }
.auth-card h1 { font-size: 28px; margin: 8px 0 8px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(255,255,255,.03); padding: 5px; border-radius: 12px; margin: 18px 0 14px; }
.tabs button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 9px;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tabs button:hover { transform: translateY(-1px); }
.tabs button.active { background: #173525; color: #fff; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: #0b1711;
  border: 1px solid var(--line);
  color: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: rgba(53, 228, 125, 0.45);
  box-shadow: 0 0 0 4px rgba(53, 228, 125, 0.08);
  transform: translateY(-1px);
}
.field textarea {
  line-height: 1.55;
  resize: vertical;
}
.field select {
  appearance: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.divider { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; color: var(--muted); font-size: 12px; margin: 16px 0; }
.divider:before, .divider:after { content: ""; height: 1px; background: var(--line); }
.hidden { display: none; }
.flash { margin: 10px 0; padding: 10px 12px; border-radius: 10px; font-size: 13px; animation: flashIn 0.35s ease both; }
.flash-error { background: rgba(255, 107, 122, 0.12); color: #ffb3bb; }
.flash-success { background: rgba(53, 228, 125, 0.12); color: #9dffb8; }
.flash-info { background: rgba(255,255,255,.05); color: #d7efe2; }

.account-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; padding-bottom: 80px; }
.panel { padding: 22px; }
.row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.support-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  padding-top: 0;
  padding-bottom: 80px;
}
.support-sidebar {
  display: grid;
  gap: 14px;
  align-content: start;
}
.compact-card {
  min-height: 0;
}
.clean-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 24px;
  color: #718b7c;
  font-size: 13px;
  margin-top: 20px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 24px; }
.foot-grid h2 { font-size: 14px; margin: 0 0 10px; color: #d7efe2; }
.foot-grid a { display: block; margin: 6px 0; color: #8aa496; }
.disclaimer { margin-top: 24px; font-size: 12px; line-height: 1.6; color: #5f7a6c; }
.mobile-only { display: none; }

.admin-hero { text-align: left; }
.admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-heading h1 { margin-bottom: 8px; }
.admin-layout { display: grid; grid-template-columns: minmax(270px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-create-panel { position: sticky; top: 92px; }
.admin-create-panel h2 { font-size: 24px; }
.admin-main { min-width: 0; }
.admin-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 180px auto; gap: 12px; align-items: end; margin-bottom: 16px; }
.admin-search { min-width: 0; }
.stack-form { display: grid; gap: 12px; }
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(6, 14, 10, 0.72);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 13px;
  font: inherit;
}
.field textarea { resize: vertical; min-height: 82px; }
.license-list { display: grid; gap: 14px; }
.license-card { padding: 18px; }
.license-summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.license-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.license-title code,
.license-account-row code { color: #d8ffe7; font-size: 15px; letter-spacing: 0.04em; }
.license-meta { display: flex; flex-wrap: wrap; gap: 7px 16px; margin-top: 8px; color: var(--muted); font-size: 13px; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.status-active { background: rgba(53, 228, 125, 0.14); color: #72f7a7; border: 1px solid rgba(53, 228, 125, 0.3); }
.status-expired { background: rgba(255, 184, 77, 0.12); color: #ffc56e; border: 1px solid rgba(255, 184, 77, 0.28); }
.status-revoked { background: rgba(255, 91, 110, 0.12); color: #ff8e9c; border: 1px solid rgba(255, 91, 110, 0.28); }
.btn-danger { background: rgba(255, 91, 110, 0.12); color: #ff9aa6; border-color: rgba(255, 91, 110, 0.34); }
.license-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.inline-form { display: flex; align-items: center; gap: 8px; }
.inline-form input { width: 88px; }
.license-actions details { flex: 1; text-align: right; }
.license-actions summary { color: var(--green); cursor: pointer; font-weight: 700; }
.edit-license-form { text-align: left; margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0, 0, 0, 0.12); }
.empty-state { text-align: center; padding: 50px 20px; }
.account-section-title { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.license-account-row { align-items: center; }

[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity 0.58s ease, transform 0.58s ease;
}
[data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}
[data-animate-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-animate-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-animate-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-animate-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-animate-stagger].is-visible > *:nth-child(6) { transition-delay: 0.4s; }

@keyframes pageGlow {
  from { background-position: 0% 0%, 100% 20%, center; }
  to { background-position: 18% 8%, 82% 34%, center; }
}
@keyframes navDrop {
  from { opacity: 0; transform: translateY(-18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes markPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(53, 228, 125, 0); }
  50% { box-shadow: 0 0 28px rgba(53, 228, 125, 0.36); }
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.72; }
  50% { transform: scale(1.5); opacity: 1; }
}
@keyframes accentFlow {
  to { background-position: 200% 0; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -18px, 0) scale(1.04); }
}
@keyframes cubeDrift {
  0%, 100% { transform: rotate(30deg) skewY(-5deg) translate3d(0, 0, 0); }
  50% { transform: rotate(37deg) skewY(-4deg) translate3d(12px, 10px, 0); }
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes ctaGlow {
  from { background-position: 0% 0%, center; }
  to { background-position: 100% 30%, center; }
}
@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero, .store-layout, .account-grid, .support-layout, .foot-grid, .admin-layout { grid-template-columns: 1fr; }
  .admin-create-panel { position: static; }
  .nav-links { display: none; }
  .nav-links.open {
    position: absolute;
    top: 58px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(10, 18, 14, 0.96);
    box-shadow: var(--shadow);
  }
  .mobile-only { display: inline-flex; }
  .portfolio { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .project.big { grid-row: auto; }
  .product-grid, .grid-3, .stats { grid-template-columns: 1fr; }
  .filters { position: static; }
  .visual { height: 340px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 26px, 1180px); }
  h2 { font-size: 30px; }
  .cta { display: block; }
  .nav-pill { width: 100%; justify-content: space-between; }
  .form-row { grid-template-columns: 1fr; }
  .admin-heading, .license-summary, .license-actions { align-items: stretch; flex-direction: column; }
  .admin-filters { grid-template-columns: 1fr; }
  .license-actions details { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  [data-animate],
  [data-animate-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
