﻿@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&family=Manrope:wght@300;400;500;600;700;800&family=Unbounded:wght@400;500;700&display=swap');

:root {
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-display: 'Unbounded', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;

  --text: #e7f5ff;
  --muted: #a2bfd0;
  --line: rgba(189, 225, 241, 0.22);
  --panel: rgba(9, 25, 39, 0.72);
  --panel-strong: rgba(7, 21, 34, 0.9);
  --accent: #1cc8ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at 5% -10%, #1f455e 0%, transparent 48%),
    radial-gradient(circle at 90% 10%, #113648 0%, transparent 34%),
    radial-gradient(circle at 30% 110%, #15384a 0%, transparent 40%),
    linear-gradient(140deg, #071019 0%, #0b1928 40%, #102335 100%);
  overflow-x: hidden;
}

.background-shape {
  position: fixed;
  z-index: 0;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.shape-a {
  top: -10rem;
  left: -10rem;
  background: rgba(42, 186, 219, 0.24);
}

.shape-b {
  right: -12rem;
  bottom: -12rem;
  background: rgba(86, 180, 121, 0.2);
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: radial-gradient(circle, #ffffff 0.4px, transparent 0.4px);
  background-size: 6px 6px;
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(7, 16, 25, 0.62);
  backdrop-filter: blur(10px);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.intro-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.intro-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 6rem);
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: #dcf6ff;
  text-shadow: 0 0 16px rgba(61, 193, 255, 0.6), 0 0 38px rgba(61, 193, 255, 0.4);
  animation: introPulse 2.2s ease forwards;
}

@keyframes introPulse {
  0% {
    opacity: 0;
    filter: blur(16px);
    transform: scale(1.12);
  }

  30% {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
  }

  80% {
    opacity: 1;
    filter: blur(0px);
  }

  100% {
    opacity: 0;
    filter: blur(8px);
    transform: scale(0.98);
  }
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 1.2rem auto 2.2rem;
  padding: 1rem;
  transition: filter 0.9s ease, opacity 0.9s ease, transform 0.9s ease;
}

body.is-loading .site-shell {
  opacity: 0.62;
  filter: blur(14px);
  transform: scale(1.02);
}

body.loaded .site-shell {
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 31, 46, 0.85), rgba(8, 22, 34, 0.7));
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0.9rem;
  z-index: 20;
}

.topbar .brand {
  justify-self: start;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand-avatar {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(198, 234, 255, 0.5);
  overflow: hidden;
  background: linear-gradient(160deg, #0d9dc3, #6df0bf);
  display: grid;
  place-items: center;
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  display: none;
}

.avatar-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-avatar.missing .avatar-fallback {
  display: block;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  justify-self: end;
}

.nav-btn {
  color: var(--text);
  text-decoration: none;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(187, 223, 242, 0.26);
  background: rgba(14, 33, 49, 0.65);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  background: rgba(65, 166, 202, 0.28);
  border-color: rgba(90, 216, 255, 0.6);
  transform: translateY(-2px);
}

.lang-panel {
  width: max-content;
  margin: 0;
  display: flex;
  gap: 0.45rem;
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(10, 28, 43, 0.82), rgba(8, 22, 34, 0.74));
  backdrop-filter: blur(10px);
  justify-self: center;
}

.lang-btn {
  border: 1px solid rgba(180, 222, 241, 0.26);
  border-radius: 999px;
  background: rgba(14, 33, 49, 0.72);
  color: var(--text);
  min-width: 3.25rem;
  padding: 0.42rem 0.78rem;
  font: 600 0.82rem var(--font-mono);
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover,
.lang-btn:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(116, 227, 255, 0.65);
}

.lang-btn.is-active {
  border-color: rgba(116, 227, 255, 0.7);
  background: rgba(42, 113, 147, 0.55);
}

main {
  margin-top: 1.05rem;
  display: grid;
  gap: 1rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 1rem;
}

.hero-text,
.discord-card {
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: var(--panel);
  backdrop-filter: blur(16px);
}

.hero-text {
  padding: clamp(1rem, 2vw, 1.65rem);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.title {
  margin: 0.72rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.08;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.title-avatar {
  width: clamp(2rem, 4.5vw, 2.7rem);
  height: clamp(2rem, 4.5vw, 2.7rem);
  border-radius: 0.62rem;
  object-fit: cover;
  border: 1px solid rgba(189, 225, 241, 0.3);
}

.title span {
  color: #90d6f2;
  font-weight: 500;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.9rem;
  display: grid;
  place-items: center;
  color: #d7f6ff;
  background: linear-gradient(145deg, rgba(19, 55, 77, 0.9), rgba(11, 30, 44, 0.7));
  border: 1px solid rgba(190, 228, 244, 0.24);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(120, 227, 255, 0.6);
}

.social-empty {
  color: #8fb3c4;
  font-size: 0.84rem;
  padding: 0.45rem 0.2rem;
}

.music-inline {
  margin-top: 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(184, 221, 238, 0.2);
  background: linear-gradient(145deg, rgba(10, 28, 42, 0.9), rgba(12, 35, 50, 0.75));
  padding: 0.8rem;
}

.music-inline-label {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: #cfeeff;
}

.music-frame-wrap {
  display: flex;
  justify-content: center;
}

.music-frame-wrap iframe {
  width: 100% !important;
  max-width: 614px;
  height: 220px;
  border-radius: 0.75rem;
}

.discord-card {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(11, 31, 45, 0.92), rgba(7, 21, 34, 0.88));
}

.discord-card-compact {
  padding: 0.86rem;
}

.discord-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.discord-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.discord-card-compact .discord-head h2 {
  font-size: 0.94rem;
}

.status-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #8c9eaa;
  box-shadow: 0 0 0 0 rgba(150, 177, 189, 0.55);
  animation: pulse 1.9s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(150, 177, 189, 0.55);
  }

  70% {
    box-shadow: 0 0 0 9px rgba(150, 177, 189, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(150, 177, 189, 0);
  }
}

.discord-profile {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.discord-card-compact .discord-profile {
  margin-top: 0.55rem;
}

.discord-avatar {
  width: 48px;
  height: 48px;
  border-radius: 0.72rem;
  border: 1px solid rgba(193, 227, 241, 0.3);
  object-fit: cover;
  flex: 0 0 auto;
}

.discord-card-compact .discord-avatar {
  width: 42px;
  height: 42px;
}

.discord-id-wrap {
  min-width: 0;
}

.discord-name,
.discord-tag {
  margin: 0;
}

.discord-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: #e4f4fc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

.discord-tag {
  margin-top: 0.13rem;
  color: #8fb3c4;
  font-size: 0.82rem;
}

.status-pill {
  margin-left: auto;
  border-radius: 999px;
  border: 1px solid rgba(140, 158, 170, 0.4);
  background: rgba(140, 158, 170, 0.14);
  color: #b4c4cc;
  padding: 0.3rem 0.58rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.discord-card-compact .status-pill {
  padding: 0.24rem 0.5rem;
  font-size: 0.71rem;
}

.discord-activity-line {
  margin-top: 0.62rem;
  display: grid;
  gap: 0.12rem;
  padding: 0.52rem 0.6rem;
  border-radius: 0.66rem;
  border: 1px solid rgba(185, 221, 237, 0.16);
  background: rgba(15, 39, 57, 0.7);
}

.discord-grid {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.discord-item {
  display: grid;
  gap: 0.16rem;
  padding: 0.56rem 0.62rem;
  border-radius: 0.72rem;
  border: 1px solid rgba(185, 221, 237, 0.16);
  background: rgba(15, 39, 57, 0.7);
}

.discord-label {
  color: #8cb3c5;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.discord-value {
  color: #d7eef9;
  font-size: 0.9rem;
  line-height: 1.35;
  word-break: break-word;
}

.anchor-target {
  height: 1px;
  scroll-margin-top: 6.2rem;
}

code {
  font-family: var(--font-mono);
}

@media (max-width: 980px) {
  .topbar {
    border-radius: 1rem;
    padding: 0.8rem;
  }

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

@media (max-width: 640px) {
  .site-shell {
    width: min(1120px, calc(100% - 1rem));
    padding: 0.4rem;
  }

  .topbar {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    justify-self: start;
  }

  .nav-btn {
    padding: 0.48rem 0.8rem;
  }

  .music-frame-wrap iframe {
    height: 206px;
  }

  .discord-name {
    max-width: 9.5rem;
  }
}
