:root {
  --bg: #031316;
  --bg-deep: #020b0d;
  --bg-soft: #062127;
  --panel: rgba(6, 28, 33, 0.88);
  --panel-strong: rgba(6, 24, 29, 0.96);
  --border: rgba(123, 218, 211, 0.16);
  --border-strong: rgba(139, 235, 227, 0.34);
  --text: #f1fbfa;
  --text-soft: #a8c5c5;
  --text-faint: #6f9596;
  --accent: #72ddd4;
  --accent-bright: #d8fffb;
  --success: #8ee2bf;
  --shadow: 0 30px 76px rgba(0, 0, 0, 0.38);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(38, 167, 166, 0.18), transparent 28%),
    radial-gradient(circle at 11% 34%, rgba(39, 119, 139, 0.14), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(14, 108, 113, 0.09), transparent 32%),
    linear-gradient(180deg, #052126 0%, var(--bg) 46%, var(--bg-deep) 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  z-index: -3;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 7% 12%, rgba(226, 255, 252, 0.72) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 17% 72%, rgba(126, 239, 229, 0.62) 0 0.7px, transparent 1.35px),
    radial-gradient(circle at 28% 42%, rgba(198, 241, 255, 0.56) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 43% 19%, rgba(126, 222, 224, 0.62) 0 0.7px, transparent 1.25px),
    radial-gradient(circle at 57% 64%, rgba(239, 255, 253, 0.68) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 69% 28%, rgba(91, 212, 205, 0.62) 0 0.75px, transparent 1.3px),
    radial-gradient(circle at 83% 78%, rgba(214, 249, 255, 0.62) 0 0.8px, transparent 1.35px),
    radial-gradient(circle at 94% 37%, rgba(98, 217, 213, 0.55) 0 0.7px, transparent 1.3px);
  background-size: 220px 220px, 260px 260px, 310px 310px, 280px 280px, 350px 350px, 240px 240px, 300px 300px, 270px 270px;
  animation: background-stars 36s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  background: url("assets/space-background.webp") top center / cover no-repeat;
  opacity: 0.13;
  filter: saturate(0.78) contrast(0.88);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.48) 54%, transparent 92%);
}

@keyframes background-stars {
  to {
    background-position: 34px 18px, -26px 40px, 31px -28px, -22px 14px, 28px 36px, -36px -20px, 16px -34px, -18px 30px;
  }
}

::selection {
  color: #031517;
  background: #a8f0e9;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-space {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 8% 18%, rgba(29, 184, 180, 0.09), transparent 31%),
    radial-gradient(ellipse at 88% 42%, rgba(38, 119, 151, 0.11), transparent 30%);
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.16;
}

.ambient-one {
  width: 440px;
  height: 440px;
  top: 100px;
  right: -180px;
  background: #22b9b4;
}

.ambient-two {
  width: 370px;
  height: 370px;
  top: 760px;
  left: -190px;
  background: #246f87;
}

.page-shell {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 10px 16px 10px 13px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(3, 18, 21, 0.8);
  backdrop-filter: blur(22px) saturate(1.08);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 178px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 5px 14px rgba(29, 214, 200, 0.12));
}

.brand-subtitle {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding-left: 13px;
  border-left: 1px solid rgba(137, 224, 217, 0.17);
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  gap: 6px;
}

.main-nav a {
  position: relative;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 680;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  background: rgba(118, 229, 220, 0.07);
  box-shadow: inset 0 0 0 1px rgba(119, 231, 222, 0.08);
  outline: none;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 58px;
  min-height: 430px;
  margin-top: 28px;
  padding: clamp(42px, 6vw, 76px);
  border: 1px solid rgba(128, 224, 217, 0.17);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(118deg, rgba(7, 42, 48, 0.93), rgba(3, 21, 25, 0.94)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    url("assets/space-background.webp") center / cover no-repeat;
  background-size: 54px 54px, 54px 54px, cover;
  opacity: 0.15;
  mask-image: linear-gradient(95deg, black 5%, rgba(0, 0, 0, 0.66) 60%, transparent 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -100px;
  top: -140px;
  border-radius: 50%;
  background: rgba(39, 198, 190, 0.12);
  filter: blur(12px);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 0.71rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.eyebrow > span {
  width: 24px;
  height: 1px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(2.8rem, 6vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.24);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 3.2vw, 2.85rem);
  letter-spacing: -0.045em;
}

.hero-text {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.hero-action {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 30px;
  padding: 12px 16px;
  border: 1px solid rgba(222, 255, 252, 0.42);
  border-radius: 13px;
  color: #031718;
  background: linear-gradient(145deg, #ddfffc, #78ded5);
  box-shadow: 0 12px 28px rgba(29, 153, 147, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 830;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-action:hover,
.hero-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31, 166, 158, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  filter: brightness(1.04);
  outline: none;
}

.hero-action svg {
  width: 17px;
  height: 17px;
}

.hero-visual {
  position: relative;
  z-index: 2;
  width: 310px;
  height: 310px;
  justify-self: center;
  user-select: none;
}

.visual-ring,
.visual-core,
.orbit-planet {
  position: absolute;
  border-radius: 50%;
}

.visual-ring {
  inset: 0;
  border: 1px solid rgba(157, 234, 228, 0.18);
  box-shadow: inset 0 0 34px rgba(35, 192, 184, 0.035);
  transition: opacity 420ms ease, filter 420ms ease;
  will-change: transform;
}

.ring-one {
  animation: slow-spin 20s linear infinite;
}

.ring-two {
  inset: 43px;
  border-color: rgba(143, 224, 218, 0.15);
  border-style: dashed;
  animation: reverse-spin 15s linear infinite;
}

.orbit-planet {
  width: 11px;
  height: 11px;
  transition: opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

.planet-yellow {
  top: -6px;
  left: calc(50% - 6px);
  background: #ffd76d;
  box-shadow: 0 0 8px rgba(255, 215, 109, 0.95), 0 0 20px rgba(255, 193, 58, 0.44);
}

.planet-purple {
  right: 7px;
  bottom: 57px;
  width: 9px;
  height: 9px;
  background: #c191ff;
  box-shadow: 0 0 8px rgba(193, 145, 255, 0.92), 0 0 18px rgba(138, 80, 227, 0.42);
}

.planet-orange {
  top: 19px;
  right: 27px;
  width: 10px;
  height: 10px;
  background: #ff9d5d;
  box-shadow: 0 0 8px rgba(255, 157, 93, 0.95), 0 0 18px rgba(255, 112, 42, 0.42);
}

.planet-blue {
  left: 13px;
  bottom: 31px;
  width: 8px;
  height: 8px;
  background: #65d7ff;
  box-shadow: 0 0 8px rgba(101, 215, 255, 0.96), 0 0 18px rgba(44, 164, 218, 0.46);
}

.visual-core {
  inset: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border: 1px solid rgba(171, 243, 237, 0.26);
  background:
    radial-gradient(circle at 35% 22%, rgba(111, 239, 229, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(8, 43, 48, 0.98), rgba(2, 20, 24, 0.98));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.44),
    0 0 38px rgba(42, 201, 192, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.visual-emblem {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 5px 18px rgba(70, 227, 215, 0.22));
}

.orbit-toggle {
  position: absolute;
  bottom: 17px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 6px 4px 9px;
  border: 1px solid rgba(55, 175, 116, 0.22);
  border-radius: 999px;
  color: #78ecc0;
  background: rgba(1, 22, 23, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 5px 15px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  font: inherit;
  transition: transform 180ms ease, background 260ms ease, color 260ms ease, border-color 260ms ease;
}

.orbit-toggle:hover,
.orbit-toggle:focus-visible {
  transform: translateY(-1px);
  background: rgba(6, 40, 38, 0.88);
  outline: none;
}

.orbit-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(73, 216, 207, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.toggle-state {
  min-width: 23px;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-align: center;
}

.toggle-track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #49d492, #20aa70);
  box-shadow: inset 0 2px 4px rgba(16, 83, 52, 0.25), 0 0 12px rgba(51, 173, 105, 0.19);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.toggle-knob {
  position: absolute;
  width: 14px;
  height: 14px;
  top: 2px;
  right: 2px;
  border-radius: 50%;
  background: #f9fffb;
  box-shadow: 0 2px 6px rgba(6, 44, 28, 0.28);
  transition: transform 300ms cubic-bezier(0.22, 0.72, 0.24, 1);
}

.hero-visual.is-off .visual-ring {
  animation-play-state: paused;
  opacity: 0.24;
  filter: saturate(0.2) brightness(0.62);
}

.hero-visual.is-off .orbit-planet {
  opacity: 0.28;
  filter: saturate(0.08);
  box-shadow: none;
}

.hero-visual.is-off .visual-emblem {
  filter: saturate(0.15) brightness(0.58);
  opacity: 0.55;
}

.hero-visual.is-off .orbit-toggle {
  color: #6f8787;
  border-color: rgba(100, 126, 126, 0.16);
}

.hero-visual.is-off .toggle-track {
  background: linear-gradient(180deg, #8e9c9c, #667777);
  box-shadow: inset 0 2px 4px rgba(34, 46, 54, 0.22);
}

.hero-visual.is-off .toggle-knob {
  transform: translateX(-16px);
}

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

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

.directory {
  padding: 96px 0 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 30px;
}

.section-note {
  max-width: 520px;
  margin-bottom: 4px;
  color: var(--text-soft);
  text-align: right;
}

.site-grid {
  display: grid;
  gap: 19px;
}

.site-card {
  --nebula-primary: 54 216 205;
  --nebula-secondary: 102 180 255;
  --nebula-highlight: 233 255 252;
  --nebula-shadow: 3 45 50;
  position: relative;
  display: grid;
  grid-template-columns: minmax(290px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(8, 34, 39, 0.96), rgba(3, 20, 24, 0.98));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgb(var(--nebula-secondary) / 0.1), transparent 42%),
    linear-gradient(90deg, rgb(var(--nebula-shadow) / 0.08), transparent 34%);
  transition: opacity 300ms ease;
  pointer-events: none;
}

.site-card:hover,
.site-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgb(var(--nebula-secondary) / 0.34);
  background: linear-gradient(145deg, rgba(8, 37, 42, 0.97), rgba(3, 21, 25, 0.99));
  box-shadow:
    0 30px 68px rgba(0, 0, 0, 0.34),
    0 0 38px rgb(var(--nebula-primary) / 0.085),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  outline: none;
}

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

.card-nebula {
  position: absolute;
  z-index: 1;
  top: -15%;
  bottom: -15%;
  left: -4%;
  width: 34%;
  opacity: 0;
  transform: translateX(-18%) scale(0.88);
  transform-origin: left center;
  pointer-events: none;
  filter: saturate(1.12) contrast(1.04);
  mask-image: linear-gradient(90deg, #000 0%, #000 62%, rgba(0, 0, 0, 0.72) 76%, transparent 100%);
  transition: opacity 460ms ease, transform 720ms cubic-bezier(0.18, 0.72, 0.2, 1), filter 460ms ease;
}

.card-nebula::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 8% 52%, rgb(var(--nebula-highlight) / 0.34) 0%, transparent 13%),
    radial-gradient(ellipse at 12% 45%, rgb(var(--nebula-primary) / 0.68) 0%, rgb(var(--nebula-primary) / 0.24) 24%, transparent 51%),
    radial-gradient(ellipse at 36% 58%, rgb(var(--nebula-secondary) / 0.5) 0%, rgb(var(--nebula-secondary) / 0.13) 29%, transparent 58%),
    radial-gradient(ellipse at 18% 20%, rgb(var(--nebula-highlight) / 0.24) 0%, transparent 34%),
    radial-gradient(ellipse at 48% 78%, rgb(var(--nebula-primary) / 0.26) 0%, transparent 46%),
    linear-gradient(90deg, rgb(var(--nebula-shadow) / 0.44), transparent 88%);
  filter: blur(5px);
  animation: nebula-breathe 5.2s ease-in-out infinite alternate;
}

.card-nebula::after {
  content: "";
  position: absolute;
  inset: 6% 4% 4% 0;
  background-image:
    radial-gradient(circle at 8% 16%, rgb(var(--nebula-highlight) / 0.96) 0 1px, transparent 1.8px),
    radial-gradient(circle at 14% 72%, rgb(var(--nebula-highlight) / 0.82) 0 0.9px, transparent 1.6px),
    radial-gradient(circle at 19% 39%, rgb(var(--nebula-highlight) / 0.92) 0 1.25px, transparent 2px),
    radial-gradient(circle at 25% 84%, rgb(var(--nebula-secondary) / 0.88) 0 1px, transparent 1.8px),
    radial-gradient(circle at 31% 24%, rgb(var(--nebula-highlight) / 0.74) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 38% 64%, rgb(var(--nebula-highlight) / 0.92) 0 1.2px, transparent 2px),
    radial-gradient(circle at 44% 43%, rgb(var(--nebula-primary) / 0.88) 0 1px, transparent 1.8px),
    radial-gradient(circle at 52% 17%, rgb(var(--nebula-highlight) / 0.78) 0 0.9px, transparent 1.6px),
    radial-gradient(circle at 57% 79%, rgb(var(--nebula-secondary) / 0.86) 0 1.05px, transparent 1.8px),
    radial-gradient(circle at 65% 50%, rgb(var(--nebula-highlight) / 0.78) 0 0.8px, transparent 1.5px),
    radial-gradient(circle at 73% 28%, rgb(var(--nebula-highlight) / 0.86) 0 0.95px, transparent 1.7px),
    radial-gradient(circle at 80% 70%, rgb(var(--nebula-primary) / 0.76) 0 0.9px, transparent 1.6px),
    radial-gradient(circle at 88% 44%, rgb(var(--nebula-highlight) / 0.7) 0 0.75px, transparent 1.4px);
  filter: drop-shadow(0 0 4px rgb(var(--nebula-highlight) / 0.38));
  animation: star-drift 4.8s ease-in-out infinite alternate;
}

.site-card:hover .card-nebula,
.site-card:focus-visible .card-nebula {
  opacity: 0.88;
  transform: translateX(0) scale(1.04);
  filter: saturate(1.18) contrast(1.06);
}

@keyframes nebula-breathe {
  from {
    transform: translate3d(-2%, 1%, 0) scale(0.98);
    opacity: 0.82;
  }
  to {
    transform: translate3d(4%, -2%, 0) scale(1.05);
    opacity: 1;
  }
}

@keyframes star-drift {
  from { transform: translate3d(-4px, 3px, 0); }
  to { transform: translate3d(12px, -5px, 0); }
}

.card-border-animation {
  position: absolute;
  z-index: 6;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.border-beam {
  fill: none;
  stroke: #c5fbf6;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-dasharray: 150 1400;
  stroke-dashoffset: 0;
  opacity: 0;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 4px rgba(175, 255, 248, 0.94)) drop-shadow(0 0 11px rgba(75, 216, 205, 0.5));
}

.beam-meeting-glow {
  fill: #defffc;
  opacity: 0;
  transform-origin: 500px 239px;
  filter: drop-shadow(0 0 5px rgba(188, 255, 250, 0.95)) drop-shadow(0 0 12px rgba(64, 204, 194, 0.55));
}

.site-card:hover .card-border-animation,
.site-card:focus-visible .card-border-animation {
  opacity: 0.96;
}

.site-card:hover .border-beam,
.site-card:focus-visible .border-beam {
  animation: border-beam-travel 2.25s cubic-bezier(0.2, 0.68, 0.25, 1) forwards;
}

.site-card:hover .beam-meeting-glow,
.site-card:focus-visible .beam-meeting-glow {
  animation: beam-meet 2.25s ease forwards;
}

@keyframes border-beam-travel {
  0% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: var(--beam-end, -1050);
    opacity: 0.96;
  }
}

@keyframes beam-meet {
  0%,
  90% {
    opacity: 0;
    transform: scale(0.65);
  }
  100% {
    opacity: 0.94;
    transform: scale(1);
  }
}

.site-card-main,
.site-card-info {
  position: relative;
  z-index: 3;
}

.site-card-main {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  padding: 29px;
}

.site-identity {
  display: flex;
  align-items: center;
  gap: 17px;
}

.site-logo-wrap {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(183, 235, 230, 0.23);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 12px 28px rgba(0, 0, 0, 0.19);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-card:hover .site-logo-wrap,
.site-card:focus-visible .site-logo-wrap {
  transform: translateY(-1px);
  border-color: rgb(var(--nebula-secondary) / 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.065),
    0 12px 32px rgba(0, 0, 0, 0.22),
    0 0 22px rgb(var(--nebula-primary) / 0.12);
}

.site-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-name {
  margin: 0 0 4px;
  font-size: 1.48rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 13px rgba(0, 0, 0, 0.38);
}

.site-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(142, 226, 191, 0.23);
  border-radius: 999px;
  color: var(--success);
  background: rgba(44, 117, 91, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 760;
}

.visit-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 15px;
  border: 1px solid rgba(221, 255, 252, 0.38);
  border-radius: 12px;
  color: #031819;
  background: linear-gradient(145deg, #dcfffb, #76d9d1);
  box-shadow: 0 10px 24px rgba(32, 141, 135, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  text-decoration: none;
  pointer-events: none;
  font-size: 0.87rem;
  font-weight: 830;
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.visit-link::before {
  content: "";
  position: absolute;
  top: -80%;
  left: -45%;
  width: 28%;
  height: 260%;
  background: rgba(255, 255, 255, 0.58);
  transform: rotate(22deg);
  transition: left 520ms ease;
}

.site-card:hover .visit-link,
.site-card:focus-visible .visit-link {
  transform: translateY(-2px);
  filter: brightness(1.045);
  box-shadow: 0 14px 30px rgba(31, 151, 144, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.site-card:hover .visit-link::before,
.site-card:focus-visible .visit-link::before {
  left: 122%;
}

.visit-link svg {
  width: 16px;
  height: 16px;
}

.site-card-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-left: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.016);
}

.info-box {
  min-height: 184px;
  padding: 22px;
  border: 1px solid rgba(148, 205, 204, 0.13);
  border-radius: 16px;
  background: rgba(2, 16, 19, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.site-card:hover .info-box,
.site-card:focus-visible .info-box {
  transform: translateY(-1px);
  border-color: rgba(144, 225, 218, 0.2);
  background: rgba(2, 18, 21, 0.54);
}

.info-box-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}

.info-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid rgba(121, 224, 215, 0.24);
  border-radius: 6px;
  background: rgba(61, 185, 175, 0.08);
}

.info-icon-payment::before {
  content: "";
  position: absolute;
  inset: 5px 3px;
  border: 1px solid #76ddd4;
  border-radius: 2px;
}

.info-icon-payment::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 2px;
  right: 5px;
  bottom: 6px;
  border-radius: 2px;
  background: #76ddd4;
}

.info-icon-star::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  background: #76ddd4;
  clip-path: polygon(50% 0%, 62% 35%, 100% 38%, 70% 60%, 80% 100%, 50% 77%, 20% 100%, 30% 60%, 0% 38%, 38% 35%);
}

.info-box-label {
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 820;
  letter-spacing: 0.11em;
}

.info-box p {
  margin-bottom: 0;
  color: #dcebea;
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 31px 2px 40px;
  color: var(--text-faint);
  font-size: 0.81rem;
}

.site-footer p {
  margin: 0;
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-soft);
  text-align: center;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-visual {
    display: none;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .section-note {
    max-width: none;
    text-align: left;
  }

  .site-card {
    grid-template-columns: 1fr;
  }

  .site-card-info {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .card-nebula {
    width: 42%;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    top: 8px;
    padding: 9px 10px;
  }

  .brand-logo {
    width: 142px;
    height: 38px;
  }

  .brand-subtitle {
    display: none;
  }

  .main-nav a {
    padding-inline: 8px;
    font-size: 0.8rem;
  }

  .hero {
    margin-top: 18px;
    padding: 36px 24px;
    border-radius: 23px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .directory {
    padding-top: 72px;
  }

  .site-card-main {
    min-height: 0;
    padding: 23px;
  }

  .site-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-badge,
  .visit-link {
    justify-content: center;
  }

  .site-card-info {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .info-box {
    min-height: 0;
    padding: 19px;
  }

  .card-nebula {
    width: 64%;
    opacity: 0.26;
    transform: translateX(-8%) scale(1);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.76) 58%, transparent 100%);
  }

  .site-card:hover .card-nebula,
  .site-card:focus-visible .card-nebula {
    opacity: 0.62;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 29px;
  }
}

@media (hover: none) {
  .site-card:active {
    transform: translateY(-2px);
    border-color: rgb(var(--nebula-secondary) / 0.28);
  }
}

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

/* V5 — banner, başlık, site isimleri, ödeme cüzdanı ve SSS güncellemeleri */
.site-header {
  transform-origin: top center;
  will-change: opacity, transform, filter;
  transition:
    opacity 360ms ease,
    transform 440ms cubic-bezier(0.2, 0.76, 0.24, 1),
    filter 360ms ease,
    visibility 360ms ease;
}

.site-header.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-28px) scale(0.975);
  filter: blur(7px);
  pointer-events: none;
}

#page-title {
  color: transparent;
  background:
    linear-gradient(102deg, #ffffff 0%, #e7fffc 34%, #a9f2eb 61%, #61d4cb 82%, #e9fffd 100%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 840;
  letter-spacing: -0.047em;
  text-shadow: 0 16px 46px rgba(9, 181, 171, 0.12);
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.24));
}

.site-title-wrap {
  position: relative;
  min-width: 0;
  padding-bottom: 9px;
}

.site-title-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(var(--nebula-secondary) / 0.92), rgb(var(--nebula-primary) / 0.24), transparent);
  box-shadow: 0 0 12px rgb(var(--nebula-primary) / 0.24);
  transform-origin: left center;
  transition: width 360ms ease, opacity 260ms ease, box-shadow 260ms ease;
}

.site-name {
  display: inline-block;
  margin: 0 0 5px;
  color: transparent;
  background:
    linear-gradient(
      102deg,
      #f9fffe 0%,
      #e7f8f7 34%,
      rgb(var(--nebula-highlight) / 0.96) 58%,
      rgb(var(--nebula-secondary) / 0.92) 100%
    );
  background-size: 190% auto;
  -webkit-background-clip: text;
  background-clip: text;
  font-family: "Segoe UI Variable Display", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.52rem, 2.25vw, 1.78rem);
  font-weight: 790;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 260ms ease, background-position 520ms ease, filter 260ms ease;
}

.site-card:hover .site-name,
.site-card:focus-visible .site-name {
  background-position: 100% center;
  transform: translateY(-1px);
  filter: drop-shadow(0 0 9px rgb(var(--nebula-secondary) / 0.18));
}

.site-card:hover .site-title-wrap::after,
.site-card:focus-visible .site-title-wrap::after {
  width: 86px;
  box-shadow: 0 0 15px rgb(var(--nebula-primary) / 0.36);
}

.info-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.info-box-heading,
.info-box > p {
  position: relative;
  z-index: 2;
}

.info-box-payment {
  transition:
    border-color 240ms ease,
    background 240ms ease,
    transform 240ms ease,
    box-shadow 240ms ease;
}

.directory,
.faq-section {
  scroll-margin-top: 108px;
}

.faq-section {
  position: relative;
  margin: 32px 0 0;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 4%, rgba(46, 183, 176, 0.09), transparent 26%),
    linear-gradient(145deg, rgba(4, 28, 32, 0.9), rgba(2, 17, 20, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028), 0 26px 62px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 8% 24%, rgba(221, 255, 252, 0.8) 0 0.7px, transparent 1.35px),
    radial-gradient(circle at 24% 78%, rgba(116, 226, 218, 0.72) 0 0.75px, transparent 1.35px),
    radial-gradient(circle at 58% 18%, rgba(224, 255, 252, 0.78) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 84% 68%, rgba(99, 216, 208, 0.7) 0 0.75px, transparent 1.4px);
  background-size: 190px 190px, 260px 260px, 230px 230px, 280px 280px;
}

.faq-heading,
.faq-list {
  position: relative;
  z-index: 1;
}

.faq-heading {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: end;
  gap: 50px;
  margin-bottom: 28px;
}

.faq-heading > p {
  max-width: 620px;
  margin: 0 0 5px;
  color: var(--text-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 215, 210, 0.14);
  border-radius: 16px;
  background: rgba(2, 16, 19, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #74ddd4 24%, #a4f1ea 70%, transparent);
  opacity: 0;
  transform: scaleY(0.35);
  transition: opacity 260ms ease, transform 360ms ease;
}

.faq-item:hover {
  transform: translateY(-1px);
  border-color: rgba(135, 225, 218, 0.22);
  background: rgba(3, 20, 23, 0.68);
}

.faq-item.is-open {
  border-color: rgba(126, 229, 220, 0.3);
  background: rgba(3, 23, 27, 0.79);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.026), 0 14px 34px rgba(0, 0, 0, 0.17);
}

.faq-item.is-open::before {
  opacity: 1;
  transform: scaleY(1);
}

.faq-question {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 22px 19px 24px;
  border: 0;
  color: #ecf8f7;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: -0.012em;
  text-align: left;
  cursor: pointer;
}

.faq-question:focus-visible {
  outline: 2px solid rgba(126, 229, 220, 0.65);
  outline-offset: -3px;
}

.faq-toggle {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(130, 225, 217, 0.2);
  border-radius: 11px;
  background: rgba(94, 211, 202, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 300ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  border-radius: 999px;
  background: #8ce6de;
  box-shadow: 0 0 8px rgba(91, 218, 208, 0.22);
  transition: transform 300ms ease, opacity 240ms ease;
}

.faq-toggle::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-toggle {
  transform: rotate(180deg);
  border-color: rgba(135, 232, 224, 0.38);
  background: rgba(94, 211, 202, 0.1);
  box-shadow: 0 0 18px rgba(77, 198, 189, 0.08);
}

.faq-item.is-open .faq-toggle::after {
  opacity: 0;
  transform: rotate(90deg) scaleX(0.2);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-4px);
  transition:
    grid-template-rows 410ms cubic-bezier(0.2, 0.72, 0.22, 1),
    opacity 250ms ease,
    transform 360ms ease;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0;
  padding: 18px 68px 23px 24px;
  border-top: 1px solid rgba(128, 213, 207, 0.11);
  color: #acc8c7;
  background:
    linear-gradient(90deg, rgba(74, 195, 186, 0.035), transparent 58%);
  font-size: 0.94rem;
  line-height: 1.72;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .faq-heading {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
  }

  .faq-heading > p {
    max-width: none;
  }
}

@media (max-width: 640px) {
  #page-title {
    letter-spacing: -0.038em;
  }

  .site-name {
    font-size: 1.52rem;
  }


  .faq-section {
    margin-top: 18px;
    padding: 26px 16px;
    border-radius: 20px;
  }

  .faq-heading {
    margin-bottom: 21px;
  }

  .faq-question {
    min-height: 64px;
    padding: 17px 15px 17px 17px;
    gap: 14px;
    font-size: 0.94rem;
  }

  .faq-toggle {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .faq-answer-inner p {
    padding: 16px 17px 20px;
    font-size: 0.9rem;
  }
}

/* V6 — puan sistemi, özellik listeleri ve sadeleştirilmiş kart kimliği */
.site-title-wrap {
  padding-bottom: 12px;
}

.site-name {
  margin-bottom: 0;
}

.info-box-star {
  display: flex;
  min-height: 206px;
  flex-direction: column;
}

.site-rating {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -2px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 208, 92, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(83, 61, 13, 0.18), rgba(38, 28, 7, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 248, 206, 0.025);
}

.rating-stars {
  --rating-width: 0%;
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  font-family: Arial, sans-serif;
  font-size: 1.04rem;
  line-height: 1;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.rating-stars-empty {
  color: rgba(255, 211, 102, 0.18);
}

.rating-stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--rating-width);
  overflow: hidden;
  color: #ffd86f;
  text-shadow:
    0 0 7px rgba(255, 205, 78, 0.28),
    0 2px 5px rgba(0, 0, 0, 0.26);
  white-space: nowrap;
}

.rating-number {
  color: #ffe7a0;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.feature-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dcebea;
  font-size: 0.91rem;
  line-height: 1.5;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: linear-gradient(145deg, #f7d36f, #db9f34);
  box-shadow: 0 0 8px rgba(238, 188, 70, 0.2);
  transform: rotate(45deg);
}

.site-card:hover .site-rating,
.site-card:focus-visible .site-rating {
  border-color: rgba(255, 216, 114, 0.25);
  background: linear-gradient(145deg, rgba(89, 65, 14, 0.22), rgba(41, 30, 7, 0.1));
}

@media (max-width: 640px) {
  .info-box-star {
    min-height: 0;
  }

  .site-rating {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

/* V7 — okunabilir kart başlıkları, ödeme listeleri, para işareti ve kusursuz yörünge hizası */
#page-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 22px);
  max-width: none;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.page-title-text {
  display: inline-block;
}

.title-money-mark {
  position: relative;
  display: inline-grid;
  width: clamp(52px, 6vw, 72px);
  height: clamp(52px, 6vw, 72px);
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(166, 244, 231, 0.28);
  border-radius: 50%;
  color: #9cebdd;
  background:
    radial-gradient(circle at 34% 28%, rgba(235, 255, 250, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(20, 94, 87, 0.78), rgba(4, 35, 39, 0.94));
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28),
    0 0 28px rgba(79, 218, 199, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: drop-shadow(0 7px 20px rgba(21, 132, 119, 0.16));
}

.title-money-mark::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(173, 244, 234, 0.11);
  border-radius: inherit;
}

.title-money-mark svg {
  width: 68%;
  height: 68%;
  overflow: visible;
}

.title-money-mark circle,
.title-money-mark path {
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading {
  justify-content: flex-start;
}

.site-name {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow:
    0 7px 26px rgba(0, 0, 0, 0.38),
    0 0 18px rgb(var(--nebula-primary) / 0.08);
}

.site-title-wrap::after {
  width: 78px;
  height: 3px;
}

.site-card:hover .site-title-wrap::after,
.site-card:focus-visible .site-title-wrap::after {
  width: 116px;
}

.info-box-heading {
  gap: 11px;
  margin-bottom: 17px;
}

.info-icon {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
  border-radius: 7px;
}

.info-icon-payment::before {
  inset: 6px 4px;
}

.info-icon-payment::after {
  right: 6px;
  bottom: 7px;
}

.info-icon-star::before {
  width: 10px;
  height: 10px;
  top: 5px;
  left: 5px;
}

.info-box-label {
  color: #91ece2;
  font-size: clamp(0.86rem, 1.15vw, 1rem);
  font-weight: 850;
  letter-spacing: 0.085em;
  line-height: 1.2;
  text-shadow: 0 0 14px rgba(100, 225, 214, 0.1);
}

.payment-list,
.feature-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #e0efee;
  font-size: 0.95rem;
  line-height: 1.5;
}

.payment-list li,
.feature-list li {
  position: relative;
  padding-left: 20px;
}

.payment-list li::before {
  content: "";
  position: absolute;
  top: 0.54em;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #8cf0b8, #37bd78);
  box-shadow:
    0 0 8px rgba(78, 221, 139, 0.3),
    0 0 16px rgba(48, 172, 105, 0.12);
}

/* Her renkli nokta, merkez noktası tam yörünge çizgisinde kalacak şekilde bir kol üzerinde konumlanır. */
.orbit-planet {
  inset: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  transform: rotate(var(--planet-angle, 0deg));
}

.orbit-planet::before {
  content: "";
  position: absolute;
  top: calc(var(--planet-size, 10px) / -2);
  left: calc(50% - (var(--planet-size, 10px) / 2));
  width: var(--planet-size, 10px);
  height: var(--planet-size, 10px);
  border-radius: 50%;
  background: var(--planet-color);
  box-shadow: var(--planet-glow);
  transition: opacity 420ms ease, filter 420ms ease, box-shadow 420ms ease;
}

.planet-yellow {
  --planet-angle: 246deg;
  --planet-size: 11px;
  --planet-color: #ffd76d;
  --planet-glow: 0 0 8px rgba(255, 215, 109, 0.95), 0 0 20px rgba(255, 193, 58, 0.44);
}

.planet-purple {
  --planet-angle: 16deg;
  --planet-size: 9px;
  --planet-color: #c191ff;
  --planet-glow: 0 0 8px rgba(193, 145, 255, 0.92), 0 0 18px rgba(138, 80, 227, 0.42);
}

.planet-orange {
  --planet-angle: 308deg;
  --planet-size: 10px;
  --planet-color: #ff9d5d;
  --planet-glow: 0 0 8px rgba(255, 157, 93, 0.95), 0 0 18px rgba(255, 112, 42, 0.42);
}

.planet-blue {
  --planet-angle: 141deg;
  --planet-size: 8px;
  --planet-color: #65d7ff;
  --planet-glow: 0 0 8px rgba(101, 215, 255, 0.96), 0 0 18px rgba(44, 164, 218, 0.46);
}

.hero-visual.is-off .orbit-planet::before {
  opacity: 0.24;
  filter: grayscale(0.8) saturate(0.25);
  box-shadow: none;
}

@media (max-width: 640px) {
  #page-title {
    gap: 12px;
    letter-spacing: -0.018em;
  }

  .title-money-mark {
    width: 48px;
    height: 48px;
  }

  .site-name {
    font-size: clamp(1.78rem, 9vw, 2.1rem);
  }

  .info-box-label {
    font-size: 0.82rem;
  }

  .payment-list,
  .feature-list {
    font-size: 0.92rem;
  }
}

/* V8 — tek satır başlık, dekoratif dolar banknotları ve güncellenmiş SSS */
.hero-banknotes {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-banknote {
  position: absolute;
  display: block;
  width: clamp(155px, 18vw, 245px);
  height: auto;
  opacity: 0.075;
  filter: saturate(0.7) hue-rotate(10deg) blur(0.2px) drop-shadow(0 10px 24px rgba(0, 0, 0, 0.18));
  mix-blend-mode: screen;
  user-select: none;
}

.hero-banknote.note-one {
  left: 8%;
  top: 15%;
  transform: rotate(-15deg);
}

.hero-banknote.note-two {
  left: 35%;
  bottom: 4%;
  width: clamp(135px, 15vw, 210px);
  transform: rotate(11deg);
  opacity: 0.055;
}

.hero-banknote.note-three {
  right: 25%;
  top: 1%;
  width: clamp(130px, 14vw, 200px);
  transform: rotate(19deg);
  opacity: 0.052;
}

.hero-banknote.note-four {
  right: 2%;
  bottom: 2%;
  width: clamp(145px, 16vw, 220px);
  transform: rotate(-9deg);
  opacity: 0.046;
}

#page-title {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: clamp(1.72rem, 7.1vw, 5.15rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-title-text {
  display: block;
  white-space: nowrap;
}

.title-money-mark {
  display: none !important;
}

@media (max-width: 940px) {
  .hero-banknote.note-three {
    right: 5%;
  }

  #page-title {
    font-size: clamp(2.15rem, 9vw, 4.75rem);
  }
}

@media (max-width: 640px) {
  #page-title {
    width: 100%;
    font-size: clamp(1.72rem, 8.5vw, 3.05rem);
    letter-spacing: -0.045em;
  }

  .hero-banknote {
    width: 160px;
    opacity: 0.055;
  }

  .hero-banknote.note-one {
    left: -26px;
    top: 17%;
  }

  .hero-banknote.note-two {
    left: 42%;
    bottom: 27%;
    width: 135px;
  }

  .hero-banknote.note-three {
    right: -42px;
    top: 2%;
    width: 145px;
  }

  .hero-banknote.note-four {
    right: -26px;
    bottom: 1%;
    width: 140px;
  }
}


/* V9 — başlık ölçüsü, gerçekçi dolar banknotları ve EarnBitMoon sarı uzay teması */
#page-title {
  width: min(100%, 720px);
  max-width: 720px;
  font-size: clamp(2.85rem, 5.35vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
}

.page-title-text {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.hero-banknote {
  opacity: 0.115;
  filter: saturate(0.72) brightness(0.78) contrast(0.95) drop-shadow(0 13px 25px rgba(0, 0, 0, 0.22));
  mix-blend-mode: normal;
}

.hero-banknote.note-one {
  left: 4.5%;
  top: 10%;
  width: clamp(150px, 17vw, 230px);
  transform: rotate(-13deg);
  opacity: 0.105;
}

.hero-banknote.note-two {
  left: 34%;
  bottom: -7%;
  width: clamp(145px, 16vw, 220px);
  transform: rotate(10deg);
  opacity: 0.085;
}

.hero-banknote.note-three {
  right: 23%;
  top: -8%;
  width: clamp(135px, 14vw, 195px);
  transform: rotate(18deg);
  opacity: 0.075;
}

.hero-banknote.note-four {
  right: -1%;
  bottom: -9%;
  width: clamp(150px, 17vw, 235px);
  transform: rotate(-8deg);
  opacity: 0.085;
}

@media (max-width: 940px) {
  #page-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.3rem, 8.2vw, 4.1rem);
  }
}

@media (max-width: 640px) {
  #page-title {
    font-size: clamp(1.9rem, 8.1vw, 2.85rem);
    letter-spacing: -0.035em;
  }

  .hero-banknote {
    opacity: 0.07;
  }

  .hero-banknote.note-one {
    left: -38px;
    top: 13%;
    width: 155px;
  }

  .hero-banknote.note-two {
    left: 42%;
    bottom: 24%;
    width: 130px;
  }

  .hero-banknote.note-three {
    right: -46px;
    top: 0;
    width: 140px;
  }

  .hero-banknote.note-four {
    right: -35px;
    bottom: -2%;
    width: 145px;
  }
}


/* V11 — yeni platformlar ve başlık taşma düzeltmesi */
.site-identity {
  min-width: 0;
}

.site-title-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.site-logo {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  object-fit: contain;
}

.site-name {
  overflow: visible;
  white-space: nowrap;
  font-family: "Segoe UI", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.78rem, 2.45vw, 2.08rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  padding-right: 4px;
  padding-bottom: 3px;
}

@media (max-width: 900px) {
  .site-name {
    font-size: clamp(1.48rem, 5.2vw, 1.84rem);
    line-height: 1.12;
  }
}


/* V12 — logo çerçeveleri, footer sadeleştirme, kart sıkılaştırma, ödeme yöntemi ikonları */
.brand-subtitle {
  font-size: 0.9rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  opacity: 0.92;
}

.site-footer {
  justify-content: center;
  text-align: center;
  padding: 31px 2px 40px;
}

.site-footer p:last-child:empty {
  display: none;
}

.site-card-main {
  min-height: 188px;
  gap: 22px;
  padding: 24px 29px;
}

.site-card-info {
  gap: 12px;
  padding: 14px 18px;
}

.site-logo-wrap {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 18px;
}

.site-logo {
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 15px;
  object-fit: cover;
}

.info-box {
  min-height: 156px;
  padding: 18px 20px;
}

.info-box-star {
  position: relative;
  min-height: 156px;
}

.info-box-star .info-box-heading {
  margin-bottom: 10px;
  padding-right: 124px;
}

.site-rating {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 11px;
}

.rating-stars {
  font-size: 0.88rem;
}

.rating-number {
  font-size: 0.73rem;
}

.feature-list {
  gap: 8px;
  font-size: 0.89rem;
  line-height: 1.42;
}

.payment-list {
  gap: 9px;
}

.payment-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-right: 2px;
}

.payment-method-text {
  min-width: 0;
}

.payment-method-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  align-items: center;
  justify-content: center;
  color: rgba(205, 237, 233, 0.84);
  opacity: 0.88;
}

.payment-method-icon svg {
  width: 18px;
  height: 18px;
  overflow: visible;
}

@media (max-width: 640px) {
  .brand-subtitle {
    display: none;
  }

  .site-card-main {
    min-height: 0;
    padding: 22px 23px;
    gap: 18px;
  }

  .site-card-info {
    padding: 12px 14px;
  }

  .info-box,
  .info-box-star {
    min-height: 0;
    padding: 17px 17px;
  }

  .info-box-star .info-box-heading {
    padding-right: 112px;
  }

  .site-rating {
    top: 14px;
    right: 14px;
    padding: 6px 8px;
  }

  .rating-stars {
    font-size: 0.82rem;
  }

  .rating-number {
    font-size: 0.69rem;
  }
}


/* V13 — 10 üzerinden puan, sade hover çerçevesi ve eşit logo yerleşimi */
.card-border-animation {
  display: none !important;
}

.site-card:hover,
.site-card:focus-visible {
  border-color: rgb(var(--nebula-primary) / 0.62);
  box-shadow:
    0 28px 62px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgb(var(--nebula-secondary) / 0.18),
    0 0 30px rgb(var(--nebula-primary) / 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.site-logo-wrap {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  padding: 3px;
  border-radius: 18px;
}

.site-logo {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  transform: scale(1.035);
  transform-origin: center;
}

.site-rating {
  min-width: 72px;
  min-height: 32px;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 216, 114, 0.2);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(89, 65, 14, 0.18), rgba(41, 30, 7, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 248, 206, 0.03);
}

.rating-stars,
.rating-stars-empty,
.rating-stars-fill {
  display: none !important;
}

.rating-number {
  color: #ffe7a0;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .site-logo-wrap {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .site-rating {
    min-width: 66px;
    min-height: 30px;
    padding: 5px 8px;
  }

  .rating-number {
    font-size: 0.76rem;
  }
}


/* V14 — başlık bilgi ipuçları */
.title-help-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: fit-content;
  max-width: 100%;
}

.hero-title-help-row {
  align-items: center;
}

.title-help-row #page-title,
.title-help-row #directory-title {
  margin-bottom: 0;
}

.info-tooltip {
  position: relative;
  z-index: 12;
  display: inline-flex;
  flex: 0 0 auto;
  margin-top: 3px;
  border-radius: 50%;
  outline: none;
}

.hero-title-help-row .info-tooltip {
  margin-top: 0;
}

.info-tooltip-mark {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid rgba(130, 232, 223, 0.42);
  border-radius: 50%;
  color: #bff7f1;
  background: rgba(8, 47, 51, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 5px 15px rgba(0, 0, 0, 0.22);
  cursor: help;
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.info-tooltip-box {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  width: min(390px, 42vw);
  padding: 14px 16px;
  border: 1px solid rgba(133, 226, 219, 0.23);
  border-radius: 13px;
  color: #dceeed;
  background: rgba(3, 24, 28, 0.97);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  pointer-events: none;
  opacity: 0;
  transform: translate(7px, -50%) scale(0.975);
  transform-origin: left center;
  visibility: hidden;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
  text-align: left;
  white-space: normal;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.info-tooltip-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 11px;
  height: 11px;
  border-left: 1px solid rgba(133, 226, 219, 0.23);
  border-bottom: 1px solid rgba(133, 226, 219, 0.23);
  background: rgba(3, 24, 28, 0.97);
  transform: translateY(-50%) rotate(45deg);
}

.info-tooltip:hover .info-tooltip-mark,
.info-tooltip:focus .info-tooltip-mark,
.info-tooltip:focus-visible .info-tooltip-mark {
  transform: translateY(-1px);
  border-color: rgba(151, 247, 238, 0.67);
  background: rgba(12, 64, 67, 0.96);
  box-shadow: 0 0 0 3px rgba(91, 222, 211, 0.1), 0 7px 18px rgba(0, 0, 0, 0.26);
}

.info-tooltip:hover .info-tooltip-box,
.info-tooltip:focus .info-tooltip-box,
.info-tooltip:focus-within .info-tooltip-box {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
  visibility: visible;
}

@media (max-width: 940px) {
  .info-tooltip-box {
    width: min(350px, 48vw);
  }
}

@media (max-width: 640px) {
  .title-help-row {
    gap: 8px;
  }

  .info-tooltip-mark {
    width: 21px;
    height: 21px;
    font-size: 0.76rem;
  }

  .info-tooltip-box {
    top: calc(100% + 10px);
    left: auto;
    right: -4px;
    width: min(310px, calc(100vw - 44px));
    transform: translateY(6px) scale(0.98);
    transform-origin: top right;
    font-size: 0.82rem;
  }

  .info-tooltip-box::before {
    top: -6px;
    left: auto;
    right: 9px;
    transform: rotate(135deg);
  }

  .info-tooltip:hover .info-tooltip-box,
  .info-tooltip:focus .info-tooltip-box,
  .info-tooltip:focus-within .info-tooltip-box {
    transform: translateY(0) scale(1);
  }
}


/* V16 — üyelik, giriş ve yasal metin panelleri */
.header-auth-actions,
.header-account {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.header-auth-actions[hidden],
.header-account[hidden] {
  display: none !important;
}

.header-auth-button,
.account-logout {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 11px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.header-login-button,
.account-logout {
  border: 1px solid rgba(131, 225, 217, 0.22);
  color: #c5e4e2;
  background: rgba(18, 62, 66, 0.22);
}

.header-register-button {
  border: 1px solid rgba(217, 255, 251, 0.54);
  color: #031819;
  background: linear-gradient(145deg, #e1fffc, #72ddd4);
  box-shadow: 0 10px 24px rgba(35, 174, 166, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.header-auth-button:hover,
.header-auth-button:focus-visible,
.account-logout:hover,
.account-logout:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.header-login-button:hover,
.account-logout:hover {
  border-color: rgba(151, 244, 236, 0.42);
  background: rgba(28, 87, 89, 0.34);
}

.header-register-button:hover {
  box-shadow: 0 13px 30px rgba(35, 174, 166, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.header-account {
  gap: 7px;
  padding: 5px 6px 5px 12px;
  border: 1px solid rgba(126, 225, 216, 0.18);
  border-radius: 12px;
  background: rgba(6, 39, 43, 0.54);
}

.account-user {
  color: #dff8f5;
  font-size: 0.82rem;
  font-weight: 800;
}

.account-balance {
  padding: 4px 8px;
  border-radius: 8px;
  color: #85e8bd;
  background: rgba(34, 134, 91, 0.15);
  font-size: 0.75rem;
  font-weight: 850;
}

.account-logout {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 0.72rem;
}

.hero {
  padding-bottom: clamp(114px, 11vw, 132px);
}

.hero-signup-banner {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 20px;
  display: flex;
  width: min(650px, calc(100% - 54px));
  min-height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 13px 15px 13px 20px;
  border: 1px solid rgba(139, 232, 224, 0.22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 40%, rgba(64, 211, 200, 0.11), transparent 28%),
    linear-gradient(105deg, rgba(4, 33, 38, 0.94), rgba(4, 23, 28, 0.94));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
}

.hero-signup-copy {
  display: grid;
  gap: 2px;
}

.hero-signup-kicker {
  color: #70d8cf;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.hero-signup-copy strong {
  color: #f1fffd;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  letter-spacing: -0.02em;
}

.hero-signup-button {
  flex: 0 0 auto;
  min-width: 118px;
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid rgba(222, 255, 252, 0.56);
  border-radius: 12px;
  color: #031819;
  background: linear-gradient(145deg, #e0fffc, #72ddd4);
  box-shadow: 0 10px 24px rgba(32, 151, 144, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.84);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-signup-button:hover,
.hero-signup-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 31px rgba(32, 151, 144, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

.modal-layer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 26px 16px;
  background: rgba(0, 7, 10, 0.76);
  backdrop-filter: blur(14px) saturate(0.86);
}

.modal-layer[hidden] {
  display: none !important;
}

.auth-modal-card,
.legal-modal-card {
  position: relative;
  overflow: hidden;
  width: min(610px, 100%);
  max-height: calc(100vh - 52px);
  overflow-y: auto;
  border: 1px solid rgba(125, 226, 217, 0.25);
  border-radius: 24px;
  color: #effcfb;
  background:
    radial-gradient(circle at 13% 4%, rgba(55, 210, 198, 0.13), transparent 27%),
    radial-gradient(circle at 92% 14%, rgba(74, 142, 202, 0.1), transparent 24%),
    linear-gradient(145deg, rgba(6, 34, 39, 0.985), rgba(2, 16, 20, 0.992));
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.auth-modal-card {
  padding: 34px;
}

.modal-space-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(210, 255, 250, 0.72) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 87% 23%, rgba(105, 218, 255, 0.58) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 76% 78%, rgba(144, 104, 255, 0.48) 0 0.7px, transparent 1.3px),
    radial-gradient(circle at 24% 82%, rgba(255, 190, 91, 0.46) 0 0.7px, transparent 1.4px);
  background-size: 120px 120px, 170px 170px, 145px 145px, 190px 190px;
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid rgba(139, 225, 218, 0.18);
  border-radius: 11px;
  color: #a8cac8;
  background: rgba(7, 42, 46, 0.7);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: #effffd;
  border-color: rgba(153, 241, 233, 0.42);
  background: rgba(11, 68, 70, 0.88);
  outline: none;
}

.auth-view,
.auth-modal-heading,
.auth-form {
  position: relative;
  z-index: 2;
}

.auth-view[hidden] {
  display: none !important;
}

.auth-modal-heading {
  margin-bottom: 24px;
  padding-right: 42px;
}

.auth-modal-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(109, 227, 216, 0.21);
  border-radius: 999px;
  color: #77ddd4;
  background: rgba(38, 131, 123, 0.1);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.auth-modal-heading h2,
.legal-modal-heading h2 {
  margin: 0 0 8px;
  color: #f2fffd;
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.auth-modal-heading p,
.legal-modal-heading p {
  margin: 0;
  color: #9dbbbb;
  font-size: 0.91rem;
  line-height: 1.55;
}

.auth-form {
  display: grid;
  gap: 15px;
}

.form-grid-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field > span {
  color: #bcd8d6;
  font-size: 0.76rem;
  font-weight: 780;
}

.form-field input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(134, 205, 202, 0.17);
  border-radius: 12px;
  color: #f0fbfa;
  background: rgba(1, 15, 18, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.form-field input::placeholder {
  color: #587879;
}

.form-field input:focus {
  border-color: rgba(112, 222, 213, 0.52);
  background: rgba(3, 24, 27, 0.78);
  box-shadow: 0 0 0 3px rgba(73, 205, 195, 0.09);
}

.password-rule {
  margin: -5px 0 0;
  color: #6f9797;
  font-size: 0.72rem;
  line-height: 1.45;
}

.policy-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border: 1px solid rgba(128, 203, 199, 0.13);
  border-radius: 12px;
  color: #9ebcbb;
  background: rgba(6, 37, 40, 0.34);
  font-size: 0.77rem;
  line-height: 1.5;
}

.policy-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #63d5ca;
}

.policy-inline-link,
.auth-switch-text button,
.forgot-link {
  padding: 0;
  border: 0;
  color: #88e4dc;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-inline-link:hover,
.policy-inline-link:focus-visible,
.auth-switch-text button:hover,
.auth-switch-text button:focus-visible,
.forgot-link:hover,
.forgot-link:focus-visible {
  color: #d7fffb;
  outline: none;
}

.auth-submit {
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid rgba(221, 255, 252, 0.56);
  border-radius: 12px;
  color: #031819;
  background: linear-gradient(145deg, #e1fffc, #70dcd3);
  box-shadow: 0 12px 28px rgba(31, 155, 147, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 860;
  transition: transform 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.auth-submit:hover:not(:disabled),
.auth-submit:focus-visible:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.04);
  outline: none;
}

.auth-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

.auth-switch-text,
.forgot-row {
  margin: 0;
  color: #789a9a;
  font-size: 0.77rem;
  text-align: center;
}

.forgot-row {
  margin-top: -6px;
  text-align: right;
}

.form-status {
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.77rem;
  line-height: 1.45;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.is-error {
  border: 1px solid rgba(255, 111, 111, 0.22);
  color: #ffb9b9;
  background: rgba(111, 26, 31, 0.2);
}

.form-status.is-success {
  border: 1px solid rgba(91, 221, 160, 0.22);
  color: #a8efca;
  background: rgba(20, 98, 66, 0.2);
}

.legal-modal-layer {
  z-index: 1100;
}

.legal-modal-card {
  width: min(900px, 100%);
  padding: 30px;
}

.legal-modal-heading {
  padding-right: 48px;
}

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(129, 209, 204, 0.13);
}

.legal-tab {
  padding: 9px 12px;
  border: 1px solid rgba(129, 209, 204, 0.14);
  border-radius: 10px;
  color: #94b5b4;
  background: rgba(4, 26, 29, 0.58);
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.legal-tab.is-active {
  color: #e4fffc;
  border-color: rgba(110, 222, 213, 0.35);
  background: rgba(34, 118, 112, 0.2);
}

.legal-content {
  max-height: min(56vh, 580px);
  overflow-y: auto;
  padding: 3px 13px 3px 2px;
  scrollbar-color: #397e7a rgba(5, 28, 31, 0.42);
  scrollbar-width: thin;
}

.legal-panel[hidden] {
  display: none !important;
}

.legal-panel h3 {
  margin: 0 0 14px;
  color: #eafffc;
  font-size: 1.15rem;
}

.legal-panel h4 {
  margin: 20px 0 8px;
  color: #bce7e2;
  font-size: 0.9rem;
}

.legal-panel p,
.legal-panel li {
  color: #a7c3c1;
  font-size: 0.81rem;
  line-height: 1.68;
}

.legal-panel ol,
.legal-panel ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 21px;
}

.legal-panel a {
  color: #7fe0d7;
}

.legal-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(129, 209, 204, 0.13);
}

.legal-modal-footer span {
  color: #668887;
  font-size: 0.7rem;
}

.legal-accept-button {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(216, 255, 251, 0.45);
  border-radius: 11px;
  color: #031819;
  background: linear-gradient(145deg, #dcfffb, #75dcd3);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 850;
}

@media (max-width: 930px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-auth-actions,
  .header-account {
    order: 3;
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    padding-top: 4px;
    border-top: 1px solid rgba(128, 210, 204, 0.08);
  }

  .main-nav {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .header-auth-actions,
  .header-account {
    justify-content: stretch;
  }

  .header-auth-button {
    flex: 1 1 0;
  }

  .header-account {
    justify-content: space-between;
  }

  .hero {
    padding-bottom: 154px;
  }

  .hero-signup-banner {
    bottom: 15px;
    width: calc(100% - 30px);
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
  }

  .hero-signup-button {
    width: 100%;
  }

  .auth-modal-card,
  .legal-modal-card {
    max-height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .auth-modal-card {
    padding: 26px 18px 22px;
  }

  .legal-modal-card {
    padding: 25px 17px 20px;
  }

  .form-grid-two {
    grid-template-columns: 1fr;
  }

  .legal-modal-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-accept-button {
    width: 100%;
  }
}
