*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --atryx-black:       #04040e;
  --atryx-dark:        #080818;
  --atryx-surface:     #0d0d20;
  --atryx-glass:       rgba(12, 12, 30, 0.72);
  --atryx-red:         #dc143c;
  --atryx-red-bright:  #ff1a45;
  --atryx-red-glow:    rgba(220, 20, 60, 0.4);
  --atryx-red-dim:     rgba(220, 20, 60, 0.12);
  --atryx-cyan:        #00d4ff;
  --atryx-cyan-glow:   rgba(0, 212, 255, 0.3);
  --atryx-silver:      #9ba3b8;
  --atryx-white:       #e8eaf2;
  --atryx-muted:       #4a4d62;
  --atryx-border:      rgba(220, 20, 60, 0.22);
  --atryx-border-dim:  rgba(220, 20, 60, 0.08);
  --atryx-font-head:   'Orbitron', monospace;
  --atryx-font-body:   'Rajdhani', sans-serif;
  --atryx-font-mono:   'Share Tech Mono', monospace;
  --atryx-r:           4px;
  --atryx-ease:        cubic-bezier(0.22, 1, 0.36, 1);
}
html { scroll-behavior: smooth; }
body {
  background: var(--atryx-black);
  color: var(--atryx-white);
  font-family: var(--atryx-font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
#atryx-bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.atryx-scanlines {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
}
.atryx-cursor-trail { position: fixed; inset: 0; z-index: 998; pointer-events: none; }
.atryx-trail-dot {
  position: absolute;
  border-radius: 50%;
  background: var(--atryx-red);
  box-shadow: 0 0 6px var(--atryx-red);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.5s;
  pointer-events: none;
}
.atryx-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}
.atryx-accent { color: var(--atryx-red); }
.atryx-glass {
  background: var(--atryx-glass);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--atryx-border);
  position: relative;
  overflow: hidden;
}
.atryx-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,20,60,0.045) 0%, transparent 55%);
  pointer-events: none;
}
.atryx-card-corner {
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--atryx-red);
  border-style: solid;
  z-index: 2;
  transition: width 0.3s var(--atryx-ease), height 0.3s var(--atryx-ease);
}
.atryx-card-corner-tl { top: 0; left: 0; border-width: 2px 0 0 2px; }
.atryx-card-corner-br { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.atryx-glass:hover .atryx-card-corner { width: 20px; height: 20px; }
.atryx-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--atryx-ease), transform 0.75s var(--atryx-ease);
}
.atryx-reveal.atryx-visible { opacity: 1; transform: none; }
.atryx-hero .atryx-hero-tag     { transition-delay: 0.05s; }
.atryx-hero .atryx-hero-title   { transition-delay: 0.18s; }
.atryx-hero .atryx-hero-subtitle{ transition-delay: 0.30s; }
.atryx-hero .atryx-hero-desc    { transition-delay: 0.40s; }
.atryx-hero .atryx-hero-cta     { transition-delay: 0.50s; }
.atryx-hero .atryx-hero-stats   { transition-delay: 0.60s; }
.atryx-hero .atryx-hero-visual  { transition-delay: 0.32s; }
.atryx-hero .atryx-hero-scroll  { transition-delay: 0.70s; }
.atryx-reveal:nth-child(2) { transition-delay: 0.08s; }
.atryx-reveal:nth-child(3) { transition-delay: 0.16s; }
.atryx-reveal:nth-child(4) { transition-delay: 0.24s; }
.atryx-reveal:nth-child(5) { transition-delay: 0.32s; }
.atryx-section-header { margin-bottom: 3rem; }
.atryx-section-title {
  font-family: var(--atryx-font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.atryx-section-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--atryx-red), transparent);
}
.atryx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.85rem;
  font-family: var(--atryx-font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  border: none;
  border-radius: var(--atryx-r);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--atryx-ease), box-shadow 0.2s var(--atryx-ease);
  will-change: transform;
}
.atryx-btn-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.atryx-btn:hover .atryx-btn-glow { opacity: 1; }
.atryx-btn-primary {
  background: linear-gradient(135deg, var(--atryx-red) 0%, #a8001a 100%);
  color: #fff;
  box-shadow: 0 0 20px var(--atryx-red-glow), 0 2px 8px rgba(0,0,0,0.5);
}
.atryx-btn-primary:hover {
  box-shadow: 0 0 36px var(--atryx-red-glow), 0 4px 20px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.atryx-btn-ghost {
  background: transparent;
  color: var(--atryx-white);
  border: 1px solid var(--atryx-border);
}
.atryx-btn-ghost:hover {
  border-color: var(--atryx-red);
  color: var(--atryx-red);
  box-shadow: 0 0 14px var(--atryx-red-dim);
}
.atryx-btn-full { width: 100%; justify-content: center; }
.atryx-btn-icon { width: 16px; height: 16px; flex-shrink: 0; }
.atryx-nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border 0.4s;
}
.atryx-nav.atryx-nav-scrolled {
  background: rgba(4, 4, 14, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--atryx-border-dim);
}
.atryx-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.atryx-logo {
  font-family: var(--atryx-font-head);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--atryx-white);
  text-decoration: none;
  transition: color 0.3s;
}
.atryx-logo:hover { color: var(--atryx-red); }
.atryx-logo-bracket { color: var(--atryx-red); }
.atryx-nav-links { display: flex; gap: 2.5rem; list-style: none; }
.atryx-nav-link {
  font-family: var(--atryx-font-head);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: var(--atryx-silver);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.atryx-nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  width: 0; height: 1px;
  background: var(--atryx-red);
  transition: width 0.3s var(--atryx-ease);
}
.atryx-nav-link:hover { color: var(--atryx-white); }
.atryx-nav-link:hover::after { width: 100%; }
.atryx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.atryx-hamburger span { display: block; width: 24px; height: 2px; background: var(--atryx-white); transition: 0.3s; }
.atryx-hamburger.atryx-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.atryx-hamburger.atryx-open span:nth-child(2) { opacity: 0; }
.atryx-hamburger.atryx-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .atryx-hamburger { display: flex; }
  .atryx-nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(4,4,14,0.97);
    border-bottom: 1px solid var(--atryx-border);
    padding: 1rem 0;
    display: none;
  }
  .atryx-nav-links.atryx-open { display: flex; }
  .atryx-nav-links li { padding: 0.75rem 2rem; }
}
.atryx-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 7rem 1.5rem 4rem;
  max-width: 1180px;
  margin: 0 auto;
  gap: 2rem 4rem;
  position: relative;
  z-index: 1;
}
.atryx-geo { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.atryx-geo-shape { position: absolute; border-radius: 50%; }
.atryx-geo-ring-1 {
  width: 420px; height: 420px;
  border: 1px solid rgba(220,20,60,0.06);
  top: -10%; right: -5%;
  animation: atryxSlowSpin 40s linear infinite;
}
.atryx-geo-ring-2 {
  width: 280px; height: 280px;
  border: 1px solid rgba(0,212,255,0.05);
  bottom: 10%; left: -5%;
  animation: atryxSlowSpin 28s linear infinite reverse;
}
.atryx-geo-triangle {
  width: 0; height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid rgba(220,20,60,0.06);
  border-radius: 0;
  top: 20%; right: 18%;
  animation: atryxFloat 6s ease-in-out infinite;
}
.atryx-geo-dot-1 {
  width: 6px; height: 6px;
  background: var(--atryx-red);
  box-shadow: 0 0 10px var(--atryx-red);
  top: 35%; right: 30%;
  animation: atryxFloat 4s ease-in-out infinite 1s;
}
.atryx-geo-dot-2 {
  width: 4px; height: 4px;
  background: var(--atryx-cyan);
  box-shadow: 0 0 8px var(--atryx-cyan);
  bottom: 25%; right: 20%;
  animation: atryxFloat 5s ease-in-out infinite 0.5s;
}
.atryx-geo-line-1 {
  width: 120px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,20,60,0.3), transparent);
  border-radius: 0;
  top: 42%; right: 10%;
  transform: rotate(-20deg);
  animation: atryxLinePulse 3s ease-in-out infinite;
}
.atryx-geo-line-2 {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.25), transparent);
  border-radius: 0;
  bottom: 35%; right: 25%;
  transform: rotate(15deg);
  animation: atryxLinePulse 4s ease-in-out infinite 1.5s;
}
.atryx-hero-content { grid-column: 1; }
.atryx-hero-tag {
  font-family: var(--atryx-font-mono);
  font-size: 0.7rem;
  color: var(--atryx-red);
  letter-spacing: 0.18em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.atryx-tag-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--atryx-red);
  box-shadow: 0 0 8px var(--atryx-red);
  animation: atryxPulseOpacity 1.5s ease-in-out infinite;
}
.atryx-hero-title {
  font-family: var(--atryx-font-head);
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}
.atryx-hero-subtitle {
  font-family: var(--atryx-font-mono);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--atryx-cyan);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  min-height: 1.8em;
}
.atryx-cursor {
  animation: atryxBlink 0.85s step-end infinite;
  color: var(--atryx-red);
}
.atryx-hero-desc {
  font-size: 1rem;
  color: var(--atryx-silver);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.2rem;
}
.atryx-desktop-br { display: block; }
.atryx-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.atryx-hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.atryx-stat { display: flex; flex-direction: column; align-items: center; }
.atryx-stat-num {
  font-family: var(--atryx-font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--atryx-red);
  line-height: 1;
}
.atryx-stat-plus {
  font-family: var(--atryx-font-head);
  font-size: 0.9rem;
  color: var(--atryx-red);
  vertical-align: super;
}
.atryx-stat-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.62rem;
  color: var(--atryx-muted);
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
  text-transform: uppercase;
}
.atryx-stat-divider { width: 1px; height: 32px; background: var(--atryx-border); }
.atryx-hero-visual { grid-column: 2; grid-row: 1; }
.atryx-hologram {
  position: relative;
  width: 220px; height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.atryx-holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: atryxSlowSpin linear infinite;
}
.atryx-holo-ring-1 {
  width: 100%; height: 100%;
  border-color: rgba(220,20,60,0.6);
  box-shadow: 0 0 16px var(--atryx-red-glow), inset 0 0 16px rgba(220,20,60,0.05);
  animation-duration: 10s;
}
.atryx-holo-ring-2 {
  width: 74%; height: 74%;
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 10px var(--atryx-cyan-glow);
  animation-duration: 7s;
  animation-direction: reverse;
  border-style: dashed;
}
.atryx-holo-ring-3 {
  width: 50%; height: 50%;
  border-color: rgba(220,20,60,0.3);
  animation-duration: 4.5s;
  border-style: dotted;
}
.atryx-holo-core {
  position: relative;
  z-index: 2;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(220,20,60,0.35), rgba(4,4,14,0.85));
  border: 2px solid var(--atryx-red);
  box-shadow: 0 0 28px var(--atryx-red-glow), inset 0 0 20px var(--atryx-red-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--atryx-font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--atryx-red);
  text-shadow: 0 0 20px var(--atryx-red);
}
.atryx-holo-scan {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--atryx-red), transparent);
  box-shadow: 0 0 10px var(--atryx-red);
  animation: atryxScan 2.8s ease-in-out infinite;
}
.atryx-hero-scroll {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: start;
}
.atryx-scroll-text {
  font-family: var(--atryx-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--atryx-muted);
}
.atryx-scroll-line {
  width: 60px;
  height: 2px;
  background: var(--atryx-border-dim);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.atryx-scroll-dot {
  width: 20px;
  height: 2px;
  background: var(--atryx-red);
  box-shadow: 0 0 6px var(--atryx-red);
  animation: atryxScrollAnim 1.8s ease-in-out infinite;
}
.atryx-glitch {
  position: relative;
  color: var(--atryx-white);
  display: inline-block;
}
.atryx-glitch::before,
.atryx-glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.atryx-glitch::before {
  color: var(--atryx-red);
  animation: atryxGlitch1 5s infinite linear;
}
.atryx-glitch::after {
  color: var(--atryx-cyan);
  animation: atryxGlitch2 5s infinite linear;
}
.atryx-about { padding: 7rem 0; position: relative; z-index: 1; }
.atryx-about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
}
.atryx-avatar-wrap { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.atryx-avatar-hex-frame {
  position: relative;
  width: 220px;
  filter: drop-shadow(0 0 24px var(--atryx-red-glow));
}
.atryx-hex-svg { width: 100%; height: auto; }
.atryx-hex-border {
  animation: atryxHexGlow 2.5s ease-in-out infinite;
}
.atryx-avatar-glow-pulse {
  position: absolute;
  inset: -10px;
  background: radial-gradient(ellipse at center, var(--atryx-red-dim), transparent 70%);
  animation: atryxPulseOpacity 3s ease-in-out infinite;
  pointer-events: none;
}
.atryx-avatar-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,230,118,0.07);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 20px;
  padding: 0.35rem 1rem;
}
.atryx-pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
  animation: atryxPulseOpacity 1.5s ease-in-out infinite;
}
.atryx-status-text {
  font-family: var(--atryx-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #00e676;
}
.atryx-about-p {
  color: var(--atryx-silver);
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 1.75;
}
.atryx-about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.atryx-chip {
  font-family: var(--atryx-font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--atryx-cyan);
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
}
.atryx-terminal {
  border-radius: var(--atryx-r);
  overflow: hidden;
  border: 1px solid rgba(0,212,255,0.18);
  background: rgba(0,0,8,0.75);
}
.atryx-terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(0,212,255,0.12);
}
.atryx-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.atryx-dot-r { background: #ff5f57; }
.atryx-dot-y { background: #febc2e; }
.atryx-dot-g { background: #28c840; }
.atryx-terminal-title {
  font-family: var(--atryx-font-mono);
  font-size: 0.68rem;
  color: var(--atryx-muted);
  margin-left: auto;
}
.atryx-terminal-body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.atryx-terminal-body p {
  font-family: var(--atryx-font-mono);
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--atryx-silver);
}
.atryx-term-prompt { color: var(--atryx-cyan); margin-right: 0.5rem; }
.atryx-term-out { color: var(--atryx-muted); padding-left: 1rem; }
.atryx-term-green { color: #00e676 !important; }
.atryx-blink { animation: atryxBlink 0.9s step-end infinite; color: var(--atryx-cyan); }
.atryx-arsenal { padding: 7rem 0; position: relative; z-index: 1; }
.atryx-arsenal::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(220,20,60,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.atryx-orbital-wrap {
  position: relative;
  width: 520px;
  height: 520px;
  margin: 0 auto 3rem;
}
.atryx-orbital-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.atryx-orbital-core-ring {
  position: absolute;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid var(--atryx-red);
  box-shadow: 0 0 30px var(--atryx-red-glow), inset 0 0 20px var(--atryx-red-dim);
  animation: atryxPulseScale 3s ease-in-out infinite;
}
.atryx-orbital-core-inner {
  position: relative;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(220,20,60,0.4), rgba(4,4,14,0.9));
  border: 2px solid rgba(220,20,60,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--atryx-font-head);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--atryx-red);
  text-shadow: 0 0 16px var(--atryx-red);
}
.atryx-core-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.2em;
  color: var(--atryx-muted);
  margin-top: 1px;
}
.atryx-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid;
}
.atryx-orbit-1 {
  width: 200px; height: 200px;
  margin: -100px 0 0 -100px;
  border-color: rgba(220,20,60,0.18);
  animation: atryxSlowSpin 12s linear infinite;
}
.atryx-orbit-2 {
  width: 340px; height: 340px;
  margin: -170px 0 0 -170px;
  border-color: rgba(0,212,255,0.12);
  animation: atryxSlowSpin 20s linear infinite reverse;
}
.atryx-orbit-3 {
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-color: rgba(220,20,60,0.08);
  animation: atryxSlowSpin 32s linear infinite;
}
.atryx-orb-track {
  position: relative;
  width: 100%; height: 100%;
}
.atryx-orb {
  position: absolute;
  top: 50%; left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform-origin: 0 0;
  transform:
    rotate(var(--atryx-angle))
    translateX(50%)
    rotate(calc(-1 * var(--atryx-angle)));
}
.atryx-orbit-1 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(100px) rotate(calc(-1 * var(--atryx-angle))); }
.atryx-orbit-2 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(170px) rotate(calc(-1 * var(--atryx-angle))); }
.atryx-orbit-3 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(240px) rotate(calc(-1 * var(--atryx-angle))); }
.atryx-orb-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--atryx-red);
  box-shadow: 0 0 10px var(--atryx-red-glow);
  flex-shrink: 0;
}
.atryx-orb-sm .atryx-orb-dot {
  width: 8px; height: 8px;
  background: var(--atryx-cyan);
  box-shadow: 0 0 8px var(--atryx-cyan-glow);
}
.atryx-orb-xs .atryx-orb-dot {
  width: 6px; height: 6px;
  background: var(--atryx-silver);
  box-shadow: 0 0 6px rgba(155,163,184,0.4);
}
.atryx-orb-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--atryx-white);
  white-space: nowrap;
  background: rgba(4,4,14,0.8);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  border: 1px solid rgba(220,20,60,0.12);
}
.atryx-orb-sm .atryx-orb-label { color: var(--atryx-cyan); border-color: rgba(0,212,255,0.12); }
.atryx-orb-xs .atryx-orb-label { color: var(--atryx-silver); }
.atryx-orbit-glow {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
}
.atryx-orbit-glow-1 {
  width: 200px; height: 200px;
  margin: -100px 0 0 -100px;
  background: radial-gradient(circle, rgba(220,20,60,0.08) 0%, transparent 70%);
}
.atryx-orbit-glow-2 {
  width: 340px; height: 340px;
  margin: -170px 0 0 -170px;
  background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 70%);
}
.atryx-arsenal-tags {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.atryx-arsenal-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--atryx-font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--atryx-silver);
}
.atryx-arsenal-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--atryx-red);
  box-shadow: 0 0 6px var(--atryx-red-glow);
  display: block;
}
.atryx-dot-cyan { background: var(--atryx-cyan) !important; box-shadow: 0 0 6px var(--atryx-cyan-glow) !important; }
.atryx-dot-silver { background: var(--atryx-silver) !important; box-shadow: none !important; }
.atryx-projects { padding: 7rem 0; position: relative; z-index: 1; }
.atryx-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.atryx-project-card {
  padding: 1.85rem;
  border-radius: var(--atryx-r);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  will-change: transform;
  transform-style: preserve-3d;
}
.atryx-project-card:hover {
  border-color: rgba(220,20,60,0.45);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45), 0 0 28px var(--atryx-red-dim);
}
.atryx-project-num {
  font-family: var(--atryx-font-mono);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(220,20,60,0.12);
  line-height: 1;
  letter-spacing: 0.04em;
}
.atryx-project-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.atryx-tag {
  font-family: var(--atryx-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--atryx-cyan);
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.16);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}
.atryx-project-title {
  font-family: var(--atryx-font-head);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--atryx-white);
}
.atryx-project-desc {
  font-size: 0.9rem;
  color: var(--atryx-silver);
  line-height: 1.65;
  flex: 1;
}
.atryx-project-footer { display: flex; gap: 0.75rem; margin-top: auto; }
.atryx-project-link {
  font-family: var(--atryx-font-head);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--atryx-r);
  transition: 0.25s;
  background: var(--atryx-red);
  color: #fff;
  box-shadow: 0 0 12px var(--atryx-red-dim);
}
.atryx-project-link:hover {
  box-shadow: 0 0 22px var(--atryx-red-glow);
  transform: translateY(-1px);
}
.atryx-project-link-ghost {
  background: transparent;
  color: var(--atryx-silver);
  border: 1px solid var(--atryx-border);
  box-shadow: none;
}
.atryx-project-link-ghost:hover {
  border-color: var(--atryx-red);
  color: var(--atryx-red);
  box-shadow: none;
}
.atryx-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--atryx-mx,50%) var(--atryx-my,50%), rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.atryx-project-card:hover .atryx-card-shine { opacity: 1; }
.atryx-contact { padding: 7rem 0; position: relative; z-index: 1; }
.atryx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.atryx-contact-desc {
  color: var(--atryx-silver);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.atryx-contact-links { display: flex; flex-direction: column; gap: 0.85rem; }
.atryx-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.15rem;
  background: var(--atryx-glass);
  border: 1px solid var(--atryx-border-dim);
  border-radius: var(--atryx-r);
  text-decoration: none;
  transition: 0.25s;
  backdrop-filter: blur(8px);
}
.atryx-contact-item:hover {
  border-color: rgba(220,20,60,0.35);
  box-shadow: 0 0 18px var(--atryx-red-dim);
  transform: translateX(5px);
}
.atryx-contact-icon {
  width: 36px; height: 36px;
  border-radius: var(--atryx-r);
  background: var(--atryx-red-dim);
  border: 1px solid var(--atryx-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--atryx-red);
}
.atryx-contact-icon svg { width: 17px; height: 17px; }
.atryx-contact-item > div:last-child { display: flex; flex-direction: column; gap: 0.1rem; }
.atryx-contact-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.6rem;
  color: var(--atryx-muted);
  letter-spacing: 0.1em;
}
.atryx-contact-val { font-size: 0.88rem; color: var(--atryx-white); font-weight: 500; }
.atryx-form {
  padding: 2rem;
  border-radius: var(--atryx-r);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}
.atryx-field { display: flex; flex-direction: column; gap: 0.35rem; }
.atryx-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--atryx-muted);
  text-transform: uppercase;
}
.atryx-input {
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--atryx-border-dim);
  border-radius: var(--atryx-r);
  padding: 0.72rem 1rem;
  color: var(--atryx-white);
  font-family: var(--atryx-font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
  outline: none;
}
.atryx-input::placeholder { color: var(--atryx-muted); }
.atryx-input:focus {
  border-color: rgba(220,20,60,0.4);
  box-shadow: 0 0 0 3px var(--atryx-red-dim);
}
.atryx-textarea { resize: vertical; min-height: 110px; }
.atryx-form-success {
  display: none;
  font-family: var(--atryx-font-mono);
  font-size: 0.72rem;
  color: #00e676;
  text-align: center;
  letter-spacing: 0.1em;
}
.atryx-form-success.atryx-visible { display: block; }
.atryx-footer {
  border-top: 1px solid var(--atryx-border-dim);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}
.atryx-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.atryx-footer-logo {
  font-family: var(--atryx-font-head);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--atryx-red);
}
.atryx-footer-copy {
  font-family: var(--atryx-font-mono);
  font-size: 0.68rem;
  color: var(--atryx-muted);
}
.atryx-footer-socials { display: flex; gap: 0.65rem; }
.atryx-footer-social {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--atryx-muted);
  border: 1px solid var(--atryx-border-dim);
  border-radius: var(--atryx-r);
  transition: 0.25s;
  text-decoration: none;
}
.atryx-footer-social svg { width: 14px; height: 14px; }
.atryx-footer-social:hover {
  color: var(--atryx-red);
  border-color: var(--atryx-red);
  box-shadow: 0 0 10px var(--atryx-red-dim);
}
.atryx-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s var(--atryx-ease);
}
.atryx-popup.atryx-popup-open {
  opacity: 1;
  pointer-events: all;
}
.atryx-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 10, 0.9);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}
.atryx-popup-modal {
  position: relative;
  width: 100%;
  max-width: 1120px;
  height: min(88vh, 680px);
  display: flex;
  flex-direction: column;
  background: rgba(6, 6, 18, 0.97);
  border: 1px solid rgba(220, 20, 60, 0.32);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(220,20,60,0.05),
    0 0 80px rgba(220,20,60,0.14),
    0 40px 100px rgba(0,0,0,0.8);
  transform: translateY(36px) scale(0.96);
  transition: transform 0.44s var(--atryx-ease);
  overflow: hidden;
}
.atryx-popup-open .atryx-popup-modal {
  transform: translateY(0) scale(1);
}
.atryx-popup-corner {
  position: absolute;
  width: 22px; height: 22px;
  border-color: var(--atryx-red);
  border-style: solid;
  z-index: 10;
  pointer-events: none;
}
.atryx-popup-corner-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.atryx-popup-corner-tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.atryx-popup-corner-bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.atryx-popup-corner-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.atryx-popup-scanbar {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--atryx-red), transparent);
  z-index: 11;
  animation: atryxPopupScan 3s linear infinite;
  opacity: 0.6;
}
@keyframes atryxPopupScan {
  0%   { top: 0%; opacity: 0.7; }
  100% { top: 100%; opacity: 0.2; }
}
.atryx-popup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid rgba(220,20,60,0.14);
  flex-shrink: 0;
  z-index: 2;
}
.atryx-popup-dots { display: flex; gap: 5px; align-items: center; flex-shrink: 0; }
.atryx-popup-header-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  overflow: hidden;
}
.atryx-popup-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.25em;
  color: var(--atryx-red);
  opacity: 0.7;
}
.atryx-popup-title-text {
  font-family: var(--atryx-font-head);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--atryx-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.atryx-popup-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.atryx-popup-url-pill {
  font-family: var(--atryx-font-mono);
  font-size: 0.58rem;
  color: var(--atryx-cyan);
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.18);
  border-radius: 20px;
  padding: 0.15rem 0.65rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}
.atryx-popup-close {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,20,60,0.08);
  border: 1px solid rgba(220,20,60,0.22);
  border-radius: 4px;
  color: var(--atryx-silver);
  cursor: pointer;
  transition: 0.22s;
}
.atryx-popup-close:hover { background: rgba(220,20,60,0.24); color: #fff; border-color: var(--atryx-red); }
.atryx-popup-close svg { width: 13px; height: 13px; }
.atryx-popup-body {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.atryx-popup-frame-col {
  flex: 0 0 60%;
  position: relative;
  background: #04040e;
  border-right: 1px solid rgba(220,20,60,0.14);
  overflow: hidden;
}
.atryx-popup-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  opacity: 0;
  transition: opacity 0.5s;
}
.atryx-popup-iframe.atryx-iframe-loaded { opacity: 1; }
.atryx-popup-blocker {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: not-allowed;
}
.atryx-popup-frame-scanlines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.09) 3px, rgba(0,0,0,0.09) 4px);
  opacity: 0.5;
}
.atryx-popup-hud {
  position: absolute;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.28rem 0.5rem;
  background: rgba(4,4,14,0.82);
  border: 1px solid rgba(220,20,60,0.14);
  border-radius: 3px;
  pointer-events: none;
}
.atryx-popup-hud-tl { top: 8px; left: 8px; }
.atryx-popup-hud-br { bottom: 8px; right: 8px; }
.atryx-hud-key {
  font-family: var(--atryx-font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.18em;
  color: var(--atryx-muted);
}
.atryx-hud-val {
  font-family: var(--atryx-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: var(--atryx-white);
}
.atryx-hud-ok { color: #00e676 !important; }
.atryx-popup-loading {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(4,4,14,0.92);
  font-family: var(--atryx-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--atryx-muted);
  transition: opacity 0.4s;
}
.atryx-popup-loading.atryx-hidden { opacity: 0; pointer-events: none; }
.atryx-popup-loading-ring {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(220,20,60,0.15);
  border-top-color: var(--atryx-red);
  animation: atryxSlowSpin 0.9s linear infinite;
}
.atryx-popup-detail {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(220,20,60,0.3) transparent;
  padding: 1.2rem;
}
.atryx-popup-detail::-webkit-scrollbar { width: 4px; }
.atryx-popup-detail::-webkit-scrollbar-track { background: transparent; }
.atryx-popup-detail::-webkit-scrollbar-thumb { background: rgba(220,20,60,0.3); border-radius: 2px; }
.atryx-popup-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.atryx-popup-logo-hex {
  position: relative;
  width: 80px; height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 14px var(--atryx-red-glow));
}
.atryx-popup-hex-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.atryx-popup-logo-text {
  position: relative;
  font-family: var(--atryx-font-head);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--atryx-red);
  text-shadow: 0 0 16px var(--atryx-red);
  letter-spacing: 0.06em;
  z-index: 1;
}
.atryx-popup-status-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 0.6rem;
}
.atryx-popup-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  animation: atryxPulseOpacity 1.5s ease-in-out infinite;
}
.atryx-popup-status-dot.atryx-status-active {
  background: #00e676;
  box-shadow: 0 0 8px #00e676;
}
.atryx-popup-status-dot.atryx-status-passive {
  background: var(--atryx-muted);
  box-shadow: none;
  animation: none;
}
.atryx-popup-status-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
}
.atryx-popup-status-label.atryx-status-active { color: #00e676; }
.atryx-popup-status-label.atryx-status-passive { color: var(--atryx-muted); }
.atryx-popup-detail-title {
  font-family: var(--atryx-font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--atryx-white);
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.2;
  border-bottom: 1px solid rgba(220,20,60,0.12);
  padding-bottom: 1rem;
}
.atryx-popup-section {
  margin-bottom: 0.9rem;
}
.atryx-popup-section-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  color: var(--atryx-red);
  opacity: 0.65;
  margin-bottom: 0.45rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(220,20,60,0.08);
}
.atryx-popup-desc-wrap {
  max-height: 130px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(220,20,60,0.2) transparent;
  padding-right: 4px;
}
.atryx-popup-desc-wrap::-webkit-scrollbar { width: 3px; }
.atryx-popup-desc-wrap::-webkit-scrollbar-thumb { background: rgba(220,20,60,0.25); border-radius: 2px; }
.atryx-popup-desc {
  font-family: var(--atryx-font-body);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--atryx-silver);
}
.atryx-popup-meta { display: flex; flex-direction: column; gap: 0.45rem; }
.atryx-popup-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(220,20,60,0.06);
}
.atryx-popup-meta-row:last-child { border-bottom: none; }
.atryx-popup-meta-key {
  font-family: var(--atryx-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--atryx-muted);
  flex-shrink: 0;
}
.atryx-popup-meta-val {
  font-family: var(--atryx-font-mono);
  font-size: 0.65rem;
  color: var(--atryx-white);
  text-align: right;
  line-height: 1.4;
}
.atryx-popup-meta-link {
  color: var(--atryx-cyan);
  text-decoration: none;
  transition: color 0.2s;
}
.atryx-popup-meta-link:hover { color: var(--atryx-white); text-decoration: underline; }
.atryx-popup-detail-actions { margin-top: auto; padding-top: 0.9rem; }
.atryx-popup-launch { font-size: 0.66rem; padding: 0.6rem 1.2rem; }
.atryx-popup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(220,20,60,0.12);
  gap: 1rem;
  flex-shrink: 0;
  z-index: 2;
}
.atryx-popup-footer-info { display: flex; align-items: center; gap: 0.6rem; }
.atryx-popup-footer-label {
  font-family: var(--atryx-font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--atryx-muted);
}
.atryx-popup-project-name {
  font-family: var(--atryx-font-head);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--atryx-red);
}
.atryx-popup-footer-status { display: flex; align-items: center; }
.atryx-popup-load-txt {
  font-family: var(--atryx-font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: var(--atryx-muted);
}
.atryx-btn { overflow: hidden; }
.atryx-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: scale(0);
  animation: atryxRipple 0.55s linear;
  pointer-events: none;
}
@keyframes atryxRipple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes atryxSlowSpin {
  to { transform: rotate(360deg); }
}
@keyframes atryxScan {
  0%   { top: 12%; opacity: 1; }
  50%  { top: 88%; opacity: 0.6; }
  100% { top: 12%; opacity: 1; }
}
@keyframes atryxBlink { 50% { opacity: 0; } }
@keyframes atryxPulseOpacity {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}
@keyframes atryxPulseScale {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50%       { transform: scale(1.06); opacity: 1; }
}
@keyframes atryxFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes atryxLinePulse {
  0%, 100% { opacity: 0.3; }
  50%       { opacity: 0.7; }
}
@keyframes atryxScrollAnim {
  0%   { transform: translateX(-20px); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateX(60px); opacity: 0; }
}
@keyframes atryxHexGlow {
  0%, 100% { stroke: rgba(220,20,60,0.8); filter: drop-shadow(0 0 4px rgba(220,20,60,0.5)); }
  50%       { stroke: rgba(220,20,60,1); filter: drop-shadow(0 0 12px rgba(220,20,60,0.9)); }
}
@keyframes atryxGlitch1 {
  0%  { clip-path: polygon(0 0%, 100% 0%, 100% 5%, 0 5%);   transform: translate(-4px, 0); opacity: 0; }
  2%  { clip-path: polygon(0 15%, 100% 15%, 100% 20%, 0 20%); transform: translate(4px, 0); opacity: 1; }
  4%  { clip-path: polygon(0 35%, 100% 35%, 100% 40%, 0 40%); transform: translate(-2px, 0); }
  6%  { clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%); transform: translate(2px, 0); opacity: 0.5; }
  7%  { clip-path: polygon(0 0,100% 0,100% 0,0 0); opacity: 0; transform: none; }
  100%{ clip-path: polygon(0 0,100% 0,100% 0,0 0); opacity: 0; transform: none; }
}
@keyframes atryxGlitch2 {
  0%  { clip-path: polygon(0 60%, 100% 60%, 100% 65%, 0 65%); transform: translate(4px, 0); opacity: 0; }
  2%  { clip-path: polygon(0 75%, 100% 75%, 100% 80%, 0 80%); transform: translate(-4px, 0); opacity: 1; }
  4%  { clip-path: polygon(0 85%, 100% 85%, 100% 90%, 0 90%); transform: translate(3px, 0); }
  6%  { clip-path: polygon(0 90%, 100% 90%, 100% 95%, 0 95%); transform: translate(-2px, 0); opacity: 0.5; }
  7%  { clip-path: polygon(0 0,100% 0,100% 0,0 0); opacity: 0; transform: none; }
  100%{ clip-path: polygon(0 0,100% 0,100% 0,0 0); opacity: 0; transform: none; }
}
.atryx-about, .atryx-arsenal, .atryx-projects, .atryx-contact {
  contain: layout style;
}
.atryx-orbit-1, .atryx-orbit-2, .atryx-orbit-3 { will-change: transform; }
.atryx-hologram { will-change: transform; }
.atryx-holo-ring { will-change: transform; }
@media (max-width: 1024px) {
  .atryx-about-grid { grid-template-columns: 220px 1fr; gap: 2.5rem; }
  .atryx-orbital-wrap { width: 400px; height: 400px; }
  .atryx-orbit-3 { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
  .atryx-orbit-3 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(190px) rotate(calc(-1 * var(--atryx-angle))); }
}
@media (max-width: 768px) {
  .atryx-hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 5.5rem 1.5rem 3rem;
    text-align: center;
  }
  .atryx-hero-visual { display: none; }
  .atryx-hero-cta { justify-content: center; }
  .atryx-hero-stats { justify-content: center; }
  .atryx-hero-desc { margin-inline: auto; }
  .atryx-hero-tag { justify-content: center; }
  .atryx-hero-scroll { justify-content: center; grid-column: 1; }
  .atryx-desktop-br { display: none; }
  .atryx-about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .atryx-avatar-wrap { margin: 0 auto; }
  .atryx-contact-grid { grid-template-columns: 1fr; }
  .atryx-projects-grid { grid-template-columns: 1fr; }
  .atryx-orbital-wrap { width: 300px; height: 300px; }
  .atryx-orbit-1 { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
  .atryx-orbit-1 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(70px) rotate(calc(-1 * var(--atryx-angle))); }
  .atryx-orbit-2 { width: 230px; height: 230px; margin: -115px 0 0 -115px; }
  .atryx-orbit-2 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(115px) rotate(calc(-1 * var(--atryx-angle))); }
  .atryx-orbit-3 { width: 290px; height: 290px; margin: -145px 0 0 -145px; }
  .atryx-orbit-3 .atryx-orb { transform: rotate(var(--atryx-angle)) translateX(145px) rotate(calc(-1 * var(--atryx-angle))); }
  .atryx-orbital-core-ring { width: 70px; height: 70px; }
  .atryx-orbital-core-inner { width: 56px; height: 56px; font-size: 0.9rem; }
  .atryx-footer-inner { justify-content: center; text-align: center; }
  .atryx-section-title { font-size: 1.65rem; }
}
@media (max-width: 768px) {
  .atryx-popup { padding: 0.5rem; }
  .atryx-popup-modal {
    max-height: 95vh;
    height: 95vh;
    border-radius: 4px;
  }
  .atryx-popup-url-pill { display: none; }
  .atryx-popup-hud { display: none; }
  .atryx-popup-body { flex-direction: column; }
  .atryx-popup-frame-col {
    flex: 0 0 45%;
    border-right: none;
    border-bottom: 1px solid rgba(220,20,60,0.14);
  }
  .atryx-popup-detail {
    flex: 1;
    padding: 0.9rem 1rem;
  }
  .atryx-popup-logo-wrap { display: none; }
  .atryx-popup-detail-title { font-size: 0.9rem; margin-bottom: 0.6rem; padding-bottom: 0.6rem; }
  .atryx-popup-desc-wrap { max-height: 80px; }
}
@media (max-width: 480px) {
  .atryx-btn { padding: 0.7rem 1.2rem; font-size: 0.68rem; }
  .atryx-hero-cta { flex-direction: column; align-items: center; }
  .atryx-form { padding: 1.25rem; }
  .atryx-orbital-wrap { width: 260px; height: 260px; }
  .atryx-orbit-3 { display: none; }
  .atryx-hero-stats { gap: 1.2rem; }
  .atryx-stat-num { font-size: 1.6rem; }
  .atryx-popup-frame-col { flex: 0 0 38%; }
}

/* ═══════════════════════════════════════════════════════════════════
   LOADER
══════════════════════════════════════════════════════════════════ */
@keyframes atryxLoaderGlitch {
  0%,100% { clip-path: none; transform: translate(0); }
  10%      { clip-path: inset(10% 0 80% 0); transform: translate(-4px, 1px); }
  20%      { clip-path: inset(60% 0 10% 0); transform: translate(4px, -1px); }
  30%      { clip-path: none; transform: translate(0); }
  70%      { clip-path: inset(30% 0 50% 0); transform: translate(-2px, 2px); }
  80%      { clip-path: none; transform: translate(0); }
}
@keyframes atryxLoaderPulse {
  0%,100% { opacity: 0.6; }
  50%     { opacity: 1; }
}
@keyframes atryxLoaderBarShine {
  0%   { left: -60%; }
  100% { left: 160%; }
}
@keyframes atryxLoaderFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes atryxLoaderBarPulse {
  0%,100% { opacity: 0; }
  50%     { opacity: 0.7; }
}
@keyframes atryxLoaderOut {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.04); }
}
@keyframes atryxLoaderSubBlink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0; }
}

.atryx-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--atryx-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.atryx-loader.atryx-loader-done {
  animation: atryxLoaderOut 0.6s ease forwards;
  pointer-events: none;
}

.atryx-loader-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.atryx-loader-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(220,20,60,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(220,20,60,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.atryx-loader-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  z-index: 2;
}
.atryx-loader-corner::before,
.atryx-loader-corner::after {
  content: '';
  position: absolute;
  background: var(--atryx-red);
}
.atryx-loader-corner::before { width: 100%; height: 2px; }
.atryx-loader-corner::after  { width: 2px; height: 100%; }
.atryx-loader-corner-tl { top: 24px; left: 24px; }
.atryx-loader-corner-tl::before { top: 0; left: 0; }
.atryx-loader-corner-tl::after  { top: 0; left: 0; }
.atryx-loader-corner-tr { top: 24px; right: 24px; transform: scaleX(-1); }
.atryx-loader-corner-tr::before { top: 0; left: 0; }
.atryx-loader-corner-tr::after  { top: 0; left: 0; }
.atryx-loader-corner-bl { bottom: 24px; left: 24px; transform: scaleY(-1); }
.atryx-loader-corner-bl::before { top: 0; left: 0; }
.atryx-loader-corner-bl::after  { top: 0; left: 0; }
.atryx-loader-corner-br { bottom: 24px; right: 24px; transform: scale(-1); }
.atryx-loader-corner-br::before { top: 0; left: 0; }
.atryx-loader-corner-br::after  { top: 0; left: 0; }

.atryx-loader-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(480px, 90vw);
}

.atryx-loader-logo {
  font-family: var(--atryx-font-head);
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #fff;
  text-shadow: 0 0 30px rgba(220,20,60,0.6), 0 0 60px rgba(220,20,60,0.25);
  margin-bottom: 0.5rem;
  position: relative;
}
.atryx-loader-logo::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--atryx-cyan);
  text-shadow: 0 0 20px var(--atryx-cyan);
  animation: atryxLoaderGlitch 3.5s infinite;
  opacity: 0.5;
}
.atryx-loader-bracket {
  color: var(--atryx-red);
  text-shadow: 0 0 16px var(--atryx-red);
}

.atryx-loader-subtitle {
  font-family: var(--atryx-font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--atryx-silver);
  margin-bottom: 2.4rem;
  animation: atryxLoaderSubBlink 1.2s step-end infinite;
}

.atryx-loader-log {
  width: 100%;
  min-height: 4.5rem;
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
.atryx-loader-log-line {
  font-family: var(--atryx-font-mono);
  font-size: 0.72rem;
  color: var(--atryx-cyan);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: atryxLoaderFadeIn 0.35s ease forwards;
}
.atryx-loader-log-line.atryx-log-done { color: rgba(0,212,255,0.45); }

.atryx-loader-bar-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.7rem;
}
.atryx-loader-bar-track {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
}
.atryx-loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--atryx-red), var(--atryx-cyan));
  box-shadow: 0 0 12px var(--atryx-red-glow), 0 0 28px rgba(0,212,255,0.25);
  transition: width 0.08s linear;
  position: relative;
}
.atryx-loader-bar::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 30px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7));
  filter: blur(2px);
  animation: atryxLoaderBarPulse 0.8s ease-in-out infinite;
}
.atryx-loader-bar-pulse {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  width: 60%;
  animation: atryxLoaderBarShine 1.8s ease-in-out infinite;
}
.atryx-loader-pct {
  font-family: var(--atryx-font-mono);
  font-size: 0.75rem;
  color: var(--atryx-cyan);
  min-width: 2.8rem;
  text-align: right;
  letter-spacing: 0.05em;
  text-shadow: 0 0 8px var(--atryx-cyan);
  animation: atryxLoaderPulse 1s ease-in-out infinite;
}

.atryx-loader-status {
  font-family: var(--atryx-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: rgba(155,163,184,0.4);
  align-self: flex-end;
}

@media (max-width: 480px) {
  .atryx-loader-corner { width: 24px; height: 24px; }
  .atryx-loader-corner-tl,
  .atryx-loader-corner-tr,
  .atryx-loader-corner-bl,
  .atryx-loader-corner-br { top: 14px; left: 14px; }
  .atryx-loader-corner-tr { top: 14px; left: unset; right: 14px; }
  .atryx-loader-corner-bl { top: unset; bottom: 14px; }
  .atryx-loader-corner-br { top: unset; left: unset; bottom: 14px; right: 14px; }
}
