/* ============================================
   ЭКСПРЕСС-ДИАГНОСТИКА ПО 36 ТАТТВАМ
   Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
    /* Colors - Mystical Dark Theme */
    --bg-primary: #0A0A0F;
    --bg-secondary: #131318;
    --bg-card: #1A1A22;
    --bg-card-hover: #222230;

    /* Accent Colors */
    --gold: #D4AF37;
    --gold-light: #E8C860;
    --gold-dark: #B8962F;
    --amber: #FF8C00;
    --emerald: #00A86B;
    --copper: #B87333;
    --silver: #C0C0C0;
    --purple: #9B59B6;
    --red: #E74C3C;

    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #E5E5E5;
    --text-muted: #A0A0A0;
    --text-dim: #666680;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0A0A0F 0%, #1A1A22 50%, #2A1810 100%);
    --gradient-gold: linear-gradient(90deg, #D4AF37 0%, #FF8C00 100%);
    --gradient-card: linear-gradient(145deg, #1A1A22 0%, rgba(212, 175, 55, 0.05) 100%);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* App Container */
#app {
    min-height: 100vh;
    position: relative;
}

/* Screen Base Styles */
.screen {
    display: none;
    min-height: 100vh;
    position: relative;
}

.screen.active {
    display: flex;
    flex-direction: column;
}

.screen-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

.screen-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* ============================================
   HERO SECTION
   ============================================ */

#hero {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-lg);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mandala-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    animation: pulse-slow 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: var(--space-xl);
}

.logo-svg {
    width: 180px;
    height: 180px;
    opacity: 0.95;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-item svg {
    opacity: 0.8;
}

.btn-hero {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-normal);
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* ============================================
   INTRO SECTION
   ============================================ */

.screen-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--space-lg);
    padding-top: var(--space-2xl);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    padding: var(--space-sm) 0;
    margin-bottom: var(--space-xl);
    transition: color var(--transition-fast);
}

.btn-back:hover {
    color: var(--gold);
}

.intro-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.brand-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.intro-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--text-primary);
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.intro-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.intro-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

.card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--gold);
    opacity: 0.8;
}

.intro-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.intro-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.intro-modules {
    margin-bottom: var(--space-2xl);
}

.intro-modules h3,
.intro-instructions h3,
.intro-scale h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.modules-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
}

.module-preview {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--accent);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    transition: all var(--transition-fast);
}

.module-preview:hover {
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.module-num {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
}

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

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

.intro-instructions {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.intro-instructions ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.intro-instructions li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    position: relative;
    color: var(--text-secondary);
}

.intro-instructions li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
}

.intro-scale {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.scale-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.scale-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    min-width: 80px;
}

.scale-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.scale-item span:last-child {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-start {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
}

/* ============================================
   TEST SECTION
   ============================================ */

#test {
    min-height: 100vh;
    background: var(--bg-primary);
}

.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.test-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
}

.current-module-label {
    color: var(--gold);
    font-weight: 600;
}

.question-counter {
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    max-width: 300px;
    height: 4px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
    width: 0%;
}

.module-indicators {
    display: flex;
    gap: var(--space-xs);
}

.module-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-card);
    transition: all var(--transition-fast);
}

.module-indicators .indicator.active {
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.module-indicators .indicator.completed {
    background: var(--emerald);
}

.btn-menu {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: var(--space-sm);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.module-title-container {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.module-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.module-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
}

.question-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-xl) 0;
}

.question-card {
    background: var(--gradient-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.question-text {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.question-tatva {
    font-size: 0.9rem;
    color: var(--gold);
    font-style: italic;
}

.answer-scale {
    margin-bottom: var(--space-xl);
}

.scale-labels-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.scale-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.scale-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.scale-btn:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.1);
}

.scale-btn.selected {
    background: var(--gradient-gold);
    border-color: var(--gold);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
    transform: scale(1.1);
}

.scale-description {
    text-align: center;
    margin-top: var(--space-lg);
    font-size: 0.9rem;
    color: var(--text-muted);
    min-height: 24px;
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-nav {
    flex: 1;
    max-width: 200px;
    justify-content: center;
}

/* Test Menu */
.test-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.test-menu-overlay.active {
    display: flex;
}

.test-menu {
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.test-menu h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.menu-modules {
    margin-bottom: var(--space-xl);
}

.menu-module-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: var(--space-sm);
}

.menu-module-btn:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.menu-module-btn.current {
    border-color: var(--gold);
    color: var(--gold);
}

.menu-module-btn .status {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.menu-module-btn .status.completed {
    color: var(--emerald);
}

.menu-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ============================================
   CALCULATING SECTION
   ============================================ */

#calculating {
    justify-content: center;
    align-items: center;
    text-align: center;
    background: var(--bg-primary);
}

.calculating-container {
    max-width: 500px;
    padding: var(--space-lg);
}

.mandala-calculating {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--space-2xl);
}

.mandala-svg {
    width: 100%;
    height: 100%;
}

.mandala-svg .ring {
    fill: none;
    stroke: var(--gold);
    stroke-width: 1;
    opacity: 0.3;
    transform-origin: center;
}

.mandala-svg .ring-1 { animation: rotate-slow 20s linear infinite; }
.mandala-svg .ring-2 { animation: rotate-slow 16s linear infinite reverse; }
.mandala-svg .ring-3 { animation: rotate-slow 12s linear infinite; }
.mandala-svg .ring-4 { animation: rotate-slow 8s linear infinite reverse; }
.mandala-svg .ring-5 { animation: rotate-slow 4s linear infinite; }

.mandala-svg .spokes {
    stroke: var(--gold);
    stroke-width: 0.5;
    opacity: 0.2;
}

.calculating-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.4;
}

.calculating-text {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.calculating-progress {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.calc-bar {
    flex: 1;
    height: 4px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.calc-fill {
    height: 100%;
    background: var(--gradient-gold);
    width: 0%;
    transition: width 0.1s linear;
}

.calc-percent {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    min-width: 40px;
}

/* ============================================
   RESULTS SECTION
   ============================================ */

#results {
    padding: var(--space-lg);
    padding-top: var(--space-2xl);
}

.results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.results-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.results-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.results-header p {
    color: var(--text-muted);
}

.results-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--space-2xl);
}

.tatva-wheel-container {
    position: relative;
    margin-bottom: var(--space-xl);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.overall-score {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

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

.tatva-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    max-width: 600px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-name {
    color: var(--text-secondary);
}

.legend-score {
    color: var(--text-muted);
}

.module-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.module-result-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
}

.module-result-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.module-result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.module-result-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
}

.module-result-score {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.module-result-bar {
    height: 6px;
    background: var(--bg-card);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.module-result-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease-out;
}

.module-result-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.module-result-level {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--gold);
    margin-top: var(--space-md);
}

.results-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* ============================================
   RECOMMENDATIONS SECTION
   ============================================ */

#recommendations {
    padding: var(--space-lg);
    padding-top: var(--space-2xl);
}

.recommendations-container {
    max-width: 800px;
    margin: 0 auto;
}

.rec-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.rec-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.rec-header p {
    color: var(--text-muted);
}

.rec-cards {
    margin-bottom: var(--space-2xl);
}

.rec-card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.rec-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.rec-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    color: var(--gold);
}

.rec-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
}

.rec-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.rec-practices {
    list-style: none;
}

.rec-practices li {
    padding: var(--space-md) 0;
    padding-left: var(--space-xl);
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rec-practices li:last-child {
    border-bottom: none;
}

.rec-practices li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
}

.rec-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

/* ============================================
   TOAST
   ============================================ */

.toast {
    position: fixed;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-xl);
    color: var(--text-secondary);
    font-size: 0.95rem;
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 2000;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================
   PARTICLES
   ============================================ */

.particle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    animation: particleRise linear infinite;
    box-shadow: 0 0 6px var(--gold);
}

@keyframes particleRise {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50vh) translateX(30px) scale(1.2);
        opacity: 0.6;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) translateX(-20px) scale(0.8);
        opacity: 0;
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-meta {
        flex-direction: column;
        gap: var(--space-md);
    }

    .intro-cards {
        grid-template-columns: 1fr;
    }

    .modules-list {
        flex-direction: column;
    }

    .module-preview {
        width: 100%;
    }

    .scale-items {
        flex-direction: column;
    }

    .scale-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .test-navigation {
        flex-direction: column;
    }

    .btn-nav {
        max-width: 100%;
    }

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

    .results-actions .btn {
        width: 100%;
    }

    .tatva-wheel-container canvas {
        width: 300px !important;
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 16px;
        --space-xl: 24px;
        --space-2xl: 32px;
    }

    .hero-title {
        letter-spacing: 0.02em;
    }

    .question-card {
        padding: var(--space-lg);
    }

    .scale-btn {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .tatva-wheel-container canvas {
        width: 280px !important;
        height: 280px !important;
    }
}
