@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Noto+Sans+SC:wght@300;400;700&display=swap');

:root {
  --imperial-red: #8B0000;
  --imperial-red-glow: #ff1a1a;
  --neon-cyan: #00f0ff;
  --neon-magenta: #ff00ff;
  --neon-blue: #0055ff;
  --bg-black: #0a0a0a;
  --bg-dark: #111111;
  --text-white: #e8e8e8;
  --text-dim: #888888;
  --glass-bg: rgba(20, 20, 25, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --frost-blur: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  background: var(--bg-black);
  color: var(--text-white);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

nav.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 32px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.eagle-icon {
  font-size: 20px;
  color: var(--imperial-red);
  text-shadow: 0 0 8px var(--imperial-red-glow);
}

.nav-title {
  font-size: 12px;
  letter-spacing: 6px;
  margin-left: 16px;
  color: var(--text-dim);
}

.nav-line {
  flex: 1;
  height: 1px;
  margin-left: 24px;
  background: linear-gradient(90deg, var(--imperial-red), transparent);
}

main {
  position: relative;
  z-index: 2;
  padding-top: 48px;
}

/* HERO */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 60px 20px;
  position: relative;
}

.hero-deco {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.5;
}

.cross {
  font-size: 32px;
  color: var(--imperial-red);
  text-shadow: 0 0 12px var(--imperial-red-glow);
}

.deco-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--imperial-red), transparent);
}

.right-deco .deco-line {
  background: linear-gradient(90deg, transparent, var(--imperial-red));
}

.hero-content {
  text-align: center;
  padding: 0 40px;
}

h1.glitch {
  font-family: 'Orbitron', monospace;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 900;
  letter-spacing: 12px;
  color: var(--text-white);
  position: relative;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

h1.glitch::before,
h1.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

h1.glitch::before {
  color: var(--neon-cyan);
  animation: glitch-1 3s infinite;
  clip-path: inset(0 0 65% 0);
}

h1.glitch::after {
  color: var(--imperial-red-glow);
  animation: glitch-2 3s infinite;
  clip-path: inset(65% 0 0 0);
}

@keyframes glitch-1 {
  0%, 90%, 100% { transform: translate(0); }
  92% { transform: translate(-3px, 1px); }
  94% { transform: translate(2px, -1px); }
  96% { transform: translate(-1px, 2px); }
}

@keyframes glitch-2 {
  0%, 90%, 100% { transform: translate(0); }
  91% { transform: translate(3px, -1px); }
  93% { transform: translate(-2px, 1px); }
  95% { transform: translate(1px, -2px); }
}

.subtitle {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 300;
  letter-spacing: 16px;
  margin-top: 8px;
  color: var(--text-dim);
}

.hero-rule {
  width: 120px;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, var(--imperial-red), var(--neon-cyan), transparent);
}

.tagline {
  font-size: 11px;
  letter-spacing: 8px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
  opacity: 0.8;
}

/* PORTRAIT */
.portrait-frame {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: portrait-flicker 4s ease-in-out infinite;
}

@keyframes portrait-flicker {
  0%, 92%, 94%, 96%, 100% { opacity: 1; }
  93% { opacity: 0.92; }
  95% { opacity: 0.96; }
}

.portrait-border {
  position: relative;
  padding: 6px;
  background: linear-gradient(135deg, var(--imperial-red) 0%, rgba(139,0,0,0.2) 50%, var(--neon-cyan) 100%);
  clip-path: polygon(
    0 8px, 8px 0, calc(100% - 8px) 0, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px)
  );
}

.portrait-border::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 240, 255, 0.02) 3px,
    rgba(0, 240, 255, 0.02) 4px
  );
  z-index: 1;
  pointer-events: none;
}

.portrait {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  clip-path: polygon(
    0 6px, 6px 0, calc(100% - 6px) 0, 100% 6px,
    100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px)
  );
  filter: saturate(0.6) contrast(1.1);
  transition: filter 0.3s ease;
}

.portrait:hover {
  filter: saturate(0.8) contrast(1.15);
}

.portrait-label {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* CARDS */
.profile-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 40px 20px 80px;
}

.card.frosted {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--frost-blur));
  -webkit-backdrop-filter: blur(var(--frost-blur));
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  padding: 32px 40px;
  min-width: 300px;
  max-width: 420px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: float 6s ease-in-out infinite;
}

.card.frosted:nth-child(2) {
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.card-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--imperial-red);
  border-style: solid;
}

.card-corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.card-corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.card-corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.card-corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.card-header {
  margin-bottom: 20px;
}

.card-icon {
  font-size: 16px;
  color: var(--imperial-red);
  text-shadow: 0 0 8px var(--imperial-red-glow);
  margin-bottom: 8px;
}

.card-header h2 {
  font-size: 14px;
  letter-spacing: 4px;
  color: var(--text-white);
  font-weight: 700;
}

.card-rule {
  width: 100%;
  height: 1px;
  margin-top: 10px;
  background: linear-gradient(90deg, var(--imperial-red), transparent 60%);
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.data-row:last-child {
  border-bottom: none;
}

.label {
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

.value {
  font-size: 14px;
  color: var(--neon-cyan);
  text-shadow: 0 0 6px rgba(0, 240, 255, 0.4);
  letter-spacing: 2px;
}

.style-tag {
  text-align: center;
  padding: 8px 0;
}

.tag-imperial {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--imperial-red-glow);
  text-shadow: 0 0 12px var(--imperial-red-glow);
  padding: 6px 20px;
  border: 1px solid rgba(139, 0, 0, 0.4);
}

.tag-phigros {
  display: inline-block;
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--neon-cyan);
  text-shadow: 0 0 12px var(--neon-cyan);
  padding: 6px 20px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.style-divider {
  text-align: center;
  font-size: 20px;
  color: var(--text-dim);
  padding: 4px 0;
}

/* VISUAL SECTION */
.visual-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 80px 20px;
  min-height: 40vh;
  flex-wrap: wrap;
}

.geo-container {
  position: relative;
  width: 200px;
  height: 200px;
}

.geo-ring {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 200px;
  height: 200px;
  border-color: rgba(139, 0, 0, 0.4);
  animation: rotate-slow 20s linear infinite;
}

.ring-2 {
  width: 140px;
  height: 140px;
  border-color: rgba(0, 240, 255, 0.3);
  animation: rotate-slow 15s linear infinite reverse;
}

.ring-3 {
  width: 80px;
  height: 80px;
  border-color: rgba(255, 0, 255, 0.2);
  animation: rotate-slow 10s linear infinite;
}

@keyframes rotate-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.geo-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid var(--imperial-red);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 15px var(--imperial-red-glow);
}

.visual-text {
  text-align: center;
}

.visual-text p {
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.neon-text {
  color: var(--neon-cyan) !important;
  text-shadow: 0 0 10px var(--neon-cyan), 0 0 30px rgba(0, 240, 255, 0.3);
}

/* FOOTER */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 32px 20px;
}

.footer-line {
  width: 200px;
  height: 1px;
  margin: 0 auto 16px;
  background: linear-gradient(90deg, transparent, var(--imperial-red), transparent);
}

footer p {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .hero-deco { display: none; }
  .card.frosted { min-width: 260px; padding: 24px 28px; }
  .deco-line { width: 40px; }
  .visual-section { gap: 40px; }
  h1.glitch { letter-spacing: 6px; }
  .portrait { width: 160px; height: 160px; }
}
