* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0d0a14;
    color: #fff;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Glass card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    transition: all 0.3s;
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(20, 20, 30, 0.5);
}

.question-card {
    padding: 12px;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
}
.page-home {
    padding: 5rem 0 3rem;
}

.page-dream, .page-tarot, .page-astrology, .page-numerology, .page-rituals, .page-library, .page-shadow, .page-coffee, .page-talisman, .page-pricing, .page-dashboard {
    padding: 6rem 0 3rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 8s infinite ease-in-out;
}

.bg-orb-1 {
    top: 25%;
    left: 25%;
    background: rgba(139, 92, 246, 0.3);
    animation: scalePulse 8s infinite;
}

.bg-orb-2 {
    bottom: 25%;
    right: 25%;
    background: rgba(245, 158, 11, 0.3);
    animation: scalePulse 8s infinite 4s;
}

@keyframes scalePulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.prophecy-ticker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 999px;
    margin-bottom: 2rem;
    color: #d4af37;
}

#prophecy-text {
    font-style: italic;
    transition: opacity 0.3s;
}

.hero-title {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.text-white {
    color: #fff;
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 1.25rem;
    max-width: 42rem;
    margin: 0 auto 3rem;
    font-weight: 300;
}

.tool-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tool-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.tool-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(212,175,55,0.3);
}

.tool-icon {
    display: flex;
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
	justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
}

.tool-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

.bg-indigo-500 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.bg-amber-500 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.bg-violet-500 { background: linear-gradient(135deg, #8b5cf6, #a855f7); }
.bg-slate-500 { background: linear-gradient(135deg, #64748b, #334155); }
.bg-amber-700 { background: linear-gradient(135deg, #b45309, #92400e); }
.bg-red-500 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.bg-cyan-500 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.bg-yellow-500 { background: linear-gradient(135deg, #eab308, #ca8a04); }

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tool-card p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.tool-link {
    color: #d4af37;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.tool-link i {
    transition: transform 0.2s;
}

.tool-card:hover .tool-link i {
    transform: translateX(4px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-dot {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid #374151;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    padding: 0.25rem;
}

.scroll-dot::after {
    content: '';
    width: 0.25rem;
    height: 0.5rem;
    background: #d4af37;
    border-radius: 999px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Premium Banner */
.premium {
    padding: 4rem 1rem;
}

.premium-container {
    position: relative;
    background: linear-gradient(135deg, #1a1625, #13131a, #0d0a14);
    border-radius: 2rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    padding: 3rem;
}

.premium-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decorative-star {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 6rem;
    color: rgba(212,175,55,0.1);
    animation: rotate 60s linear infinite;
}

.decorative-moon {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-size: 8rem;
    color: rgba(139,92,246,0.1);
    animation: rotateReverse 80s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.premium-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 999px;
    color: #d4af37;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.premium-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.premium-description {
    color: #9ca3af;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.premium-features {
    list-style: none;
    margin-bottom: 2rem;
}

.premium-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    margin-bottom: 0.75rem;
}

.premium-features i {
    color: #d4af37;
    font-size: 0.875rem;
}

.premium-card {
    position: relative;
    z-index: 2;
    width: 280px;
}

.preview-card {
    padding: 1.5rem;
    background: rgba(0,0,0,0.3);
    border-color: rgba(212,175,55,0.3);
}

.preview-label {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.preview-title {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.preview-card p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.text-gold {
    color: #d4af37;
}

.text-purple {
    color: #a78bfa;
}

.preview-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #1f2937;
    color: #f59e0b;
}

.preview-footer .text-white {
    color: #fff;
}

/* Tools Grid */
.tools {
    padding: 4rem 1rem;
}

.category {
    margin-bottom: 4rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-line {
    height: 1px;
    flex: 1;
    max-width: 60px;
    background: linear-gradient(90deg, #d4af37, transparent);
}

.category-line.dim {
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.2), transparent);
    max-width: none;
}

.category-title {
    color: #d4af37;
    font-size: 0.875rem;
    letter-spacing: 0.3em;
    font-weight: 500;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.tool-item {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    display: block;
}

.tool-item:hover {
    border-color: rgba(212,175,55,0.3);
    background: rgba(20,20,30,0.5);
}

.tool-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tool-icon-sm {
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.tool-icon-sm i {
    width: 1.25rem;
    height: 1.25rem;
    color: #fff;
	display: flex;
    justify-content: center;
	align-items: center;
}

.premium-badge-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 999px;
    background: rgba(212,175,55,0.2);
    color: #d4af37;
    border: 1px solid rgba(212,175,55,0.3);
}

.tool-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tool-item p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.tool-link-sm {
    color: #9ca3af;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

.tool-item:hover .tool-link-sm {
    color: #d4af37;
}

.tool-item:hover .tool-link-sm i {
    transform: translateX(4px);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 999px;
    color: #818cf8;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: #9ca3af;
    max-width: 600px;
    margin: 0 auto;
}

.dream-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dream-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dream-form {
    padding: 2rem;
}

.form-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.gold-icon {
    color: #d4af37;
}

.dream-textarea {
    width: 100%;
    min-height: 200px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    resize: vertical;
}

.dream-textarea:focus {
    outline: none;
    border-color: rgba(212,175,55,0.5);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.char-count {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Loading Oracle */
.loading-oracle {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1rem;
}

.hidden {
    display: none !important;
}

.spinner {
    position: relative;
    width: 8rem;
    height: 8rem;
    margin-bottom: 2rem;
}

.outer-ring {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    animation: spin 8s linear infinite;
}

.middle-ring {
    position: absolute;
    inset: 0.5rem;
    border: 2px solid rgba(139,92,246,0.3);
    border-radius: 50%;
    animation: spinReverse 6s linear infinite;
}

.inner-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.inner-icon i {
    font-size: 2.5rem;
    color: #d4af37;
}

.stars i {
    position: absolute;
    color: #a78bfa;
    font-size: 0.75rem;
}

.star-1 { top: 20%; left: 20%; animation: float 2s infinite 0s; }
.star-2 { top: 20%; right: 20%; animation: float 2s infinite 0.5s; }
.star-3 { bottom: 20%; left: 20%; animation: float 2s infinite 1s; }
.star-4 { bottom: 20%; right: 20%; animation: float 2s infinite 1.5s; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.loading-message {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.loading-dots {
    display: flex;
    gap: 0.25rem;
}

.loading-dots span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #d4af37;
    animation: blink 1s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Result area */
.result-area {
    margin-top: 2rem;
}

.overall-message {
    background: linear-gradient(135deg, rgba(79,70,229,0.3), rgba(139,92,246,0.3));
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 1.5rem;
}

.symbol-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 999px;
    color: #d4af37;
    font-size: 0.875rem;
}

.reading-result {
    padding: 1.5rem;
}

.section {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 1rem 0;
}

.section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
	width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-icon i {
    width: 1rem;
    height: 1rem;
    color: #fff;
}

.section-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
}

.toggle-icon {
    color: #6b7280;
    transition: transform 0.3s;
}

.section-content {
    margin-top: 1rem;
    margin-left: 2.5rem;
    color: #d1d5db;
    line-height: 1.6;
    display: none;
}

.section-content.expanded {
    display: block;
}

.section .advice {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0.75rem;
    color: #d4af37;
    font-size: 0.875rem;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Sidebar */
.dream-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dream-sidebar .glass-card {
    padding: 1.5rem;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.recent-dreams {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.recent-item {
    background: rgba(0,0,0,0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.recent-item:hover {
    background: rgba(0,0,0,0.4);
}

.recent-text {
    color: #d1d5db;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.recent-date {
    color: #4b5563;
    font-size: 0.75rem;
}

.tips-list {
    list-style: none;
    color: #9ca3af;
    font-size: 0.875rem;
}

.tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.gold-bullet {
    color: #d4af37;
}

/* Utilities */
.text-gold { color: #d4af37; }
.text-purple { color: #a78bfa; }

/* Responsive */
@media (max-width: 768px) {
    .premium-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .premium-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .dream-layout {
        grid-template-columns: 1fr;
    }
    .tool-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

@media (min-width: 768px) {
    .nav-content {
        height: 5rem;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    position: relative;
}

.logo-icon i.fa-moon {
    font-size: 2rem;
    color: #d4af37;
    transition: transform 0.3s;
}

.logo:hover .logo-icon i.fa-moon {
    transform: rotate(12deg);
}

.logo-star {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    font-size: 0.75rem;
    color: #d4af37;
    animation: pulse 2s infinite;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, #d4af37, #f4e4bc, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: none;
}

@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: #d4af37;
    background: rgba(212,175,55,0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.desktop-user {
    display: none;
}

@media (min-width: 768px) {
    .desktop-user {
        display: block;
    }
}

.login-btn {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #000;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    border-radius: 0.5rem;
    cursor: pointer;
}

.mobile-menu-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    display: block;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    transition: all 0.3s;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.mobile-menu.open {
    max-height: 80vh;
    opacity: 1;
}

.mobile-menu-content {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #9ca3af;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.mobile-link i {
    width: 1.25rem;
    font-size: 1rem;
}

.mobile-link:hover,
.mobile-link.active {
    color: #d4af37;
    background: rgba(212,175,55,0.1);
}

.mobile-divider {
    height: 1px;
    background: rgba(212,175,55,0.15);
    margin: 1rem 0;
}

.mobile-login {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(212,175,55,0.15);
    margin-top: 5rem;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    letter-spacing: 0.2em;
    background: linear-gradient(135deg, #d4af37, #f4e4bc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.5rem;
    color: #d4af37;
    -webkit-text-fill-color: #d4af37;
}

.footer-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-title {
    color: #d4af37;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(212,175,55,0.15);
    padding-top: 1.5rem;
    text-align: center;
    color: #4b5563;
    font-size: 0.75rem;
}

/* Star field */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 8rem;
    background: #1a1a24;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0.5rem;
    padding: 0.25rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all 0.2s;
}

.dropdown-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: rgba(212,175,55,0.1);
    color: #d4af37;
}

.dropdown-item i {
    width: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.dropdown-divider {
    height: 1px;
    background: rgba(212,175,55,0.1);
    margin: 0.25rem 0;
}

/* Select */
.select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.select-trigger:hover {
    border-color: rgba(212,175,55,0.5);
}

.select-trigger i {
    color: #9ca3af;
    transition: transform 0.2s;
}

.select-trigger.open i {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 15rem;
    overflow-y: auto;
    background: #1a1a24;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0.5rem;
    padding: 0.25rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all 0.2s;
}

.select-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #d1d5db;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.select-option:hover {
    background: rgba(212,175,55,0.1);
    color: #d4af37;
}

.select-option.selected {
    background: rgba(212,175,55,0.2);
    color: #d4af37;
}

/* Tabs */
.tabs {
    width: 100%;
}

.tabs-list {
    display: flex;
    gap: 0.25rem;
    background: rgba(0,0,0,0.2);
    padding: 0.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.tab-trigger {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-trigger:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.tab-trigger.active {
    background: #d4af37;
    color: #000;
    font-weight: 500;
}

.tab-content {
    display: none;
    padding: 1rem 0;
}

.tab-content.active {
    display: block;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    min-width: 300px;
    background: #1a1a24;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-color: #10b981;
}

.toast.error {
    border-color: #ef4444;
}

.toast-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.toast-header i {
    font-size: 1.25rem;
}

.toast-title {
    font-weight: 600;
    color: #fff;
}

.toast-message {
    color: #9ca3af;
    font-size: 0.875rem;
}

.toast-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: 1rem;
}

.toast-close:hover {
    color: #fff;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Checkbox and Radio */
.checkbox,
.radio {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox input,
.radio input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #4b5563;
    border-radius: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkbox input:checked ~ .checkbox-custom {
    background: #d4af37;
    border-color: #d4af37;
}

.checkbox input:checked ~ .checkbox-custom i {
    display: block;
    color: #000;
    font-size: 0.75rem;
}

.checkbox-custom i {
    display: none;
}

.radio-custom {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #4b5563;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.radio input:checked ~ .radio-custom {
    border-color: #d4af37;
}

.radio input:checked ~ .radio-custom::after {
    content: '';
    width: 0.625rem;
    height: 0.625rem;
    background: #d4af37;
    border-radius: 50%;
}

/* Progress */
.progress {
    width: 100%;
    height: 0.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #d4af37, #b8860b);
    border-radius: 999px;
    transition: width 0.3s;
}

/* Toggle */
.toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch {
    width: 2.5rem;
    height: 1.25rem;
    background: #4b5563;
    border-radius: 999px;
    position: relative;
    transition: background 0.2s;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 0.125rem;
    left: 0.125rem;
    width: 1rem;
    height: 1rem;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle input:checked ~ .toggle-switch {
    background: #d4af37;
}

.toggle input:checked ~ .toggle-switch::after {
    transform: translateX(1.25rem);
}

/* Tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: max-content;
    max-width: 200px;
    background: #1a1a24;
    color: #fff;
    text-align: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(212,175,55,0.3);
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 0.75rem;
    white-space: nowrap;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Scroll Area (custom scrollbar) */
.scroll-area {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d4af37 #1f2937;
}

.scroll-area::-webkit-scrollbar {
    width: 6px;
}

.scroll-area::-webkit-scrollbar-track {
    background: #1f2937;
    border-radius: 3px;
}

.scroll-area::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

.scroll-area::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

/* ===== Астрология ===== */
.zodiac-wheel {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.5rem;
}

@media (max-width: 640px) {
    .zodiac-grid {
		grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .zodiac-grid {
		grid-template-columns: repeat(6, 1fr);
    }
}

.zodiac-sign {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
    background: rgba(0,0,0,0.3);
}

.zodiac-sign[data-element="fire"] {
    background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(249,115,22,0.2));
}
.zodiac-sign[data-element="earth"] {
    background: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(16,185,129,0.2));
}
.zodiac-sign[data-element="air"] {
    background: linear-gradient(135deg, rgba(14,165,233,0.2), rgba(6,182,212,0.2));
}
.zodiac-sign[data-element="water"] {
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(99,102,241,0.2));
}

.zodiac-sign:hover {
    transform: scale(1.1);
}

/* Планеты в результате */
.planet-card {
    background: rgba(19,19,26,0.8);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.planet-card:hover {
    border-color: rgba(212,175,55,0.3);
}

.planet-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.planet-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.planet-name {
    color: #fff;
    font-weight: 500;
}

.planet-sign {
    color: #6b7280;
    font-size: 0.875rem;
}

.planet-desc {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Секция предназначения */
.soul-purpose {
    background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(139,92,246,0.3));
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 1rem;
    padding: 1.5rem;
}

/* ===== Кофейная гуща ===== */
.upload-area {
    text-align: center;
    padding: 3rem 2rem;
    cursor: pointer;
    transition: border-color 0.3s;
}

.upload-area i {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.upload-area p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.upload-area .small {
    font-size: 0.875rem;
    color: #6b7280;
}

.upload-area:hover {
    border-color: rgba(212,175,55,0.5);
}

.preview-container {
    margin-top: 2rem;
}

.preview-container img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.tips-card {
    margin-top: 2rem;
    padding: 1.5rem;
}

.tips-card h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.tips-card ul {
    list-style: none;
    color: #9ca3af;
}

.tips-card li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.tips-card li::before {
    content: "•";
    color: #d4af37;
}

/* Символы в результате */
.symbol-item {
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}

.symbol-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.symbol-name {
    font-weight: 600;
    color: #d4af37;
}

.symbol-location {
    color: #6b7280;
    font-size: 0.875rem;
}

.symbol-meaning {
    color: #d1d5db;
    font-size: 0.875rem;
}

/* ===== Дашборд ===== */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.dashboard-header .greeting {
    color: #9ca3af;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(19,19,26,0.8);
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
}

.stat-card i {
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.daily-oracle-card {
    background: linear-gradient(135deg, #1a1625, #13131a);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.oracle-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.oracle-header i {
    color: #d4af37;
}

.oracle-premium-badge {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 999px;
    color: #d4af37;
    font-size: 0.75rem;
}

.oracle-message {
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.oracle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.oracle-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #374151;
    border-radius: 999px;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Список чтений */
.readings-list, .rituals-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reading-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(19,19,26,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.reading-item:hover {
    border-color: rgba(212,175,55,0.3);
    background: rgba(30,30,40,0.9);
}

.reading-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.reading-info {
    flex: 1;
}

.reading-title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 600px;
}

@media (max-width: 768px) {
    .reading-title {
        max-width: 200px;
    }
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.pagination .btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.reading-meta {
    display: flex;
    gap: 1rem;
    color: #6b7280;
    font-size: 0.75rem;
}

.reading-meta i {
    margin-right: 0.25rem;
}

.reading-favorite {
    color: #d4af37;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #374151;
}

/* Вкладки (переопределение для дашборда) */
.tabs-list {
    display: flex;
    gap: 0.25rem;
    background: rgba(0,0,0,0.2);
    padding: 0.25rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.tab-trigger {
    flex: 1;
    padding: 0.5rem 1rem;
    background: transparent;
    border: none;
    border-radius: 0.375rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-trigger:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.tab-trigger.active {
    background: rgba(212,175,55,0.2);
    color: #d4af37;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== Библиотека (library.html) ===== */
.search-wrapper {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-container {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: rgba(212,175,55,0.5);
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn i {
    font-size: 0.875rem;
}

.category-btn:hover {
    border-color: #4b5563;
    color: #fff;
}

.category-btn.active {
    background: rgba(212,175,55,0.1);
    border-color: rgba(212,175,55,0.5);
    color: #d4af37;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.article-card {
    padding: 1.5rem;
    transition: all 0.3s;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.article-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.premium-badge {
    padding: 0.25rem 0.5rem;
    background: rgba(212,175,55,0.2);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 1rem;
    color: #d4af37;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.article-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.article-card:hover .article-title {
    color: #d4af37;
}

.article-excerpt {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.read-time {
    color: #6b7280;
}

.premium-lock {
    color: #6b7280;
}

.read-link {
    color: #d4af37;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.read-link i {
    transition: transform 0.2s;
}

.article-card:hover .read-link i {
    transform: translateX(4px);
}

.premium-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(124,58,237,0.3), rgba(139,92,246,0.3));
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 2rem;
}

.premium-cta .crown-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.premium-cta h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #fff;
}

.premium-cta p {
    color: #9ca3af;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ===== Нумерология (numerology.html) ===== */
.form-card {
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-row label i {
    color: #d4af37;
    margin-right: 0.25rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: rgba(212,175,55,0.5);
}

.number-display {
    text-align: center;
}

.number-circle {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 300;
    border: 2px solid rgba(212,175,55,0.5);
    background: rgba(212,175,55,0.1);
    color: #d4af37;
}

.number-name {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.strengths-list, .challenges-list {
    list-style: none;
    margin-top: 1rem;
}

.strengths-list li, .challenges-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 0.875rem;
}

.strengths-list li i {
    color: #10b981;
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.challenges-list li i {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

/* ===== Тарифы (pricing.html) ===== */
.billing-toggle {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-btn.active {
    background: #d4af37;
    color: #000;
}

.toggle-btn .discount {
    margin-left: 0.5rem;
    padding: 0.125rem 0.375rem;
    background: rgba(16,185,129,0.2);
    color: #10b981;
    border-radius: 1rem;
    font-size: 0.75rem;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.plan-card {
    padding: 2rem;
    position: relative;
    text-align: center;
}

.plan-card.popular {
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 20px 40px rgba(212,175,55,0.1);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 1rem;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    border-radius: 2rem;
    color: #000;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.plan-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.plan-icon.free {
    background: linear-gradient(135deg, #64748b, #334155);
    color: #fff;
}

.plan-icon.premium-icon {
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
}

.plan-card h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #fff;
}

.plan-desc {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: #6b7280;
}

.features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #d1d5db;
    font-size: 0.875rem;
}

.features li i {
    color: #10b981;
    font-size: 0.875rem;
    width: 1rem;
}

/* ===== Ритуалы (rituals.html) ===== */
.ritual-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.cat-btn {
    padding: 1rem 0.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cat-btn i {
    font-size: 1.5rem;
}

.cat-btn:hover {
    border-color: #4b5563;
    color: #fff;
}

.cat-btn.active {
    background: rgba(212,175,55,0.1);
    border-color: rgba(212,175,55,0.5);
    color: #d4af37;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.step-item.completed {
    background: rgba(16,185,129,0.1);
    border-color: #10b981;
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
}

.step-item.completed .step-number {
    background: #10b981;
}

.step-text {
    flex: 1;
    color: #d1d5db;
}

.step-item.completed .step-text {
    text-decoration: line-through;
    color: #6b7280;
}

.ingredient-item {
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    margin-bottom: 0.75rem;
}

.ingredient-name {
    color: #d4af37;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.ingredient-purpose {
    color: #9ca3af;
    font-size: 0.875rem;
}

.ingredient-alternative {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* ===== Теневое отражение (shadow.html) ===== */
.aura-display {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.aura-color {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.aura-desc h3 {
    color: #d4af37;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.aura-desc p {
    color: #d1d5db;
}

.past-life-card {
    padding: 1.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.past-life-era {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a78bfa;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.past-life-role {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.past-life-desc {
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

.past-life-lesson {
    padding: 0.75rem;
    background: rgba(139,92,246,0.1);
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 0.5rem;
    color: #a78bfa;
    font-size: 0.875rem;
}

.archetype-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.archetype-item {
    padding: 1rem;
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.3);
    border-radius: 0.75rem;
    text-align: center;
}

.archetype-name {
    color: #818cf8;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.archetype-desc {
    color: #9ca3af;
    font-size: 0.875rem;
}

.talent-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 2rem;
    color: #d4af37;
    font-size: 0.875rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===== Талисман (talisman.html) ===== */
.talisman-info {
    text-align: center;
    margin-bottom: 2rem;
}

.talisman-info p {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.talisman-info i {
    color: #d4af37;
    margin-right: 0.5rem;
}

.talisman-card {
    text-align: center;
}

.talisman-image {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a1625, #13131a);
    border-radius: 1rem;
    padding: 2rem;
}

.talisman-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

.talisman-properties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.property-item {
    padding: 0.75rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    text-align: center;
}

.property-label {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.property-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.element-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: #000;
    font-size: 0.875rem;
}

/* ===== Таро (tarot.html) ===== */
.tarot-mode {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.mode-btn {
    padding: 0.5rem 1.5rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 2rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mode-btn.active {
    background: rgba(245,158,11,0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

.spread-selector {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.spread-btn {
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    border-radius: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.spread-btn.active {
    background: rgba(245,158,11,0.1);
    border-color: #f59e0b;
    color: #f59e0b;
}

.deck-container {
    position: relative;
    height: 200px;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarot-card {
    position: absolute;
    width: 60px;
    height: 100px;
    background: linear-gradient(135deg, #2d1b3a, #1a0f24);
    border: 2px solid rgba(212,175,55,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    transform-origin: bottom center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.tarot-card i {
    color: rgba(212,175,55,0.5);
    font-size: 1.5rem;
}

.tarot-card:hover {
    border-color: #f59e0b;
    transform: translateY(-10px) scale(1.05);
    z-index: 10;
}

.tarot-card.selected {
    opacity: 0.5;
    border-color: #f59e0b;
    cursor: default;
}

.tarot-card.selected:hover {
    transform: translateY(0) scale(1);
}

.selected-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.selected-card {
    padding: 1rem;
    text-align: center;
}

.card-position {
    color: #f59e0b;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.card-name {
    color: #fff;
    font-weight: 500;
}

.card-reversed {
    color: #f59e0b;
    font-size: 0.75rem;
}

.reading-card {
    padding: 1.5rem;
}

.reading-position {
    color: #f59e0b;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.reading-card-name {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.reading-meaning {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.reading-advice {
    padding: 0.75rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0.5rem;
    color: #d4af37;
    font-size: 0.875rem;
}

.question-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.4);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.question-input:focus {
    outline: none;
    border-color: #f59e0b;
}

.ritual-input-card {
    padding: 2rem;
    margin-bottom: 2rem;
}

.ritual-textarea {
    width: 100%;
    min-height: 150px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #1f2937;
    border-radius: 0.75rem;
    padding: 1rem;
    color: #fff;
    font-family: inherit;
    resize: vertical;
    margin: 1rem 0;
}

.ritual-textarea:focus {
    outline: none;
    border-color: rgba(212,175,55,0.5);
}

.form-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #fff;
}

.ritual-input-card .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.ritual-input-card .char-count {
    color: #6b7280;
    font-size: 0.875rem;
}

.ritual-input-card .btn-primary {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.ritual-result-card {
    padding: 2rem;
}

.ritual-result-card h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.ritual-result-card p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.ritual-result-card ol, .ritual-result-card ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.ritual-result-card li {
    margin-bottom: 0.5rem;
}

.ritual-result-card .advice {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 0.75rem;
    color: #d4af37;
    font-size: 0.875rem;
}

.readings-filter {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.filter-btn {
    background: rgba(0,0,0,0.2);
    border: 1px solid #1f2937;
    color: #9ca3af;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
}
.filter-btn.active {
    background: rgba(212,175,55,0.2);
    border-color: #d4af37;
    color: #d4af37;
}
