html {
  scroll-behavior: smooth;
}

:root {
  --bg: #f6fbff;
  --surface: #ffffff;
  --surface-soft: #f0f7ff;
  --text: #1f3142;
  --muted: #587089;
  --stroke: #d8e7f5;
  --accent-a: #ff8a57;
  --accent-b: #ff5f7f;
  --accent-c: #36d5ff;
  --shadow: 0 16px 36px rgba(35, 71, 108, 0.12);
  --ok: #41b883;
  --error: #e66565;
  --menu-bg: #ffffff;
  --menu-text: #2b445b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Sora", sans-serif;
  overflow-x: hidden;
  background:
    radial-gradient(40rem 22rem at -8% -8%, rgba(255, 152, 112, 0.2), transparent 62%),
    radial-gradient(38rem 20rem at 108% 6%, rgba(54, 213, 255, 0.13), transparent 58%),
    var(--bg);
}

body.nav-open {
  overflow: hidden;
}

.scene-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 18%, rgba(255, 141, 105, 0.16), transparent 46%);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 90px) 0 60px;
  position: relative;
  z-index: 2;
}

.topbar,
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) clamp(22px, 3.2vw, 38px) 14px clamp(10px, 1.4vw, 18px);
  margin-bottom: 0;
  border-top: 1px solid #d7e8f6;
  border-bottom: 1px solid #d7e8f6;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  background: #ffffff;
  backdrop-filter: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  z-index: 1004;
}

.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: #1f3347;
  font-size: 1.08rem;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-left: 0.75px;
}

.brand-logo {
  display: block;
  width: 116px;
  height: auto;
  max-height: 52px;
  object-fit: cover;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #d7e8f6;
  padding: 3px;
}

.brand-mark-anim {
  display: block;
  border: 1px solid #d7e8f6;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  pointer-events: none;
}

.brand-text {
  display: inline-block;
}

.nav-quick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.quick-logout-form {
  margin: 0;
}

.quick-btn {
  text-decoration: none;
  color: var(--menu-text);
  border: 1px solid #d7e8f6;
  background: #f8fcff;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
}

.quick-btn-primary {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  color: #210f1a;
  border-color: transparent;
}

.quick-logout {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  color: #210f1a;
  border-color: transparent;
  cursor: pointer;
}

.menu,
.nav-links {
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu a,
.nav-links a {
  text-decoration: none;
  color: var(--menu-text);
  border: 1px solid #d7e8f6;
  background: #f8fcff;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.nav-links > a[href*="/coffee"]::before,
.nav-links > a[href*="/katina"]::before,
.nav-links > a[href*="/tarot"]::before,
.nav-links > a[href*="/login"]::before,
.nav-links > a[href*="/register"]::before,
.nav-links > a[href*="/dashboard"]::before {
  display: inline-block;
  margin-right: 6px;
  font-size: 0.9em;
  line-height: 1;
}

.nav-links > a[href*="/coffee"]::before { content: "☕"; }
.nav-links > a[href*="/katina"]::before { content: "♥"; }
.nav-links > a[href*="/tarot"]::before { content: "✦"; }
.nav-links > a[href*="/login"]::before { content: "👤"; }
.nav-links > a[href*="/register"]::before { content: "✍"; }
.nav-links > a[href*="/dashboard"]::before { content: "🗂"; }

.lang-switch a::before {
  content: none !important;
  display: none !important;
  margin-right: 0 !important;
}

.nav-logout-form {
  margin: 0;
}

.nav-links .nav-logout {
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1;
}

.menu a.menu-cta,
.nav-links a.menu-cta {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  color: #210f1a;
  border-color: transparent;
  font-weight: 700;
}

.nav-toggle {
  display: block;
  position: relative;
  z-index: 1002;
  pointer-events: auto;
  background: transparent;
  color: #2e4760;
  border: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  margin-right: 10px;
}

.nav-toggle::after {
  content: "";
  display: block;
  margin-top: 3px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-c));
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 71, 96, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

.menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-links {
  position: fixed;
  top: 0;
  right: -100vw;
  height: 100vh;
  max-height: 100dvh;
  width: min(360px, 88vw);
  padding: 92px 24px 24px;
  background: var(--menu-bg);
  border-left: 1px solid rgba(146, 181, 220, 0.2);
  box-shadow: -22px 0 48px rgba(0, 0, 0, 0.25);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow-y: auto;
  transform: none;
  transition: right 0.28s ease;
}

.nav-links.is-open { right: 0; }
.nav-links,
.nav-links * {
  pointer-events: auto;
}

.lang-switch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 0;
  order: 70;
  width: 100%;
}

.lang-toggle-btn {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #d5e6f6;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fcff;
  color: var(--menu-text);
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.lang-toggle-btn::after {
  content: "▾";
  font-size: 0.92rem;
  color: #537391;
}

.lang-switch-group.is-open .lang-toggle-btn::after {
  content: "▴";
}

.lang-switch-list {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.lang-switch-group.is-open .lang-switch-list {
  display: flex;
}

.lang-switch-list a {
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid #d5e6f6;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #f8fcff;
  color: var(--menu-text);
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
}

.nav-links > a {
  width: 100%;
  box-sizing: border-box;
}

.nav-logout-form {
  margin-top: auto;
  padding-top: 12px;
  order: 99;
}

.nav-links .nav-logout {
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 34px;
  background: linear-gradient(150deg, #ffffff, #f4f9ff);
  box-shadow: var(--shadow);
}

.kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.73rem;
  color: #6e8aa6;
}

.hero h1 {
  margin: 10px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  color: #1f3449;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.hero-cover {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(260px, 46vw, 430px);
  background:
    linear-gradient(to top, rgba(8, 14, 22, 0.4), rgba(8, 14, 22, 0.06)),
    url("https://images.pexels.com/photos/7179804/pexels-photo-7179804.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=1200&w=1800");
  background-size: cover;
  background-position: center;
}

.hero-slogan {
  margin: 0;
  padding: 22px 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 700;
  color: #f3f8ff;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
}

.welcome-panel {
  display: grid;
  gap: 16px;
  background: #ffffff;
  border: 1px solid #d8e7f5;
}

.executive-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  background: #ffffff;
  border: 1px solid #d8e7f5;
}

.executive-main h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.4rem);
  color: #1f3449;
}

.executive-main p {
  margin: 10px 0 0;
  color: #56718b;
  max-width: 68ch;
}

.executive-action {
  flex: 0 0 auto;
}

.luxury-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 34px;
  background:
    linear-gradient(160deg, #fffefb, #fff8ee),
    radial-gradient(30rem 18rem at 90% 10%, rgba(201, 160, 84, 0.12), transparent 70%);
  border: 1px solid #e7d5bb;
  box-shadow: 0 16px 36px rgba(121, 94, 58, 0.14);
}

.luxury-note {
  margin: 0 0 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7a4a;
}

.luxury-hero .executive-main h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  color: #3f2f1f;
}

.luxury-hero .executive-main p {
  color: #725f4b;
}

.luxury-cta {
  background: linear-gradient(95deg, #f3d9a6, #dcb26b);
  color: #4b3217;
  border: 1px solid #d2a760;
  box-shadow: 0 10px 24px rgba(186, 144, 78, 0.26);
}

.welcome-head h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  color: #1f3449;
}

.welcome-head p {
  margin: 8px 0 0;
  max-width: 72ch;
  color: #56718b;
}

.welcome-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.welcome-items span {
  border: 1px solid #cfe2f2;
  border-radius: 12px;
  background: #f6fbff;
  color: #35506a;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.welcome-cta {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  color: #2d1a13;
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
}

.hero-intro {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr;
  gap: 22px;
  align-items: stretch;
}

.hero-main {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.hero-btn {
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}

.hero-btn.primary {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  color: #210f1a;
}

.hero-btn.ghost {
  border: 1px solid #cfe2f2;
  color: #35506a;
  background: #f8fcff;
}

.hero-side {
  position: relative;
  overflow: hidden;
  border: 1px solid #d5e6f6;
  border-radius: 18px;
  min-height: 230px;
}

.hero-side::before {
  content: "";
  position: absolute;
  inset: -10px;
  background:
    linear-gradient(to top, rgba(8, 14, 22, 0.45), rgba(8, 14, 22, 0.14)),
    radial-gradient(20rem 12rem at 20% 10%, rgba(255, 101, 69, 0.2), transparent 60%),
    url("https://images.pexels.com/photos/7179804/pexels-photo-7179804.jpeg?auto=compress&cs=tinysrgb&fit=crop&h=900&w=700");
  background-size: cover;
  background-position: center;
  filter: blur(7px);
  transform: scale(1.05);
}

.hero-badges {
  display: grid;
  gap: 10px;
  width: 100%;
}

.hero-badges span {
  border: 1px solid #cfe2f2;
  background: rgba(255, 255, 255, 0.8);
  color: #35506a;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.choice-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-welcome-row {
  margin-top: 2px;
}

.home-welcome-banner {
  margin: 0 0 12px 0;
  border-radius: 14px;
  border: 1px solid #d8e7f5;
  background: linear-gradient(120deg, #fffdfb, #f6fbff);
  box-shadow: 0 8px 20px rgba(34, 62, 92, 0.08);
  padding: 12px 14px;
}

.home-welcome-title {
  margin: 0;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.02rem, 2.2vw, 1.32rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent-a);
}

.home-welcome-subtext {
  margin: 6px 0 0;
  text-align: center;
  color: #4e667e;
  font-size: clamp(0.86rem, 1.7vw, 0.98rem);
  line-height: 1.45;
}

.home-slider {
  position: relative;
  width: 100%;
  height: clamp(280px, 36vw, 430px);
  border-radius: 14px;
  border: 1px solid #d8e7f5;
  background: #0f141a;
  box-shadow: 0 8px 20px rgba(34, 62, 92, 0.08);
  overflow: hidden;
}

.home-info-rotator {
  margin: 14px 0 16px;
  border-radius: 14px;
  border: 1px solid #d8e7f5;
  background: linear-gradient(120deg, #fffdfb, #f6fbff);
  box-shadow: 0 8px 20px rgba(34, 62, 92, 0.08);
  padding: 12px 16px;
  min-height: 96px;
  position: relative;
  overflow: hidden;
  transition: height 0.44s ease;
}

.home-welcome-banner:empty,
.home-info-rotator:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}

.home-info-item {
  display: block;
  position: absolute;
  inset: 12px 16px;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.68s ease, transform 0.68s ease;
  pointer-events: none;
}

.home-info-item.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.home-info-item.is-entering {
  opacity: 0;
  transform: translateX(26px);
}

.home-info-item.is-leaving {
  opacity: 0;
  transform: translateX(-34px);
  pointer-events: none;
}

.home-info-item h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
  color: #2a445c;
}

.home-info-item p {
  margin: 0;
  font-size: clamp(0.88rem, 1.45vw, 1rem);
  line-height: 1.58;
  color: #3f5b74;
  white-space: pre-line;
}

.seo-link-block {
  margin-top: 12px;
}

.seo-link-block-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.04rem, 1.9vw, 1.28rem);
  color: #27435d;
}

.seo-link-block-desc {
  margin: 6px 0 0;
  color: #49657e;
  font-size: 0.93rem;
}

.seo-link-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.seo-link-card {
  display: grid;
  gap: 6px;
  text-decoration: none;
  border: 1px solid #d4e4f2;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(34, 62, 92, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-link-card strong {
  color: #2b4761;
  font-size: 0.96rem;
}

.seo-link-card span {
  color: #5a7590;
  font-size: 0.84rem;
  line-height: 1.4;
}

.seo-link-card:hover {
  border-color: #b8d7ed;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(34, 62, 92, 0.12);
}

.home-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  filter: blur(0);
  transition:
    opacity 0.92s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.92s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, filter;
  pointer-events: none;
  z-index: 1;
}

.home-slide-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
}

.home-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.home-slide.is-active {
  opacity: 1;
  filter: blur(0) saturate(1) brightness(1);
  z-index: 3;
  pointer-events: auto;
}

.home-slide.is-fog-enter {
  opacity: 1;
  filter: blur(36px) saturate(0.76) brightness(0.8);
  z-index: 4;
  pointer-events: auto;
}

.home-slide.is-fogging-out {
  opacity: 1;
  filter: blur(36px) saturate(0.76) brightness(0.8);
  z-index: 5;
  pointer-events: none;
}

.home-slide-overlay {
  display: none;
}

.home-slide-coffee-cta {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 7;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.65);
  background: linear-gradient(95deg, rgba(255, 138, 87, 0.5), rgba(255, 95, 127, 0.5));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.86rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

.home-slide-coffee-cta:hover {
  border-color: rgba(0, 0, 0, 0.8);
}

.home-slider-brand {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: clamp(46px, 6.4vw, 85px);
  height: auto;
  z-index: 8;
  pointer-events: none;
  user-select: none;
  opacity: 0.98;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.home-slide-slogan {
  margin: 0;
  color: #f5fbff;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.38);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
  display: inline-block;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(2px);
}

.home-slide-btn {
  justify-self: start;
  text-decoration: none;
  border-radius: 12px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 8px 18px rgba(17, 22, 29, 0.22);
  backdrop-filter: blur(2px);
}

.choice-card {
  position: relative;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  isolation: isolate;
  background: #0f1926;
  border: 1px solid rgba(214, 231, 247, 0.9);
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(26, 46, 68, 0.2);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.choice-anim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  z-index: 0;
  background: transparent;
}

.choice-image {
  object-fit: cover;
  background: #dfe4ea;
}

.choice-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(26rem 10rem at 20% 0%, rgba(255, 255, 255, 0.18), transparent 58%),
    linear-gradient(to top, rgba(6, 10, 15, 0.78), rgba(6, 10, 15, 0.16) 52%, rgba(6, 10, 15, 0.22));
  z-index: 1;
}

.choice-card::before {
  content: none;
}

.choice-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
}

.choice-content strong {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f8fbff;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.56);
}

.choice-card:hover {
  transform: translateY(-7px);
  border-color: #b8d8ef;
  box-shadow: 0 24px 42px rgba(20, 38, 58, 0.26);
}

.choice-card:hover::before {
  transform: none;
}

.choice-card.card-coffee {
  background-image: url("/static/assets/home-coffee.svg");
  background-size: cover;
  background-position: center;
}

.choice-card.card-katina {
  background: #dfe4ea;
}

.choice-card.card-katina .choice-image {
  object-fit: cover;
  transform: none;
  
}

.choice-card.card-tarot {
  background-image: url("/static/assets/home-tarot.svg");
  background-size: cover;
  background-position: center;
}

.seo-landing-hero {
  margin-top: 14px;
}

.seo-landing-kicker {
  margin: 0;
  display: inline-flex;
  border: 1px solid #d1e3f2;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #3d5c78;
  background: #f8fcff;
}

.seo-landing-title {
  margin: 10px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.34rem, 2.7vw, 2rem);
  color: #23425d;
}

.seo-landing-intro {
  margin: 8px 0 0;
  color: #455f78;
  line-height: 1.6;
}

.seo-landing-cta {
  margin-top: 12px;
}

.seo-section h2,
.seo-faq h2 {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  color: #27435d;
}

.seo-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #47637d;
  line-height: 1.6;
}

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

.seo-faq-item {
  border: 1px solid #d4e4f2;
  border-radius: 10px;
  background: #fbfdff;
  padding: 10px 12px;
}

.seo-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #2e4b66;
}

.seo-faq-item p {
  margin: 8px 0 0;
  color: #49657f;
  line-height: 1.55;
}

.seo-guides-mini {
  margin-top: 16px;
}

.seo-guides-mini h3 {
  margin: 0;
  color: #2e4b66;
}

.seo-guides-mini-links {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-guides-mini-links a {
  text-decoration: none;
  border: 1px solid #d0e2f1;
  border-radius: 999px;
  padding: 7px 12px;
  color: #35506a;
  background: #ffffff;
  font-size: 0.86rem;
}

.card {
  margin-top: 18px;
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(160deg, #ffffff, #f5faff);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}

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

.form-grid.compact { margin-top: 12px; }
.full { grid-column: 1 / -1; }

.panel-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
}

.panel-open-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(140deg, #ff8659, #ff5f7f);
  box-shadow: 0 0 0 2px rgba(255, 99, 125, 0.18);
}

.notifications-card {
  display: grid;
  gap: 12px;
}

.notifications-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.notifications-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.notifications-desc {
  margin: 6px 0 0;
  color: #55708a;
}

.notif-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(140deg, #ff8659, #ff5f7f);
}

.notifications-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.notification-item {
  border: 1px solid #d8e7f5;
  border-radius: 12px;
  background: #f8fcff;
}

.notification-item.is-unread {
  border-color: #ffbfaa;
  background: linear-gradient(160deg, #fff8f5, #f8fcff);
}

.notification-link {
  display: block;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
}

.notification-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: #5c7590;
}

.notification-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff0e9;
  color: #d95f57;
  font-weight: 700;
  font-size: 0.73rem;
}

.notification-link p {
  margin: 6px 0 0;
  color: #2f4a62;
}

.reading-focus-card {
  max-width: 900px;
  margin-inline: auto;
}

.order-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.order-timeline-step {
  display: grid;
  gap: 5px;
  align-items: center;
}

.order-timeline-dot {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: #d7e5f3;
}

.order-timeline-label {
  font-size: 0.72rem;
  line-height: 1.25;
  color: #6a849f;
  font-weight: 600;
}

.order-timeline-step.is-done .order-timeline-dot {
  background: linear-gradient(90deg, #29b676, #7adf9e);
}

.order-timeline-step.is-current .order-timeline-dot {
  background: linear-gradient(90deg, #ff8659, #ff5f7f);
  box-shadow: 0 0 0 2px rgba(255, 120, 90, 0.18);
}

.order-timeline-step.is-done .order-timeline-label,
.order-timeline-step.is-current .order-timeline-label {
  color: #35506a;
}

.order-timeline-compact {
  margin: 8px 0 0;
}

.order-timeline-compact .order-timeline-label {
  font-size: 0.66rem;
}

.reading-meta {
  margin: 0 0 10px;
  color: #3f5a74;
}

.reading-focus-text {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #d4e4f3;
  background: #f9fcff;
  color: #1d3852;
  line-height: 1.8;
  white-space: pre-wrap;
  font-size: 1.02rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
}

input,
textarea,
select,
button {
  font: inherit;
  border-radius: 10px;
  border: 1px solid #d0e2f3;
  padding: 11px;
}

input,
textarea,
select {
  background: var(--surface-soft);
  color: #1f3347;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(54, 213, 255, 0.25);
  border-color: #8ecae6;
}

input.username-ok {
  border-color: #2ea66f;
  box-shadow: 0 0 0 2px rgba(46, 166, 111, 0.16);
}

input.username-bad {
  border-color: #df5666;
  box-shadow: 0 0 0 2px rgba(223, 86, 102, 0.16);
}

input.password-bad {
  border-color: #df5666;
  box-shadow: 0 0 0 2px rgba(223, 86, 102, 0.16);
}

.username-status {
  min-height: 1.1rem;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
}

.username-status.ok {
  color: #2ea66f;
}

.username-status.bad {
  color: #df5666;
}

.username-status.checking {
  color: #5f7a93;
}

.password-status {
  min-height: 1.1rem;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
}

.password-status.bad {
  color: #df5666;
}

button,
.payment-link {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  color: #34170e;
  border-color: transparent;
  font-weight: 700;
  cursor: pointer;
}

button:hover,
.payment-link:hover { filter: brightness(1.04); }

.payment-link {
  display: inline-block;
  text-decoration: none;
  padding: 11px 14px;
  border-radius: 10px;
}

.payment-link.secondary {
  background: #eef6ff;
  color: #35506a;
  border: 1px solid #cfe2f2;
}

.upload-title { margin: 0 0 8px; font-size: 0.92rem; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.photo-slot {
  position: relative;
  display: grid;
  place-items: center;
  height: 108px;
  border-radius: 12px;
  border: 1px dashed #c6dcef;
  background: #f2f8ff;
  overflow: hidden;
  cursor: pointer;
}

.photo-slot input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.photo-slot span {
  font-weight: 700;
  color: #2a4358;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #cfe2f2;
  border-radius: 999px;
  padding: 4px 8px;
}

.photo-slot.has-image span {
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  border-color: rgba(255, 255, 255, 0.24);
}

.reading-slogan {
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #d7e6f5;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(246, 251, 255, 0.95));
  color: #2a4660;
  font-weight: 700;
  font-size: 0.95rem;
}

.reading-subtitle {
  margin: 4px 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #5b748d;
}

.reader-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.reader-card {
  position: relative;
  text-decoration: none;
  border: 1px solid #d6e7f6;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease, border-color 0.2s ease;
  color: #263f55;
}

.reader-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #b7d4ec;
  box-shadow: 0 12px 28px rgba(38,63,85,0.18);
  z-index: 2;
}

.reader-card.active {
  border-color: #ff9a4d;
  box-shadow: 0 0 0 2px rgba(255, 154, 77, 0.26);
}

.reader-card .popular-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: linear-gradient(135deg, #ff9a4d 0%, #ff6b35 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(255,107,53,0.35);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 3px;
}

.reader-card .popular-badge::before {
  content: '★';
  font-size: 0.7rem;
}

.reader-card .reader-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(30, 45, 60, 0.95);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 4;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.reader-card .reader-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(30, 45, 60, 0.95) transparent transparent transparent;
}

.reader-card:hover .reader-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reader-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.reader-card span {
  display: block;
  padding: 10px;
  font-weight: 700;
}

.reader-meta {
  padding: 0 10px 12px;
  display: grid;
  gap: 6px;
}

.reader-live {
  margin: 0;
  font-size: 0.8rem;
  color: #5b748d;
}

.reader-rating-wrap {
  display: grid;
  gap: 2px;
}

.reader-rating-wrap small {
  color: #68819a;
  font-size: 0.74rem;
}

.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 0.86rem;
  letter-spacing: 1px;
  line-height: 1;
}

.rating-stars-bg {
  color: #d2dfeb;
}

.rating-stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f3b24f;
  width: calc((var(--rating, 3) / 5) * 100%);
}

.reader-license {
  margin-top: 12px;
  font-size: 0.86rem;
  color: #617c97;
}

.reader-license a {
  color: #ff6a4f;
  font-weight: 700;
}

.deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 69px));
  justify-content: start;
  gap: 12px;
  margin-top: 12px;
}

.card-back {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  min-height: 0;
  border-radius: 12px;
  color: #fff4ec;
  border: 1px solid rgba(0, 0, 0, 0.14);
}

.card-back.katina-back {
  background-image: url("/static/assets/katina_card.jpg");
  background-size: cover;
  background-position: center;
}

.card-back.tarot-back {
  background-image: url("/static/assets/tarot_card.png");
  background-size: cover;
  background-position: center;
}

.card-back::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.card-back.picked {
  filter: saturate(0.75) brightness(0.88) contrast(0.92);
  box-shadow: inset 0 0 0 999px rgba(236, 244, 252, 0.22);
}

.card-back.picked::after {
  opacity: 1;
  background:
    radial-gradient(120% 85% at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 58%),
    radial-gradient(100% 80% at 50% 100%, rgba(210, 227, 242, 0.46), rgba(210, 227, 242, 0) 65%);
  backdrop-filter: blur(1.2px);
}

.selection { color: #607d99; }

.ai-reading {
  white-space: pre-wrap;
  line-height: 1.55;
  color: #35506a;
}

.alerts { display: grid; gap: 8px; margin-top: 14px; }
.alert { padding: 10px 12px; border-radius: 10px; }
.alert.ok { background: color-mix(in srgb, var(--ok), transparent 84%); }
.alert.error { background: color-mix(in srgb, var(--error), transparent 84%); }

.table-wrap { overflow: auto; }

.panel-detail {
  border: 1px solid #d8e7f5;
  border-radius: 10px;
  padding: 8px 10px;
  background: #f8fcff;
}

.panel-detail summary {
  cursor: pointer;
  font-weight: 700;
  color: #2f4a62;
}

.panel-detail p {
  margin: 8px 0 0;
}

.profile-toggle {
  border: 1px solid #d8e7f5;
  border-radius: 14px;
  background: #ffffff;
  padding: 0;
}

.profile-toggle summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #2f4a62;
  border-radius: 14px;
  background: #f8fcff;
  border: 1px solid #d8e7f5;
}

.profile-toggle summary::-webkit-details-marker {
  display: none;
}

.profile-toggle summary::after {
  content: "▾";
  float: right;
  color: #5d7891;
}

.profile-toggle[open] summary::after {
  content: "▴";
}

.profile-toggle-content {
  padding: 14px 2px 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  border-bottom: 1px solid #d8e7f5;
  padding: 8px;
  text-align: left;
}

a { color: #e6655e; }

.inline-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #35506a;
}

@media (max-width: 900px) {
  .choice-grid { grid-template-columns: 1fr; }
  .seo-link-grid { grid-template-columns: 1fr; }
  .home-slider {
    height: clamp(250px, 62vw, 390px);
  }
  .home-slider-brand {
    right: 10px;
    bottom: 10px;
    width: clamp(41px, 12.8vw, 62px);
  }
  .home-info-rotator {
    min-height: 110px;
  }
  .hero-intro { grid-template-columns: 1fr; }
  .welcome-items { grid-template-columns: 1fr; }
  .executive-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .luxury-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
  }
  .notifications-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer {
  margin-top: 26px;
  border-top: 1px solid #d8e7f5;
  padding-top: 18px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.footer-copy {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #35506a;
  border: 1px solid #cfe2f2;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.82rem;
  background: #ffffff;
}

.footer-links a:hover {
  border-color: #b8d5ec;
  color: #1f3449;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-social a {
  text-decoration: none;
  border: 1px solid #cfe2f2;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: #35506a;
  background: #ffffff;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.social-icon {
  width: 15px;
  height: 15px;
  color: #7398ba;
  flex: 0 0 auto;
}

.footer-social a:hover {
  border-color: #b8d5ec;
}

@media (max-width: 980px) {
  .navbar {
    padding: calc(env(safe-area-inset-top, 0px) + 12px) 20px 12px 10px;
    border-top: 1px solid #d7e8f6;
    border-bottom: 1px solid #d7e8f6;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    background: #ffffff;
    backdrop-filter: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 1004;
  }
  .nav-links { box-shadow: -22px 0 48px rgba(0, 0, 0, 0.4); }
}

.footer-social a.live-support {
  background: linear-gradient(95deg, var(--accent-a), var(--accent-b));
  border-color: transparent;
  color: #33150d;
  font-weight: 700;
}

.footer-social a.live-support .social-icon {
  color: #33150d;
}
