* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Georgia', 'Times New Roman', serif;
    background: linear-gradient(135deg, #1a0b1a 0%, #2a1a2a 50%, #1a0f1a 100%);
    color: #f0e6d0;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
}

/* Мандала-фон (декоративный) */
.mandala-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 40%, rgba(255, 200, 100, 0.03) 2%, transparent 2.5%),
                      radial-gradient(circle at 80% 70%, rgba(200, 150, 80, 0.03) 1.5%, transparent 2%);
    background-size: 50px 50px, 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

.chakra-icon {
    font-size: 4rem;
    animation: spin 20s linear infinite;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(255, 200, 100, 0.5));
}

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

h1 {
    font-size: 3rem;
    letter-spacing: 4px;
    margin: 0.5rem 0;
    background: linear-gradient(135deg, #e8c98a, #c9a56b);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.subtitle {
    font-style: italic;
    color: #c9ae7a;
    font-size: 1.1rem;
}

.divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9ae7a, #e8c98a, #c9ae7a, transparent);
    margin: 1rem auto;
}

.intro {
    background: rgba(30, 15, 30, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 1.5rem;
    border-left: 4px solid #c9ae7a;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: rgba(45, 30, 45, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 1.8rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(200, 170, 100, 0.2);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(200, 170, 100, 0.6);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.card h3 {
    color: #e8c98a;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.six-realms {
    margin: 4rem 0;
    text-align: center;
}

.six-realms h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #dbb87a;
}

.realms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.realm {
    background: rgba(0,0,0,0.4);
    border-radius: 12px;
    padding: 1rem;
    font-weight: bold;
    transition: all 0.2s;
    border-bottom: 2px solid #5a4a3a;
}

.realm span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.realm small {
    font-weight: normal;
    font-size: 0.7rem;
    opacity: 0.7;
}

.realm.deva { border-bottom-color: #e8c98a; }
.realm.asura { border-bottom-color: #b87333; }
.realm.human { border-bottom-color: #6a9c78; }
.realm.animal { border-bottom-color: #7a6a5a; }
.realm.preta { border-bottom-color: #5a4a3a; }
.realm.naraka { border-bottom-color: #8a3a3a; }

.quote-block {
    background: rgba(20, 10, 20, 0.8);
    border-radius: 40px 20px 40px 20px;
    padding: 2rem;
    margin: 3rem 0;
    text-align: center;
    font-style: italic;
}

.quote {
    font-size: 1.3rem;
    color: #edd6a3;
}

.quote-author {
    margin-top: 1rem;
    color: #b89a6a;
}

.liberation-path {
    background: rgba(30, 20, 25, 0.7);
    border-radius: 24px;
    padding: 2rem;
    margin: 2rem 0;
}

.liberation-path h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #d4b87a;
}

.liberation-path ol {
    margin: 1rem 0 1.5rem 2rem;
}

.liberation-path li {
    margin: 0.5rem 0;
}

.eightfold {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 2rem;
}

.eightfold span {
    background: rgba(100, 70, 50, 0.5);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    border: 1px solid rgba(220, 180, 100, 0.3);
    transition: 0.2s;
}

.eightfold span:hover {
    background: rgba(200, 150, 80, 0.5);
    transform: scale(1.02);
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(200, 170, 100, 0.3);
    font-size: 0.9rem;
    color: #aa9a7a;
}

.small {
    font-size: 0.7rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .container { padding: 1rem; }
    h1 { font-size: 2rem; }
    .quote { font-size: 1rem; }
}