/* ========== RESET & VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра - современная, глубокая */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a24;
    --accent-gold: #c9a54b;
    --accent-gold-dark: #b38f3f;
    --accent-gold-light: #dbb86b;
    --text-primary: #e5e5e5;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7a;
    --border-color: #2a2a35;
    --border-hover: #3a3a45;

    /* Градиенты */
    --gradient-dark: linear-gradient(135deg, #0f0f17 0%, #1a1a24 100%);
    --gradient-gold: linear-gradient(135deg, #c9a54b 0%, #dbb86b 100%);

    /* Тени */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 4px 20px rgba(201, 165, 75, 0.15);

    /* Размеры */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --border-radius-lg: 24px;

    /* Шрифты */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
}

/* ========== BASE STYLES ========== */
body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== BACKGROUND ========== */
.site-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #1a1a2a 0%, #0a0a0f 70%);
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(circle at 30% 40%, rgba(201, 165, 75, 0.03) 0%, transparent 30%),
            radial-gradient(circle at 70% 60%, rgba(201, 165, 75, 0.03) 0%, transparent 30%),
            radial-gradient(circle at 45% 80%, rgba(201, 165, 75, 0.02) 0%, transparent 40%);
    opacity: 0.5;
}

/* ========== HEADER ========== */
.site-header {
    position: sticky;
    top: 0;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 165, 75, 0.1);
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
    line-height: 1;
}

.logo-text {
    background: linear-gradient(135deg, #ffffff, #c9a54b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    gap: 32px;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    position: relative;
    padding: 10px;
}

.main-nav a:hover {
    color: #42371a;
}

.main-nav a.active {
    color: #42371a;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 200;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 8px 0;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    padding: 60px 0;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff, #c9a54b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(201, 165, 75, 0.3);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Features Section */
.features-section {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.feature-item:hover {
    background: var(--bg-card);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* Practices Grid */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.practice-card {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 32px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.practice-card:hover {
    background: var(--bg-card);
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.card-icon {
    font-size: 2rem;
    color: var(--accent-gold);
}

.practice-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
}

.practice-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.card-link {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 8px;
}

/* Quote Section */
.quote-section {
    padding: 80px 0;
    text-align: center;
}

.quote-section blockquote {
    max-width: 700px;
    margin: 0 auto;
}

.quote-section p {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 24px;
    position: relative;
}

.quote-section p::before,
.quote-section p::after {
    content: '"';
    color: var(--accent-gold);
    font-size: 3rem;
    opacity: 0.3;
    position: absolute;
}

.quote-section p::before {
    left: -30px;
    top: -15px;
}

.quote-section p::after {
    right: -30px;
    bottom: -15px;
}

.quote-section cite {
    color: var(--text-muted);
    font-style: normal;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ========== НУМЕРОЛОГИЯ (СТАРЫЕ СТИЛИ, АДАПТИРОВАННЫЕ) ========== */

/* Стеклянные карточки */
.glass-card {
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: clamp(20px, 5vw, 40px);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-gold);
}

/* Заголовки */
h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 20px;
    position: relative;
}

/* Сетка чисел */
.numerology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.grid-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.grid-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.number-large {
    font-size: 4rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.number-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Специальные числа */
.special-numbers {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 30px 0;
    padding: 30px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    flex-wrap: wrap;
}

.special-item {
    text-align: center;
    min-width: 150px;
}

.special-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.special-value {
    font-size: 3rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: var(--accent-gold);
}

/* Оклики */
.calls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.call-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.call-item:hover {
    border-color: var(--accent-gold);
}

.call-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.call-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.call-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Табы */
.tab-container {
    margin: 40px 0;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.tab-btn.active {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border-color: transparent;
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 30px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.tab-content.active {
    display: block;
}

/* Таро карты */
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.tarot-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.tarot-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.tarot-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.tarot-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tarot-keywords {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 15px;
}

.tarot-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.tarot-advice {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-gold);
    padding: 15px;
    background: rgba(201, 165, 75, 0.05);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-gold);
}

/* Матрицы для дополнительных расчетов */
.matrix-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 25px 0;
    background: rgba(18, 18, 26, 0.3);
    padding: 20px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.matrix-row {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.matrix-cell {
    width: 90px;
    height: 90px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.matrix-cell small {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 300;
    margin-top: 5px;
}

.matrix-cell.highlight {
    border: 2px solid var(--accent-gold);
    box-shadow: var(--shadow-gold);
    transform: scale(1.05);
    color: var(--accent-gold);
}

.matrix-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(18, 18, 26, 0.3);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
}

.matrix-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.matrix-label strong {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-left: 8px;
}

/* Дополнительные расчеты */
.additional-calculations {
    margin: 40px 0;
    padding: 30px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.additional-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.calc-btn {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.calc-btn:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.calc-icon {
    font-size: 2.2rem;
}

.calc-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold);
}

/* Глубинный портрет */
.deep-portrait {
    margin-top: 40px;
    padding: 30px;
    background: rgba(201, 165, 75, 0.05);
    border: 1px solid rgba(201, 165, 75, 0.2);
    border-radius: var(--border-radius-lg);
}

.portrait-text {
    white-space: pre-line;
    line-height: 1.8;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px;
    color: var(--text-secondary);
}

.portrait-text strong {
    color: var(--accent-gold);
}

/* Результаты */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.person-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.person-info .label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.person-info .value {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-gold);
}

/* ========== НАТАЛЬНАЯ КАРТА ========== */
.natal-chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

#natalChartCanvas {
    width: 100%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

.input-with-button {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-with-button input {
    flex: 1;
}

.natal-legend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
}

.legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.planet-symbol {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.planet-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.planet-sign {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: rgba(201, 165, 75, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.position-item {
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.position-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.position-symbol {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.position-name {
    font-weight: 600;
    color: var(--text-primary);
}

.position-detail {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.position-value {
    color: var(--accent-gold);
    font-weight: 500;
}

.aspects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.aspect-item {
    padding: 8px 12px;
    background: rgba(201, 165, 75, 0.05);
    border-radius: 20px;
    border-left: 3px solid;
    font-size: 0.9rem;
}

.aspect-item.conjunction { border-left-color: #ff4d4d; }
.aspect-item.opposition { border-left-color: #4d4dff; }
.aspect-item.trine { border-left-color: #4dff4d; }
.aspect-item.square { border-left-color: #ff4dff; }
.aspect-item.sextile { border-left-color: #ffff4d; }

/* Интерпретация */
.natal-interpretation {
    margin-top: 40px;
    padding: 30px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.interpretation-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(18, 18, 26, 0.3);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-gold);
}

.interpretation-section h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.section-content {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.section-detail {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.planets-houses {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.planet-house-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 15px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.planet-house-item .planet-symbol {
    font-size: 1.5rem;
    min-width: 40px;
    text-align: center;
}

.planet-house-item .planet-desc {
    color: var(--text-secondary);
    line-height: 1.5;
}

.houses-interpretation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.house-item {
    padding: 15px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.house-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.house-number {
    font-weight: 600;
    color: var(--accent-gold);
}

.house-sign, .house-ruler {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(201, 165, 75, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.house-keywords {
    color: var(--text-primary);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.summary-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
}

/* ========== ФУТЕР ========== */
.site-footer {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    justify-content: flex-end;
    align-items: center;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== СКРОЛЛБАРЫ ========== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(18, 18, 26, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ========== МОБИЛЬНАЯ АДАПТАЦИЯ ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .practices-grid {
        grid-template-columns: 1fr;
    }

    .numerology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .calls-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tarot-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .special-numbers {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .houses-interpretation {
        grid-template-columns: 1fr;
    }

    .matrix-cell {
        width: calc((100vw - 100px) / 3);
        height: calc((100vw - 100px) / 3);
        font-size: 1.5rem;
    }

    .matrix-footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .tab-buttons {
        gap: 5px;
    }

    .tab-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .additional-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .calc-btn {
        padding: 15px 10px;
    }

    .calc-icon {
        font-size: 1.8rem;
    }

    .calc-title {
        font-size: 0.8rem;
    }

    .planet-house-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .house-header {
        flex-direction: column;
        gap: 5px;
    }

    .quote-section p {
        font-size: 1.4rem;
    }

    .quote-section p::before,
    .quote-section p::after {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .practice-card {
        padding: 24px 20px;
    }

    .additional-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .matrix-cell {
        width: calc((100vw - 60px) / 3);
        height: calc((100vw - 60px) / 3);
        font-size: 1.2rem;
    }

    .number-large {
        font-size: 2rem;
    }

    .special-value {
        font-size: 2rem;
    }

    .call-number {
        font-size: 2rem;
    }

    .tarot-number {
        font-size: 2rem;
    }

    .mobile-menu {
        width: 85%;
        padding: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        gap: 20px;
    }

    .practices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Убираем горизонтальный скролл */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

/* ========== ФОРМЫ ========== */
.input-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(18, 18, 26, 0.8);
    box-shadow: 0 0 0 3px rgba(201, 165, 75, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-weight: 300;
    opacity: 0.7;
}

.form-hint {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-style: italic;
}

/* Кнопка расчета */
.mystic-button {
    background: var(--gradient-gold);
    border: none;
    color: var(--bg-dark);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 16px;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.mystic-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.mystic-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 165, 75, 0.3);
}

.mystic-button:hover::before {
    width: 300px;
    height: 300px;
}

.mystic-button.small {
    padding: 12px 24px;
    font-size: 0.9rem;
    width: auto;
    margin: 20px auto 0;
    display: block;
}

/* Спиннер загрузки */
.loading-spinner {
    text-align: center;
    margin-top: 30px;
}

.moon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--text-secondary), var(--accent-gold));
    margin: 0 auto 15px;
    box-shadow: var(--shadow-gold);
    animation: moonPulse 2s infinite;
}

@keyframes moonPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

/* ========== МЕНЮ (для скрипта) ========== */
/* Эти стили уже есть в вашем CSS, но убедитесь, что они присутствуют */

/* Гамбургер-меню */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    margin: 15px auto;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--bg-dark);
    border-radius: 2px;
    left: 0;
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.menu-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Оверлей */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1000;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header .logo-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.mobile-menu-header .logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.mobile-nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 10px 0;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* Десктопная навигация (если используется) */
.practice-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    padding: 8px;
    background: rgba(18, 18, 26, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-gold);
    background: rgba(201, 165, 75, 0.05);
}

.nav-link.active {
    background: var(--gradient-gold);
    color: var(--bg-dark);
    font-weight: 500;
    box-shadow: var(--shadow-gold);
}

/* ========== РЕЗУЛЬТАТЫ ========== */
.result-section {
    margin-top: 40px;
}

.result-card {
    background: rgba(18, 18, 26, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
}

.result-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--accent-gold);
}

.result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.person-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.person-info .label {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.person-info .value {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 500;
}

/* ========== НУМЕРОЛОГИЯ (ДОПОЛНИТЕЛЬНО) ========== */
.numerology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.grid-item {
    text-align: center;
    padding: 20px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.grid-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.number-large {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.number-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Специальные числа */
.special-numbers {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 30px 0;
    padding: 25px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    flex-wrap: wrap;
}

.special-item {
    text-align: center;
    min-width: 150px;
}

.special-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.special-value {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* Оклики */
.calls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.call-item {
    text-align: center;
    padding: 25px 20px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.call-item:hover {
    border-color: var(--accent-gold);
}

.call-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.call-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.call-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .numerology-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .calls-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .special-numbers {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .special-item {
        min-width: auto;
    }

    .result-header {
        flex-direction: column;
    }

    .person-info {
        width: 100%;
    }

    .number-large {
        font-size: 2.5rem;
    }

    .special-value {
        font-size: 2rem;
    }

    .call-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 16px;
    }

    .mystic-button {
        padding: 14px 24px;
    }

    .result-card {
        padding: 20px;
    }

    .numerology-grid {
        gap: 10px;
    }

    .grid-item {
        padding: 15px;
    }

    .number-large {
        font-size: 2rem;
    }
}
/* ========== ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ МОБИЛЬНОГО МЕНЮ ========== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(18, 18, 26, 0.95);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-header .logo-icon {
    font-size: 1.8rem;
    color: var(--accent-gold);
}

.mobile-menu-header .logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(201, 165, 75, 0.1);
    color: var(--accent-gold);
}

.mobile-nav {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background: transparent;
}

.mobile-nav-link:hover {
    background: rgba(201, 165, 75, 0.08);
    color: var(--accent-gold);
    transform: translateX(5px);
}

.mobile-nav-link.active {
    background: rgba(201, 165, 75, 0.12);
    color: var(--accent-gold);
    border-left: 3px solid var(--accent-gold);
}

.nav-icon {
    font-size: 1.3rem;
    min-width: 32px;
    text-align: center;
}

.nav-text {
    flex: 1;
}

.mobile-menu-footer {
    padding: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    background: rgba(18, 18, 26, 0.95);
}

/* ========== ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ГАМБУРГЕРА ========== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    transform: scale(1.05);
}

.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    margin: 15px auto;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--bg-dark);
    border-radius: 2px;
    left: 0;
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 8px; }
.hamburger span:nth-child(3) { top: 16px; }

.menu-toggle.active .hamburger span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    left: -20px;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Оверлей */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 85%;
    }

    .mobile-menu-header {
        padding: 20px 16px;
    }

    .mobile-nav {
        padding: 16px;
    }

    .mobile-nav-link {
        padding: 12px 14px;
        font-size: 1rem;
    }

    .nav-icon {
        font-size: 1.2rem;
        min-width: 28px;
    }

    .mobile-menu-footer {
        padding: 20px 16px;
    }
}

/* ========== ДЕСКТОПНАЯ НАВИГАЦИЯ ========== */
.main-nav {
    display: flex;
    gap: 24px;
}


/* ========== ФИКСЫ ДЛЯ ЧИТАЕМОСТИ ========== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

/* Фикс для текста в карточках */
.glass-card h2,
.glass-card h3,
.glass-card p {
    color: var(--text-primary);
}

.glass-card .form-hint {
    color: var(--text-muted);
}

/* Фикс для результата */
.result-card .label {
    color: var(--text-muted);
}

.result-card .value {
    color: var(--accent-gold);
}

/* Спиннер */
.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(201, 165, 75, 0.1);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Убираем дублирующиеся стили гамбургера */
.menu-toggle {
    display: none !important;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex !important;
    }
}
/* ========== ИСПРАВЛЕНИЕ МОБИЛЬНОГО МЕНЮ ========== */

/* По умолчанию скрываем гамбургер на десктопе */
.menu-toggle {
    display: none !important;
}

/* На мобильных показываем гамбургер и скрываем верхнее меню */
@media (max-width: 768px) {
    /* Показываем гамбургер */
    .menu-toggle {
        display: flex !important;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1001;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--gradient-gold);
        border: none;
        cursor: pointer;
        box-shadow: var(--shadow-gold);
        align-items: center;
        justify-content: center;
    }

    /* Скрываем верхнюю навигацию */
    .main-nav {
        display: none !important;
    }

    /* Убираем лишние отступы */
    .site-header {
        height: auto;
        min-height: var(--header-height);
    }

    .header-content {
        padding: 10px 0;
    }

    /* Делаем логотип меньше на мобильных */
    .logo a {
        font-size: 1.1rem;
    }

    .logo-icon {
        font-size: 1.3rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .menu-toggle {
        width: 42px;
        height: 42px;
        top: 15px;
        right: 15px;
    }

    .hamburger {
        width: 20px;
        height: 16px;
        margin: 13px auto;
    }

    .hamburger span:nth-child(2) {
        top: 7px;
    }

    .hamburger span:nth-child(3) {
        top: 14px;
    }
}

/* Фикс для оверлея */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.menu-overlay.active {
    display: block;
}

/* Фикс для мобильного меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1000;
    transition: right 0.3s ease;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-menu-header .logo-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.mobile-menu-header .logo-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(201, 165, 75, 0.1);
    color: var(--accent-gold);
}

.nav-icon {
    font-size: 1.2rem;
    min-width: 30px;
    text-align: center;
}

.nav-text {
    flex: 1;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}
/* ========== НАТАЛЬНАЯ КАРТА ========== */
.natal-chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden; /* Чтобы ничего не вылезало */
}

#natalChartCanvas {
    width: 100%;
    max-width: 650px; /* Чуть больше */
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
    background: rgba(10, 10, 15, 0.3);
}

/* Легенда планет */
.natal-legend {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.planet-symbol {
    font-size: 1.2rem;
    color: var(--accent-gold);
    min-width: 24px;
    text-align: center;
}

.planet-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    flex: 1;
}

.planet-sign {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(201, 165, 75, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

/* Таблица позиций */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.position-item {
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.position-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.position-symbol {
    font-size: 1.3rem;
    color: var(--accent-gold);
}

.position-name {
    font-weight: 500;
    color: var(--text-primary);
}

.position-detail {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 4px 0;
}

.position-value {
    color: var(--accent-gold);
}

/* Список аспектов */
.aspects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.aspect-item {
    padding: 8px 12px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
    border-left: 4px solid;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.aspect-item.conjunction { border-left-color: #ff4d4d; }
.aspect-item.opposition { border-left-color: #4d4dff; }
.aspect-item.trine { border-left-color: #4dff4d; }
.aspect-item.square { border-left-color: #ff4dff; }
.aspect-item.sextile { border-left-color: #ffff4d; }

/* Адаптивность */
@media (max-width: 768px) {
    .natal-chart-wrapper {
        padding: 10px;
    }

    #natalChartCanvas {
        max-width: 100%;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .aspects-list {
        grid-template-columns: 1fr;
    }
}
/* ========== ФИКСЫ ДЛЯ НАТАЛЬНОЙ КАРТЫ ========== */

/* Фикс для страницы */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Фикс для хедера */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    padding: 0 20px;
}

/* Фикс для кнопки */
.menu-toggle {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
}

/* Фикс для основной карточки */
.glass-card {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    padding: 25px;
    box-sizing: border-box;
}

/* Фикс для результата */
.result-section {
    margin-top: 30px;
    width: 100%;
}

.result-card {
    width: 100%;
    padding: 25px;
    box-sizing: border-box;
}

/* Фикс для canvas */
.natal-chart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px 0;
    padding: 15px;
    background: rgba(18, 18, 26, 0.3);
    border-radius: 24px;
    box-sizing: border-box;
}

#natalChartCanvas {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

/* Фикс для сетки позиций */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

/* Фикс для аспектов */
.aspects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.aspect-item {
    padding: 10px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: 12px;
    border-left: 4px solid;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Фикс для мобильных */
@media (max-width: 768px) {
    .glass-card {
        padding: 15px;
        margin: 10px auto;
    }

    .result-card {
        padding: 15px;
    }

    .natal-chart-wrapper {
        padding: 10px;
    }

    #natalChartCanvas {
        max-width: 100%;
    }

    .positions-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .aspects-list {
        grid-template-columns: 1fr;
    }

    .header-content {
        height: 60px;
        padding: 0 15px;
    }

    .logo a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 12px;
    }

    .result-card {
        padding: 12px;
    }

    .natal-chart-wrapper {
        padding: 8px;
    }

    .positions-grid {
        grid-template-columns: 1fr;
    }

    .aspects-list {
        grid-template-columns: 1fr;
    }
}
/* ========== РАСШИРЕННЫЙ ОТЧЕТ ========== */
.expanded-report-container {
    margin-top: 40px;
    padding: 25px;
    background: rgba(18, 18, 26, 0.7);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.report-section-title {
    color: var(--accent-gold);
    font-size: 1.4rem;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.report-section-title:first-of-type {
    margin-top: 0;
}

.report-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(18, 18, 26, 0.4);
    border-radius: var(--border-radius);
}

.talents-list {
    list-style: none;
    padding: 0;
}

.talents-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(201, 165, 75, 0.2);
    color: var(--text-secondary);
}

.talents-list li:last-child {
    border-bottom: none;
}

/* Пирамида Маслоу */
.pyramid-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pyramid-bar {
    width: 100%;
    max-width: 400px;
    height: 300px;
    display: flex;
    flex-direction: column-reverse;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.pyramid-level {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    color: var(--bg-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: height 0.3s ease;
}

.pyramid-level:nth-child(5) { background: #ff4d4d; } /* Физиология */
.pyramid-level:nth-child(4) { background: #ff4dff; } /* Безопасность */
.pyramid-level:nth-child(3) { background: #4d4dff; } /* Принадлежность */
.pyramid-level:nth-child(2) { background: #4dff4d; } /* Уважение */
.pyramid-level:nth-child(1) { background: #c9a54b; } /* Самореализация */

.level-label {
    flex: 1;
}

.level-value {
    font-weight: 700;
}

.pyramid-desc {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* Таблица сценариев */
.scenarios-table {
    width: 100%;
    border-collapse: collapse;
}

.scenarios-table tr {
    border-bottom: 1px solid var(--border-color);
}

.scenarios-table td {
    padding: 12px 8px;
    color: var(--text-secondary);
}

.scenario-color {
    width: 20px;
    border-radius: 4px;
}

.scenario-name {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 140px;
}

.scenario-desc {
    color: var(--text-muted);
}

.scenario-value {
    font-weight: 700;
    color: var(--accent-gold);
    text-align: right;
    min-width: 60px;
}

.scenarios-summary {
    margin-top: 20px;
    padding: 15px;
    background: rgba(201, 165, 75, 0.1);
    border-radius: var(--border-radius);
    text-align: center;
}

/* Бизнес и здоровье */
.business-list, .health-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.business-list li, .health-list li {
    padding: 10px 15px;
    background: rgba(18, 18, 26, 0.6);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.health-tip {
    margin-top: 15px;
    padding: 10px;
    background: rgba(201, 165, 75, 0.05);
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
    font-style: italic;
}

/* Задача воплощения */
.life-task {
    background: linear-gradient(135deg, rgba(201, 165, 75, 0.1), rgba(18, 18, 26, 0.5));
    padding: 20px;
    border-radius: var(--border-radius);
}

.life-task p {
    margin: 10px 0;
    line-height: 1.8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .pyramid-bar {
        max-width: 100%;
        height: 250px;
    }

    .pyramid-level {
        font-size: 0.8rem;
        padding: 0 10px;
    }

    .scenarios-table {
        font-size: 0.9rem;
    }

    .scenario-name {
        min-width: 100px;
    }

    .business-list, .health-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .scenarios-table td {
        padding: 8px 4px;
        font-size: 0.8rem;
    }

    .scenario-name {
        min-width: 80px;
    }

    .pyramid-level {
        font-size: 0.7rem;
    }
}
/* Стили для карт Таро */
.tarot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.tarot-card {
    background: linear-gradient(135deg, rgba(45, 27, 74, 0.4), rgba(26, 15, 46, 0.5));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
}

.tarot-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.2) inset;
}

.tarot-image-container {
    position: relative;
    width: 100%;
    padding-top: 150%; /* Соотношение сторон 2:3 для карт Таро */
    background: linear-gradient(135deg, var(--primary-deep), var(--primary-medium));
    overflow: hidden;
}

.tarot-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.tarot-card:hover .tarot-image {
    transform: scale(1.1);
}

.tarot-number-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.tarot-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tarot-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin: 0;
}

.tarot-keywords {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 5px;
}

.tarot-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.tarot-advice {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent-gold);
    padding: 12px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-gold);
    margin-top: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .tarot-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tarot-image-container {
        padding-top: 120%;
    }
}