/* style.css - очищенная версия (без дублирований) */

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&display=swap');

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

body {
    background: url('../images/wall.png') center center fixed no-repeat;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #e8e8ff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 30, 0.6);
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(120, 80, 200, 0.25), transparent);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    animation: float 20s infinite ease-in-out;
}

.glow-orb.second {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(80, 50, 150, 0.2), transparent);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.1); }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 10px 20px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 120px 40px, #fff, rgba(0,0,0,0));
    background-size: 200px 200px, 300px 300px, 250px 250px;
    background-repeat: repeat;
    opacity: 0.25;
    animation: starsDrift 40s linear infinite;
    z-index: 0;
}

@keyframes starsDrift {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    position: relative;
    z-index: 2;
}

.screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.welcome-content {
    text-align: center;
    padding: 60px 20px;
}

.welcome-text {
    font-size: 16px;
    opacity: 0.8;
    margin: 20px 0;
    line-height: 1.5;
}

.name-input-group {
    margin-top: 30px;
}

.name-input-group .mystic-input {
    text-align: center;
    font-size: 18px;
    margin-bottom: 20px;
}

.temp-message {
    color: #ffd700;
    margin-top: 16px;
    font-size: 14px;
    animation: fadeIn 0.3s ease;
}

h1, .glowing-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 2.4em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #e8e8ff, #c7a0ff, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 30px rgba(199, 160, 255, 0.4);
    text-align: center;
}

h2, .detail-title {
    font-family: 'Cinzel', 'Playfair Display', serif;
    font-size: 1.8em;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffd700, #c7a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
}

.mentor-card .mentor-name {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #ffd700;
}

.carousel-card .card-title {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 22px;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

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

.mentor-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mentor-name-small {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    font-weight: 600;
    color: #ffd700;
    text-align: center;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.mentor-avatar-circle {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.mentor-avatar-circle:active {
    transform: scale(0.95);
}

.avatar-circle {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.2s ease;
    overflow: hidden;
}

.avatar-circle:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.action-buttons {
    display: flex;
    gap: 12px;
    position: relative;
}

.icon-button {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 40px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
}

.icon-button:hover {
    transform: scale(1.05);
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
}

.mentor-greeting-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 8px;
}

.mentor-greeting-header .greeting-text {
    font-size: 15px;
    font-style: italic;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mentor-card {
    flex: 0 0 260px;
    scroll-snap-align: center;
    border-radius: 32px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(12px);
}

.mentor-card.active {
    border: 2px solid #ffd700;
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.mentor-card .mentor-avatar {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.mentor-card.active .mentor-avatar {
    transform: scale(1.02);
}

.mentor-card .mentor-info {
    padding: 16px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

.mentor-card .mentor-desc {
    font-size: 11px;
    opacity: 0.8;
}

.selected-info {
    text-align: center;
    margin-top: 5px;
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flashEffect {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0.3); transform: scale(1.05); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); transform: scale(1); }
}

.flash-effect {
    animation: flashEffect 0.5s ease-out !important;
}

@keyframes fireSparks {
    0% { text-shadow: 0 0 0 #ffd700; background: linear-gradient(135deg, rgba(199, 160, 255, 0.2), rgba(100, 80, 200, 0.15)); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
    25% { text-shadow: 0 0 10px #ff6600, 0 0 20px #ff9900; background: linear-gradient(135deg, rgba(255, 100, 0, 0.4), rgba(255, 200, 0, 0.3)); box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
    50% { text-shadow: 0 0 5px #ffcc00, 0 0 15px #ff6600; background: linear-gradient(135deg, rgba(255, 150, 0, 0.5), rgba(255, 100, 0, 0.4)); box-shadow: 0 0 30px rgba(255, 215, 0, 0.8); }
    100% { text-shadow: 0 0 0 #ffd700; background: linear-gradient(135deg, rgba(199, 160, 255, 0.2), rgba(100, 80, 200, 0.15)); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.fire-effect {
    animation: fireSparks 0.6s ease-out !important;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 8px 0;
}

.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px calc(50% - 140px) 20px calc(50% - 140px);
    margin: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    border-radius: 32px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    background-size: cover;
    background-position: center;
    height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.15));
    border-radius: 32px;
    z-index: 0;
}

.carousel-card.active {
    border: 2px solid #ffd700;
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.carousel-card .card-title,
.carousel-card .card-desc {
    position: relative;
    z-index: 1;
    padding: 12px;
}

.carousel-card .card-desc {
    font-size: 14px;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding-bottom: 24px;
    text-align: center;
}

@keyframes cardFlash {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8); filter: brightness(1); }
    50% { box-shadow: 0 0 0 25px rgba(255, 215, 0, 0.3); filter: brightness(1.3); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); filter: brightness(1); }
}

.card-flash {
    animation: cardFlash 0.4s ease-out !important;
}

.detail-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/wall.png') center center fixed no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 10;
    overflow-y: auto;
    padding: 20px 16px 20px;
    animation: slideUp 0.4s ease-out;
    display: flex;
    flex-direction: column;
}

.detail-screen::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 30, 0.85);
    z-index: -1;
}

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

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0;
    flex-shrink: 0;
    position: relative;
}

.back-button {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 8px 8px 0;
    width: 44px;
    position: absolute;
    left: 0;
}

.back-button:hover {
    transform: translateX(-3px);
    color: #ffffff;
}

.detail-title {
    text-align: center;
    margin: 0 auto;
    font-size: 24px;
}

@media (max-width: 480px) {
    .detail-title {
        font-size: 20px;
    }
}

.mentor-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
    padding: 0 8px;
}

.back-arrow, .forward-arrow {
    background: transparent;
    border: none;
    font-size: 28px;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.back-arrow:hover, .forward-arrow:hover {
    transform: translateX(-3px);
    color: #ffffff;
}

.forward-arrow:hover {
    transform: translateX(3px);
}

#mentorScreen .welcome-content {
    padding: 15px 20px 15px 20px;
}

.mystic-button {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
    border: none;
    border-radius: 60px;
    color: #1a1535;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.mystic-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.mystic-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, #ffea00, #ffcc00, #ffea00);
}

.mystic-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.mystic-button:disabled {
    opacity: 0.6;
    transform: none;
    cursor: not-allowed;
}

.mystic-button.click-effect {
    animation: buttonFlash 0.3s ease-out;
}

@keyframes buttonFlash {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8); transform: scale(1); }
    50% { box-shadow: 0 0 0 15px rgba(255, 215, 0, 0.4); transform: scale(0.98); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); transform: scale(1); }
}

.mystic-button.small {
    padding: 10px 20px;
    font-size: 14px;
}

#confirmMentorBtn {
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.magic-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.magic-card-inner {
    padding: 20px;
}

.result-wrapper {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.result-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 20px;
    border: none;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4), inset 0 0 10px rgba(255, 215, 0, 0.1);
    overflow-y: auto;
    flex: 1;
    min-height: 150px;
    max-height: none;
    scrollbar-width: thin;
    scrollbar-color: #ffd700 rgba(255, 255, 255, 0.1);
}

.result-card::-webkit-scrollbar {
    width: 6px;
}

.result-card::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.result-card::-webkit-scrollbar-thumb {
    background: #ffd700;
    border-radius: 10px;
}

.result-card .prediction-content {
    font-size: 15px;
    line-height: 1.6;
    color: #ffffff;
    border: none;
    padding: 0;
    margin: 0;
}

.result-card .prediction-content div {
    border: none;
}

.result-card .prediction-content p {
    margin-bottom: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.result-card .prediction-content .section-title {
    color: #ffd700;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 16px;
    margin-top: 12px;
    margin-bottom: 8px;
    display: block;
}

.result-card .prediction-content strong {
    color: #ffd700;
}

.result-card .prediction-content em {
    font-style: italic;
    color: #c7a0ff;
}

.result-card .prediction-content ul,
.result-card .prediction-content ol {
    margin: 10px 0 10px 20px;
}

.result-card .prediction-content li {
    margin: 5px 0;
    line-height: 1.5;
}

.result-card .prediction-footer {
    display: block;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 12px;
    color: #ffd700;
    text-align: right;
}

.mystic-select, .mystic-input, .mystic-textarea {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.mystic-select:focus, .mystic-input:focus, .mystic-textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.mystic-textarea {
    resize: vertical;
}

/* ========== МОДАЛКИ ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/wall.png') center center fixed no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: -1;
}

.modal.hidden {
    display: none;
}

.modal .modal-content,
.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 21, 53, 0.95), rgba(15, 12, 41, 0.98));
    backdrop-filter: blur(16px);
    border-radius: 32px;
    padding: 24px;
    width: 90%;
    max-width: 340px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.mystic-modal h3 {
    font-family: 'Cinzel', serif;
    margin-bottom: 16px;
    color: #ffd700;
    text-align: center;
    font-size: 20px;
}

.shop-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}

.shop-item {
    background: linear-gradient(135deg, #2a2045, #1a1535);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    padding: 12px;
    color: #ffd700;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.shop-item:hover {
    transform: scale(1.02);
    background: linear-gradient(135deg, #3a3055, #2a2045);
    border-color: #ffd700;
}

.shop-item .price {
    font-size: 11px;
    color: #aaa;
    display: block;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 10px;
    border-radius: 40px;
    color: white;
    width: 100%;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 16px;
}

.modal-close:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
}

.wheel-container {
    text-align: center;
    padding: 16px;
}

.wheel {
    font-size: 70px;
    margin: 16px 0;
}

.wheel.spinning {
    animation: wheelSpin 0.5s ease-in-out;
}

@keyframes wheelSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(720deg); }
}

.wheel-result {
    margin-top: 12px;
    padding: 10px;
    background: rgba(255, 215, 0, 0.15);
    border-radius: 12px;
}

.compatibility-percent {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: 12px 0;
}

.timeline-container, .achievements-container {
    max-height: 500px;
    overflow-y: auto;
}

.timeline-item, .achievement-item {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-date {
    font-size: 10px;
    opacity: 0.6;
}

.timeline-question {
    font-weight: bold;
    color: #ffd700;
    font-size: 13px;
}

.timeline-prediction {
    font-size: 12px;
    margin-top: 4px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.timeline-followup {
    background: rgba(255, 215, 0, 0.1);
    padding: 6px;
    border-radius: 10px;
    margin-top: 6px;
    font-size: 11px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.achievement-item.unlocked {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd700;
}

.achievement-item.locked {
    opacity: 0.5;
}

.achievement-icon {
    font-size: 24px;
}

.achievement-info {
    flex: 1;
}

.achievement-name {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 13px;
}

.achievement-desc {
    font-size: 10px;
    opacity: 0.7;
}

.achievement-reward {
    font-size: 11px;
    color: #ffd700;
}

.council-badge {
    text-align: center;
    font-size: 28px;
    margin-bottom: 12px;
}

.night-only-info {
    text-align: center;
    font-size: 10px;
    color: #c7a0ff;
    margin-top: 10px;
}

.stats-container {
    text-align: center;
    padding: 12px;
    font-size: 16px;
}

.hidden {
    display: none;
}

/* ========== СВЕЧЕНИЕ ДЛЯ СЧЁТЧИКА ПРЕДСКАЗАНИЙ ========== */
.credits-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 60px;
    padding: 12px 24px;
    margin: 20px 16px 0 16px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    animation: fadeInUp 0.5s ease;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3), inset 0 0 5px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.credits-display:hover {
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5), inset 0 0 10px rgba(255, 215, 0, 0.15);
    transform: translateY(-2px);
}

body.night-mode .credits-display {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(199, 160, 255, 0.4);
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.4), inset 0 0 5px rgba(199, 160, 255, 0.1);
}

body.night-mode .credits-display:hover {
    box-shadow: 0 0 25px rgba(199, 160, 255, 0.7), inset 0 0 10px rgba(199, 160, 255, 0.2);
}

body.night-mode .credits-text {
    color: #c7a0ff;
}

.credits-icon {
    font-size: 12px;
    animation: pulse 2s ease-in-out infinite;
}

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

.credits-text {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    font-weight: 600;
    color: #ffd700;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

.credits-text span {
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #c7a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-left: 5px;
}

/* ========== КАРУСЕЛЬ ЗНАКОВ ЗОДИАКА ========== */
.zodiac-carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 8px calc(50% - 120px) 20px calc(50% - 120px);
    margin: 0 0 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.zodiac-carousel-container::-webkit-scrollbar {
    display: none;
}

.zodiac-card {
    flex: 0 0 240px;
    scroll-snap-align: center;
    border-radius: 24px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.zodiac-card.active {
    border: 3px solid #ffd700;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.5);
    transform: translateY(-4px);
}

@keyframes zodiacFlash {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8); transform: scale(1); }
    50% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0.3); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); transform: scale(1); }
}

.zodiac-card.flash {
    animation: zodiacFlash 0.4s ease-out;
}

.zodiac-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.zodiac-name {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 20px 8px 10px 8px;
    letter-spacing: 1px;
    z-index: 2;
}

.zodiac-card.active .zodiac-name {
    color: #ffffff;
    text-shadow: 0 0 15px #ffd700;
    font-size: 19px;
}

/* ========== СОВМЕСТИМОСТЬ ========== */
.compatibility-section {
    margin-bottom: 16px;
}

.compatibility-label {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    color: #c7a0ff;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.compatibility-carousel {
    margin-bottom: 0;
    padding: 8px calc(50% - 100px) 12px calc(50% - 100px);
    gap: 15px;
}

.compatibility-carousel .zodiac-card {
    flex: 0 0 180px;
}

.heart-connector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px 0;
    padding: 8px;
}

.heart-image {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
    animation: heartPulse 1.5s ease-in-out infinite;
}

.button-heart {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.7));
    animation: heartPulse 1.2s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@media (max-width: 600px) {
    .compatibility-carousel {
        padding: 8px calc(50% - 85px) 12px calc(50% - 85px);
        gap: 12px;
    }
    .compatibility-carousel .zodiac-card {
        flex: 0 0 150px;
    }
    .heart-image {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .compatibility-carousel {
        padding: 8px calc(50% - 70px) 12px calc(50% - 70px);
        gap: 10px;
    }
    .compatibility-carousel .zodiac-card {
        flex: 0 0 130px;
    }
    .compatibility-label {
        font-size: 12px;
    }
    .heart-image {
        width: 36px;
        height: 36px;
    }
}

#compatibilityDetailScreen .mystic-button {
    margin-bottom: 24px;
    margin-top: 8px;
    gap: 12px;
}

#compatibilityDetailScreen .result-wrapper {
    margin-top: 20px;
}

/* ========== ВЫБОР МЕТОДА ГАДАНИЯ ========== */
.method-selector {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.method-card {
    flex: 0 0 auto;
    width: 180px;
    aspect-ratio: 3 / 4;
    background: rgba(15, 12, 41, 0.6);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(199, 160, 255, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.method-card:hover {
    transform: translateY(-8px);
    border-color: #ffd700;
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.25);
}

.method-card.active {
    border: 3px solid #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(199, 160, 255, 0.06));
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.5);
}

@keyframes goldFlash {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.8); border-color: #ffd700; transform: scale(1); }
    50% { box-shadow: 0 0 0 25px rgba(255, 215, 0, 0.3); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); transform: scale(1); }
}

.method-card.flash {
    animation: goldFlash 0.4s ease-out;
}

.method-image {
    width: 100%;
    height: 85%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.2));
    transition: filter 0.3s, transform 0.3s;
    border-radius: 20px 20px 0 0;
}

.method-card.active .method-image {
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.5));
    transform: scale(1.01);
}

.method-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    color: #e8e8ff;
    margin-top: 8px;
    padding: 8px 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
}

.method-card.active .method-name {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

@media (max-width: 480px) {
    .method-selector {
        gap: 16px;
    }
    .method-card {
        width: 140px;
    }
    .method-name {
        font-size: 14px;
        padding: 6px 0;
    }
}

/* ========== СОБОР ОРАКУЛОВ ========== */
.council-image-container {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.council-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 28px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

body.night-mode .council-image {
    box-shadow: 0 0 30px rgba(199, 160, 255, 0.5);
}

.council-image:hover {
    transform: scale(1.01);
    border-color: #ffd700;
    box-shadow: 0 0 35px rgba(255, 215, 0, 0.5);
}

@media (max-width: 480px) {
    .council-image {
        max-width: 280px;
        border-radius: 20px;
    }
}

/* ========== ГАДАНИЕ ПО ФОТО ========== */
.photo-upload-area {
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 215, 0, 0.5);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.photo-upload-area:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.upload-placeholder p {
    margin: 8px 0;
    font-size: 16px;
}

.upload-placeholder small {
    font-size: 12px;
    opacity: 0.7;
}

.preview-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

.preview-image.hidden {
    display: none;
}

#photoFortuneDetailScreen .result-wrapper {
    margin-top: 20px;
}

#analyzePhotoBtn {
    margin-bottom: 20px;
}

/* ========== СВЕЧА ========== */
.candle-container {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 48px;
    padding: 30px 20px;
    text-align: center;
    margin-bottom: 20px;
}

.candle-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    cursor: pointer;
}

.candle-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(255, 100, 0, 0.3));
    transition: all 0.3s ease;
}

.flame-overlay {
    position: absolute;
    top: 14%;
    left: 50.5%;
    transform: translateX(-50%);
    width: 36px;
    height: 85px;
    pointer-events: none;
}

.flame-animation {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #ff6600, #ffcc00, #ff9900);
    border-radius: 55% 45% 40% 40%;
    box-shadow: 0 0 30px rgba(255, 100, 0, 0.8), 0 0 60px rgba(255, 150, 0, 0.4);
    animation: flicker 0.15s infinite alternate;
}

@keyframes flicker {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.05, 0.95); opacity: 1; }
}

.candle-wrapper.extinguished .flame-overlay {
    display: none;
}

.candle-wrapper.extinguished .smoke-overlay {
    display: block;
}

.smoke-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    font-size: 32px;
    white-space: nowrap;
    opacity: 0;
    animation: smokeRise 2s ease-out forwards;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(150, 150, 150, 0.5);
}

@keyframes smokeRise {
    0% { opacity: 0.6; transform: translateX(-50%) translateY(0) scale(0.8); }
    50% { opacity: 0.4; transform: translateX(-50%) translateY(-40px) scale(1.2); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-80px) scale(1.5); }
}

.candle-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 40px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ffd700;
}

.candle-status {
    font-size: 12px;
    color: #c7a0ff;
    margin-bottom: 15px;
}

/* ========== ЗАМКИ ДЛЯ НОЧНЫХ КАРТОЧЕК ========== */
.sleepy-lock,
.candle-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.sleepy-lock .lock-icon,
.candle-lock .lock-icon {
    font-size: 48px;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.sleepy-lock .lock-text,
.candle-lock .lock-text {
    font-size: 12px;
    color: #ffd700;
    text-align: center;
    padding: 0 16px;
    font-family: 'Inter', sans-serif;
}

.sleepy-lock.hidden,
.candle-lock.hidden {
    display: none;
}

/* ========== КАРТОЧКИ С ФОНОМ ========== */
#sleepyOracleCard,
#candleCard {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ========== СОННЫЙ ОРАКУЛ - КАРТИНКА ========== */
.sleepy-image-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.sleepy-main-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 28px;
    display: block;
    margin: 0 auto;
    border: 3px solid #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.5);
    transition: all 0.3s ease;
}

.sleepy-main-image:hover {
    border-color: #c7a0ff;
    box-shadow: 0 0 30px rgba(199, 160, 255, 0.6);
}

.sleepy-status-overlay {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 14px;
    color: #c7a0ff;
    font-family: 'Cinzel', serif;
    text-align: center;
    white-space: nowrap;
    border: 1px solid rgba(199, 160, 255, 0.3);
    pointer-events: none;
}

.clarify-block {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 16px;
    margin-top: 16px;
    border: 1px solid rgba(199, 160, 255, 0.3);
}

.clarify-title {
    font-size: 14px;
    color: #c7a0ff;
    margin-bottom: 12px;
    font-family: 'Cinzel', serif;
    text-align: center;
}

.clarify-answer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(199, 160, 255, 0.3);
}

.clarify-answer strong {
    color: #c7a0ff;
    display: block;
    margin-bottom: 8px;
}

/* ========== НОЧНОЙ РЕЖИМ ========== */
.night-indicator {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.night-indicator:hover {
    transform: scale(1.05);
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
}

body.night-mode .night-indicator {
    background: rgba(199, 160, 255, 0.2);
    border-color: #c7a0ff;
    box-shadow: 0 0 10px rgba(199, 160, 255, 0.3);
}

body.night-mode .night-indicator:hover {
    background: rgba(199, 160, 255, 0.4);
    border-color: #c7a0ff;
}

body.night-mode::before {
    background: rgba(5, 5, 25, 0.85);
}

body.night-mode .detail-screen::before {
    background: rgba(5, 5, 25, 0.9);
}

body.night-mode .magic-card,
body.night-mode .result-card,
body.night-mode .mentor-card,
body.night-mode .method-card {
    background: rgba(0, 0, 0, 0.7);
    border-color: #c7a0ff;
}

body.night-mode .mystic-button,
body.night-mode #confirmMentorBtn {
    background: linear-gradient(135deg, #c7a0ff, #9b59b6, #c7a0ff);
}

body.night-mode .glowing-title {
    background: linear-gradient(135deg, #c7a0ff, #9b59b6, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
}

body.night-mode .back-button,
body.night-mode .prediction-footer {
    color: #c7a0ff;
}

body.night-mode .carousel-card.active,
body.night-mode .mentor-card.active,
body.night-mode .zodiac-card.active {
    border-color: #c7a0ff !important;
    box-shadow: 0 0 30px rgba(199, 160, 255, 0.5) !important;
}

body.night-mode .mentor-name-small {
    color: #c7a0ff;
    text-shadow: 0 0 5px rgba(199, 160, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
}

body.night-mode .credits-display {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(199, 160, 255, 0.4);
}

body.night-mode .credits-text {
    color: #c7a0ff;
}

body.night-mode .candle-container {
    background: rgba(0, 0, 0, 0.6);
}

body.night-mode .candle-instruction {
    color: #c7a0ff;
}

body.night-mode .modal .modal-content,
body.night-mode .modal-content {
    background: linear-gradient(135deg, rgba(10, 8, 32, 0.95), rgba(5, 5, 16, 0.98));
    border-color: #c7a0ff;
}

body.night-mode .mystic-modal h3 {
    color: #c7a0ff;
}

body.night-mode .shop-item {
    background: linear-gradient(135deg, #1a1535, #0f0c29);
    border-color: rgba(199, 160, 255, 0.3);
}

body.night-mode .shop-item:hover {
    border-color: #c7a0ff;
}

@keyframes nightFlash {
    0% { box-shadow: 0 0 0 0 rgba(199, 160, 255, 0.8); transform: scale(1); }
    50% { box-shadow: 0 0 0 20px rgba(199, 160, 255, 0.4); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(199, 160, 255, 0); transform: scale(1); }
}

body.night-mode .card-flash,
body.night-mode .method-card.flash,
body.night-mode .zodiac-card.flash,
body.night-mode .click-effect {
    animation: nightFlash 0.4s ease-out !important;
}

body.night-mode .method-card.active {
    border: 3px solid #c7a0ff !important;
    background: linear-gradient(135deg, rgba(199, 160, 255, 0.2), rgba(100, 80, 200, 0.1)) !important;
    box-shadow: 0 0 35px rgba(199, 160, 255, 0.6) !important;
}

body.night-mode .method-card.active .method-name {
    color: #c7a0ff !important;
    text-shadow: 0 0 8px rgba(199, 160, 255, 0.5) !important;
}

/* ========== СОННЫЙ ОРАКУЛ - ФИОЛЕТОВОЕ СВЕЧЕНИЕ ========== */
#sleepy_oracleDetailScreen .mystic-button {
    background: linear-gradient(135deg, #9b59b6, #8e44ad, #9b59b6);
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.4);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
}

#sleepy_oracleDetailScreen .mystic-button:hover {
    background: linear-gradient(135deg, #af6ac8, #9b59b6, #af6ac8);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.6);
}

#sleepy_oracleDetailScreen .result-card {
    border: 2px solid #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.5), inset 0 0 10px rgba(155, 89, 182, 0.15);
}

#sleepy_oracleDetailScreen .result-card .prediction-footer {
    border-top-color: rgba(155, 89, 182, 0.4);
    color: #c7a0ff;
}

#sleepy_oracleDetailScreen .result-card .symbol-label,
#sleepy_oracleDetailScreen .result-card .prediction-label {
    color: #c7a0ff;
}

#sleepy_oracleDetailScreen .result-card .symbol-block {
    border-left-color: #9b59b6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(199, 160, 255, 0.08));
}

#sleepy_oracleDetailScreen .result-card .advice-block {
    border-left-color: #c7a0ff;
}

#sleepy_oracleDetailScreen .result-card strong {
    color: #c7a0ff;
}

#sleepy_oracleDetailScreen .clarify-block {
    border-color: rgba(155, 89, 182, 0.5);
}

#sleepy_oracleDetailScreen .clarify-title {
    color: #c7a0ff;
}

#sleepy_oracleDetailScreen .clarify-answer strong {
    color: #c7a0ff;
}

#sleepy_oracleDetailScreen .mystic-textarea:focus {
    border-color: #9b59b6;
    box-shadow: 0 0 10px rgba(155, 89, 182, 0.4);
}

#sleepy_oracleDetailScreen .result-card::-webkit-scrollbar-thumb {
    background: #9b59b6;
}

body.night-mode #sleepy_oracleDetailScreen .mystic-button {
    background: linear-gradient(135deg, #c7a0ff, #9b59b6, #c7a0ff);
    box-shadow: 0 5px 15px rgba(199, 160, 255, 0.5);
}

body.night-mode #sleepy_oracleDetailScreen .result-card {
    border-color: #c7a0ff;
    box-shadow: 0 0 25px rgba(199, 160, 255, 0.6);
}

/* ========== РАСШИРЕННЫЕ СТИЛИ ДЛЯ ПРЕДСКАЗАНИЙ ========== */
.symbol-block {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(199, 160, 255, 0.08));
    border-left: 4px solid #ffd700;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 16px;
}

.symbol-label {
    font-weight: bold;
    color: #ffd700;
    margin-right: 10px;
    font-size: 1.1em;
    display: inline-block;
}

.symbol-text {
    color: #ffecb3;
    font-style: italic;
    font-size: 1.05em;
}

.prediction-block {
    margin: 20px 0;
    padding: 8px 4px;
}

.prediction-label {
    font-weight: bold;
    color: #c7a0ff;
    margin-right: 10px;
    font-size: 1.1em;
    display: block;
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.prediction-text p {
    margin-bottom: 14px;
    line-height: 1.65;
    color: #f0e6ff;
}

.advice-block {
    background: rgba(0, 0, 0, 0.35);
    border-left: 4px solid #c7a0ff;
    padding: 16px 20px;
    margin: 20px 0 10px 0;
    border-radius: 16px;
}

.advice-label {
    font-weight: bold;
    color: #c7a0ff;
    margin-right: 10px;
    font-size: 1.05em;
    display: inline-block;
}

.advice-text {
    color: #dcc8ff;
    font-style: italic;
}

/* ========== МЕДИА-ЗАПРОСЫ ========== */
@media (max-width: 600px) {
    .carousel-container {
        padding: 8px calc(50% - 140px) 20px calc(50% - 140px);
    }
    
    .result-card {
        padding: 16px;
    }
    
    .result-card .prediction-content {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }
    
    .carousel-card {
        flex: 0 0 260px;
        height: 390px;
    }
    
    .carousel-card .card-title {
        font-size: 20px;
    }
    
    .carousel-card .card-desc {
        font-size: 13px;
    }
    
    .carousel-container {
        padding: 8px calc(50% - 130px) 20px calc(50% - 130px);
    }
    
    .mentor-card {
        flex: 0 0 220px;
    }
    
    .mentor-card .mentor-avatar {
        height: 170px;
    }
    
    .mentor-card .mentor-name {
        font-size: 16px;
    }
    
    .magic-card-inner {
        padding: 14px;
    }
    
    .glowing-title {
        font-size: 1.8em;
    }
    
    .welcome-content {
        padding: 40px 16px;
    }
    
    #mentorScreen .welcome-content {
        padding: 10px 16px 10px 16px;
    }
    
    .mystic-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .result-card {
        padding: 14px;
    }
    
    .credits-text {
        font-size: 12px;
    }
    
    .credits-text span {
        font-size: 12px;
    }
    
    .sleepy-status-overlay {
        font-size: 11px;
        padding: 5px 12px;
        white-space: nowrap;
    }
    
    .sleepy-main-image {
        border-width: 2px;
    }
}

/* ========== НОЧНОЙ РЕЖИМ - ФИОЛЕТОВОЕ СВЕЧЕНИЕ ПОД КНОПКАМИ ========== */
body.night-mode .mystic-button,
body.night-mode .icon-button,
body.night-mode .shop-item,
body.night-mode .modal-close {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

body.night-mode .mystic-button:hover,
body.night-mode .icon-button:hover,
body.night-mode .shop-item:hover,
body.night-mode .modal-close:hover {
    box-shadow: 0 0 25px rgba(199, 160, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

body.night-mode #confirmMentorBtn {
    box-shadow: 0 0 20px rgba(199, 160, 255, 0.6);
}

body.night-mode #sleepyAskBtn,
body.night-mode #clarifyBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode .modal .modal-close,
body.night-mode .modal .shop-item {
    box-shadow: 0 0 10px rgba(199, 160, 255, 0.4);
}

body.night-mode .modal .modal-close:hover,
body.night-mode .modal .shop-item:hover {
    box-shadow: 0 0 20px rgba(199, 160, 255, 0.7);
}

body.night-mode #spinBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode .detail-screen .mystic-button {
    box-shadow: 0 5px 15px rgba(199, 160, 255, 0.4);
}

body.night-mode .detail-screen .mystic-button:hover {
    box-shadow: 0 8px 25px rgba(199, 160, 255, 0.7);
}

body.night-mode #analyzePhotoBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode #candleFortuneBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode #councilBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode #horoscopeBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode #compatibilityBtn {
    box-shadow: 0 0 15px rgba(199, 160, 255, 0.5);
}

body.night-mode .icon-button {
    box-shadow: 0 0 10px rgba(199, 160, 255, 0.3);
}

body.night-mode .icon-button:hover {
    box-shadow: 0 0 20px rgba(199, 160, 255, 0.6);
}

/* ========== ДОСТИЖЕНИЯ - КАТЕГОРИИ ========== */
.achievement-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 8px 8px 8px;
    margin-top: 16px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.achievement-category:first-child {
    margin-top: 0;
}

.category-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 1px;
}

.category-badge {
    font-size: 12px;
    color: #c7a0ff;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 20px;
}

body.night-mode .achievement-category {
    border-bottom-color: rgba(199, 160, 255, 0.4);
}

body.night-mode .category-title {
    color: #c7a0ff;
}

/* ========== БЛОК ОЧКОВ ДОСТИЖЕНИЙ ========== */
.stats-container {
    margin-top: 8px;
    padding: 0;
}

.score-block {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(199, 160, 255, 0.1));
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.score-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
}

.score-label {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: #ffd700;
    letter-spacing: 1px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.score-value {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffd700, #c7a0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    line-height: 1.2;
}

body.night-mode .score-block {
    background: linear-gradient(135deg, rgba(199, 160, 255, 0.15), rgba(155, 89, 182, 0.1));
    border-color: rgba(199, 160, 255, 0.4);
    box-shadow: 0 0 20px rgba(199, 160, 255, 0.2);
}

body.night-mode .score-block:hover {
    box-shadow: 0 0 30px rgba(199, 160, 255, 0.4);
}

body.night-mode .score-label {
    color: #c7a0ff;
}

body.night-mode .score-value {
    background: linear-gradient(135deg, #c7a0ff, #9b59b6);
    -webkit-background-clip: text;
    background-clip: text;
}

/* ========== ЗАДАНИЯ ========== */
.tasks-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    text-align: center;
}

.daily-bonus-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(199, 160, 255, 0.05));
    border-radius: 20px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.bonus-info {
    flex: 1;
}

.bonus-title {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
}

.bonus-desc {
    font-size: 11px;
    opacity: 0.8;
}

.claim-btn-small {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    border: none;
    border-radius: 30px;
    padding: 6px 16px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 12px;
    color: #1a1535;
    cursor: pointer;
    transition: all 0.3s ease;
}

.claim-btn-small:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.claim-btn-small.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.streak-info {
    text-align: center;
    font-size: 12px;
    color: #c7a0ff;
    margin-top: 8px;
}

.tasks-list, .rewards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-item, .reward-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 10px 12px;
}

.task-item.completed {
    opacity: 0.6;
    background: rgba(100, 255, 100, 0.1);
}

.task-info {
    flex: 1;
    margin-left: 10px;
}

.task-title {
    font-weight: 600;
    font-size: 13px;
    color: #ffd700;
}

.task-desc {
    font-size: 10px;
    opacity: 0.7;
}

.task-reward {
    font-size: 11px;
    color: #c7a0ff;
    margin-right: 10px;
}

.task-btn-small {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffd700;
    border-radius: 30px;
    padding: 4px 12px;
    font-size: 11px;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.2s;
}

.task-btn-small.completed {
    background: rgba(100, 255, 100, 0.2);
    border-color: #66ff66;
    color: #66ff66;
    cursor: default;
}

.reward-item {
    justify-content: space-between;
    font-size: 12px;
}

.reward-streak {
    color: #ffd700;
}

.reward-amount {
    font-weight: 700;
    color: #c7a0ff;
}

body.night-mode .tasks-section {
    border-color: rgba(199, 160, 255, 0.3);
}

body.night-mode .section-title {
    color: #c7a0ff;
    border-bottom-color: rgba(199, 160, 255, 0.3);
}

body.night-mode .task-title {
    color: #c7a0ff;
}

body.night-mode .task-btn-small {
    border-color: #c7a0ff;
    color: #c7a0ff;
}

/* ========== КОЛЕСО СУДЬБЫ С КАРТИНКОЙ ========== */
.wheel-container {
    text-align: center;
    padding: 16px;
}

.wheel-image {
    width: 200px;
    height: 200px;
    margin: 16px auto;
    display: block;
    transition: transform 0.3s ease-out;
}

.wheel-image.spinning {
    animation: wheelImageSpin 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

@keyframes wheelImageSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(1080deg); }
}

/* ========== НАТАЛЬНАЯ КАРТА (ОСНОВНЫЕ СТИЛИ) ========== */
.natal-image-container {
    text-align: center;
    margin-bottom: 20px;
}

.natal-top-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

body.night-mode .natal-top-image {
    box-shadow: 0 0 20px rgba(199, 160, 255, 0.5);
}

.natal-form {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 16px;
    margin-bottom: 16px;
}

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

.form-label-small {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: #ffd700;
    margin-bottom: 4px;
    display: block;
}

.mystic-input-small {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.mystic-input-small:focus {
    outline: none;
    border-color: #ffd700;
}

.time-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.time-input-small {
    flex: 1;
    min-width: 90px;
}

.switch-label-small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #c7a0ff;
    cursor: pointer;
}

.toggle-switch-small {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #ffd700;
}

.mystic-textarea-small {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.mystic-textarea-small:focus {
    outline: none;
    border-color: #ffd700;
}

body.night-mode .mystic-input-small,
body.night-mode .mystic-textarea-small {
    border-color: rgba(199, 160, 255, 0.3);
}

body.night-mode .mystic-input-small:focus,
body.night-mode .mystic-textarea-small:focus {
    border-color: #c7a0ff;
}

body.night-mode .form-label-small {
    color: #c7a0ff;
}

.questions-container {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 20px;
    margin-bottom: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.category-section {
    margin-bottom: 20px;
}

.category-title-natal {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

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

.question-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.question-item span {
    flex: 1;
}

.question-item.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(199, 160, 255, 0.1));
    border-left: 3px solid #ffd700;
}

body.night-mode .question-item.active {
    background: linear-gradient(135deg, rgba(199, 160, 255, 0.25), rgba(155, 89, 182, 0.15));
    border-left-color: #c7a0ff;
}

.question-toggle {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ffd700;
}

body.night-mode .question-toggle {
    accent-color: #c7a0ff;
}

/* Отступ после кнопки Рассчитать */
#calculateNatalBtn {
    margin-bottom: 20px;
}

/* Дополнительный отступ для result-wrapper */
#natal_chartDetailScreen .result-wrapper {
    margin-top: 20px;
}

/* ========== ЕДИНЫЕ СТИЛИ ДЛЯ ВСЕХ ОТВЕТОВ ========== */

/* Блок символа */
.symbol-block {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(199, 160, 255, 0.08));
    border-left: 4px solid #ffd700;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 8px 0;
}

.symbol-label {
    font-weight: bold;
    color: #ffd700;
    margin-right: 8px;
}

.symbol-text {
    color: #ffecb3;
    font-style: italic;
}

/* Блок предсказания */
.prediction-block {
    margin: 8px 0;
}

.prediction-label {
    font-weight: bold;
    color: #c7a0ff;
    display: block;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
}

.prediction-text p {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #f0e6ff;
}

/* Блок совета */
.advice-block {
    background: rgba(0, 0, 0, 0.3);
    border-left: 4px solid #c7a0ff;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 8px 0;
}

.advice-label {
    font-weight: bold;
    color: #c7a0ff;
    margin-right: 8px;
}

.advice-text {
    color: #dcc8ff;
    font-style: italic;
}

/* Вопросы золотым цветом */
.question-gold {
    font-weight: 700;
    color: #ffd700;
    margin: 8px 0 4px 0;
    font-size: 14px;
}

/* Заголовки секций */
.natal-section-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffd700;
    margin: 8px 0 8px 0;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

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

/* Ответы на фото */
.photo-answer {
    margin-left: 12px;
    margin-bottom: 6px;
    color: #e8e8ff;
}

/* Ночной режим для ответов */
body.night-mode .symbol-block {
    border-left-color: #c7a0ff;
    background: linear-gradient(135deg, rgba(199, 160, 255, 0.12), rgba(155, 89, 182, 0.08));
}

body.night-mode .symbol-label {
    color: #c7a0ff;
}

body.night-mode .symbol-text {
    color: #e8d5ff;
}

body.night-mode .prediction-label {
    color: #c7a0ff;
}

body.night-mode .prediction-text p {
    color: #dcc8ff;
}

body.night-mode .advice-block {
    border-left-color: #9b59b6;
}

body.night-mode .advice-label {
    color: #c7a0ff;
}

body.night-mode .advice-text {
    color: #e8d5ff;
}

body.night-mode .question-gold {
    color: #c7a0ff;
}

body.night-mode .natal-section-title {
    color: #c7a0ff;
    border-bottom-color: rgba(199, 160, 255, 0.3);
}

body.night-mode .photo-answer {
    color: #dcc8ff;
}

/* Результат карточка - уменьшенные отступы */
.result-card {
    padding: 14px;
}

.result-card .prediction-content p {
    margin-bottom: 6px;
}

.result-card .prediction-content p:last-child {
    margin-bottom: 0;
}

/* ========== ГАДАНИЕ ПО ФОТО ========== */
.questions-container-photo {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 16px;
    margin-bottom: 16px;
    max-height: 450px;
    overflow-y: auto;
}

.category-section-photo {
    margin-bottom: 16px;
}

.category-title-photo {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.questions-list-photo {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-item-photo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.question-item-photo span {
    flex: 1;
}

.question-item-photo.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(199, 160, 255, 0.1));
    border-left: 3px solid #ffd700;
}

body.night-mode .question-item-photo.active {
    background: linear-gradient(135deg, rgba(199, 160, 255, 0.25), rgba(155, 89, 182, 0.15));
    border-left-color: #c7a0ff;
}

.question-toggle-photo {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #ffd700;
}

body.night-mode .question-toggle-photo {
    accent-color: #c7a0ff;
}

.form-group-photo {
    margin-bottom: 12px;
}

.form-label-photo {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: #ffd700;
    margin-bottom: 6px;
    display: block;
}

.mystic-textarea-photo {
    width: 100%;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.mystic-textarea-photo:focus {
    outline: none;
    border-color: #ffd700;
}

body.night-mode .form-label-photo {
    color: #c7a0ff;
}

body.night-mode .mystic-textarea-photo {
    border-color: rgba(199, 160, 255, 0.3);
}

body.night-mode .mystic-textarea-photo:focus {
    border-color: #c7a0ff;
}

.photo-upload-area {
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(255, 215, 0, 0.5);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.photo-upload-area:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.upload-placeholder p {
    margin: 8px 0;
    font-size: 16px;
}

.upload-placeholder small {
    font-size: 12px;
    opacity: 0.7;
}

.preview-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 16px;
    display: block;
    margin: 0 auto;
}

.preview-image.hidden {
    display: none;
}

/* Область загрузки фото в ночном режиме */
body.night-mode .photo-upload-area {
    border-color: rgba(199, 160, 255, 0.5);
}

body.night-mode .photo-upload-area:hover {
    border-color: #c7a0ff;
    background: rgba(199, 160, 255, 0.1);
}

/* ========== ЛУННАЯ ФАЗА ========== */
.moon-icon {
    font-size: 20px;
}

.moon-modal .modal-content {
    max-width: 320px;
}

.moon-phase-title {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
    text-align: center;
    margin-bottom: 16px;
}

.moon-phase-emoji {
    font-size: 64px;
    text-align: center;
    margin: 16px 0;
}

.moon-phase-name {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    color: #c7a0ff;
    text-align: center;
    margin-bottom: 12px;
}

.moon-illumination {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 8px;
}

.moon-description {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #e8e8ff;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.moon-date {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 12px;
}

body.night-mode .moon-phase-name {
    color: #9b59b6;
}

body.night-mode .moon-description {
    color: #dcc8ff;
}

/* ========== ПРИГЛАШЁННЫЕ ДРУЗЬЯ ========== */
.referrals-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.referral-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    font-size: 13px;
}

.referral-name {
    font-weight: 500;
}

.referral-date {
    font-size: 10px;
    opacity: 0.6;
}

.referral-status {
    font-size: 11px;
}

.referral-status.rewarded {
    color: #66ff66;
}

.referral-status.pending {
    color: #ffaa00;
}

.referral-stats-mini {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    margin-top: 12px;
    font-size: 13px;
}

.referral-stats-mini span {
    font-weight: bold;
    color: #ffd700;
}

body.night-mode .referral-stats-mini {
    background: rgba(199, 160, 255, 0.15);
}

body.night-mode .referral-status.rewarded {
    color: #c7a0ff;
}

/* ========== ПРЕДУПРЕЖДЕНИЕ ДЛЯ СВЕЧИ ========== */
.warning-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

#candleWarningModal .modal-content {
    max-width: 320px;
}

#candleWarningModal h3 {
    font-family: 'Cinzel', serif;
    color: #ffd700;
    text-align: center;
    margin-bottom: 16px;
    font-size: 20px;
}

.warning-text-modal {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.warning-text-modal p {
    margin-bottom: 12px;
}

.warning-text-modal strong {
    color: #ffd700;
}

.warning-note {
    background: rgba(255, 215, 0, 0.15);
    padding: 8px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
}

.warning-disclaimer {
    font-size: 10px;
    color: #ffaa88;
    text-align: center;
    margin-top: 8px;
}

.warning-buttons {
    display: flex;
    justify-content: center;
}

.mystic-button.small {
    padding: 10px 20px;
    font-size: 14px;
}

body.night-mode .warning-note {
    background: rgba(199, 160, 255, 0.15);
}

body.night-mode .warning-disclaimer {
    color: #c7a0ff;
}