/* ═══════════════════════════════════════════
   Astroloop — Result Modal (Aşama 2)
   Daha parlak, okunabilir, renkli, tek ekran (no scroll)
   ═══════════════════════════════════════════ */

/* Modal Arka Plan */
.result-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.result-modal__backdrop.active {
    display: flex;
    opacity: 1;
}

/* Modal Kart — Büyük, okunabilir, parlak */
.result-modal {
    width: 96%;
    max-width: 720px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(
        155deg,
        rgba(18, 24, 55, 0.75) 0%,
        rgba(22, 28, 65, 0.80) 40%,
        rgba(15, 20, 50, 0.75) 100%
    );
    backdrop-filter: blur(12px);
    filter: invert();
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 24px;
    padding: 24px 32px;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 0 60px rgba(201, 168, 76, 0.1),
        0 0 120px rgba(100, 80, 200, 0.08),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.result-modal__backdrop.active .result-modal {
    transform: translateY(0) scale(1);
}

/* Modal Arka Plan Logosu */
.result-modal__bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
    filter: blur(2px);
}

.result-modal > * {
    position: relative;
    z-index: 1;
}

/* İç ışık efekti */
.result-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at 30% 20%,
        rgba(100, 80, 200, 0.06) 0%,
        transparent 50%
    );
    pointer-events: none;
}

/* Scrollbar — ince, estetik */
.result-modal::-webkit-scrollbar { width: 4px; }
.result-modal::-webkit-scrollbar-track { background: transparent; }
.result-modal::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.2); border-radius: 4px; }
.result-modal::-webkit-scrollbar-thumb:hover { background: rgba(201, 168, 76, 0.35); }

/* Kapat butonu */
.result-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.result-modal__close:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

/* ═══ Görünümler (Views) ═══ */
.modal-view {
    display: none;
    animation: fade-in-up 0.4s ease forwards;
}

.modal-view.active {
    display: block;
}

/* ═══ Burç Başlığı ═══ */
.result-modal__header {
    text-align: center;
    margin-bottom: 16px;
}

.result-modal__sign-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px auto;
    filter: drop-shadow(0 0 16px var(--gold-glow));
}

.result-modal__sign-name {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #f0dfa0;
    margin-bottom: 4px;
}

.result-modal__sign-date {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1.5px;
}

/* Ayırıcı çizgi */
.result-modal__divider {
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 14px auto;
}

/* ═══ Ücretsiz Yorum ═══ */
.result-modal__free-section {
    margin-bottom: 14px;
}

.result-modal__section-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    text-align: center;
}

.result-modal__reading {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
    text-align: center;
    letter-spacing: 0.4px;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
}
.result-modal__reading::-webkit-scrollbar { width: 4px; }
.result-modal__reading::-webkit-scrollbar-track { background: transparent; }
.result-modal__reading::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.3); border-radius: 4px; }

.result-modal__reading p {
    margin: 0 0 12px 0;
}

.result-modal__reading p:last-child {
    margin-bottom: 0;
}

/* ═══ Kilitli Evler ═══ */
.result-modal__locked {
    position: relative;
    margin-bottom: 14px;
}

.result-modal__houses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.result-modal__house {
    padding: 12px 6px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-modal__house::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(18, 24, 55, 0.7) 100%);
    pointer-events: none;
}

.result-modal__house-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
    opacity: 0.7;
    display: block;
    color: #ffffff;
    filter: grayscale(100%);
}

.result-modal__house-name {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Kilit ikonu kaldırıldı */
.result-modal__house-lock {
    display: none;
}

/* Kilitli bölüm overlay */
.result-modal__lock-overlay {
    text-align: center;
    padding: 6px 0 0;
}

.result-modal__lock-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.result-modal__lock-subtext {
    font-family: var(--font-ui);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    line-height: 1.5;
}

/* ═══ CTA Butonu ═══ */
.result-modal__cta {
    display: block;
    width: 100%;
    padding: 16px 28px;
    font-family: var(--font-ui);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0a0e1a;
    background: linear-gradient(135deg, #e8c45a, #d4a84b, #f0d070);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 24px rgba(201, 168, 76, 0.35);
    position: relative;
    overflow: hidden;
}

.result-modal__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer-cta 3s infinite;
}

@keyframes shimmer-cta {
    0% { left: -100%; }
    100% { left: 200%; }
}

.result-modal__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

/* ═══ Stage 2 form (popup içinde) ═══ */
.result-modal__stage2 {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.result-modal__stage2-title {
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    text-align: center;
    margin-bottom: 14px;
}

.result-modal__stage2-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.result-modal__stage2-group {
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.result-modal__stage2-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    text-align: center;
}

.result-modal__stage2-input {
    width: 100%;
    padding: 12px;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    text-align: center;
}

.result-modal__stage2-input:focus {
    border-bottom-color: var(--gold);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px 8px 0 0;
}

/* Select dropdown stili */
.result-modal__stage2-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding: 16px 40px 16px 16px;
    font-size: 1.1rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    width: 100%;
}

.result-modal__stage2-select:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(201, 168, 76, 0.4);
}

.result-modal__stage2-select option {
    background: #0f1432;
    color: var(--text-primary);
    padding: 16px;
    font-size: 1.1rem;
    font-family: var(--font-ui), sans-serif;
    text-align: left;
    border-radius: 8px; /* Bazı tarayıcılarda etkilidir */
}

.result-modal__select-row {
    display: flex;
    gap: 8px;
}

.result-modal__stage2-input:focus,
.result-modal__stage2-select:focus {
    border-color: var(--gold);
}

/* ═══════════════════════════════════════
   PAYMENT MODE — Ödeme Ekranı
   Modal içi geçiş, mevcut içeriği gizler
   ═══════════════════════════════════════ */

/* Payment mode: ana içeriği gizle */
.result-modal.payment-mode .result-modal__header,
.result-modal.payment-mode .result-modal__divider,
.result-modal.payment-mode .result-modal__free-section,
.result-modal.payment-mode .result-modal__locked,
.result-modal.payment-mode .result-modal__stage2,
.result-modal.payment-mode .result-modal__cta {
    display: none;
}

.result-modal__payment {
    display: none;
    animation: fade-in-up 0.5s ease forwards;
}

.result-modal.payment-mode .result-modal__payment {
    display: block;
}

/* Payment Header */
.payment__container {
    display: flex;
    gap: 32px;
    text-align: left;
}

.payment__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment__right {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment__header {
    text-align: center;
    margin-bottom: 16px;
}

.payment__icon {
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 20px var(--gold-glow);
    display: block;
    margin-bottom: 8px;
}

.payment__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0dfa0;
    margin-bottom: 6px;
}

.payment__subtitle {
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 1px;
}

/* Timer */
.payment__timer {
    text-align: center;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    margin-bottom: 16px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.payment__timer-icon {
    margin-right: 6px;
}

.payment__timer-value {
    font-weight: 700;
    color: #f87171;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Price Box */
.payment__price-box {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 18px;
    padding: 12px;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 12px;
}

.payment__price-old,
.payment__price-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: var(--font-ui);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.payment__strike {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.35);
    font-size: 1rem;
}

.payment__amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f0dfa0;
    text-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

/* Payment Form */
.payment__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.payment__field {
    flex: 1;
}

.payment__label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.payment__input {
    width: 100%;
    padding: 10px 12px;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.payment__input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.payment__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.payment__row {
    display: flex;
    gap: 12px;
}

.payment__submit {
    width: 100%;
    padding: 14px;
    font-family: var(--font-ui);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a0e1a;
    background: linear-gradient(135deg, #e8c45a, #d4a84b, #f0d070);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
    margin-top: 4px;
}

.payment__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

.payment__submit:disabled {
    cursor: not-allowed;
    transform: none;
}

/* Trust Badges */
.payment__trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.payment__trust-item {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}

/* Geri Dön butonu */
.payment__back {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    transition: color 0.3s ease;
}

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

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
    .result-modal__backdrop {
        align-items: flex-end;
        padding: 0;
    }

    .result-modal {
        width: 100%;
        max-width: 100%;
        max-height: 95vh;
        padding: 20px 16px 24px;
        border-radius: 20px 20px 0 0;
        margin: 0;
    }

    .result-modal__close {
        top: 10px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .result-modal__sign-image {
        width: 64px;
        height: 64px;
    }

    .result-modal__sign-name {
        font-size: 1.3rem;
        letter-spacing: 4px;
    }

    .result-modal__sign-date {
        font-size: 0.85rem;
    }

    .result-modal__divider {
        margin: 10px auto;
    }

    .result-modal__section-label {
        font-size: 0.82rem;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }

    .result-modal__reading {
        font-size: 0.95rem;
        line-height: 1.55;
        max-height: 160px;
        padding-right: 6px;
    }

    .result-modal__houses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .result-modal__house {
        padding: 10px 5px;
    }

    .result-modal__house-icon {
        font-size: 1.15rem;
    }

    .result-modal__house-name {
        font-size: 0.65rem;
    }

    .result-modal__lock-text {
        font-size: 0.95rem;
    }

    .result-modal__lock-subtext {
        font-size: 0.8rem;
    }

    .result-modal__cta {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .result-modal__stage2 {
        margin-top: 12px;
        padding-top: 12px;
    }

    .result-modal__stage2-title {
        font-size: 0.82rem;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }

    .result-modal__stage2-group {
        max-width: 100%;
    }

    .result-modal__stage2-label {
        font-size: 0.82rem;
    }

    .result-modal__stage2-input {
        padding: 14px 8px;
        font-size: 1rem;
    }

    .result-modal__stage2-select {
        padding: 14px 36px 14px 14px;
        font-size: 1rem;
    }

    .result-modal__stage2-fields {
        flex-direction: column;
        gap: 10px;
    }

    /* Payment mobile */
    .payment__container {
        flex-direction: column;
        gap: 16px;
    }

    .payment__right {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .payment__title {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .payment__subtitle {
        font-size: 0.78rem;
    }

    .payment__price-box {
        gap: 20px;
        padding: 10px;
    }

    .payment__input {
        padding: 12px 10px;
        font-size: 0.95rem;
    }

    .payment__label {
        font-size: 0.72rem;
    }

    .payment__row {
        flex-direction: row;
        gap: 8px;
    }

    .payment__submit {
        padding: 14px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .payment__trust-item {
        font-size: 0.65rem;
    }

    .payment__back {
        font-size: 0.78rem;
        padding: 8px;
    }

    /* Progress & Loading */
    .modal-progress {
        margin-bottom: 16px;
        padding: 0 20px;
    }

    .loading-text {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .loading-subtext {
        font-size: 0.8rem;
    }

    .loading-container {
        padding: 24px 0;
    }
}

@media (max-width: 480px) {
    .result-modal {
        padding: 16px 12px 20px;
        max-height: 96vh;
    }

    .result-modal__close {
        top: 8px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .result-modal__sign-image {
        width: 52px;
        height: 52px;
    }

    .result-modal__sign-name {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .result-modal__reading {
        font-size: 0.88rem;
        max-height: 130px;
    }

    .result-modal__houses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .result-modal__house {
        padding: 8px 4px;
    }

    .result-modal__house-icon {
        font-size: 1rem;
    }

    .result-modal__house-name {
        font-size: 0.6rem;
    }

    .result-modal__cta {
        padding: 12px 16px;
        font-size: 0.92rem;
    }

    .result-modal__stage2-select {
        padding: 12px 32px 12px 12px;
        font-size: 0.92rem;
    }

    .result-modal__select-row {
        flex-direction: column;
        gap: 8px;
    }

    .payment__right {
        padding: 14px 10px;
    }

    .payment__input {
        padding: 10px 8px;
        font-size: 0.88rem;
    }

    .payment__submit {
        padding: 12px;
        font-size: 0.92rem;
    }

    .modal-progress {
        margin-bottom: 12px;
        padding: 0 12px;
    }

    .progress-step {
        width: 10px;
        height: 10px;
    }

    .loading-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 380px) {
    .result-modal {
        padding: 14px 10px 18px;
    }

    .result-modal__sign-name {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .result-modal__reading {
        font-size: 0.82rem;
        max-height: 110px;
    }

    .result-modal__cta {
        padding: 12px 12px;
        font-size: 0.85rem;
    }

    .payment__row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ═══ Progress Bar ═══ */
.modal-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 0 40px;
}

.progress-step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(201, 168, 76, 0);
}

.progress-step.active {
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
    transform: scale(1.3);
}

.progress-line {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 8px;
    transition: all 0.3s ease;
}

.progress-line.active {
    background: linear-gradient(90deg, var(--gold), rgba(255,255,255,0.1));
}

/* ═══ Loading View ═══ */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(201, 168, 76, 0.2);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.loading-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite;
}

.loading-subtext {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.result-modal.payment-mode .modal-progress {
    display: none;
}

/* ═══ Circular Progress for Report Generation ═══ */
.report-progress-circle {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

.gold .circle {
    stroke: var(--gold);
}

.percentage {
    fill: #fff;
    font-family: var(--font-display);
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: bold;
}

.final-report-content::-webkit-scrollbar { width: 4px; }
.final-report-content::-webkit-scrollbar-track { background: transparent; }
.final-report-content::-webkit-scrollbar-thumb { background: rgba(201, 168, 76, 0.3); border-radius: 4px; }
