:root {
  color-scheme: dark;
  --background: #0c0912;
  --surface: #191421;
  --surface-elevated: #211a2c;
  --surface-pressed: #2a2136;
  --text: #f8f5fb;
  --muted: #a79db4;
  --subtle: #766d81;
  --coral: #ff665c;
  --coral-soft: #3b2025;
  --purple: #9a7bff;
  --purple-soft: #251e42;
  --mint: #62d9b2;
  --mint-soft: #17352f;
  --yellow: #ffc85a;
  --border: #30273c;
  --border-strong: #453752;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --background: #f8f6fb;
    --surface: #ffffff;
    --surface-elevated: #f1edf6;
    --surface-pressed: #e9e3f0;
    --text: #211a29;
    --muted: #675d72;
    --subtle: #8c8297;
    --coral: #e74f49;
    --coral-soft: #fce6e4;
    --purple: #7555d9;
    --purple-soft: #ece7fb;
    --mint: #168a68;
    --mint-soft: #dff5ed;
    --yellow: #a86a00;
    --border: #e2dce8;
    --border-strong: #cec4d8;
    --shadow: 0 28px 90px rgba(40, 25, 55, 0.1);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(
      circle at 92% 12%,
      rgba(255, 102, 92, 0.13),
      transparent 28rem
    ),
    radial-gradient(
      circle at 4% 68%,
      rgba(154, 123, 255, 0.12),
      transparent 31rem
    ),
    var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.join-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.join-card {
  width: min(520px, 100%);
  padding: clamp(28px, 7vw, 48px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.join-mark {
  display: inline-grid;
  width: 68px;
  height: 68px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 12px 34px rgba(255, 102, 92, 0.28);
}

.join-code {
  margin: 24px 0;
  color: var(--coral);
  font-size: clamp(2rem, 10vw, 3.25rem);
  font-weight: 900;
  letter-spacing: 0.14em;
}

.join-actions {
  display: grid;
  gap: 12px;
}

.join-button {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-elevated);
  font-weight: 800;
  text-decoration: none;
}

.join-button-primary {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
}

.join-help {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.85rem;
}

.is-hidden {
  display: none;
}

.shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 72px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: white;
  box-shadow: 0 8px 24px rgba(255, 102, 92, 0.28);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--surface-elevated);
  color: var(--text);
}

.language-switcher {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-elevated);
}

.language-button {
  min-width: 38px;
  border: 0;
  border-radius: 9px;
  padding: 6px 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
}

.language-button.is-selected {
  background: var(--coral);
  color: white;
}

.hero {
  padding: clamp(58px, 10vw, 105px) clamp(4px, 4vw, 34px) 48px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--coral);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 7vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--subtle);
  font-size: 0.78rem;
  font-weight: 700;
}

.notice {
  display: flex;
  gap: 14px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(98, 217, 178, 0.34);
  border-radius: 22px;
  background: var(--mint-soft);
}

.notice-icon {
  font-size: 1.35rem;
}

.notice strong {
  display: block;
  margin-bottom: 3px;
  color: var(--mint);
}

.notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(24px, 5vw, 40px);
  border-bottom: 1px solid var(--border);
}

.section:last-child {
  border-bottom: 0;
}

.section-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 11px;
  background: var(--coral-soft);
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.section p,
.section li {
  color: var(--muted);
}

.section p:last-child {
  margin-bottom: 0;
}

.section ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.section li {
  margin-bottom: 9px;
}

.section a {
  color: var(--coral);
  font-weight: 700;
}

.link-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.action-card,
.faq-card {
  display: block;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease,
    background 160ms ease;
}

.action-card:hover,
.action-card:focus-visible,
.faq-card:hover,
.faq-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--surface-elevated);
}

.action-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--coral-soft);
  font-size: 1.25rem;
}

.action-card p,
.faq-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.faq-card {
  cursor: default;
}

.footer {
  padding: 34px 4px 0;
  color: var(--subtle);
  font-size: 0.78rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 14px;
}

.footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

[data-language-content] {
  display: none;
}

body[data-language='tr'] [data-language-content='tr'],
body[data-language='en'] [data-language-content='en'] {
  display: block;
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 22px, 900px);
    padding-top: 11px;
  }

  .topbar {
    top: 8px;
    padding: 9px 10px;
    border-radius: 17px;
  }

  .brand {
    font-size: 0.72rem;
  }

  .mark {
    width: 34px;
    height: 34px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 54px 5px 34px;
  }

  .content-card {
    border-radius: 22px;
  }

  .link-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
