/* ═══════════════════════════════════════════════════════════
   PAYMENT SUCCESS MODAL — Premium Dark Gold Theme
   ═══════════════════════════════════════════════════════════ */

.payment-success-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(12px) saturate(0.8);
    -webkit-backdrop-filter: blur(12px) saturate(0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.payment-success-overlay.active {
    display: flex;
    animation: psOverlayIn 0.35s cubic-bezier(0.16,1,0.3,1) forwards;
}

@keyframes psOverlayIn {
    from { opacity:0; }
    to   { opacity:1; }
}

.payment-success-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #0c0e13;
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    animation: psModalIn 0.45s cubic-bezier(0.16,1,0.3,1) forwards;
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.5),
        0 32px 80px rgba(0,0,0,0.7),
        0 0 60px rgba(212,175,55,0.05);
}

@keyframes psModalIn {
    from { opacity:0; transform:translateY(24px) scale(0.96); }
    to   { opacity:1; transform:translateY(0)    scale(1);    }
}

/* Üst altın şerit */
.payment-success-modal::before {
    content: '';
    position: absolute;
    top:0; left:0; right:0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212,175,55,0.5) 20%,
        #D4AF37 50%,
        rgba(212,175,55,0.5) 80%,
        transparent 100%);
}

.payment-success-inner {
    padding: 44px 36px 36px;
}

/* Kapat */
.payment-success-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.35);
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.payment-success-close:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    transform: rotate(90deg);
}

/* İkon */
.payment-success-icon-wrap {
    position: relative;
    width: 88px; height: 88px;
    margin: 0 auto 28px;
}

.payment-success-icon-wrap::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    animation: psPulse 2.4s ease-in-out infinite;
}

@keyframes psPulse {
    0%,100% { transform:scale(1);   opacity:0.5; }
    50%     { transform:scale(1.12); opacity:1;  }
}

.payment-success-icon-ring {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 1.5px solid rgba(212,175,55,0.3);
    background: linear-gradient(145deg, #131510 0%, #1c1c0e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: psRingIn 0.55s cubic-bezier(0.16,1,0.3,1) 0.1s both;
    box-shadow:
        0 0 0 1px rgba(212,175,55,0.07),
        0 8px 32px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(212,175,55,0.12);
}

@keyframes psRingIn {
    from { transform:scale(0.4); opacity:0; }
    to   { transform:scale(1);   opacity:1; }
}

.payment-success-icon-ring svg {
    width: 36px; height: 36px;
    animation: psCheckIn 0.4s cubic-bezier(0.16,1,0.3,1) 0.4s both;
}

@keyframes psCheckIn {
    from { opacity:0; transform:scale(0.5) rotate(-15deg); }
    to   { opacity:1; transform:scale(1)   rotate(0deg);   }
}

.payment-success-icon-dot {
    position: absolute;
    top: 5px; right: 5px;
    width: 14px; height: 14px;
    background: #22c55e;
    border: 2.5px solid #0c0e13;
    border-radius: 50%;
    animation: psDotIn 0.3s cubic-bezier(0.16,1,0.3,1) 0.6s both;
    box-shadow: 0 0 10px rgba(34,197,94,0.55);
}

@keyframes psDotIn {
    from { transform:scale(0); opacity:0; }
    to   { transform:scale(1); opacity:1; }
}

/* Başlık */
.payment-success-title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #f0f0e8;
    margin: 0 0 8px;
    animation: psUp 0.4s ease-out 0.25s both;
}

.payment-success-title-line {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 0 auto 16px;
    border-radius: 2px;
    animation: psLineGrow 0.6s ease-out 0.4s forwards;
}

@keyframes psLineGrow {
    to { width: 48px; }
}

.payment-success-message {
    font-size: 13.5px;
    line-height: 1.65;
    color: rgba(255,255,255,0.42);
    margin: 0 0 26px;
    animation: psUp 0.4s ease-out 0.3s both;
}

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

/* Info kutuları */
.payment-success-info {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    animation: psUp 0.4s ease-out 0.38s both;
}

.payment-success-info-item {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 11px 8px;
}

.payment-success-info-label {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255,255,255,0.28);
    margin-bottom: 4px;
}

.payment-success-info-value {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
}

.payment-success-info-value.gold {
    color: #D4AF37;
}

/* Buton */
.payment-success-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #D4AF37 0%, #C49B20 60%, #B8871A 100%);
    color: #0c0e13;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(212,175,55,0.22);
    animation: psUp 0.4s ease-out 0.45s both;
}

.payment-success-btn::after {
    content: '';
    position: absolute;
    top:0; left:-100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
    transition: left 0.55s ease;
}

.payment-success-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 28px rgba(212,175,55,0.35);
}

.payment-success-btn:hover::after { left:140%; }

.payment-success-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212,175,55,0.18);
}

.payment-success-footer-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.2s;
    animation: psUp 0.4s ease-out 0.5s both;
}

.payment-success-footer-link:hover {
    color: rgba(212,175,55,0.65);
}

/* Responsive */
@media (max-width: 480px) {
    .payment-success-inner { padding: 36px 20px 28px; }
    .payment-success-icon-wrap { width:72px; height:72px; }
    .payment-success-icon-ring { width:72px; height:72px; }
    .payment-success-icon-ring svg { width:28px; height:28px; }
    .payment-success-title { font-size:19px; }
    .payment-success-message { font-size:13px; }
}
