* {
  box-sizing: border-box;
}

:root {
  --bg: #07000d;
  --panel: rgba(18, 5, 30, 0.78);
  --panel-strong: rgba(33, 9, 54, 0.92);
  --purple: #9d35ff;
  --purple-soft: #d9a8ff;
  --cyan: #71dcff;
  --text: #f5ecff;
  --muted: #c8addd;
  --border: rgba(207, 127, 255, 0.45);
  --shadow: 0 0 28px rgba(157, 53, 255, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 15%, rgba(133, 37, 255, 0.32), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(113, 220, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #030006 0%, #100018 48%, #05000a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.background-glow {
  position: fixed;
  inset: auto -10% -35% -10%;
  height: 45vh;
  background: radial-gradient(circle, rgba(157, 53, 255, 0.30), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.dragon-orb {
  position: fixed;
  border-radius: 50%;
  border: 1px solid rgba(217, 168, 255, 0.18);
  box-shadow: 0 0 50px rgba(157, 53, 255, 0.22);
  pointer-events: none;
}

.orb-one {
  width: 220px;
  height: 220px;
  left: -80px;
  top: 120px;
}

.orb-two {
  width: 280px;
  height: 280px;
  right: -120px;
  bottom: 160px;
}

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  min-height: 420px;
}

.hero-content,
.profile-card,
.tab-panel {
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(25, 4, 43, 0.86), rgba(7, 0, 13, 0.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border-radius: 34px;
  overflow: hidden;
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(113, 220, 255, 0.16);
  border-radius: 26px;
  pointer-events: none;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 13px;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-shadow:
    0 0 20px rgba(157, 53, 255, 0.95),
    0 0 42px rgba(113, 220, 255, 0.35);
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-radius: 34px;
}

.profile-frame {
  flex: 1;
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(157, 53, 255, 0.20), transparent 52%),
    rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(217, 168, 255, 0.25);
}

.profile-frame img,
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.profile-note {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
}

.profile-note strong {
  color: var(--text);
}

code {
  color: var(--cyan);
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
  padding: 12px;
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(217, 168, 255, 0.18);
}

.tab-button,
.link-button {
  appearance: none;
  border: 1px solid rgba(217, 168, 255, 0.36);
  border-radius: 999px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(64, 16, 92, 0.86), rgba(19, 3, 32, 0.88));
  box-shadow: 0 0 16px rgba(157, 53, 255, 0.18);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.tab-button {
  flex: 1 1 150px;
  padding: 16px 18px;
  font-size: 16px;
}

.tab-button:hover,
.tab-button.active,
.link-button:hover {
  transform: translateY(-2px);
  border-color: rgba(113, 220, 255, 0.72);
  box-shadow:
    0 0 18px rgba(157, 53, 255, 0.42),
    0 0 22px rgba(113, 220, 255, 0.16);
}

.tab-button.active {
  color: white;
  background: linear-gradient(145deg, rgba(157, 53, 255, 0.92), rgba(36, 6, 59, 0.94));
}

.tab-panel {
  display: none;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 22px;
  padding: 22px;
  border-radius: 34px;
  min-height: 520px;
}

.tab-panel.active {
  display: grid;
}

.panel-text {
  padding: 28px;
  border-radius: 25px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(217, 168, 255, 0.16);
}

.panel-text h2 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -0.04em;
}

.panel-text p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.link-button {
  display: inline-flex;
  padding: 14px 20px;
  margin-top: 8px;
}

.image-card {
  min-height: 460px;
  border-radius: 25px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(113, 220, 255, 0.10), transparent 32%),
    rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(217, 168, 255, 0.22);
  overflow: hidden;
}

.footer {
  margin-top: 26px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 20px, 620px);
    padding-top: 16px;
  }

  .hero,
  .tab-panel {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 28px;
    min-height: 310px;
  }

  .profile-frame,
  .image-card {
    min-height: 280px;
  }

  .tab-nav {
    gap: 8px;
  }

  .tab-button {
    flex-basis: calc(50% - 8px);
    padding: 14px 12px;
  }

  .panel-text {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    flex-basis: 100%;
  }

  .hero-text,
  .panel-text p {
    font-size: 16px;
  }

  .profile-note {
    font-size: 13px;
  }
}
