/* ===========================
   Slide Final — The Power House
   =========================== */
.slide-final {
    background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    direction: rtl;
}

.glow-final-prime {
    position: absolute;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
    filter: blur(120px);
    z-index: 1;
}

.final-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    text-align: center;
    gap: 40px;
}

/* تصميم القلب النابض للنظام */
.system-core-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-sphere {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 50%;
    border: 2px solid var(--gold);
    position: relative;
    box-shadow: 0 0 50px rgba(201,168,76,0.4), inset 0 0 20px rgba(201,168,76,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.core-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 10px var(--gold));
}

.core-rings .ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ring-rotate 10s linear infinite;
}

.ring:nth-child(1) {
    width: 180px;
    height: 180px;
    border-style: dashed;
}

.ring:nth-child(2) {
    width: 240px;
    height: 240px;
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring:nth-child(3) {
    width: 300px;
    height: 300px;
    border-width: 0.5px;
    opacity: 0.5;
}

/* التسميات المدارية */
.orbiting-label {
    position: absolute;
    font-size: 0.75rem;
    color: var(--gold);
    background: rgba(0,0,0,0.6);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(201,168,76,0.3);
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
}

.l-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.l-2 {
    bottom: 10%;
    left: 10%;
    animation-delay: 1s;
}

.l-3 {
    top: 50%;
    right: -20px;
    animation-delay: 2s;
}

.l-4 {
    top: 50%;
    left: -20px;
    animation-delay: 3s;
}

/* نصوص الخاتمة */
.grand-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
}

.grand-vision {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.6);
    max-width: 700px;
    line-height: 1.8;
}

/* شريط الحالة النظام */
.system-health-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.health-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
}

.h-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-green {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: p-glow 1.5s infinite;
}

.pulse-gold {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: p-glow 2s infinite;
}

/* الزر التفاعلي */
.launch-btn {
    background: linear-gradient(90deg, var(--gold), #8a6d25);
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    color: #000;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.4s;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

    .launch-btn:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 20px 40px rgba(201,168,76,0.4);
    }

/* التوقيع */
.final-signature {
    margin-top: 50px;
    width: 100%;
    max-width: 400px;
}

.sig-line {
    hieght: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    height: 1px;
    margin-bottom: 20px;
}

.sig-name {
    font-size: 1.4rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.sig-title {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
}

@keyframes ring-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes p-glow {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .grand-title {
        font-size: 2.2rem;
    }

    .system-core-container {
        transform: scale(0.7);
    }
}
