@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #070a0e;
  --bg-elev: rgba(13, 21, 28, 0.78);
  --panel: rgba(15, 25, 34, 0.72);
  --panel-strong: rgba(18, 31, 42, 0.92);
  --cyan: #00f0ff;
  --pink: #ff2a6d;
  --green: #05ffa1;
  --amber: #fcee09;
  --muted: #84a0a8;
  --line: rgba(0, 240, 255, 0.18);
  --line-strong: rgba(0, 240, 255, 0.42);
  --text: #eaf8fa;
  --font-mono: 'Share Tech Mono', monospace;
  --font-sans: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #102530 0%, #070a0e 65%);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  overflow-x: hidden;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Interactive Background & FX Layers */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.ambient-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  transition: background 0.8s ease, transform 1.2s ease;
}

.glow-a {
  top: -160px;
  left: -120px;
  background: var(--cyan);
}

.glow-b {
  bottom: -180px;
  right: -120px;
  background: var(--pink);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.16) 3px,
    rgba(0, 0, 0, 0.16) 4px
  );
  opacity: 0.45;
}

/* Cinematic Splash Screen */
.splash {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #0e1e26 0%, #05070a 100%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  text-align: center;
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.65s;
}

.splash.dismissed {
  opacity: 0;
  transform: scale(1.06);
  visibility: hidden;
  pointer-events: none;
}

.splash-core {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.28), inset 0 0 20px rgba(0, 240, 255, 0.2);
  animation: pulse-ring 2s ease-in-out infinite;
}

.splash-core::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed var(--pink);
  animation: spin 8s linear infinite;
}

.splash-core span {
  font-family: var(--font-mono);
  font-size: 36px;
  color: var(--cyan);
}

.splash small {
  font-family: var(--font-mono);
  color: var(--green);
  letter-spacing: 4px;
  font-size: 12px;
}

.splash p {
  color: #b4d4d8;
  font-size: clamp(18px, 3vw, 26px);
  margin: 18px 0 6px;
}

.splash h1 {
  color: var(--pink);
  font-size: clamp(32px, 6vw, 58px);
  margin: 0;
  letter-spacing: -1.5px;
  text-shadow: 0 0 30px rgba(255, 42, 109, 0.45);
}

.splash-btn {
  margin-top: 28px;
  background: rgba(0, 240, 255, 0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 12px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
  transition: all 0.25s ease;
}

.splash-btn:hover {
  background: var(--cyan);
  color: #041014;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.55);
}

/* Uncluttered Top Bar & Navigation Dock */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 11, 16, 0.8);
  border-bottom: 1px solid var(--line);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(255, 42, 109, 0.2));
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

.brand-text strong {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.8px;
  display: block;
  line-height: 1;
}

.brand-text strong span {
  color: var(--cyan);
  font-weight: 400;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.nav-dock {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 20, 28, 0.85);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 999px;
}

.nav-dock button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

.nav-dock button span {
  font-size: 16px;
}

.nav-dock button:hover {
  color: var(--text);
  background: rgba(0, 240, 255, 0.06);
}

.nav-dock button[aria-current="page"] {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(0, 240, 255, 0.08));
  color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.2), inset 0 0 0 1px rgba(0, 240, 255, 0.45);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}


.lang-select {
  background: rgba(15, 25, 34, 0.9);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  min-height: 33px;
  width: auto;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.16);
}

.pill-btn {
  background: rgba(15, 25, 34, 0.85);
  border: 1px solid var(--line);
  color: var(--cyan);
  padding: 8px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.2);
}

/* Main Container & Smooth View Transitions */
.container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.view-section {
  animation: view-enter 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.99);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Hero Banner */
.hero-card {
  background: linear-gradient(135deg, rgba(16, 29, 40, 0.82), rgba(10, 16, 24, 0.9));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), transparent);
}

.eyebrow {
  font-family: var(--font-mono);
  color: var(--cyan);
  letter-spacing: 2px;
  font-size: 11px;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.22);
  padding: 5px 12px;
  border-radius: 999px;
}

.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: blink 1.8s infinite;
}

h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin: 0 0 14px;
}

h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
}

.hero-copy {
  color: #9cb8c0;
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 24px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary, .secondary {
  border-radius: 12px;
  padding: 13px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.primary {
  background: linear-gradient(135deg, var(--cyan), #00b8ff);
  color: #031014;
  border: none;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.32);
}

.primary:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 0 36px rgba(0, 240, 255, 0.58);
}

.secondary {
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.38);
}

.secondary:hover:not(:disabled) {
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.text-button {
  border: 0;
  background: none;
  color: var(--cyan);
  font-size: 12px;
  font-family: var(--font-mono);
  padding: 6px 2px;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.85;
}

.text-button:hover {
  opacity: 1;
}

/* 3D Hologram Orb */
.hologram {
  height: 270px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 800px;
}

.holo-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 72%);
  transform: rotateX(55deg) scale(1.2);
  animation: grid-pulse 4s ease-in-out infinite alternate;
}

.ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ring-a {
  width: 220px;
  height: 220px;
  border: 1.5px solid rgba(0, 240, 255, 0.65);
  border-top-color: transparent;
  border-bottom-color: transparent;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
  animation: spin-3d-a 9s linear infinite;
}

.ring-b {
  width: 176px;
  height: 176px;
  border: 1.5px dashed rgba(255, 42, 109, 0.7);
  animation: spin-3d-b 12s linear infinite reverse;
}

.ring-c {
  width: 136px;
  height: 136px;
  border: 1px solid rgba(5, 255, 161, 0.65);
  border-left-color: transparent;
  animation: spin 6s linear infinite;
}

.core {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.28) 0%, rgba(7, 12, 18, 0.9) 75%);
  color: var(--cyan);
  font-size: 42px;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.35), inset 0 0 20px rgba(0, 240, 255, 0.25);
  animation: float-core 3.5s ease-in-out infinite;
}

.core span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 4px;
  color: var(--text);
}

/* Module Cards Grid */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.module {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  text-align: left;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.module::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.module.pink::before {
  background: radial-gradient(circle at top right, rgba(255, 42, 109, 0.16), transparent 60%);
}

.module.green::before {
  background: radial-gradient(circle at top right, rgba(5, 255, 161, 0.15), transparent 60%);
}

.module:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(0, 240, 255, 0.14);
}

.module.pink:hover {
  border-color: var(--pink);
  box-shadow: 0 18px 40px rgba(255, 42, 109, 0.16);
}

.module.green:hover {
  border-color: var(--green);
  box-shadow: 0 18px 40px rgba(5, 255, 161, 0.14);
}

.module:hover::before {
  opacity: 1;
}

.module-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.module-id b {
  font-size: 28px;
  color: var(--cyan);
  font-weight: 400;
}

.module.pink .module-id b, .module.pink .module-link {
  color: var(--pink);
}

.module.green .module-id b, .module.green .module-link {
  color: var(--green);
}

.module h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 14px 0 8px;
  letter-spacing: -0.5px;
}

.module p {
  font-size: 14px;
  color: #9cb8c0;
  line-height: 1.55;
  margin: 0 0 18px;
}

.module-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Panels & Daily Energy Patch */
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  backdrop-filter: blur(12px);
  padding: 24px;
  position: relative;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1.2px;
  margin-bottom: 18px;
}

.panel-top b {
  font-size: 10px;
  font-weight: 400;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.28);
  padding: 4px 10px;
  border-radius: 999px;
}

.daily-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.panel label {
  display: block;
  color: #b0cdd4;
  font-size: 13px;
  font-weight: 500;
  margin: 12px 0 6px;
}

input, textarea, select {
  color: var(--text);
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(7, 12, 18, 0.85);
  border-radius: 10px;
  min-height: 42px;
  padding: 10px 14px;
  width: 100%;
  outline: none;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.2);
}

/* Animated SVG Circular Gauges */
.gauges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 20px;
  text-align: center;
}

.gauge-card {
  background: rgba(8, 14, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gauge-ring-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
}

.gauge-svg {
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 7;
}

.gauge-bar {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 251.2;
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px currentColor);
}

.gauge-val {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
}

.gauge-card small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 10px;
}

.motto {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.motto-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  display: block;
}

.motto p {
  font-size: 15px;
  color: var(--text);
  margin: 4px 0 0;
}

/* Section Headers */
.view-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.view-header h1 {
  font-size: clamp(28px, 3.5vw, 40px);
  margin: 4px 0 6px;
}

.view-header p {
  color: #9cb8c0;
  margin: 0;
  font-size: 15px;
}

/* TAROT MATRIX - 3D Cards, Glare, Shockwave & Self-Drawing SVG */
.tarot-panel {
  text-align: center;
  padding: 28px 24px;
}

.cyber-spread {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 20px 0 18px;
  perspective: 1200px;
  flex-wrap: wrap;
}

.cyber-slot {
  width: 210px;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cyber-slot > p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0 0 12px;
}

.cyber-card {
  position: relative;
  background: none;
  padding: 0;
  border: none;
  width: 100%;
  height: 310px;
  perspective: 1100px;
  color: var(--cyan);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, filter 0.3s ease;
}

.cyber-slot:nth-child(2) .cyber-card {
  color: var(--pink);
}

.cyber-slot:nth-child(3) .cyber-card {
  color: var(--green);
}

.cyber-card:not(:disabled):hover {
  filter: drop-shadow(0 0 24px currentColor);
}

.card-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cyber-card.open .card-inner {
  transform: rotateY(180deg);
}

/* Shockwave Ring on Card Flip */
.cyber-slot.burst::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid currentColor;
  transform: translate(-50%, -50%) scale(0.5);
  animation: shockwave 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
  z-index: 10;
}

@keyframes shockwave {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.2);
  }
}

.cyber-front, .cyber-back {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1.5px solid currentColor;
  background: linear-gradient(155deg, #10242c 0%, #081016 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), inset 0 0 24px rgba(0, 240, 255, 0.08);
  overflow: hidden;
}

.cyber-back::before, .cyber-front::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

/* Dynamic Holographic Glare Overlay */
.card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.22), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  z-index: 3;
}

.cyber-card:hover .card-glare {
  opacity: 1;
}

.cyber-back-orb {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px dashed currentColor;
  display: grid;
  place-items: center;
  position: relative;
  animation: spin 14s linear infinite;
}

.cyber-back-symbol {
  font-size: 46px;
  line-height: 1;
  filter: drop-shadow(0 0 12px currentColor);
}

.cyber-back small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  margin-top: 22px;
  color: var(--text);
  opacity: 0.85;
}

.cyber-front {
  transform: rotateY(180deg);
  background: radial-gradient(circle at 50% 35%, rgba(0, 240, 255, 0.14), #091319 75%);
}

.cyber-slot:nth-child(2) .cyber-front {
  background: radial-gradient(circle at 50% 35%, rgba(255, 42, 109, 0.15), #150912 75%);
}

.cyber-slot:nth-child(3) .cyber-front {
  background: radial-gradient(circle at 50% 35%, rgba(5, 255, 161, 0.14), #081612 75%);
}

.cyber-front > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.85;
}

.cyber-front svg {
  width: 100%;
  height: 165px;
  filter: drop-shadow(0 0 8px currentColor);
}

/* Self-drawing SVG path animation when card flips */
.cyber-card.open .cyber-front svg path,
.cyber-card.open .cyber-front svg circle,
.cyber-card.open .cyber-front svg ellipse {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: draw-svg 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}

@keyframes draw-svg {
  to {
    stroke-dashoffset: 0;
  }
}

.cyber-front h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 4px;
  color: var(--text);
}

.cyber-front small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Deck Shuffle & Deal Animation */
.compiling .cyber-slot:nth-child(1) {
  animation: deal-left 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}
.compiling .cyber-slot:nth-child(2) {
  animation: deal-center 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}
.compiling .cyber-slot:nth-child(3) {
  animation: deal-right 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite alternate;
}

@keyframes deal-left {
  0% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
  50% { transform: translate3d(238px, -12px, 60px) rotateZ(-10deg) scale(1.05); }
  100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
}

@keyframes deal-center {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -24px, 90px) rotateZ(6deg) scale(1.08); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes deal-right {
  0% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
  50% { transform: translate3d(-238px, -12px, 60px) rotateZ(10deg) scale(1.05); }
  100% { transform: translate3d(0, 0, 0) rotateZ(0deg); }
}

#tarot-status {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--cyan);
  margin: 14px 0 18px;
}

#tarot-reading {
  margin-top: 26px;
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.result-block {
  background: rgba(8, 15, 22, 0.78);
  border: 1px solid var(--line);
  border-top: 3px solid var(--cyan);
  border-radius: 14px;
  padding: 18px;
  animation: card-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.result-block:nth-child(2) {
  border-top-color: var(--pink);
  animation-delay: 0.12s;
}

.result-block:nth-child(3) {
  border-top-color: var(--green);
  animation-delay: 0.24s;
}

.result-block:nth-child(4) {
  border-top-color: var(--amber);
  animation-delay: 0.36s;
}

@keyframes card-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.result-block h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.result-block:nth-child(2) h3 { color: var(--pink); }
.result-block:nth-child(3) h3 { color: var(--green); }
.result-block:nth-child(4) h3 { color: var(--amber); }

.result-block p {
  font-size: 14px;
  color: #cde2e6;
  line-height: 1.65;
  margin: 0;
}

/* Coffee Scanner Layout & Radar Laser HUD */
.scanner-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.dropzone {
  height: 230px;
  border-radius: 16px;
  display: grid !important;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(0, 240, 255, 0.08), transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 23px, rgba(0, 240, 255, 0.04) 24px),
    repeating-linear-gradient(90deg, transparent, transparent 23px, rgba(0, 240, 255, 0.04) 24px),
    #081016;
  border: 1.5px dashed rgba(0, 240, 255, 0.42);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin: 0 0 10px !important;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.dropzone:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.18);
}

.dropzone img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #060d12;
  position: absolute;
  inset: 0;
}

.dropzone-icon {
  font-size: 48px;
  color: var(--cyan);
  display: block;
  margin-bottom: 8px;
}

.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.scan-beam {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--pink), var(--cyan), transparent);
  box-shadow: 0 0 24px 6px rgba(0, 240, 255, 0.55);
  opacity: 0;
  z-index: 4;
}

.scan-reticle {
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1.5px dashed var(--cyan);
  border-radius: 50%;
  opacity: 0;
  z-index: 3;
  pointer-events: none;
}

.scanning .scan-beam {
  opacity: 1;
  animation: scan-sweep 1.2s ease-in-out infinite alternate;
}

.scanning .scan-reticle {
  opacity: 0.85;
  animation: spin 4s linear infinite;
}

@keyframes scan-sweep {
  from { top: 4%; }
  to { top: 94%; }
}

.scan-progress-wrap {
  margin: 14px 0;
  background: rgba(255, 255, 255, 0.06);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}

.scan-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.25s ease;
}

.terminal-log {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  color: var(--green);
  background: rgba(5, 12, 16, 0.75);
  border: 1px solid rgba(5, 255, 161, 0.2);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

#coffee-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

/* Chat Panel */
.chat-panel {
  margin-top: 20px;
}

.chat-log {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 4px;
}

.chat-log p {
  line-height: 1.65;
  font-size: 14px;
  border-left: 3px solid var(--cyan);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  background: rgba(0, 240, 255, 0.06);
  margin: 0;
}

.chat-log p.user {
  border-left: none;
  border-right: 3px solid var(--pink);
  border-radius: 12px 0 0 12px;
  background: rgba(255, 42, 109, 0.08);
  align-self: flex-end;
  color: #f6dce4;
}

#chat-form {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* Network Compatibility Harmonic Visualizer */
.people-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
  gap: 18px;
}

.person-card {
  background: rgba(8, 14, 20, 0.65);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.person-node {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}

.person-card.pink .person-node {
  color: var(--pink);
}

.harmonic-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
}

.harmonic-wave {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
}

.harmonic-wave i {
  width: 4px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(to top, var(--cyan), var(--pink));
  animation: wave-bounce 1s ease-in-out infinite;
}

.harmonic-wave i:nth-child(2) { animation-delay: 0.15s; height: 24px; }
.harmonic-wave i:nth-child(3) { animation-delay: 0.3s; height: 34px; }
.harmonic-wave i:nth-child(4) { animation-delay: 0.45s; height: 20px; }
.harmonic-wave i:nth-child(5) { animation-delay: 0.6s; height: 14px; }

@keyframes wave-bounce {
  0%, 100% { transform: scaleY(0.45); opacity: 0.6; }
  50% { transform: scaleY(1.15); opacity: 1; }
}

.compatibility-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 16px;
}

.compat-card {
  background: rgba(8, 14, 20, 0.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}

.compat-card small {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.compat-card strong {
  font-family: var(--font-mono);
  font-size: 36px;
  display: block;
  color: var(--cyan);
  margin: 8px 0 12px;
}

.compat-card:nth-child(2) strong { color: var(--green); }
.compat-card:nth-child(3) strong { color: var(--pink); }

.meter {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter > i {
  height: 100%;
  display: block;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), #00a2ff);
  box-shadow: 0 0 12px var(--cyan);
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.compat-card:nth-child(2) .meter > i {
  background: linear-gradient(90deg, var(--green), #00b862);
  box-shadow: 0 0 12px var(--green);
}

.compat-card:nth-child(3) .meter > i {
  background: linear-gradient(90deg, var(--pink), #ff758f);
  box-shadow: 0 0 12px var(--pink);
}

/* Footer & Toast */
footer {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding: 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: rgba(9, 24, 32, 0.95);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  padding: 12px 22px;
  z-index: 90;
  pointer-events: none;
  transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: var(--font-mono);
  font-size: 12px;
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.25);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Keyframes */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes spin-3d-a {
  0% { transform: rotateX(45deg) rotateY(15deg) rotateZ(0deg); }
  100% { transform: rotateX(45deg) rotateY(15deg) rotateZ(360deg); }
}
@keyframes spin-3d-b {
  0% { transform: rotateX(-35deg) rotateY(25deg) rotateZ(0deg); }
  100% { transform: rotateX(-35deg) rotateY(25deg) rotateZ(360deg); }
}
@keyframes float-core {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.04); }
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.25), inset 0 0 15px rgba(0, 240, 255, 0.2); }
  50% { box-shadow: 0 0 45px rgba(0, 240, 255, 0.55), inset 0 0 25px rgba(255, 42, 109, 0.3); }
}
@keyframes grid-pulse {
  from { opacity: 0.45; }
  to { opacity: 0.9; }
}
@keyframes blink {
  50% { opacity: 0.25; }
}

.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
.reduce-motion .splash, .reduce-motion #particles {
  display: none !important;
}



.coord-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}


.houses-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--cyan);
  margin: 18px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.houses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.house-chip {
  background: rgba(8, 14, 22, 0.82);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 10px;
  padding: 8px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.house-chip small {
  color: var(--muted);
  font-size: 10px;
}

.house-chip strong {
  color: var(--text);
  font-weight: 600;
}

.cusp-note {
  font-size: 12px;
  line-height: 1.6;
  color: #9ab8c0;
  background: rgba(252, 238, 9, 0.06);
  border: 1px solid rgba(252, 238, 9, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 14px;
}

.astro-telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.telemetry-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(8, 16, 24, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #bfe8ee;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.telemetry-chip b {
  color: var(--cyan);
  font-weight: 400;
}

.telemetry-chip.dst-on {
  border-color: rgba(252, 238, 9, 0.45);
}

.telemetry-chip.dst-on b {
  color: var(--amber);
}


/* Pro Detailed Natal Chart Views */
.natal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.natal-subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(8, 14, 22, 0.85);
  border: 1px solid var(--line);
  padding: 4px;
  border-radius: 999px;
}

.natal-subtabs button {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.8px;
  padding: 8px 15px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.natal-subtabs button:hover {
  color: var(--text);
}

.natal-subtabs button.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.24), rgba(0, 240, 255, 0.08));
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 240, 255, 0.45);
}

/* Full Pro Wheel Stage */
.pro-wheel-stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: radial-gradient(circle at center, #0e1c26 0%, #070b10 78%);
  padding: 24px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.pro-wheel-stage.light-wheel {
  background: #ffffff;
  border-color: #d8e0ea;
  color: #1e293b;
}

.chart-owner-card {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 5;
  background: rgba(9, 17, 26, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 12px;
  line-height: 1.55;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pro-wheel-stage.light-wheel .chart-owner-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e2e8f0;
  color: #334155;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.chart-owner-card strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
  color: var(--cyan);
}

.pro-wheel-stage.light-wheel .chart-owner-card strong {
  color: #0f172a;
}

.wheel-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(9, 17, 26, 0.88);
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 12px;
}

.pro-wheel-stage.light-wheel .wheel-controls {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e2e8f0;
}

.wheel-ctrl-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s;
}

.pro-wheel-stage.light-wheel .wheel-ctrl-btn {
  color: #334155;
}

.wheel-ctrl-btn:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: rgba(0, 240, 255, 0.35);
}

.wheel-theme-btn {
  width: auto;
  padding: 0 10px;
  font-size: 11px;
}

.pro-wheel-viewport {
  width: 100%;
  max-width: 680px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.pro-wheel-svg {
  width: 100%;
  height: auto;
  max-width: 660px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
}

/* Lower-Triangular Aspect Matrix (Üçgen Açı Matrisi) */
.matrix-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.matrix-scroll {
  overflow-x: auto;
  background: rgba(7, 13, 20, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.aspect-matrix-table {
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 13px;
}

.aspect-matrix-table td {
  width: 29px;
  height: 29px;
  min-width: 29px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(0, 240, 255, 0.14);
  padding: 0;
  transition: background 0.15s;
}

.aspect-matrix-table td.diag-cell {
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.32);
  font-weight: 700;
  color: var(--text);
}

.aspect-matrix-table td.empty-upper {
  border: none;
  background: transparent;
}

.aspect-matrix-table td.asp-cell {
  cursor: pointer;
}

.aspect-matrix-table td.asp-cell:hover {
  background: rgba(0, 240, 255, 0.18);
}

.matrix-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.matrix-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.matrix-side-list {
  background: rgba(7, 13, 20, 0.82);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}

.matrix-side-row {
  display: grid;
  grid-template-columns: 24px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}

.matrix-side-row:last-child {
  border-bottom: none;
}

.matrix-side-row code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}

/* Side-by-Side Tables View (Gezegen & Ev Tabloları) */
.tables-dual-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
  align-items: start;
}

.astro-table-card {
  background: rgba(7, 13, 20, 0.84);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.astro-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.astro-data-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 240, 255, 0.04);
}

.astro-data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.astro-data-table tr:last-child td {
  border-bottom: none;
}

.astro-data-table tr:hover td {
  background: rgba(0, 240, 255, 0.05);
}

.badge-retro {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #ff2a6d;
  background: rgba(255, 42, 109, 0.14);
  border: 1px solid rgba(255, 42, 109, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
}

.badge-stat {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 960px) {
  .matrix-layout, .tables-dual-grid {
    grid-template-columns: 1fr;
  }
  .chart-owner-card {
    position: static;
    width: 100%;
    margin-bottom: 12px;
  }
  .wheel-controls {
    position: static;
    margin-bottom: 12px;
  }
}


/* =========================================================
   MOD_04: KARAR KÜRESİ (EVET / HAYIR SİBER KÜRE & TELEFON SALLAMA)
   ========================================================= */
.oracle-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.quick-chip {
  background: rgba(0, 240, 255, 0.07);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: #bce8ef;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  transition: all 0.2s ease;
}

.quick-chip:hover {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--cyan);
  color: #ffffff;
  transform: translateY(-1px);
}

.orb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  position: relative;
  min-height: 440px;
}

.cyber-orb-wrap {
  position: relative;
  width: 290px;
  height: 290px;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  perspective: 900px;
}

.cyber-orb-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 240, 255, 0.4);
  animation: spin 18s linear infinite;
  pointer-events: none;
}

.cyber-orb-ring-2 {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 109, 0.35);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: spin 11s linear infinite reverse;
  pointer-events: none;
}

.cyber-orb {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  position: relative;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.24) 0%, rgba(0, 240, 255, 0.18) 18%, rgba(10, 22, 34, 0.95) 58%, #03060a 100%);
  border: 2px solid var(--orb-color, var(--cyan));
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.75),
    0 0 42px var(--orb-glow, rgba(0, 240, 255, 0.35)),
    inset 0 0 46px var(--orb-glow, rgba(0, 240, 255, 0.28));
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
}

.cyber-orb:hover {
  transform: scale(1.02);
}

/* Inner dark liquid window */
.orb-window {
  width: 178px;
  height: 178px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #081520 0%, #020508 85%);
  border: 1.5px solid rgba(0, 240, 255, 0.28);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.95);
  display: grid;
  place-items: center;
  position: relative;
  padding: 16px;
  text-align: center;
}

/* Floating Quantum Die Triangle SVG */
.orb-triangle {
  position: absolute;
  inset: 14px;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  opacity: 0.35;
  filter: drop-shadow(0 0 10px var(--orb-color, var(--cyan)));
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.orb-revealed .orb-triangle {
  opacity: 0.85;
  transform: rotate(360deg) scale(1.04);
}

.orb-answer-box {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.orb-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.14);
  border: 1px solid var(--orb-color, var(--cyan));
  color: var(--orb-color, var(--cyan));
}

.orb-verdict {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 0 16px var(--orb-color, var(--cyan));
  max-width: 145px;
}

/* 3D Shake Animation */
.shaking .cyber-orb {
  animation: orb-shake-3d 0.78s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}

.shaking .orb-answer-box {
  opacity: 0.15;
  transform: scale(0.75);
  filter: blur(4px);
}

@keyframes orb-shake-3d {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); }
  15%  { transform: translate3d(-14px, -10px, 20px) rotate(-9deg); }
  30%  { transform: translate3d(14px, 8px, -15px) rotate(9deg); }
  45%  { transform: translate3d(-12px, 12px, 25px) rotate(-7deg); }
  60%  { transform: translate3d(12px, -12px, -10px) rotate(8deg); }
  75%  { transform: translate3d(-8px, 6px, 15px) rotate(-5deg); }
  90%  { transform: translate3d(8px, -4px, 5px) rotate(4deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

.oracle-detail-box {
  margin-top: 20px;
  width: 100%;
  background: rgba(8, 15, 22, 0.85);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orb-color, var(--cyan));
  border-radius: 14px;
  padding: 14px 18px;
  text-align: center;
}

.oracle-detail-box p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #d9f2f6;
}

.oracle-history-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oracle-hist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(7, 13, 20, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
}

.oracle-hist-item span {
  color: #b4d0d6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.oracle-hist-item b {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .oracle-layout {
    grid-template-columns: 1fr;
  }
}

/* Natal Star Chart (Yıldız Haritası) */
.natal-panel {
  margin-top: 22px;
}

.natal-grid {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.star-wheel-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle at center, rgba(0, 240, 255, 0.08) 0%, rgba(7, 11, 16, 0.85) 72%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}

.star-wheel {
  width: 100%;
  max-width: 348px;
  height: auto;
  overflow: visible;
}

.wheel-spin-ring {
  transform-origin: 200px 200px;
  animation: spin 60s linear infinite;
}

.aspect-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw-aspect 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: opacity 0.25s ease, stroke-width 0.25s ease;
}

@keyframes draw-aspect {
  to { stroke-dashoffset: 0; }
}

.planet-node {
  cursor: pointer;
  transition: transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.planet-node:hover, .planet-node.active {
  transform: scale(1.22);
}

.element-bars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin-top: 14px;
}

.el-pill {
  background: rgba(8, 14, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}

.el-pill small {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  display: block;
}

.el-pill strong {
  font-family: var(--font-mono);
  font-size: 15px;
  display: block;
  margin-top: 2px;
}

.natal-synthesis {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.09), rgba(255, 42, 109, 0.06));
  border: 1px solid rgba(0, 240, 255, 0.28);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.natal-synthesis h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.2px;
  color: var(--cyan);
  margin: 0 0 8px;
}

.natal-synthesis p {
  font-size: 14px;
  line-height: 1.65;
  color: #d9eff2;
  margin: 0;
}

.planet-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.planet-card {
  background: rgba(8, 15, 22, 0.78);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  animation: card-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  cursor: pointer;
}

.planet-card:hover, .planet-card.active {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.14);
}

.planet-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.planet-card-head strong {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
}

.planet-card-head span {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan);
  white-space: nowrap;
}

.planet-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #a9c5cb;
  margin: 0;
}

@media (max-width: 900px) {
  .natal-grid, .planet-cards { grid-template-columns: 1fr; }
  .element-bars { grid-template-columns: repeat(2, 1fr); }
  .hero-card, .daily-layout, .scanner-layout, #tarot-reading, #coffee-results {
    grid-template-columns: 1fr;
  }
  .module-grid, .compatibility-bars {
    grid-template-columns: 1fr;
  }
  .people-grid {
    grid-template-columns: 1fr;
  }
  .topbar {
    justify-content: center;
  }
  .nav-dock {
    width: 100%;
    overflow-x: auto;
    justify-content: space-between;
  }
  .nav-dock button {
    padding: 8px 12px;
    font-size: 12px;
  }
}
