
:root {
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --surface: #0f0f12;
  --surface-2: #161618;
  --border-faint: #1c1c1f;
  --border: #2a2a2e;

  --fg: #f5f5f7;
  --fg-muted: #a1a1aa;
  --fg-subtle: #71717a;
  --fg-dim: #52525b;

  --accent: #e50914;
  --accent-hover: #ff1f2c;
  --accent-soft: rgba(229, 9, 20, 0.14);
  --accent-glow: rgba(229, 9, 20, 0.35);

  --warn: #f59e0b;
  --warn-soft: rgba(245, 158, 11, 0.16);

  --ok: #10b981;
  --ok-soft: rgba(16, 185, 129, 0.14);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --shadow-card:
    0 28px 60px -22px rgba(0, 0, 0, 0.85),
    0 8px 22px -10px rgba(0, 0, 0, 0.6);
  --shadow-card-hover:
    0 36px 80px -22px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(229, 9, 20, 0.32),
    0 12px 32px -10px rgba(229, 9, 20, 0.22);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}


body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  height: 100vh; /* fallback */
  height: 100dvh;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--accent);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}


.halo {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.55;
  transition: opacity 0.6s ease;
}

.halo--top {
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 540px;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.32),
    transparent 70%
  );
}

.halo--bottom {
  bottom: -260px;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(229, 9, 20, 0.18),
    transparent 70%
  );
}

@media (prefers-reduced-motion: reduce) {
  .halo {
    opacity: 0.4;
  }
}


.edge-banner {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: clamp(8px, 1.4vh, 12px) clamp(12px, 2.5vw, 16px);
  background: linear-gradient(
    90deg,
    rgba(245, 158, 11, 0.18),
    rgba(245, 158, 11, 0.08)
  );
  border-bottom: 1px solid rgba(245, 158, 11, 0.32);
  color: #ffeec1;
  font-size: clamp(11.5px, 1.4vw, 13.5px);
  line-height: 1.4;
}

.edge-banner__icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.22);
  color: #fde68a;
  flex-shrink: 0;
}

.edge-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}

.edge-banner__text strong {
  font-weight: 700;
  color: #fff;
}

.edge-banner__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.edge-banner__close {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #ffeec1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.edge-banner__close:hover,
.edge-banner__close:focus-visible {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.7);
  color: #fff;
  outline: none;
}


.shell {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(12px, 2.5vh, 32px) clamp(16px, 5vw, 48px);
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: center;
  gap: clamp(14px, 3vh, 32px);
}

.hero {
  text-align: center;
  animation: fadeInUp 0.7s ease both;
}

.hero__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-weight: 800;
  font-size: clamp(32px, 5.5vw, 56px);
  letter-spacing: -0.04em;
  margin-bottom: clamp(6px, 1.5vh, 14px);
  padding: 0;
  user-select: none;
  line-height: 1;
}

.hero__brand-letter {
  color: var(--accent);
  text-shadow: 0 0 32px rgba(229, 9, 20, 0.55);
}

.hero__brand-text {
  color: var(--fg);
  letter-spacing: 0.06em;
}

.hero__title {
  font-weight: 700;
  font-size: clamp(15px, 2.2vw, 22px);
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--fg);
}


.hero__subtitle {
  margin: clamp(6px, 1vh, 10px) auto 0;
  max-width: 560px;
  color: var(--fg-muted);
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.55;
  display: none;
}

@media (min-height: 760px) {
  .hero__subtitle {
    display: block;
  }
}


.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 2vw, 22px);
  margin: 0;
}

@media (min-width: 760px) {
  .grid {
    gap: clamp(16px, 2.4vw, 28px);
  }
}


.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 16px);
  padding: clamp(14px, 2.4vw, 26px);
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  isolation: isolate;
  animation: fadeInUp 0.7s 0.1s ease both;
}

.card--secondary {
  animation-delay: 0.18s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 80% 0%,
    rgba(229, 9, 20, 0.15),
    transparent 60%
  );
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.card--secondary::before {
  background: radial-gradient(
    ellipse at 80% 0%,
    rgba(245, 158, 11, 0.12),
    transparent 60%
  );
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(229, 9, 20, 0.36);
  box-shadow: var(--shadow-card-hover);
  outline: none;
}

.card--secondary:hover,
.card--secondary:focus-visible {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow:
    0 36px 80px -22px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(245, 158, 11, 0.3),
    0 12px 32px -10px rgba(245, 158, 11, 0.22);
}

.card:hover::before,
.card:focus-visible::before {
  opacity: 1;
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card__role-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ffd5d8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card__role-pill--alt {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.32);
  color: #fde68a;
}

.card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.card__status--ok {
  border-color: rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  background: var(--ok-soft);
}

.card__status--warn {
  border-color: rgba(245, 158, 11, 0.4);
  color: #fde68a;
  background: var(--warn-soft);
}

.card__status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse 2.4s ease-in-out infinite;
}

.card__body {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  font-weight: 800;
  font-size: clamp(22px, 4vw, 36px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.card__url-protocol {
  color: var(--fg-dim);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
}

.card__url-domain {
  color: var(--fg);
}

.card__url-tld {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(229, 9, 20, 0.45);
}

.card--secondary .card__url-tld {
  color: var(--warn);
  text-shadow: 0 0 24px rgba(245, 158, 11, 0.4);
}

.card__description {
  margin: 0;
  color: var(--fg-muted);
  font-size: clamp(11.5px, 1.2vw, 13.5px);
  line-height: 1.45;
  flex: 1 1 auto;
  display: none;
}

@media (min-height: 760px) {
  .card__description {
    display: block;
  }
}

.card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 2px;
  padding-top: clamp(8px, 1.4vh, 14px);
  border-top: 1px solid var(--border-faint);
}

.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fg);
  transition: gap 0.2s ease, color 0.2s ease;
}

.card:hover .card__cta {
  color: var(--accent);
  gap: 12px;
}

.card--secondary:hover .card__cta {
  color: var(--warn);
}

.card__cta-arrow {
  transition: transform 0.2s ease;
}

.card:hover .card__cta-arrow {
  transform: translateX(2px);
}

.card__latency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-subtle);
  font-variant-numeric: tabular-nums;
}

.card__latency-spinner {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--fg-muted);
  animation: spin 0.85s linear infinite;
}

.card__latency.is-ok .card__latency-spinner,
.card__latency.is-fail .card__latency-spinner,
.card__latency.is-slow .card__latency-spinner {
  display: none;
}

.card__latency.is-ok .card__latency-text {
  color: #6ee7b7;
}

.card__latency.is-slow .card__latency-text {
  color: #fde68a;
}

.card__latency.is-fail .card__latency-text {
  color: #fca5a5;
}

.card__latency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}


.info {
  display: grid;
  gap: 12px;
  margin-bottom: 64px;
}

@media (min-width: 760px) {
  .info {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
  }
}

.info__item {
  background: var(--surface);
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.info__item:hover {
  border-color: rgba(229, 9, 20, 0.22);
  background: var(--surface-2);
}

.info__item[open] {
  border-color: rgba(229, 9, 20, 0.32);
}

.info__summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.info__summary::-webkit-details-marker {
  display: none;
}

.info__summary::after {
  content: "+";
  font-weight: 400;
  font-size: 18px;
  color: var(--fg-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.info__item[open] .info__summary::after {
  content: "−";
  color: var(--accent);
}

.info__text {
  margin: 10px 0 0 0;
  color: var(--fg-muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.info__link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info__link:hover {
  color: var(--accent-hover);
}



.socials-section {
  margin: 0;
  animation: fadeInUp 0.7s 0.25s ease both;
}

.socials-section__header {
  text-align: center;
  margin-bottom: clamp(10px, 1.6vh, 16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  border: 1px solid rgba(229, 9, 20, 0.32);
  color: #ffd5d8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.socials-section__title {
  margin: 0;
  font-size: clamp(15px, 1.9vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.socials-section__subtitle {
  margin: 0;
  max-width: 520px;
  font-size: clamp(11.5px, 1.2vw, 13px);
  line-height: 1.45;
  color: var(--fg-muted);
  display: none;
}

@media (min-height: 760px) {
  .socials-section__subtitle {
    display: block;
  }
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: clamp(8px, 1.5vw, 14px);
}


.social-card {
  --brand: var(--fg-muted);
  --brand-soft: rgba(255, 255, 255, 0.04);
  --brand-glow: rgba(255, 255, 255, 0.18);

  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vh, 12px);
  padding: clamp(10px, 1.5vw, 16px);
  background: linear-gradient(180deg, var(--surface), var(--bg-elevated));
  border: 1px solid var(--border-faint);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  color: var(--fg-muted);
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 80% 0%,
    var(--brand-soft),
    transparent 65%
  );
  opacity: 0.7;
  transition: opacity 0.22s ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--brand);
  box-shadow:
    0 26px 56px -22px rgba(0, 0, 0, 0.85),
    0 0 0 1px var(--brand-glow),
    0 10px 28px -8px var(--brand-glow);
  outline: none;
}

.social-card:hover::before,
.social-card:focus-visible::before {
  opacity: 1;
}

.social-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.social-card__icon {
  display: inline-grid;
  place-items: center;
  width: clamp(28px, 4.2vw, 38px);
  height: clamp(28px, 4.2vw, 38px);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
  border: 1px solid var(--brand-glow);
  color: var(--brand);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.social-card__icon svg {
  width: clamp(14px, 2.4vw, 22px);
  height: clamp(14px, 2.4vw, 22px);
}

.social-card:hover .social-card__icon {
  color: #fff;
  background: var(--brand);
  transform: scale(1.05);
}

.social-card__pill {
  font-size: clamp(9px, 1.05vw, 10.5px);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  transition: color 0.22s ease;
  display: none;
}

@media (min-width: 540px) {
  .social-card__pill {
    display: inline;
  }
}

.social-card:hover .social-card__pill {
  color: var(--brand);
}

.social-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 auto;
}

.social-card__handle {
  font-size: clamp(12px, 1.4vw, 15.5px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  word-break: break-all;
  line-height: 1.15;
}

.social-card__hint {
  font-size: clamp(10.5px, 1.1vw, 12px);
  color: var(--fg-subtle);
  line-height: 1.35;
  display: none;
}

@media (min-height: 720px) {
  .social-card__hint {
    display: inline;
  }
}

.social-card__cta {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg);
  padding-top: 4px;
  border-top: 1px solid var(--border-faint);
  transition:
    color 0.22s ease,
    gap 0.22s ease;
}

@media (min-height: 800px) {
  .social-card__cta {
    display: inline-flex;
  }
}

.social-card:hover .social-card__cta {
  color: var(--brand);
  gap: 9px;
}

.social-card__arrow {
  transition: transform 0.22s ease;
}

.social-card:hover .social-card__arrow {
  transform: translateX(2px);
}


.social-card[data-social="instagram"] {
  --brand: #ff3aa6;
  --brand-soft: rgba(255, 58, 166, 0.12);
  --brand-glow: rgba(255, 58, 166, 0.4);
}

.social-card[data-social="instagram"]:hover .social-card__icon,
.social-card[data-social="instagram"]:focus-visible .social-card__icon {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  border-color: rgba(255, 255, 255, 0.18);
}

.social-card[data-social="tiktok"] {
  --brand: #ff0050;
  --brand-soft: rgba(255, 0, 80, 0.12);
  --brand-glow: rgba(255, 0, 80, 0.4);
}
.social-card[data-social="tiktok"]:hover .social-card__icon,
.social-card[data-social="tiktok"]:focus-visible .social-card__icon {
  background: #000;
  color: #fff;
  border-color: #ff0050;
  box-shadow:
    -1.5px -1px 0 #ff0050,
    1.5px 1px 0 #25f4ee;
}

.social-card[data-social="discord"] {
  --brand: #5865f2;
  --brand-soft: rgba(88, 101, 242, 0.12);
  --brand-glow: rgba(88, 101, 242, 0.4);
}

.social-card[data-social="telegram"] {
  --brand: #2aabee;
  --brand-soft: rgba(42, 171, 238, 0.12);
  --brand-glow: rgba(42, 171, 238, 0.4);
}


.foot {
  text-align: center;
  font-size: clamp(10.5px, 1.1vw, 12.5px);
  color: var(--fg-subtle);
  padding-top: 0;
  border-top: 0;
}

.foot__copy {
  margin: 0;
}

.foot__link {
  color: var(--fg-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.foot__link:hover {
  color: var(--accent);
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.85);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
