:root {
  /* Основные цвета */
  --color-primary: #5a67d8;
  --color-primary-light: #a3bffa;
  --color-secondary: #48bb78;
  --color-bg-primary: #f8fafc;
  --color-bg-secondary: #ffffff;
  --color-surface: #edf2f7;
  --color-text-primary: #1a202c;
  --color-text-secondary: #4a5568;
  --color-text-muted: #a0aec0;
  --color-border: #e2e8f0;
  --color-border-focus: #4299e1;
  --color-success: #48bb78;
  --color-warning: #ed8936;
  --color-error: #f56565;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
}

/* Темная тема */
[data-theme="dark"] {
  --color-bg-primary: #0f172a;
  --color-bg-secondary: #1e293b;
  --color-surface: #334155;
  --color-text-primary: #f1f5f9;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-border: #475569;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.2;
}

.highlight {
  color: var(--color-primary);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #4c51bf;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #38a169;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Header */
.main-header {
  position: relative;
  background-color: var(--color-bg-secondary);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.logo i {
  font-size: 1.8rem;
  color: var(--color-primary);
}

@media (max-width: 576px) {
  .logo-area {
    gap: 1rem;
  }

  .logo {
    font-size: 1rem;
  }

  .logo i {
    font-size: 1.3rem;
  }
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-surface);
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--color-primary);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-right: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-primary);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  overflow: hidden;
}

.hero-section .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  width: 100%;
  object-fit: cover;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background-color: var(--color-bg-secondary);
}

.about-section .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-image {
  flex: 1;
}

.about-content {
  flex: 1;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.feature {
  background-color: var(--color-bg-primary);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.feature i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Tarot Section */
.tarot-section {
  padding: 5rem 0;
}

.tarot-section .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.tarot-content {
  flex: 1;
}

.tarot-content p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
}

.tarot-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.tarot-image img {
  max-width: 100%;
  height: auto;
}

/* Footer */
.main-footer {
  background-color: var(--color-surface);
  padding: 3rem 0 1.5rem;
  color: var(--color-text-secondary);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-brand {
  flex: 1;
  min-width: 300px;
}

.footer-brand .logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-text {
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links {
  flex: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
}

.link-group h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.75rem;
}

.link-group a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.link-group a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 1000;
  max-width: 500px;
  width: 90%;
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Animations */
.floating-animation {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.rotate-animation-slow {
  animation: rotating 40s linear infinite;
}

@keyframes rotating {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.float-animation {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(1deg);
  }
  66% {
    transform: translateY(10px) rotate(-1deg);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-section .container,
  .about-section .container,
  .tarot-section .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 1380px) {
  .nav-list {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-secondary);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    gap: 1rem;
  }

  .nav-list.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

img {
  max-width: 100%;
}

/* Rhythms Section */
.rhythms-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-primary) 0%, #e6f0ff 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
}

.disclaimer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  max-width: 600px;
  margin: 0 auto;
}

.disclaimer-note i {
  color: var(--color-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.disclaimer-note p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.rhythms-timeline {
  position: relative;
  margin: 4rem 0;
  padding: 2rem 0;
}

.timeline-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0.5rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) transparent;
  cursor: grab;
}

.timeline-track:active {
  cursor: grabbing;
}

.timeline-track::-webkit-scrollbar {
  height: 6px;
}

.timeline-track::-webkit-scrollbar-track {
  background: var(--color-surface);
  border-radius: 10px;
}

.timeline-track::-webkit-scrollbar-thumb {
  background-color: var(--color-primary-light);
  border-radius: 10px;
}

.timeline-item {
  min-width: 320px;
  flex-shrink: 0;
  position: relative;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.timeline-item.highlight-item {
  border: 2px solid var(--color-primary);
  background: linear-gradient(
    135deg,
    var(--color-bg-secondary) 0%,
    #f0f4ff 100%
  );
}

.timeline-dot {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg-secondary);
  z-index: 2;
}

.highlight-item .timeline-dot {
  background: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2);
}

.timeline-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.timeline-date {
  font-size: 0.875rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-sm);
}

.timeline-desc {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.timeline-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: var(--color-surface);
  border-radius: 50%;
  margin: 0 auto;
}

.timeline-icon i {
  font-size: 1.5rem;
  color: var(--color-primary);
}

.highlight-item .timeline-icon i {
  color: var(--color-secondary);
}

.timeline-scroll-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.rhythms-cta {
  text-align: center;
  max-width: 700px;
  margin: 3rem auto 0;
  padding: 2rem;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.rhythms-cta p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.rhythms-bg-image {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
  width: 500px;
  height: 500px;
}

.rhythms-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.parallax-bg {
  animation: slow-rotate 120s linear infinite;
}

@keyframes slow-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive for Rhythms */
@media (max-width: 992px) {
  .rhythms-bg-image {
    display: none;
  }

  .timeline-item {
    min-width: 280px;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .disclaimer-note {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .timeline-scroll-hint span {
    display: none;
  }

  .timeline-scroll-hint i {
    font-size: 1.5rem;
  }

  .rhythms-cta {
    padding: 1.5rem;
  }
}

[data-theme="dark"] .rhythms-section {
  background: none;
}

[data-theme="dark"] .timeline-item.highlight-item {
  background: var(--color-bg-secondary);
}

/* Horoscope Page Specific Styles */
.horoscope-page {
  overflow-x: hidden;
}

/* Hero Section */
.horoscope-hero {
  padding: 6rem 0 8rem;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: white;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.horoscope-hero .container {
  position: relative;
  z-index: 2;
}

.horoscope-hero .hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: white;
}

.horoscope-hero .hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
}

.horoscope-hero .hero-note {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  max-width: 700px;
  margin-top: 2rem;
}

.horoscope-hero .hero-note i {
  font-size: 1.5rem;
  color: var(--color-primary-light);
  flex-shrink: 0;
}

.horoscope-hero .hero-note p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Planet Orbits Animation */
.hero-orbits {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  z-index: 1;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: orbit-rotate linear infinite;
}

.orbit-1 {
  width: 100px;
  height: 100px;
  top: 150px;
  left: 150px;
  animation-duration: 8s;
}

.orbit-2 {
  width: 200px;
  height: 200px;
  top: 100px;
  left: 100px;
  animation-duration: 12s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 300px;
  height: 300px;
  top: 50px;
  left: 50px;
  animation-duration: 20s;
}

.orbit-4 {
  width: 380px;
  height: 380px;
  top: 10px;
  left: 10px;
  animation-duration: 25s;
  animation-direction: reverse;
}

.orbit-5 {
  width: 450px;
  height: 450px;
  top: -25px;
  left: -25px;
  animation-duration: 30s;
}

.planet {
  position: absolute;
  border-radius: 50%;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.mercury {
  width: 8px;
  height: 8px;
  background: #8c8c8c;
}

.venus {
  width: 12px;
  height: 12px;
  background: #e39e54;
}

.earth {
  width: 14px;
  height: 14px;
  background: #4a8cff;
}

.mars {
  width: 10px;
  height: 10px;
  background: #ff4a4a;
}

.jupiter {
  width: 24px;
  height: 24px;
  background: #e0b36a;
}

@keyframes orbit-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.zodiac-wheel {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  opacity: 0.1;
  z-index: 1;
}

.spinning-wheel {
  width: 100%;
  height: 100%;
  animation: spin 120s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Introduction Section */
.intro-section {
  padding: 6rem 0;
  background-color: var(--color-bg-primary);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text h2 {
  margin-bottom: 1.5rem;
}

.intro-text p {
  margin-bottom: 1.5rem;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.feature-box {
  background: var(--color-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-secondary);
}

.feature-box i {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-box p {
  margin-bottom: 0;
  font-size: 1rem;
}

.planet-comparison {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.planet-item {
  text-align: center;
  background: var(--color-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.planet-item:hover {
  transform: translateY(-10px);
}

.planet-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.planet-item h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.planet-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Themes Section */
.themes-section {
  padding: 6rem 0;
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.centered {
  text-align: center;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.theme-card {
  background: var(--color-bg-primary);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.theme-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

.theme-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.theme-icon i {
  font-size: 1.8rem;
  color: white;
}

.theme-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.theme-card p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.theme-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--color-surface);
  color: var(--color-text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.planetary-aspects {
  background: var(--color-bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin-top: 4rem;
}

.subsection-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
}

.aspects-visual {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 3rem 0;
}

.aspect-line {
  position: relative;
  width: 100px;
  height: 80px;
}

.aspect-dot {
  width: 20px;
  height: 20px;
  background: var(--color-primary);
  border-radius: 50%;
  position: absolute;
}

.start-dot {
  top: 0;
  left: 0;
}

.end-dot {
  top: 0;
  right: 0;
}

.aspect-line-mid {
  position: absolute;
  top: 10px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--color-primary);
}

.aspect-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  text-align: center;
}

.aspects-note {
  text-align: center;
  max-width: 600px;
  margin: 2rem auto 0;
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.95rem;
}

/* Forecast Section */
.forecast-section {
  padding: 6rem 0;
  background-color: var(--color-bg-primary);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.zodiac-selector {
  background: var(--color-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
}

.zodiac-signs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}

.zodiac-btn {
  background: var(--color-surface);
  border: none;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: all 0.3s ease;
}

.zodiac-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.zodiac-btn.active {
  background: var(--color-primary);
  color: white;
}

.zodiac-btn i {
  font-size: 1.2rem;
}

.forecast-content {
  position: relative;
  min-height: 600px;
}

.zodiac-forecast {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.zodiac-forecast.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.forecast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.sign-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sign-dates {
  font-size: 1rem;
  color: var(--color-text-muted);
  font-weight: normal;
}

.sign-element {
  color: var(--color-primary);
  font-weight: 500;
}

.sign-ruler {
  text-align: right;
}

.ruler-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.ruler-name {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.forecast-card {
  background: var(--color-bg-secondary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.forecast-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.forecast-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.forecast-card p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.forecast-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-top: 1rem;
  border-radius: var(--radius-md);
}

.forecast-note {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-secondary);
  display: flex;
  gap: 1rem;
}

.forecast-note i {
  color: var(--color-secondary);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.forecast-note p {
  margin: 0;
  font-style: italic;
  color: var(--color-text-secondary);
}

.forecast-disclaimer {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 4rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  border: 2px solid var(--color-warning);
}

.forecast-disclaimer i {
  color: var(--color-warning);
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.forecast-disclaimer p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Events Section */
.events-section {
  padding: 6rem 0;
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.events-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.events-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  z-index: 1;
}

.event-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 80px;
  z-index: 2;
}

.event-date {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  padding: 0.5rem;
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-align: center;
  z-index: 3;
}

.event-content {
  background: var(--color-bg-primary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.event-content::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--color-secondary);
  border-radius: 50%;
  z-index: 3;
}

.event-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.event-content p {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.event-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.events-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.star {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  animation: twinkle linear infinite;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .themes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .forecast-grid {
    grid-template-columns: 1fr;
  }

  .zodiac-signs {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-orbits {
    display: none;
  }

  .horoscope-hero .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .themes-grid {
    grid-template-columns: 1fr;
  }

  .zodiac-signs {
    grid-template-columns: repeat(3, 1fr);
  }

  .forecast-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .sign-ruler {
    text-align: left;
  }

  .aspects-visual {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .horoscope-hero {
    min-height: auto;
    padding: 4rem 0 6rem;
  }

  .horoscope-hero .hero-title {
    font-size: 2.5rem;
  }

  .horoscope-hero .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .zodiac-signs {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-item {
    padding-left: 0;
  }

  .event-date {
    position: relative;
    margin-bottom: 1rem;
  }

  .events-timeline::before,
  .event-content::before {
    display: none;
  }

  .forecast-disclaimer {
    flex-direction: column;
    text-align: center;
  }

  .horoscope-hero .hero-note {
    flex-direction: column;
    text-align: center;
  }
}

/* Tarot Page Specific Styles */
.tarot-page {
  overflow-x: hidden;
}

/* Tarot Hero Section */
.tarot-hero {
  padding: 6rem 0 8rem;
  position: relative;
  background: linear-gradient(135deg, #1a1035 0%, #2d1b69 50%, #4a2c92 100%);
  color: white;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.tarot-hero .container {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.hero-subtitle {
  font-size: 1.8rem;
  text-align: center;
  opacity: 0.9;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.disclaimer-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary-light);
  max-width: 700px;
  margin: 3rem auto 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.disclaimer-box i {
  font-size: 2rem;
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.disclaimer-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.tarot-cards-floating {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  height: 400px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.1;
}

.floating-card {
  position: absolute;
  width: 180px;
  height: 280px;
  background: linear-gradient(145deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mystical-float 8s ease-in-out infinite;
}

.card-front {
  width: 140px;
  height: 220px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.card-front i {
  font-size: 4rem;
}

.card-1 {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
}

.card-2 {
  left: 45%;
  top: 10%;
  animation-delay: 1s;
  transform: rotate(15deg);
}

.card-3 {
  left: 75%;
  top: 25%;
  animation-delay: 2s;
  transform: rotate(-10deg);
}

.mystical-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 103, 216, 0.3), transparent);
  animation: mystical-float 20s ease-in-out infinite;
  opacity: 0.3;
}

.element-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}

.element-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 80%;
  animation-delay: 5s;
}

.element-3 {
  width: 80px;
  height: 80px;
  top: 80%;
  left: 15%;
  animation-delay: 10s;
}

.element-4 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 70%;
  animation-delay: 15s;
}

/* Philosophy Section */
.philosophy-section {
  padding: 6rem 0;
  background-color: var(--color-bg-primary);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 5rem;
}

.philosophy-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  position: relative;
}

.philosophy-card:hover {
  transform: translateY(-10px);
}

.card-visual {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.symbol-circle {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.symbol-circle i {
  font-size: 3rem;
  color: white;
}

.sparkle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 2s ease-in-out infinite;
}

.s1 {
  top: 30px;
  left: 30px;
  animation-delay: 0.5s;
}
.s2 {
  top: 50px;
  right: 40px;
  animation-delay: 1s;
}
.s3 {
  bottom: 40px;
  left: 40px;
  animation-delay: 1.5s;
}

.card-content {
  padding: 2rem;
}

.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.card-content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.interactive-element {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.pendulum-container {
  flex-shrink: 0;
  width: 150px;
  height: 200px;
  position: relative;
  display: flex;
  justify-content: center;
}

.pendulum-string {
  position: absolute;
  top: 0;
  width: 2px;
  height: 150px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  transform-origin: top center;
}

.pendulum-weight {
  position: absolute;
  top: 150px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.interactive-text {
  flex: 1;
}

.interactive-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.interactive-text p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Analysis Section */
.analysis-section {
  padding: 6rem 0;
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.year-disclaimer {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 4px solid var(--color-warning);
}

.year-disclaimer i {
  color: var(--color-warning);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.year-disclaimer p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.tarot-spread {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.spread-card {
  background: var(--color-bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
}

.spread-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.spread-card.highlighted {
  border: 2px solid var(--color-primary);
  transform: scale(1.05);
}

.spread-card.highlighted:hover {
  transform: scale(1.05) translateY(-10px);
}

.card-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spread-card:hover .card-image img {
  transform: scale(1.05);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(90, 103, 216, 0.3),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.special-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.card-content {
  padding: 2rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-border);
}

.card-header h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin: 0;
}

.card-element {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.card-symbolism,
.card-interpretation,
.card-reflection {
  margin-bottom: 2rem;
}

.card-symbolism h4,
.card-interpretation h4,
.card-reflection h4 {
  font-size: 1.2rem;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-symbolism p,
.card-interpretation p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.card-reflection h4 {
  color: var(--color-secondary);
}

.card-reflection p {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-secondary);
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.spread-interpretation {
  background: var(--color-bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  margin: 4rem 0;
  box-shadow: var(--shadow-md);
}

.spread-interpretation h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spread-interpretation p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.final-disclaimer {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 4px solid var(--color-warning);
}

.final-disclaimer i {
  color: var(--color-warning);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.final-disclaimer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.interactive-spread {
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  padding: 3rem;
  border-radius: var(--radius-lg);
  color: white;
  text-align: center;
}

.interactive-spread h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.interactive-spread p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.card-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.card-choice {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.card-choice:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.card-choice.active {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.card-choice i {
  font-size: 1.5rem;
}

.personal-reflection {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: left;
}

#reflection-content h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#reflection-content p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.reflection-note {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.reflection-note i {
  color: #ffd700;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.reflection-note p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.6;
}

.tarot-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

.esoteric-symbol {
  position: absolute;
  font-size: 2rem;
  color: rgba(90, 103, 216, 0.1);
  animation: mystical-float 25s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .tarot-spread {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .spread-card.highlighted {
    transform: scale(1);
  }

  .spread-card.highlighted:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .philosophy-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .interactive-element {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .tarot-cards-floating {
    display: none;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .card-selector {
    flex-direction: column;
    align-items: center;
  }

  .card-choice {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .floating-card {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .disclaimer-box {
    flex-direction: column;
    text-align: center;
  }

  .year-disclaimer {
    flex-direction: column;
    text-align: center;
  }

  .final-disclaimer {
    flex-direction: column;
    text-align: center;
  }

  .interactive-spread {
    padding: 2rem 1.5rem;
  }
}

/* History Section */
.history-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.history-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.history-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7) saturate(1.2);
  animation: slow-zoom 30s ease-in-out infinite alternate;
}

@keyframes slow-zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}

.history-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 16, 53, 0.85) 0%,
    rgba(45, 27, 105, 0.8) 50%,
    rgba(74, 44, 146, 0.75) 100%
  );
  z-index: 2;
}

.history-content {
  position: relative;
  z-index: 3;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.history-text .section-title {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.history-intro {
  font-size: 1.4rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 90%;
}

.history-timeline {
  position: relative;
  margin: 3rem 0;
  padding-left: 2rem;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--color-primary-light),
    var(--color-secondary),
    var(--color-primary-light)
  );
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--color-secondary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.3);
}

.timeline-year {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary-light);
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(90, 103, 216, 0.2);
  border-radius: 20px;
  border: 1px solid rgba(90, 103, 216, 0.4);
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: white;
}

.timeline-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.history-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-primary-light);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

.feature h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.history-note {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 3rem 0;
  border-left: 4px solid var(--color-primary-light);
}

.history-note i {
  font-size: 2rem;
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.history-note p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.history-note p:last-child {
  margin-bottom: 0;
}

.note-small {
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.history-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.history-cta .btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.cta-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.history-visual {
  position: relative;
  height: 100%;
}

.visual-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-5deg);
  transition: all 0.5s ease;
}

.visual-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.arcana-image {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.visual-caption {
  text-align: center;
}

.visual-caption h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.visual-caption p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
}

.visual-sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

.s1 {
  top: 20px;
  left: 20px;
  animation-delay: 0s;
}
.s2 {
  top: 40px;
  right: 30px;
  animation-delay: 0.7s;
}
.s3 {
  bottom: 30px;
  left: 40px;
  animation-delay: 1.4s;
}

.history-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 3;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  opacity: 0.8;
  animation: fade-pulse 2s ease-in-out infinite;
}

@keyframes fade-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    var(--color-primary-light),
    transparent
  );
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary-light);
  border-radius: 50%;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(20px);
    opacity: 0;
  }
}

/* Update analysis-section to have id for scrolling */
.analysis-section {
  padding: 6rem 0;
  background-color: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Responsive Design for History Section */
@media (max-width: 1200px) {
  .history-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .history-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .visual-card {
    transform: perspective(1000px) rotateY(0deg);
  }
}

@media (max-width: 992px) {
  .history-features {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .history-text .section-title {
    font-size: 2.8rem;
  }

  .history-intro {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .history-section {
    padding: 6rem 0;
  }

  .history-text .section-title {
    font-size: 2.3rem;
  }

  .history-intro {
    font-size: 1.1rem;
    max-width: 100%;
  }

  .history-note {
    flex-direction: column;
    text-align: center;
  }

  .history-cta .btn-large {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .history-timeline {
    padding-left: 1.5rem;
  }

  .timeline-item {
    padding-left: 1.5rem;
  }

  .history-features {
    gap: 1rem;
  }

  .feature {
    padding: 1.25rem;
  }
}

.history-section .timeline-item {
  background: var(--color-primary);
}

/* Personal Page Specific Styles */
.personal-page {
  overflow-x: hidden;
}

/* Personal Hero Section */
.personal-hero {
  padding: 5rem 0 8rem;
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #2d3748 100%);
  color: white;
  overflow: hidden;
}

.personal-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.feature i {
  font-size: 2rem;
  color: var(--color-primary-light);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: white;
}

.feature p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.disclaimer-banner {
  background: rgba(237, 137, 54, 0.1);
  border: 1px solid rgba(237, 137, 54, 0.3);
  border-left: 4px solid var(--color-warning);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.disclaimer-banner i {
  color: var(--color-warning);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.disclaimer-banner h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: white;
}

.disclaimer-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Hero Visual - Planet System */
.hero-visual {
  position: relative;
  height: 400px;
}

.planet-system {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
}

.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, #fbbf24, #f59e0b);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.5);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.earth-orbit {
  width: 200px;
  height: 200px;
  top: 50px;
  left: 50px;
}

.mars-orbit {
  width: 250px;
  height: 250px;
  top: 25px;
  left: 25px;
}

.venus-orbit {
  width: 150px;
  height: 150px;
  top: 75px;
  left: 75px;
}

.planet {
  position: absolute;
  border-radius: 50%;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.earth {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #60a5fa, #3b82f6);
}

.mars {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #f87171, #dc2626);
}

.venus {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #fbbf24, #d97706);
}

.zodiac-constellation {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
}

.star {
  position: absolute;
  background-color: white;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

.zodiac-constellation .star:nth-child(1) {
  width: 3px;
  height: 3px;
  top: 20%;
  left: 30%;
}
.zodiac-constellation .star:nth-child(2) {
  width: 4px;
  height: 4px;
  top: 40%;
  left: 60%;
  animation-delay: 0.5s;
}
.zodiac-constellation .star:nth-child(3) {
  width: 2px;
  height: 2px;
  top: 60%;
  left: 20%;
  animation-delay: 1s;
}
.zodiac-constellation .star:nth-child(4) {
  width: 5px;
  height: 5px;
  top: 70%;
  left: 70%;
  animation-delay: 1.5s;
}
.zodiac-constellation .star:nth-child(5) {
  width: 3px;
  height: 3px;
  top: 30%;
  left: 80%;
  animation-delay: 2s;
}
.zodiac-constellation .star:nth-child(6) {
  width: 4px;
  height: 4px;
  top: 80%;
  left: 40%;
  animation-delay: 2.5s;
}

.constellation-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  height: 1px;
  transform-origin: left center;
}

.constellation-line:nth-child(7) {
  width: 60px;
  top: 20%;
  left: 30%;
  transform: rotate(30deg);
}
.constellation-line:nth-child(8) {
  width: 80px;
  top: 40%;
  left: 20%;
  transform: rotate(60deg);
}
.constellation-line:nth-child(9) {
  width: 70px;
  top: 70%;
  left: 30%;
  transform: rotate(120deg);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--color-bg-primary));
  z-index: 1;
}

/* Personal Form Section */
.personal-form-section {
  padding: 6rem 0;
  background-color: var(--color-bg-primary);
}

.form-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.form-header .section-title {
  margin-bottom: 1rem;
}

.form-header .section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.form-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quiz-form {
  background: var(--color-bg-secondary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.quiz-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.form-group select,
.form-group input[type="date"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.form-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.form-hint i {
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: normal;
  margin-bottom: 0;
  line-height: 1.5;
}

.checkbox-group a {
  color: var(--color-primary);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.form-disclaimer {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-left: 4px solid var(--color-success);
}

.form-disclaimer i {
  color: var(--color-success);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.form-disclaimer p {
  margin: 0;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.form-actions {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}

.quiz-button {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.form-note {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Form Sidebar */
.form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--color-bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-primary);
}

.sidebar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-card p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sidebar-card p:last-child {
  margin-bottom: 0;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card li {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.sidebar-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: bold;
}

.processing-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.processing-time i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.processing-time span {
  color: var(--color-text-secondary);
  font-weight: 500;
}

.warning-card {
  border-top-color: var(--color-warning);
}

.warning-card h3 i {
  color: var(--color-warning);
}

/* Responsive Design */
@media (max-width: 992px) {
  .personal-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .form-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    height: 300px;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .quiz-form {
    padding: 2rem 1.5rem;
  }

  .disclaimer-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .feature {
    padding: 1.25rem;
  }

  .form-group.checkbox-group label {
    font-size: 0.9rem;
  }

  .quiz-button {
    width: 100%;
    justify-content: center;
  }
}

/* Personal Page Specific Styles */
.personal-page {
  overflow-x: hidden;
}

/* Personal Hero Section */
.personal-hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-bg-primary) 0%, #e6f0ff 100%);
}

.personal-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.hero-intro p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.feature-item i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cosmic-circle {
  position: relative;
  width: 300px;
  height: 300px;
}

.circle-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.circle-inner i {
  font-size: 4rem;
  color: white;
}

.ring {
  position: absolute;
  border: 2px solid var(--color-primary-light);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  animation: pulse-ring 3s ease-in-out infinite;
}

.ring-1 {
  width: 200px;
  height: 200px;
  animation-delay: 0s;
}

.ring-2 {
  width: 250px;
  height: 250px;
  animation-delay: 0.5s;
}

.ring-3 {
  width: 300px;
  height: 300px;
  animation-delay: 1s;
}

@keyframes pulse-ring {
  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Personal Form Section */
.personal-form-section {
  padding: 5rem 0;
  background-color: var(--color-bg-secondary);
}

.form-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.form-header .section-title {
  margin-bottom: 1rem;
}

.form-header .section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.disclaimer-box {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-warning);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.disclaimer-box i {
  color: var(--color-warning);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.disclaimer-box p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.quiz-form {
  background: var(--color-bg-primary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.quiz-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.form-group select,
.form-group input[type="date"],
.form-group input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg-secondary);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}

.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a5568' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2rem 0;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-weight: normal;
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.checkbox-group a {
  color: var(--color-primary);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.form-actions {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}

.quiz-button {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.form-note {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 992px) {
  .personal-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .quiz-form {
    padding: 2rem 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .disclaimer-box {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .cosmic-circle {
    width: 250px;
    height: 250px;
  }

  .ring-1 {
    width: 150px;
    height: 150px;
  }

  .ring-2 {
    width: 200px;
    height: 200px;
  }

  .ring-3 {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .feature-item {
    padding: 1.25rem 0.75rem;
  }

  .quiz-title {
    font-size: 1.5rem;
  }

  .quiz-button {
    width: 100%;
    justify-content: center;
  }

  .checkbox-group label {
    font-size: 0.9rem;
  }
}

/* Contact Page Specific Styles */
.contact-page {
  padding: 4rem 0;
  background-color: var(--color-bg-primary);
  min-height: calc(100vh - 200px);
}

.contact-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.contact-intro h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.contact-intro p {
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.contact-form {
  background: var(--color-bg-secondary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.col-12 {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(90, 103, 216, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Alerts */
.alert {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  align-items: flex-start;
}

.alert i {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.sublayer {
  background: rgba(72, 187, 120, 0.1);
  border-left: 4px solid var(--color-success);
}

.sublayer i {
  color: var(--color-success);
}

.boxarea {
  background: rgba(245, 101, 101, 0.1);
  border-left: 4px solid var(--color-error);
}

.boxarea i {
  color: var(--color-error);
}

.alert h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.alert p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Checkbox styles */
.captcha-container,
.consent-container {
  background: var(--color-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.captcha-label,
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: normal;
  margin: 0;
}

.captcha-label input[type="checkbox"],
.consent-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.captcha-text,
.consent-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.captcha-text span:first-child,
.consent-text span:first-child {
  color: var(--color-text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.captcha-hint,
.consent-hint {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.captcha-hint a,
.consent-hint a {
  color: var(--color-primary);
  text-decoration: none;
}

.captcha-hint a:hover,
.consent-hint a:hover {
  text-decoration: underline;
}

/* Submit button */
.form-submit {
  margin: 2rem 0;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}

.navbox {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.text-center {
  text-align: center;
}

.small {
  font-size: 0.85rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.text-muted {
  color: var(--color-text-muted);
}

/* Responsive Design */
@media (max-width: 992px) {
  .contact-form {
    padding: 2.5rem;
  }

  .contact-intro h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 2rem 1.5rem;
  }

  .contact-intro h1 {
    font-size: 2rem;
  }

  .contact-intro p {
    font-size: 1rem;
  }

  .alert {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 576px) {
  .contact-intro h1 {
    font-size: 1.8rem;
  }

  .navbox {
    width: 100%;
    justify-content: center;
  }

  .captcha-label,
  .consent-label {
    font-size: 0.9rem;
  }

  .captcha-hint,
  .consent-hint {
    font-size: 0.8rem;
  }
}

.alert[hidden] {
  display: none;
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 520px;
  width: calc(100% - 32px);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 9999;
  font-family: "Inter", sans-serif;
  display: none;
}

.cookie-popup.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cookie-buttons .btn {
  flex: 1;
  min-width: 120px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.cookie-links p {
  font-size: 0.8rem;
  text-align: center;
  margin: 0.5rem 0 0 0;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.cookie-links a {
  color: var(--color-primary);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.cookie-links a:hover {
  color: var(--color-primary-light);
}

/* Responsive Design for Cookie Popup */
@media (max-width: 576px) {
  .cookie-popup {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 1.25rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
    min-width: unset;
  }

  .cookie-text p {
    font-size: 0.85rem;
  }
}

/* Dark theme support for cookie popup */
[data-theme="dark"] .cookie-popup {
  background: var(--color-bg-secondary);
  border-color: var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .cookie-text p {
  color: var(--color-text-secondary);
}

[data-theme="dark"] .cookie-links p {
  color: var(--color-text-muted);
}

.hero-section .hero-title,
.personal-hero .hero-title {
  color: var(--color-text-primary);
}

.main-page .rhythms-section h3,
.main-page .rhythms-section .timeline-desc {
  color: var(--color-text-primary);
}

/* Policy Page Specific Styles */
.policy-page {
  padding: 4rem 0;
  background-color: var(--color-bg-primary);
  min-height: calc(100vh - 200px);
}

.policy-header {
  text-align: center;
  margin-bottom: 3rem;
}

.policy-header h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.policy-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.policy-content {
  background: var(--color-bg-secondary);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.policy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.policy-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.policy-section p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-contact-info {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-top: 3rem;
  border-left: 4px solid var(--color-primary);
}

.policy-contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.policy-contact-info p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.policy-contact-info p strong {
  color: var(--color-text-primary);
  font-weight: 600;
  min-width: 120px;
  display: inline-block;
}

.policy-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-style: italic;
  color: var(--color-text-muted);
}

.policy-update {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.policy-update p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Responsive Design for Policy Page */
@media (max-width: 992px) {
  .policy-content {
    padding: 2.5rem;
  }

  .policy-header h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .policy-content {
    padding: 2rem 1.5rem;
  }

  .policy-header h1 {
    font-size: 2rem;
  }

  .policy-subtitle {
    font-size: 1.1rem;
  }

  .policy-section h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .policy-header h1 {
    font-size: 1.8rem;
  }

  .policy-contact-info {
    padding: 1.5rem;
  }

  .policy-contact-info p strong {
    display: block;
    margin-bottom: 0.25rem;
  }
}
