:root {
  --bg: #090b13;
  --bg-soft: #111421;
  --surface: rgba(24, 28, 45, 0.72);
  --surface-strong: #181c2d;
  --border: rgba(255, 255, 255, 0.08);

  --text: #f7f7fb;
  --text-soft: #aeb4c7;

  --primary: #8b7cff;
  --primary-strong: #aa8cff;
  --secondary: #63d7ff;

  --success: #5be59b;

  --shadow:
    0 24px 80px rgba(0, 0, 0, 0.35);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(139, 124, 255, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 90% 8%,
      rgba(99, 215, 255, 0.10),
      transparent 30%
    ),
    var(--bg);

  color: var(--text);

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  line-height: 1.6;
}


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


.container {
  width: min(
    calc(100% - 40px),
    var(--container)
  );

  margin-inline: auto;
}


.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  border-bottom: 1px solid var(--border);

  background:
    rgba(9, 11, 19, 0.72);

  backdrop-filter:
    blur(18px);
}


.navbar-inner {
  min-height: 74px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;
}


.brand {
  display: flex;
  align-items: center;

  gap: 12px;
}


.brand-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  font-weight: 800;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  box-shadow:
    0 10px 30px
    rgba(139, 124, 255, 0.30);
}


.brand-text {
  display: flex;
  flex-direction: column;
}


.brand-title {
  font-weight: 700;
}


.brand-subtitle {
  color: var(--text-soft);

  font-size: 0.72rem;
}


.nav-links {
  display: flex;

  gap: 28px;

  color: var(--text-soft);

  font-size: 0.95rem;
}


.nav-links a {
  transition:
    color 0.2s ease;
}


.nav-links a:hover {
  color: var(--text);
}


.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;

  padding:
    0 22px;

  border:
    1px solid transparent;

  border-radius:
    14px;

  font-weight:
    700;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}


.button:hover {
  transform:
    translateY(-2px);
}


.button-small {
  min-height:
    42px;

  padding:
    0 18px;
}


.button-primary {
  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--primary-strong)
    );

  box-shadow:
    0 12px 35px
    rgba(139, 124, 255, 0.24);
}


.button-secondary {
  border-color:
    var(--border);

  background:
    rgba(255, 255, 255, 0.04);
}


.hero {
  padding:
    100px 0 80px;
}


.hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(360px, 0.85fr);

  align-items:
    center;

  gap:
    80px;
}


.eyebrow {
  margin-bottom:
    14px;

  color:
    var(--secondary);

  font-size:
    0.78rem;

  font-weight:
    800;

  letter-spacing:
    0.14em;

  text-transform:
    uppercase;
}


.hero h1 {
  max-width:
    760px;

  margin:
    0;

  font-size:
    clamp(
      3rem,
      6vw,
      5.7rem
    );

  line-height:
    0.98;

  letter-spacing:
    -0.055em;
}


.hero h1 span {
  background:
    linear-gradient(
      90deg,
      #ffffff,
      var(--primary),
      var(--secondary)
    );

  -webkit-background-clip:
    text;

  background-clip:
    text;

  color:
    transparent;
}


.hero-description {
  max-width:
    680px;

  margin:
    28px 0 0;

  color:
    var(--text-soft);

  font-size:
    1.1rem;
}


.hero-actions {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    14px;

  margin-top:
    34px;
}


.hero-stats {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    34px;

  margin-top:
    44px;
}


.stat {
  display:
    flex;

  flex-direction:
    column;

  gap:
    2px;
}


.stat span {
  color:
    var(--text-soft);

  font-size:
    0.8rem;
}


.hero-card {
  position:
    relative;

  overflow:
    hidden;

  padding:
    46px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(139, 124, 255, 0.10),
      rgba(255, 255, 255, 0.035)
    );

  box-shadow:
    var(--shadow);
}


.hero-card::before {
  content:
    "";

  position:
    absolute;

  width:
    300px;

  height:
    300px;

  top:
    -150px;

  right:
    -130px;

  border-radius:
    50%;

  background:
    rgba(99, 215, 255, 0.14);

  filter:
    blur(50px);
}


.bot-orb {
  width:
    116px;

  height:
    116px;

  display:
    grid;

  place-items:
    center;

  margin-bottom:
    28px;

  border:
    1px solid rgba(255, 255, 255, 0.14);

  border-radius:
    36px;

  background:
    linear-gradient(
      135deg,
      rgba(139, 124, 255, 0.95),
      rgba(99, 215, 255, 0.8)
    );

  box-shadow:
    0 25px 60px
    rgba(139, 124, 255, 0.35);

  font-size:
    2rem;

  font-weight:
    900;
}


.status {
  display:
    inline-flex;

  align-items:
    center;

  gap:
    8px;

  padding:
    6px 10px;

  border:
    1px solid rgba(91, 229, 155, 0.2);

  border-radius:
    999px;

  background:
    rgba(91, 229, 155, 0.08);

  color:
    #9ff4c5;

  font-size:
    0.78rem;

  font-weight:
    700;
}


.status-dot {
  width:
    7px;

  height:
    7px;

  border-radius:
    50%;

  background:
    var(--success);

  box-shadow:
    0 0 14px
    var(--success);
}


.hero-card h2 {
  margin:
    18px 0 8px;

  font-size:
    2rem;
}


.hero-card p {
  margin:
    0;

  color:
    var(--text-soft);
}


.mini-feature-list {
  display:
    flex;

  flex-wrap:
    wrap;

  gap:
    10px;

  margin-top:
    28px;
}


.mini-feature-list span {
  padding:
    8px 12px;

  border:
    1px solid var(--border);

  border-radius:
    12px;

  background:
    rgba(255, 255, 255, 0.04);

  color:
    #dfe3f0;

  font-size:
    0.82rem;
}


.section {
  padding:
    100px 0;
}


.section-alt {
  border-top:
    1px solid var(--border);

  border-bottom:
    1px solid var(--border);

  background:
    rgba(255, 255, 255, 0.018);
}


.section-heading {
  max-width:
    720px;

  margin-bottom:
    48px;
}


.section-heading h2 {
  margin:
    0;

  font-size:
    clamp(
      2.2rem,
      4vw,
      3.8rem
    );

  line-height:
    1.08;

  letter-spacing:
    -0.04em;
}


.section-heading p {
  margin:
    18px 0 0;

  color:
    var(--text-soft);
}


.feature-grid {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap:
    18px;
}


.feature-card {
  min-height:
    255px;

  padding:
    28px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-md);

  background:
    var(--surface);

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}


.feature-card:hover {
  transform:
    translateY(-4px);

  border-color:
    rgba(139, 124, 255, 0.32);
}


.feature-icon {
  width:
    48px;

  height:
    48px;

  display:
    grid;

  place-items:
    center;

  margin-bottom:
    22px;

  border-radius:
    14px;

  background:
    rgba(139, 124, 255, 0.10);

  font-size:
    1.4rem;
}


.feature-card h3 {
  margin:
    0 0 10px;

  font-size:
    1.15rem;
}


.feature-card p {
  margin:
    0;

  color:
    var(--text-soft);
}


.steps {
  display:
    grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  gap:
    18px;
}


.step {
  display:
    flex;

  align-items:
    flex-start;

  gap:
    18px;

  padding:
    28px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-md);

  background:
    rgba(255, 255, 255, 0.028);
}


.step-number {
  width:
    44px;

  min-width:
    44px;

  height:
    44px;

  display:
    grid;

  place-items:
    center;

  border-radius:
    13px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      var(--secondary)
    );

  font-weight:
    800;
}


.step h3 {
  margin:
    0 0 6px;
}


.step p {
  margin:
    0;

  color:
    var(--text-soft);
}


.about-card {
  display:
    flex;

  align-items:
    center;

  justify-content:
    space-between;

  gap:
    50px;

  padding:
    50px;

  border:
    1px solid var(--border);

  border-radius:
    var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      rgba(139, 124, 255, 0.10),
      rgba(99, 215, 255, 0.045)
    );

  box-shadow:
    var(--shadow);
}


.about-card h2 {
  margin:
    0;

  font-size:
    clamp(
      2rem,
      4vw,
      3.3rem
    );

  letter-spacing:
    -0.04em;
}


.about-card p {
  max-width:
    740px;

  margin:
    18px 0 0;

  color:
    var(--text-soft);
}


.footer {
  padding:
    44px 0 24px;

  border-top:
    1px solid var(--border);
}


.footer-inner {
  display:
    flex;

  align-items:
    flex-start;

  justify-content:
    space-between;

  gap:
    30px;
}


.footer p {
  margin:
    6px 0 0;

  color:
    var(--text-soft);

  font-size:
    0.85rem;
}


.footer-links {
  display:
    flex;

  gap:
    20px;

  color:
    var(--text-soft);
}


.footer-bottom {
  margin-top:
    34px;

  padding-top:
    22px;

  border-top:
    1px solid var(--border);

  color:
    #7f8598;

  font-size:
    0.78rem;
}


@media (
  max-width: 900px
) {
  .nav-links {
    display:
      none;
  }

  .hero {
    padding-top:
      70px;
  }

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

    gap:
      48px;
  }

  .feature-grid,
  .steps {
    grid-template-columns:
      1fr 1fr;
  }
}


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

  .navbar .button-small {
    display:
      none;
  }

  .hero {
    padding:
      58px 0 60px;
  }

  .hero h1 {
    font-size:
      clamp(
        2.8rem,
        14vw,
        4.3rem
      );
  }

  .hero-stats {
    gap:
      22px;
  }

  .hero-card {
    padding:
      30px;
  }

  .section {
    padding:
      72px 0;
  }

  .feature-grid,
  .steps {
    grid-template-columns:
      1fr;
  }

  .about-card {
    flex-direction:
      column;

    align-items:
      flex-start;

    padding:
      32px;
  }

  .footer-inner {
    flex-direction:
      column;
  }
}


/* ===== กกกก Mascot ===== */

.brand-icon {
  overflow: hidden;
  padding: 0;
}

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

.mascot-frame {
  position: relative;

  width: min(100%, 390px);
  aspect-ratio: 1 / 1;

  margin: 0 auto 28px;

  border-radius: 50%;

  padding: 5px;

  background:
    linear-gradient(
      135deg,
      var(--primary),
      #ffd76a,
      var(--secondary)
    );

  box-shadow:
    0 25px 80px
    rgba(139, 124, 255, 0.30);
}

.mascot-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 50%;
}


/* ==================================================
   WEB-7
   กกกก — Hero / Mascot visual identity
   ================================================== */

:root {
  --kork-purple: #9a6cff;
  --kork-purple-deep: #6f45e8;
  --kork-gold: #ffd86a;
  --kork-gold-soft: #ffe9a6;
}


/* ---------- HERO BACKGROUND ---------- */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";

  position: absolute;
  width: 620px;
  height: 620px;

  right: -160px;
  top: -190px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(139, 92, 246, 0.20) 0%,
      rgba(139, 92, 246, 0.07) 42%,
      transparent 70%
    );

  pointer-events: none;
}

.hero::after {
  content: "";

  position: absolute;
  width: 420px;
  height: 420px;

  left: -180px;
  bottom: -220px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 216, 106, 0.08),
      transparent 68%
    );

  pointer-events: none;
}


/* ---------- HERO LABEL ---------- */

.eyebrow {
  color: var(--kork-gold);

  letter-spacing: 0.16em;

  text-shadow:
    0 0 22px
    rgba(255, 216, 106, 0.20);
}


/* ---------- HERO TITLE ---------- */

.hero h1 {
  max-width: 760px;

  letter-spacing: -0.045em;

  line-height: 1.08;
}

.hero h1 span {
  background:
    linear-gradient(
      100deg,
      var(--kork-purple),
      #c89cff 48%,
      var(--kork-gold-soft)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;

  filter:
    drop-shadow(
      0 8px 30px
      rgba(139, 92, 246, 0.18)
    );
}


/* ---------- PRIMARY BUTTON ---------- */

.btn-primary {
  background:
    linear-gradient(
      135deg,
      var(--kork-purple),
      var(--kork-purple-deep)
    );

  box-shadow:
    0 10px 35px
    rgba(126, 87, 255, 0.25);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    0 14px 42px
    rgba(126, 87, 255, 0.38);
}


/* ---------- BOT CARD ---------- */

.hero-card {
  position: relative;

  overflow: hidden;

  border:
    1px solid
    rgba(180, 142, 255, 0.22);

  background:
    linear-gradient(
      145deg,
      rgba(30, 28, 55, 0.92),
      rgba(15, 20, 31, 0.96)
    );

  box-shadow:
    0 30px 90px
    rgba(0, 0, 0, 0.30),
    0 0 70px
    rgba(126, 87, 255, 0.07);
}

.hero-card::before {
  content: "";

  position: absolute;
  width: 330px;
  height: 330px;

  top: -150px;
  right: -120px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 216, 106, 0.11),
      transparent 67%
    );

  pointer-events: none;
}


/* ---------- MASCOT ---------- */

.mascot-frame {
  width: min(100%, 430px);

  padding: 4px;

  background:
    linear-gradient(
      135deg,
      var(--kork-gold),
      var(--kork-purple),
      #66ddff
    );

  box-shadow:
    0 18px 65px
    rgba(126, 87, 255, 0.30),
    0 0 38px
    rgba(255, 216, 106, 0.08);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-card:hover .mascot-frame {
  transform:
    translateY(-4px)
    scale(1.015);

  box-shadow:
    0 25px 80px
    rgba(126, 87, 255, 0.38),
    0 0 45px
    rgba(255, 216, 106, 0.12);
}


/* ---------- BOT NAME ---------- */

.hero-card h2 {
  color: #ffffff;
}

.hero-card h2::after {
  content: " ✦";

  color: var(--kork-gold);

  font-size: 0.7em;
}


/* ---------- FEATURE CHIPS ---------- */

.mini-feature-list span {
  border:
    1px solid
    rgba(154, 108, 255, 0.20);

  background:
    rgba(154, 108, 255, 0.06);
}


/* ---------- NAV LOGO ---------- */

.brand-icon {
  box-shadow:
    0 0 22px
    rgba(154, 108, 255, 0.25);
}


/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

  .hero h1 {
    letter-spacing: -0.035em;
  }

  .mascot-frame {
    width: min(100%, 350px);
  }

  .hero::before {
    width: 420px;
    height: 420px;

    right: -220px;
    top: -100px;
  }
}


/* ===== WEB-7.4 Hero typography ===== */

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 4.25vw, 5.25rem);
  line-height: 1.08;
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero h1 .hero-title-line:first-child {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  filter: none;
}

.hero h1 .hero-title-accent {
  background:
    linear-gradient(
      100deg,
      #a879ff 0%,
      #d6a4ff 48%,
      #ffe19a 100%
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 900px) {
  .hero-title-line {
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 9vw, 4.4rem);
  }
}


/* ===== WEB-7.6 Desktop hero overflow fix ===== */

@media (min-width: 901px) {

  .hero-grid {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(360px, 0.8fr);

    gap: 56px;
  }

  .hero h1 {
    font-size: clamp(3rem, 3.6vw, 4.35rem);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .hero-title-line {
    white-space: nowrap;
  }
}


/* ==================================================
   WEB-8.1
   กกกก — Feature cards
   ================================================== */

#features {
  position: relative;
  overflow: hidden;
}

#features::before {
  content: "";

  position: absolute;
  width: 520px;
  height: 520px;

  left: -260px;
  top: 120px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(154, 108, 255, 0.09),
      transparent 68%
    );

  pointer-events: none;
}


/* ---------- HEADING ---------- */

#features .section-heading {
  max-width: 760px;
}

#features .section-heading .eyebrow {
  color: var(--kork-gold);
}

#features .section-heading h2 {
  letter-spacing: -0.035em;
}


/* ---------- GRID ---------- */

#features .feature-grid {
  display: grid;

  grid-template-columns:
    repeat(6, minmax(0, 1fr));

  gap: 22px;

  margin-top: 48px;
}


/* top row */

#features .feature-card:nth-child(1) {
  grid-column: 1 / span 2;
}

#features .feature-card:nth-child(2) {
  grid-column: 3 / span 2;
}

#features .feature-card:nth-child(3) {
  grid-column: 5 / span 2;
}


/* bottom row centered */

#features .feature-card:nth-child(4) {
  grid-column: 2 / span 2;
}

#features .feature-card:nth-child(5) {
  grid-column: 4 / span 2;
}


/* ---------- CARD ---------- */

#features .feature-card {
  position: relative;

  min-height: 245px;

  padding: 30px;

  overflow: hidden;

  border:
    1px solid
    rgba(154, 108, 255, 0.17);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(27, 27, 47, 0.94),
      rgba(15, 18, 31, 0.96)
    );

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.18);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

#features .feature-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -90px;
  top: -90px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(154, 108, 255, 0.14),
      transparent 70%
    );

  pointer-events: none;
}

#features .feature-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(154, 108, 255, 0.38);

  box-shadow:
    0 28px 65px
    rgba(0, 0, 0, 0.26),
    0 0 40px
    rgba(126, 87, 255, 0.07);
}


/* ---------- ICON ---------- */

#features .feature-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  margin-bottom: 22px;

  border:
    1px solid
    rgba(154, 108, 255, 0.22);

  border-radius: 15px;

  background:
    linear-gradient(
      145deg,
      rgba(154, 108, 255, 0.16),
      rgba(154, 108, 255, 0.05)
    );

  font-size: 1.55rem;

  box-shadow:
    inset 0 0 18px
    rgba(154, 108, 255, 0.05);
}


/* ---------- TEXT ---------- */

#features .feature-card h3 {
  margin-bottom: 12px;

  font-size: 1.15rem;

  color: #ffffff;
}

#features .feature-card p {
  margin: 0;

  line-height: 1.75;

  color:
    rgba(235, 235, 248, 0.72);
}


/* ---------- RANK CARD ---------- */

#features .feature-card:nth-child(3) {
  border-color:
    rgba(255, 216, 106, 0.22);
}

#features .feature-card:nth-child(3)::before {
  background:
    radial-gradient(
      circle,
      rgba(255, 216, 106, 0.13),
      transparent 70%
    );
}

#features .feature-card:nth-child(3) .feature-icon {
  border-color:
    rgba(255, 216, 106, 0.26);

  background:
    linear-gradient(
      145deg,
      rgba(255, 216, 106, 0.15),
      rgba(154, 108, 255, 0.07)
    );
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 980px) {

  #features .feature-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  #features .feature-card:nth-child(n) {
    grid-column: auto;
  }

  #features .feature-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}


@media (max-width: 640px) {

  #features .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #features .feature-card:nth-child(n) {
    grid-column: auto;
  }

  #features .feature-card {
    min-height: 0;
    padding: 24px;
  }
}


/* ==================================================
   WEB-9.1
   กกกก — Getting Started
   ================================================== */

#setup {
  position: relative;
  overflow: hidden;
}

#setup::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  right: -260px;
  top: -150px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(154, 108, 255, 0.08),
      transparent 68%
    );

  pointer-events: none;
}


/* ---------- Heading ---------- */

#setup .section-heading {
  max-width: 720px;
}

#setup .section-heading .eyebrow {
  color: var(--kork-gold);
}

#setup .section-heading h2 {
  letter-spacing: -0.035em;
}


/* ---------- Steps ---------- */

#setup .steps {
  position: relative;

  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 48px;
}


/* connecting line */

#setup .steps::before {
  content: "";

  position: absolute;

  top: 39px;
  left: 16.5%;
  right: 16.5%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      rgba(154, 108, 255, 0.12),
      rgba(255, 216, 106, 0.38),
      rgba(154, 108, 255, 0.12)
    );

  z-index: 0;
}


/* ---------- Step Card ---------- */

#setup .step {
  position: relative;
  z-index: 1;

  display: block;

  min-height: 210px;

  padding: 30px;

  border:
    1px solid
    rgba(154, 108, 255, 0.16);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(27, 27, 47, 0.92),
      rgba(15, 18, 31, 0.96)
    );

  box-shadow:
    0 18px 50px
    rgba(0, 0, 0, 0.16);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

#setup .step:hover {
  transform: translateY(-4px);

  border-color:
    rgba(154, 108, 255, 0.36);

  box-shadow:
    0 26px 60px
    rgba(0, 0, 0, 0.24),
    0 0 35px
    rgba(126, 87, 255, 0.06);
}


/* ---------- Number ---------- */

#setup .step-number {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  margin-bottom: 24px;

  border:
    1px solid
    rgba(255, 216, 106, 0.28);

  border-radius: 16px;

  background:
    linear-gradient(
      145deg,
      rgba(154, 108, 255, 0.95),
      rgba(111, 69, 232, 0.95)
    );

  color: #ffffff;

  font-weight: 800;
  font-size: 1.05rem;

  box-shadow:
    0 10px 30px
    rgba(126, 87, 255, 0.25),
    inset 0 0 18px
    rgba(255, 255, 255, 0.06);
}


/* middle step slightly highlighted */

#setup .step:nth-child(2) .step-number {
  background:
    linear-gradient(
      145deg,
      var(--kork-gold),
      #e9b947
    );

  color: #281e0d;

  box-shadow:
    0 10px 30px
    rgba(255, 216, 106, 0.16);
}


/* ---------- Text ---------- */

#setup .step h3 {
  margin: 0 0 10px;

  color: #ffffff;

  font-size: 1.1rem;
}

#setup .step p {
  margin: 0;

  line-height: 1.75;

  color:
    rgba(235, 235, 248, 0.72);
}


/* ---------- Responsive ---------- */

@media (max-width: 980px) {

  #setup .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #setup .steps::before {
    display: none;
  }

  #setup .step {
    min-height: 0;
  }
}


@media (max-width: 640px) {

  #setup .step {
    padding: 24px;
  }

  #setup .step-number {
    width: 48px;
    height: 48px;
  }
}


/* ==================================================
   WEB-10.1
   กกกก — About
   ================================================== */

#about .about-card {
  position: relative;
  overflow: hidden;

  display: grid;

  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(230px, 0.6fr);

  align-items: center;

  gap: 44px;

  padding: 52px;

  border:
    1px solid
    rgba(154, 108, 255, 0.20);

  background:
    linear-gradient(
      135deg,
      rgba(154, 108, 255, 0.10),
      rgba(255, 216, 106, 0.035),
      rgba(15, 18, 31, 0.96)
    );

  box-shadow:
    0 24px 70px
    rgba(0, 0, 0, 0.20);
}

#about .about-card::before {
  content: "";

  position: absolute;

  width: 360px;
  height: 360px;

  right: -120px;
  bottom: -180px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(154, 108, 255, 0.14),
      transparent 70%
    );

  pointer-events: none;
}

#about .about-content {
  position: relative;
  z-index: 2;
}

#about .eyebrow {
  color: var(--kork-gold);
}

#about .about-card h2 {
  max-width: 760px;

  font-size:
    clamp(2.4rem, 4vw, 4rem);

  line-height: 1.08;

  letter-spacing: -0.04em;
}

#about .about-card p {
  max-width: 720px;

  margin-top: 20px;

  line-height: 1.8;
}

#about .about-actions {
  margin-top: 28px;
}

#about .about-mascot {
  position: relative;
  z-index: 2;

  display: flex;

  justify-content: center;
}

#about .about-mascot img {
  width: min(100%, 250px);

  aspect-ratio: 1 / 1;

  object-fit: cover;

  border-radius: 50%;

  border:
    3px solid
    rgba(255, 216, 106, 0.72);

  box-shadow:
    0 18px 55px
    rgba(126, 87, 255, 0.30),
    0 0 36px
    rgba(255, 216, 106, 0.08);

  transition:
    transform 0.25s ease;
}

#about .about-card:hover .about-mascot img {
  transform:
    translateY(-4px)
    rotate(1deg);
}


/* ---------- Responsive ---------- */

@media (max-width: 900px) {

  #about .about-card {
    grid-template-columns: 1fr;

    padding: 36px;
  }

  #about .about-mascot {
    justify-content: flex-start;
  }

  #about .about-mascot img {
    width: min(100%, 210px);
  }
}

@media (max-width: 640px) {

  #about .about-card {
    padding: 28px;
  }

  #about .about-card h2 {
    font-size:
      clamp(2.1rem, 10vw, 3rem);
  }

  #about .about-mascot img {
    width: 170px;
  }
}


/* ===== WEB-10.2 Feature grid 3 + 3 ===== */

#features .feature-card:nth-child(4) {
  grid-column: 1 / span 2;
}

#features .feature-card:nth-child(5) {
  grid-column: 3 / span 2;
}

#features .feature-card:nth-child(6) {
  grid-column: 5 / span 2;
}


/* Horoscope accent */

#features .feature-card:nth-child(6) {
  border-color:
    rgba(183, 130, 255, 0.24);
}

#features .feature-card:nth-child(6)::before {
  background:
    radial-gradient(
      circle,
      rgba(183, 130, 255, 0.16),
      transparent 70%
    );
}

#features .feature-card:nth-child(6) .feature-icon {
  background:
    linear-gradient(
      145deg,
      rgba(183, 130, 255, 0.18),
      rgba(255, 216, 106, 0.05)
    );

  border-color:
    rgba(183, 130, 255, 0.28);
}


@media (max-width: 980px) {

  #features .feature-card:nth-child(n) {
    grid-column: auto;
  }
}


/* ===== WEB-10.3 Feature grid: final 5 cards ===== */

/* Row 1: Music / Calendar / Rank */

#features .feature-card:nth-child(1) {
  grid-column: 1 / span 2;
}

#features .feature-card:nth-child(2) {
  grid-column: 3 / span 2;
}

#features .feature-card:nth-child(3) {
  grid-column: 5 / span 2;
}


/* Row 2: Fun / Horoscope */

#features .feature-card:nth-child(4) {
  grid-column: 2 / span 2;
}

#features .feature-card:nth-child(5) {
  grid-column: 4 / span 2;
}


/* Horoscope is now card 5 */

#features .feature-card:nth-child(5) {
  border-color:
    rgba(183, 130, 255, 0.24);
}

#features .feature-card:nth-child(5)::before {
  background:
    radial-gradient(
      circle,
      rgba(183, 130, 255, 0.16),
      transparent 70%
    );
}

#features .feature-card:nth-child(5) .feature-icon {
  background:
    linear-gradient(
      145deg,
      rgba(183, 130, 255, 0.18),
      rgba(255, 216, 106, 0.05)
    );

  border-color:
    rgba(183, 130, 255, 0.28);
}


@media (max-width: 980px) {

  #features .feature-card:nth-child(n) {
    grid-column: auto;
  }

  #features .feature-card:nth-child(5) {
    grid-column: 1 / -1;
  }
}


@media (max-width: 640px) {

  #features .feature-card:nth-child(5) {
    grid-column: auto;
  }
}


/* ==================================================
   WEB-11
   กกกก — Footer
   ================================================== */

.footer {
  position: relative;

  padding:
    48px 0 28px;

  border-top:
    1px solid
    rgba(154, 108, 255, 0.12);

  background:
    linear-gradient(
      180deg,
      rgba(10, 12, 22, 0),
      rgba(14, 13, 26, 0.42)
    );
}


.footer-inner {
  display: grid;

  grid-template-columns:
    minmax(220px, 1fr)
    auto
    minmax(220px, 1fr);

  align-items: center;

  gap: 36px;
}


/* ---------- Brand ---------- */

.footer-brand strong {
  display: inline-block;

  color: #ffffff;

  font-size: 1.05rem;

  letter-spacing: 0.01em;
}

.footer-brand p {
  margin: 7px 0 0;

  color:
    rgba(235, 235, 248, 0.62);

  font-size: 0.86rem;
}


/* ---------- Navigation ---------- */

.footer-nav {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 26px;
}

.footer-nav a,
.footer-links a {
  color:
    rgba(235, 235, 248, 0.68);

  font-size: 0.9rem;

  transition:
    color 0.18s ease;
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--kork-gold);
}


/* ---------- Legal ---------- */

.footer-links {
  display: flex;

  justify-content: flex-end;

  gap: 22px;
}


/* ---------- Bottom ---------- */

.footer-bottom {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;

  margin-top: 34px;

  padding-top: 22px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);

  color:
    rgba(235, 235, 248, 0.42);

  font-size: 0.78rem;
}

.footer-note {
  color:
    rgba(255, 216, 106, 0.52);
}


/* ---------- Responsive ---------- */

@media (max-width: 800px) {

  .footer-inner {
    grid-template-columns: 1fr;

    align-items: flex-start;

    gap: 26px;
  }

  .footer-nav {
    justify-content: flex-start;

    flex-wrap: wrap;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;

    gap: 8px;
  }
}


@media (max-width: 480px) {

  .footer-nav {
    gap: 18px;
  }

  .footer {
    padding-bottom: 24px;
  }
}


/* ==================================================
   WEB-12.2
   กกกก — Privacy / Legal Pages
   ================================================== */

.policy-page {
  min-height: 100vh;
}


.policy-hero {
  position: relative;

  padding:
    110px 0 54px;

  overflow: hidden;
}


.policy-hero::before {
  content: "";

  position: absolute;

  width: 620px;
  height: 620px;

  right: -240px;
  top: -300px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(154, 108, 255, 0.15),
      transparent 68%
    );

  pointer-events: none;
}


.policy-container {
  max-width: 980px;
}


.policy-hero .eyebrow {
  color: var(--kork-gold);
}


.policy-hero h1 {
  margin:
    12px 0 0;

  font-size:
    clamp(3rem, 7vw, 5.3rem);

  line-height: 1;

  letter-spacing:
    -0.05em;
}


.policy-lead {
  max-width: 760px;

  margin:
    24px 0 0;

  color:
    rgba(235, 235, 248, 0.72);

  line-height: 1.8;

  font-size: 1.04rem;
}


.policy-updated {
  margin-top: 18px;

  color:
    rgba(255, 216, 106, 0.60);

  font-size: 0.84rem;
}


.policy-section {
  padding:
    20px 0 100px;
}


.policy-card {
  padding:
    clamp(28px, 5vw, 58px);

  border:
    1px solid
    rgba(154, 108, 255, 0.16);

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(27, 27, 47, 0.83),
      rgba(15, 18, 31, 0.94)
    );

  box-shadow:
    0 28px 80px
    rgba(0, 0, 0, 0.20);
}


.policy-block + .policy-block {
  margin-top: 52px;

  padding-top: 48px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);
}


.policy-block h2 {
  margin:
    0 0 20px;

  color: #ffffff;

  font-size:
    clamp(1.55rem, 3vw, 2rem);

  letter-spacing:
    -0.025em;
}


.policy-block h3 {
  margin:
    30px 0 10px;

  color: var(--kork-gold-soft);

  font-size: 1.04rem;
}


.policy-block p {
  margin:
    0 0 16px;

  color:
    rgba(235, 235, 248, 0.72);

  line-height: 1.9;
}


.policy-block ul {
  margin:
    18px 0 22px;

  padding-left:
    24px;

  color:
    rgba(235, 235, 248, 0.72);
}


.policy-block li {
  margin:
    9px 0;

  line-height: 1.75;
}


.policy-block strong {
  color:
    rgba(255, 255, 255, 0.92);
}


.policy-back {
  margin-top: 52px;

  padding-top: 32px;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.07);
}


@media (max-width: 768px) {

  .policy-hero {
    padding:
      86px 0 40px;
  }

  .policy-section {
    padding-bottom:
      72px;
  }

  .policy-block + .policy-block {
    margin-top: 38px;

    padding-top: 36px;
  }
}
