/* ========== 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 {
    font-weight: bold;
    border: none;
    text-decoration: none;
    color: #d8b566;
    border-bottom: 1px solid #d8b566;
}

/*.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;
    background: rgba(201, 165, 75, 0.05);
}

.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;
    background: rgba(18, 18, 26, 0.5);
}

.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;
        flex-direction: column;
    }

    .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: 100%;
    background: linear-gradient(145deg, #a0a0b000, #c9a54b26);
    margin: 0 auto 15px;
    box-shadow: var(--shadow-gold);
    margin-top: 25px;
}
.sun {
    width: 100%;
    background: linear-gradient(145deg,  #c9a54b26,#a0a0b000);
    margin: 0 auto 15px;
    box-shadow: var(--shadow-gold);
    margin-top: 25px;
}
.strengths-box
{
    margin-top: 25px;
}

/* ========== МЕНЮ (для скрипта) ========== */
/* Эти стили уже есть в вашем 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;
    line-height: 40px;
}

.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;
    }
    .scenarios-table body{
        display: flex;
        flex-direction: column;
    }
    .report-section
    {
        padding: 0;
    }
    .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%;
    }
}

/* Стили для поля с маской даты */
input#birthDate {
    letter-spacing: 0.5px;
}

/* Стили для автоподсказок городов */
.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 35, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 165, 75, 0.3);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(201, 165, 75, 0.2);
    transition: all 0.2s ease;
}

.suggestion-item:hover {
    background: rgba(201, 165, 75, 0.15);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-main {
    color: #c9a54b;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.suggestion-detail {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Стили для поля ввода с кнопкой */
.input-with-button {
    position: relative;
    display: flex;
    gap: 8px;
}

.input-with-button input {
    flex: 1;
    padding-right: 40px; /* Место для кнопки */
}

/* Стили для координатных полей (только для чтения) */
.coordinate-field {
    background: rgba(255, 255, 255, 0.05);
    cursor: default;
}

.coordinate-field:focus {
    outline: none;
    border-color: rgba(201, 165, 75, 0.3);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .suggestions-container {
        position: fixed;
        top: auto;
        left: 16px;
        right: 16px;
        max-height: 200px;
    }

    .input-with-button {
        flex-direction: column;
    }

    .input-with-button button {
        width: 100% !important;
        margin-top: 8px !important;
    }

    /* Увеличиваем размер touch-областей */
    .suggestion-item {
        padding: 16px;
    }

    input[type="time"] {
        min-height: 48px;
    }
}

/* Стили для input type time на мобильных */
input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(201, 165, 75, 0.3);
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 16px;
    width: 100%;
}

input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.6;
    cursor: pointer;
    padding: 4px;
}

input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Анимация загрузки */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.searching {
    animation: pulse 1.5s infinite;
}

/* Стили для подсказок при вводе */
.form-group {
    position: relative;
}

.form-hint {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}


/* Стили для расширенной информации о планетах */
.enriched-planets-section,
.enriched-houses-section,
.enriched-aspects-section {
    margin: 40px 0;
    padding: 25px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.enriched-planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.enriched-planet-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
}

.enriched-planet-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

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

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

.enriched-planet-name {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-primary);
}

.enriched-planet-position {
    display: flex;
    justify-content: space-between;
    background: rgba(201, 165, 75, 0.1);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.enriched-planet-sign {
    font-weight: 600;
    color: var(--accent-gold);
}

.enriched-planet-degree {
    color: var(--text-secondary);
}

.enriched-planet-meaning,
.enriched-planet-sign-desc {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.enriched-planet-meaning strong,
.enriched-planet-sign-desc strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

/* Стили для домов */
.enriched-houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.enriched-house-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: all 0.3s ease;
}

.enriched-house-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.enriched-house-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

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

.enriched-house-cusp {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(201, 165, 75, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.enriched-house-desc,
.enriched-house-sign-desc,
.enriched-house-planets {
    margin-bottom: 12px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.enriched-house-desc strong,
.enriched-house-sign-desc strong,
.enriched-house-planets strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 5px;
}

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

.enriched-aspect-card {
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    border-left-width: 4px;
    border-left-style: solid;
    transition: all 0.3s ease;
}

.enriched-aspect-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-gold);
}

.enriched-aspect-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.enriched-aspect-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.enriched-aspect-orb {
    font-size: 0.85rem;
    color: #000000;
    background: rgb(195 160 73 / 73%);
    padding: 3px 8px;
    border-radius: 20px;
}

.enriched-aspect-planets {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 15px 0;
    font-size: 1.2rem;
}

.enriched-aspect-planet {
    font-weight: 500;
    color: var(--text-primary);
}

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

.enriched-aspect-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    font-style: italic;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 10px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .enriched-planets-grid,
    .enriched-houses-grid,
    .enriched-aspects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .enriched-planet-header {
        flex-wrap: wrap;
    }

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

    .enriched-aspect-planets {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .enriched-planets-section,
    .enriched-houses-section,
    .enriched-aspects-section {
        padding: 15px;
    }

    .enriched-planet-card,
    .enriched-house-card,
    .enriched-aspect-card {
        padding: 15px;
    }

    .enriched-planet-symbol {
        font-size: 1.5rem;
    }

    .enriched-planet-name {
        font-size: 1.1rem;
    }
}
/* Стили для PDF (не влияют на отображение, но могут пригодиться) */
.pdf-document {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
}

.pdf-document h1 {
    color: #c9a54b;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pdf-document .signature {
    font-family: 'Inter', cursive;
    margin-top: 30px;
}
.additional-interpretations {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(201,165,75,0.3);
}

.interpretation-tabs {
    margin-top: 20px;
}

.interpretation-tabs .tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.interpretation-tabs .tab-btn {
    padding: 10px 20px;
    background: rgba(201,165,75,0.1);
    border: 1px solid rgba(201,165,75,0.3);
    border-radius: 30px;
    color: #e5e5e5;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.interpretation-tabs .tab-btn:hover,
.interpretation-tabs .tab-btn.active {
    background: rgba(201,165,75,0.2);
    border-color: #c9a54b;
    color: #c9a54b;
    transform: translateY(-2px);
}

.interpretation-pane {
    display: none;
    background: rgba(0,0,0,0.2);
    border-radius: 16px;
    padding: 25px;
}

.interpretation-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.interpretation-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(201,165,75,0.2);
}

.interpretation-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c9a54b;
    min-width: 60px;
    text-align: center;
    text-shadow: 0 0 15px rgba(201,165,75,0.3);
}

.interpretation-header h4 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.interpretation-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #a0a0b0;
    margin-bottom: 25px;
}

.interpretation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.grid-half h5 {
    color: #c9a54b;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.grid-half ul {
    list-style: none;
    padding: 0;
}

.grid-half li {
    padding: 8px 0;
    color: #a0a0b0;
    position: relative;
    padding-left: 20px;
}

.grid-half li:before {
    content: "•";
    color: #c9a54b;
    position: absolute;
    left: 0;
}

.interpretation-section {
    margin-bottom: 25px;
}

.interpretation-section h5 {
    color: #c9a54b;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.interpretation-section ul {
    list-style: none;
    padding: 0;
}

.interpretation-section li {
    padding: 8px 0;
    color: #a0a0b0;
    position: relative;
    padding-left: 20px;
}

.interpretation-section li:before {
    content: "•";
    color: #c9a54b;
    position: absolute;
    left: 0;
}

.interpretation-advice {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201,165,75,0.1), rgba(155,107,192,0.1));
    border-radius: 12px;
    font-style: italic;
    color: #fff;
    border-left: 4px solid #c9a54b;
}

.compatibility-bar,
.energy-bar,
.potential-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.compatibility-progress,
.energy-progress,
.potential-progress {
    height: 100%;
    background: linear-gradient(90deg, #c9a54b, #b08c3a);
    border-radius: 5px;
    transition: width 1s ease;
}

@media (max-width: 768px) {
    .interpretation-grid {
        grid-template-columns: 1fr;
    }

    .interpretation-tabs .tab-buttons {
        justify-content: center;
    }
}
/* Стили для дополнительных интерпретаций */
.detailed-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(201,165,75,0.05);
    border-radius: 12px;
    border-left: 3px solid #c9a54b;
}

.detailed-text {
    line-height: 1.8;
    color: #a0a0b0;
    font-size: 0.95rem;
}

.info-text {
    line-height: 1.6;
    color: #a0a0b0;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin-top: 5px;
}

.numbers-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(201,165,75,0.1);
    border-radius: 12px;
}

.number-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.number-label {
    font-weight: 600;
    color: #c9a54b;
    min-width: 120px;
}

.number-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: rgba(201,165,75,0.2);
    padding: 2px 10px;
    border-radius: 20px;
}

.number-desc {
    color: #a0a0b0;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .number-item {
        flex-direction: column;
        gap: 5px;
    }

    .number-label {
        min-width: auto;
    }
}
/* Стили для дополнительных интерпретаций */
.detailed-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(201,165,75,0.05);
    border-radius: 12px;
    border-left: 3px solid #c9a54b;
}

.detailed-text {
    line-height: 1.8;
    color: #a0a0b0;
    font-size: 0.95rem;
}

.info-text {
    line-height: 1.6;
    color: #a0a0b0;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    margin-top: 5px;
}

.numbers-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(201,165,75,0.1);
    border-radius: 12px;
}

.number-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.number-label {
    font-weight: 600;
    color: #c9a54b;
    min-width: 120px;
}

.number-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: rgba(201,165,75,0.2);
    padding: 2px 10px;
    border-radius: 20px;
}

.number-desc {
    color: #a0a0b0;
    font-style: italic;
}

.interpretation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.grid-half h5 {
    color: #c9a54b;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.grid-half ul {
    list-style: none;
    padding: 0;
}

.grid-half li {
    padding: 8px 0;
    color: #a0a0b0;
    position: relative;
    padding-left: 20px;
}

.grid-half li:before {
    content: "•";
    color: #c9a54b;
    position: absolute;
    left: 0;
}

.interpretation-section {
    margin-bottom: 25px;
}

.interpretation-section h5 {
    color: #c9a54b;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.interpretation-advice {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201,165,75,0.1), rgba(155,107,192,0.1));
    border-radius: 12px;
    font-style: italic;
    color: #fff;
    border-left: 4px solid #c9a54b;
}

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

    .number-item {
        flex-direction: column;
        gap: 5px;
    }

    .number-label {
        min-width: auto;
    }
}
.compatibility-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
}

.compatibility-progress {
    height: 100%;
    background: linear-gradient(90deg, #c9a54b, #b08c3a);
    border-radius: 5px;
    transition: width 1s ease;
}

.compatibility-level-text {
    color: #a0a0b0;
    font-style: italic;
    margin-top: 5px;
    text-align: center;
}
.energy-bar-container {
    margin: 15px 0;
}

.energy-bar {
    width: 100%;
    height: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 5px;
}

.energy-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 10px;
    transition: width 1s ease;
}

.energy-level-text {
    color: #a0a0b0;
    font-size: 0.9rem;
    text-align: center;
}
.potential-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    margin: 10px 0;
    overflow: hidden;
}

.potential-progress {
    height: 100%;
    background: linear-gradient(90deg, #c9a54b, #b08c3a);
    border-radius: 5px;
    transition: width 1s ease;
}

.potential-level-text {
    color: #a0a0b0;
    font-style: italic;
    margin-top: 5px;
    text-align: center;
}
.pdf-actions {
    margin-top: 20px;
    border-top: 1px solid rgba(201,165,75,0.2);
    padding-top: 20px;
}

#downloadPdfBtn {
    background: linear-gradient(135deg, #e2a05d, #4c3e30);
    border: 1px solid #c9a54b;
}

#downloadPdfBtn:hover {
    background: linear-gradient(135deg, #3a2e26, #2a1f18);
    box-shadow: 0 0 20px rgba(201,165,75,0.3);
}

#downloadPdfBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* ========== КАБИНЕТ ПОЛЬЗОВАТЕЛЯ ========== */

.cabinet-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    margin-top: 30px;
}

.cabinet-sidebar {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    height: fit-content;
}

.cabinet-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cabinet-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

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

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

.cabinet-nav-link i {
    width: 20px;
    font-size: 1.1rem;
}

.cabinet-content {
    flex: 1;
}

.cabinet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.cabinet-balance {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(201, 165, 75, 0.1);
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid rgba(201, 165, 75, 0.3);
}

.balance-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.balance-amount {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-gold);
}

.balance-amount-large {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.welcome-card {
    margin-bottom: 30px;
}

.welcome-card h2 {
    margin-bottom: 10px;
}

.quick-actions {
    margin-bottom: 30px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.action-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    background: rgba(18, 18, 26, 0.8);
}

.action-card i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

/* Баланс */
.balance-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px !important;
    flex-wrap: wrap;
    gap: 20px;
}

.balance-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.deposit-packages {
    margin-bottom: 30px;
}

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

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

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

.package-item.selected {
    border-color: var(--accent-gold);
    background: rgba(201, 165, 75, 0.1);
    box-shadow: var(--shadow-gold);
}

.package-item.popular {
    border-color: var(--accent-gold);
}

.package-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.package-bonus {
    display: block;
    font-size: 0.9rem;
    color: #4caf50;
}

.package-badge {
    position: absolute;
    top: 10px;
    right: -25px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 5px 30px;
    font-size: 0.7rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.custom-amount {
    margin: 20px 0;
}

.custom-input {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-input input {
    width: 100%;
    padding: 12px 40px 12px 12px;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
}

.custom-input .currency {
    position: absolute;
    right: 12px;
    color: var(--text-muted);
}

.payment-methods {
    margin: 25px 0;
}

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

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

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

.method-item input[type="radio"] {
    display: none;
}

.method-item input[type="radio"]:checked + & {
    border-color: var(--accent-gold);
    background: rgba(201, 165, 75, 0.1);
}

.method-item i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.method-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* История транзакций */
.transactions-history {
    margin-top: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.view-all {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all:hover {
    text-decoration: underline;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

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

.transaction-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 165, 75, 0.1);
    border-radius: 50%;
    color: var(--accent-gold);
}

.transaction-info {
    flex: 1;
}

.transaction-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.transaction-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.transaction-amount {
    font-weight: 600;
    font-size: 1.1rem;
}

.transaction-amount.deposit {
    color: #4caf50;
}

.transaction-amount.payment {
    color: #ff4d4d;
}

/* Расчеты */
.calculations-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculation-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

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

.calc-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 165, 75, 0.1);
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.calc-info {
    flex: 1;
}

.calc-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.calc-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.calc-price {
    font-weight: 600;
    color: #ff4d4d;
}

.btn-view {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(201, 165, 75, 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
}

/* Профиль */
.profile-form,
.password-form,
.danger-zone {
    margin-bottom: 30px;
    padding: 25px !important;
}

.profile-form h2,
.password-form h2,
.danger-zone h2 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.form-actions {
    margin-top: 20px;
}

.danger-zone {
    border-color: #ff4d4d !important;
    background: rgba(255, 77, 77, 0.05) !important;
}

.danger-zone h2 {
    color: #ff4d4d;
}

.btn-danger {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: #ff3333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 77, 77, 0.3);
}

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

    .cabinet-sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        border-radius: 0;
        border-right: 1px solid var(--border-color);
    }

    .cabinet-sidebar.active {
        left: 0;
    }

    .cabinet-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .transaction-item,
    .calculation-item {
        flex-wrap: wrap;
    }

    .transaction-amount,
    .calc-price {
        width: 100%;
        text-align: right;
    }
}
/* ========== ИСТОРИЯ РАСЧЕТОВ ========== */
.history-filters {
    margin-bottom: 30px;
    padding: 20px;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

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

.filter-select,
.filter-input {
    padding: 10px;
    background: rgba(18, 18, 26, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.filters-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.history-stats {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.calculation-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.calc-target {
    font-size: 0.8rem;
    color: var(--accent-gold);
    margin-top: 3px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.page-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0 10px;
}

/* ========== ПОДПИСКИ ========== */
.active-subscription {
    margin-bottom: 30px;
}

.active-subscription-card {
    position: relative;
    padding: 25px;
    background: linear-gradient(135deg, rgba(201,165,75,0.1), rgba(18,18,26,0.5));
    border-radius: var(--border-radius);
    border: 1px solid var(--accent-gold);
}

.subscription-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.subscription-dates {
    display: flex;
    gap: 30px;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.date-item {
    display: flex;
    gap: 10px;
}

.date-label {
    color: var(--text-muted);
}

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

.subscription-progress {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.days-left {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.subscription-benefits ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.subscription-benefits li {
    padding: 5px 0;
    color: var(--text-secondary);
}

.subscriptions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

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

.subscription-card.popular {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(201,165,75,0.2);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: -10px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 5px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg) translateX(20px);
}

.subscription-price {
    margin: 20px 0;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.subscription-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.subscription-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.subscription-features li:last-child {
    border-bottom: none;
}

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

.subscription-history-item.expired {
    opacity: 0.7;
}

.history-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,165,75,0.1);
    border-radius: 50%;
    color: var(--accent-gold);
}

.history-info {
    flex: 1;
}

.history-name {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.history-dates {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.history-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.history-status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.history-status.expired {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.history-status.cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.history-price {
    font-weight: 600;
    color: var(--accent-gold);
}

.warning {
    color: #ff9800;
    font-size: 0.9rem;
    margin-top: 10px;
}

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

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

    .subscription-dates {
        flex-direction: column;
        gap: 10px;
    }

    .subscription-history-item {
        flex-wrap: wrap;
    }

    .history-status {
        width: 100%;
        text-align: center;
    }
}
/* ========== МОДАЛЬНЫЕ ОКНА ========== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, var(--bg-card) 0%, #1a1a24 100%);
    margin: 5% auto;
    padding: 0;
    border: 1px solid var(--accent-gold);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 165, 75, 0.3) inset;
    animation: modalFadeIn 0.3s ease;
}

.modal-lg {
    max-width: 800px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-family: var(--font-display);
}

.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: var(--accent-gold);
}

.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
    color: var(--text-primary);
}

.modal-body p {
    margin: 15px 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-body strong {
    color: var(--accent-gold);
}

.modal-body .warning {
    color: #ff9800;
    font-size: 0.9rem;
    padding: 10px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: var(--border-radius);
    border-left: 3px solid #ff9800;
    margin-top: 20px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.modal-footer .btn {
    min-width: 120px;
    padding: 12px 24px;
}

/* Стили для iframe в модальном окне (для платежей) */
#paymentFrame iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: var(--border-radius);
    background: white;
}

/* Стили для деталей расчета в модальном окне */
.calculation-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.detail-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

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

.detail-section {
    margin-top: 10px;
    padding: 20px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.result-content {
    color: var(--text-secondary);
    line-height: 1.8;
    white-space: pre-wrap;
    font-family: monospace;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
}

/* Адаптивность для модальных окон */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-lg {
        max-width: 95%;
    }

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

    .modal-footer .btn {
        width: 100%;
    }

    #paymentFrame iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 16px;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    #paymentFrame iframe {
        height: 300px;
    }
}
/* Социальные иконки */
.footer-social {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(201, 165, 75, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gold);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* Секции мобильного меню */
.mobile-section {
    margin-bottom: 20px;
}

.mobile-section-title {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-color);
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

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

    .footer-links {
        justify-content: center;
    }
}
/* Стили для автозаполненных полей */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px rgba(18, 18, 26, 0.9) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    border-color: var(--accent-gold) !important;
}

.auto-fill-hint {
    animation: fadeInHint 0.3s ease;
}

@keyframes fadeInHint {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для модального окна оплаты */
.payment-modal {
    animation: modalFadeIn 0.3s ease;
}

.payment-modal > div {
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* ========== ТАРИФЫ ========== */

.tariff-card {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

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

.tariff-card.selected {
    border-color: var(--accent-gold);
    background: rgba(201, 165, 75, 0.1);
    box-shadow: 0 0 30px rgba(201, 165, 75, 0.2);
}

.tariff-card.free {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.7), rgba(201, 165, 75, 0.1));
}

.tariff-card.subscription {
    border-color: #4caf50;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.7), rgba(76, 175, 80, 0.1));
}

.tariff-badge {
    position: absolute;
    top: 10px;
    right: -30px;
    background: var(--gradient-gold);
    color: var(--bg-dark);
    padding: 5px 30px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(45deg);
}

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

.tariff-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tariff-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    min-height: 60px;
}

.tariff-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.tariff-price small {
    font-size: 1rem;
    color: var(--text-muted);
}

.tariff-old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.tariff-discount {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
}

.tariff-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.tariff-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.tariff-features li:last-child {
    border-bottom: none;
}

.tariff-features li i {
    color: #4caf50;
    margin-right: 8px;
}

/* ========== ЗАМКИ ========== */
.tab-btn.locked {
    position: relative;
    padding-right: 40px;
}

.lock-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.7;
}

.tab-content.locked-content {
    position: relative;
    min-height: 200px;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.lock-icon-large {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.lock-overlay h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.lock-overlay p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.interpretation-pane.locked-pane {
    position: relative;
    min-height: 300px;
}

/* ========== ПОДПИСКА ========== */
.subscription-info {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(18, 18, 26, 0.5));
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.subscription-badge-active {
    display: inline-block;
    background: var(--accent-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.subscription-details {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.subscription-detail {
    flex: 1;
    min-width: 200px;
}

.subscription-detail .label {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.subscription-detail .value {
    color: var(--accent-gold);
    font-size: 1.2rem;
    font-weight: 600;
}

.subscription-benefits-small {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.benefit-tag {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* ========== ЗАГОЛОВОК РЕЗУЛЬТАТА ========== */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.result-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.result-badge.basic {
    background: rgba(201, 165, 75, 0.2);
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.result-badge.full {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

.result-badge.preview {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid #ff9800;
}

.result-header-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ========== ЦЕНА В ШАПКЕ ========== */
.tariff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.tariff-price-info {
    background: rgba(201, 165, 75, 0.1);
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid var(--accent-gold);
}

.price-current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-right: 10px;
}

.price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 10px;
}

.price-discount {
    background: #4caf50;
    color: white;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}
/* Стили для панелей интерпретаций */
.interpretation-pane {
    position: relative;
    min-height: 300px;
    background: rgba(18, 18, 26, 0.5);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
}

.interpretation-pane .lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 26, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--border-radius);
}

.interpretation-pane:not(.locked-pane) .lock-overlay {
    display: none;
}

.interpretation-pane.locked-pane > div:not(.lock-overlay) {
    display: none;
}

.interpretation-pane:not(.locked-pane) > div {
    display: block !important;
}

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

.interpretation-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    min-width: 60px;
    text-align: center;
}

.interpretation-section {
    margin-bottom: 25px;
}

.interpretation-section h5 {
    color: var(--accent-gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.interpretation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.grid-half {
    background: rgba(18, 18, 26, 0.3);
    padding: 15px;
    border-radius: var(--border-radius);
}

.grid-half h5 {
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.grid-half ul {
    list-style: none;
    padding: 0;
}

.grid-half li {
    padding: 5px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.grid-half li:before {
    content: "•";
    color: var(--accent-gold);
    position: absolute;
    left: 0;
}

.numbers-section {
    background: rgba(201, 165, 75, 0.1);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.number-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.number-label {
    font-weight: 600;
    color: var(--accent-gold);
    min-width: 120px;
}

.number-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    background: rgba(201, 165, 75, 0.2);
    padding: 2px 10px;
    border-radius: 20px;
}

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

.interpretation-advice {
    margin-top: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(201, 165, 75, 0.1), rgba(18, 18, 26, 0.5));
    border-radius: var(--border-radius);
    font-style: italic;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-gold);
}

.info-text {
    line-height: 1.6;
    color: var(--text-secondary);
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    margin-top: 5px;
}

.detailed-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(201, 165, 75, 0.05);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--accent-gold);
}

.detailed-text {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .interpretation-grid {
        grid-template-columns: 1fr;
    }

    .number-item {
        flex-direction: column;
        gap: 5px;
    }

    .number-label {
        min-width: auto;
    }
}
/* ========== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ ========== */

/* Улучшенная hero-секция */
.hero-section {
    text-align: center;
    padding: 60px 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201, 165, 75, 0.1);
    border: 1px solid rgba(201, 165, 75, 0.3);
    border-radius: 40px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--accent-gold), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-actions .btn {
    min-width: 220px;
    padding: 16px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-actions .btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.hero-actions .btn-primary:hover i {
    transform: translateX(5px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.hero-stats .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Секция с практиками */
.practices-section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--accent-gold);
}

.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.7;
}

.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.practice-card {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.practice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.practice-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(201, 165, 75, 0.15);
}

.practice-card:hover::before {
    transform: scaleX(1);
}

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

.practice-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
}

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

.card-link {
    color: var(--accent-gold);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.practice-card:hover .card-link {
    gap: 12px;
}

/* Секция преимуществ */
.features-section {
    padding: 60px 0;
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

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

.feature-item:hover {
    background: rgba(18, 18, 26, 0.5);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

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

.feature-icon i {
    background: rgba(201, 165, 75, 0.1);
    padding: 15px;
    border-radius: 50%;
}

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

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

/* CTA секция */
.cta-section {
    padding: 80px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(201, 165, 75, 0.1), rgba(18, 18, 26, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-actions .btn {
    min-width: 220px;
    padding: 16px 32px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cta-actions .btn i {
    font-size: 1.1rem;
}

.cta-actions .btn-primary:hover i {
    transform: scale(1.1);
}

.cta-actions .btn-outline:hover i {
    color: var(--accent-gold);
}

/* Секция с цитатой */
.quote-section {
    padding: 60px 0 80px;
    text-align: center;
}

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

.quote-section p {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 25px;
    position: relative;
    padding: 0 30px;
}

.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: -10px;
    top: -15px;
}

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

.quote-section cite {
    color: var(--accent-gold);
    font-style: normal;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stats .stat-item {
        width: calc(50% - 15px);
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-content {
        padding: 40px 20px;
    }

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

@media (max-width: 480px) {
    .hero-stats {
        gap: 20px;
    }

    .hero-stats .stat-item {
        width: 100%;
    }

    .hero-stats .stat-value {
        font-size: 1.6rem;
    }

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

    .card-icon {
        font-size: 2rem;
    }

    .practice-card h3 {
        font-size: 1.2rem;
    }

    .feature-item {
        padding: 25px 20px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* Улучшенные кнопки */
.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-primary i,
.btn-outline i {
    font-size: 1rem;
}

/* Фоновые звезды */
.bg-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 80px 120px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 160px 50px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 200px 180px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 260px 90px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 320px 210px, rgba(255,255,255,0.3), rgba(0,0,0,0)),
            radial-gradient(2px 2px at 380px 140px, rgba(255,255,255,0.3), rgba(0,0,0,0));
    background-repeat: repeat;
    opacity: 0.2;
    animation: twinkle 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

/* Фикс для мобильного меню */
.mobile-menu-footer .auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.mobile-menu-footer .copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
}
.auth-link
{
    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;
    background: #c9a54b;
    color: #000;
}
/* ========== СТИЛИ ДЛЯ СТРАНИЦ АВТОРИЗАЦИИ ========== */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 40px 20px;
}

.auth-card {
    max-width: 500px;
    width: 100%;
    padding: 40px;
    background: linear-gradient(135deg, var(--dark-light), var(--dark));
    border: 1px solid var(--border-color);
    border-radius: 30px;
    animation: fadeInScale 0.6s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(201, 165, 75, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.auth-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
}

.forgot-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.auth-divider span {
    position: relative;
    z-index: 2;
    background: var(--dark-light);
    padding: 0 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-social {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-social i {
    font-size: 1.2rem;
}

.btn-social.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
}

.btn-social.google:hover {
    background: #DB4437;
    border-color: #DB4437;
    color: white;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.auth-footer p {
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

/* Стили для чекбокса условий */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent-gold);
}

.form-check label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-check a {
    color: var(--accent-gold);
    text-decoration: none;
}

.form-check a:hover {
    text-decoration: underline;
}

/* Стили для шагов восстановления пароля */
.reset-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.reset-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--dark-light);
    padding: 0 10px;
}

.step-number {
    width: 32px;
    height: 32px;
    background: rgba(201, 165, 75, 0.1);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--dark);
}

.step-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.step.active .step-text {
    color: var(--accent-gold);
}

.reset-confirm {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.reset-confirm h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.reset-confirm p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
}

.email-sent {
    background: rgba(201, 165, 75, 0.1);
    padding: 10px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--accent-gold) !important;
    margin: 15px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }

    .reset-steps {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .reset-steps::before {
        display: none;
    }

    .step {
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .auth-header h1 {
        font-size: 1.6rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* ========== КАРТОЧКИ РАСЧЕТОВ ========== */
.calculations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.calculation-card {
    background: rgba(18, 18, 26, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

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

.calculation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.calculation-card:hover::before {
    transform: scaleX(1);
}

.calc-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.calc-card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.calc-card-date,
.calc-card-target {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-card-date i,
.calc-card-target i {
    color: var(--accent-gold);
    font-size: 0.85rem;
}

.calc-card-price {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    background: rgba(201, 165, 75, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: rgba(18, 18, 26, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.empty-state i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
    opacity: 0.5;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .calculations-grid {
        grid-template-columns: 1fr;
    }

    .calc-card-price {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }
}
/* ========== СТАТИСТИКА В КАБИНЕТЕ ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.5), rgba(10, 10, 15, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.stat-content {
    flex: 1;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== КАРТОЧКИ РАСЧЕТОВ ========== */
.calculations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.calculation-card {
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.5), rgba(10, 10, 15, 0.5));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.calculation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.calculation-card:hover::before {
    transform: scaleX(1);
}

.calc-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calc-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.calc-card-price {
    padding: 6px 15px;
    background: rgba(201, 165, 75, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1rem;
}

.calc-card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.calc-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.calc-card-date,
.calc-card-target {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-card-date i,
.calc-card-target i {
    color: var(--accent-gold);
    width: 16px;
    font-size: 0.9rem;
}

/* ========== ПУСТОЕ СОСТОЯНИЕ ========== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(18, 18, 26, 0.3), rgba(10, 10, 15, 0.3));
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.empty-state i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.empty-state .btn {
    display: inline-block;
    padding: 12px 30px;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

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

@media (max-width: 480px) {
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1.3rem;
    }

    .calc-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .calc-card-price {
        align-self: flex-start;
    }
}