﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* خلفية غامقة فخمة مائلة للون المطلوب تبرز العناصر الـ 3D */
    background: radial-gradient(circle at center, #1a2e35 0%, #0b1114 100%);
    overflow: hidden;
    perspective: 1000px;
    /* تفعيل البعد الثالث في الصفحة */
}

/* العناصر الخلفية المضيئة لتعزيز تأثير العمق */
.bg-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(19, 140, 159, 0.3) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.container {
    width: 480px;
    /* تأثير الزجاج ثلاثي الأبعاد */
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* ظلال متعددة الطبقات لإعطاء إيحاء بالبروز عن الخلفية */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 rgba(0, 0, 0, 0.4);
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out, box-shadow 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

    /* تأثير إضافي عند تمرير الماوس فوق الحاوية */
    .container:hover {
        box-shadow: 0 40px 80px rgba(19, 140, 159, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

.logo-wrapper {
    background-color: white;
    padding: 15px;
    transform: translateZ(50px); /* دفع اللوجو للأمام بالبعد الثالث */
    margin-bottom: 25px;
    display: inline-block;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 2px 3px rgba(255,255,255,0.2);
    animation: float 4s ease-in-out infinite;
}

.logo {
    width: 150px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

h1 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: translateZ(40px);
}

.subtitle {
    color: #a0aec0;
    font-size: 1rem;
    margin-bottom: 40px;
    transform: translateZ(30px);
}

.buttons {
    display: flex;
    gap: 20px;
    transform: translateZ(45px);
}

.btn {
    flex: 1;
    text-decoration: none;
    color: white;
    padding: 16px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

    /* الزر الأساسي باللون المطلوب */
    .btn.swagger {
        background: linear-gradient(135deg, #138c9f, #0e6876);
        box-shadow: 0 8px 20px rgba(19, 140, 159, 0.3), inset 0 2px 3px rgba(255,255,255,0.2), 0 0px 0px #09434d;
    }

    /* زر سكالار بلون متناسق مائل وأغمق قليلاً للتمييز */
    .btn.scalar {
        background: linear-gradient(135deg, #1f2937, #111827);
        border: 1px solid rgba(19, 140, 159, 0.4);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), inset 0 2px 3px rgba(255,255,255,0.1), 0 0px 0px #000;
    }

    /* حركة الضغط الـ 3D للأزرار عند الحوم بالماوس والنقر */
    .btn:hover {
        transform: translateZ(10px) translateY(-5px);
    }

    .btn.swagger:hover {
        box-shadow: 0 15px 25px rgba(19, 140, 159, 0.4), inset 0 2px 3px rgba(255,255,255,0.4), 0 5px 0px #09434d;
    }

    .btn.scalar:hover {
        border-color: #138c9f;
        box-shadow: 0 15px 25px rgba(19, 140, 159, 0.15), inset 0 2px 3px rgba(255,255,255,0.2), 0 5px 0px #090e14;
    }

    .btn:active {
        transform: translateZ(5px) translateY(-2px);
        box-shadow: 0 5px 10px rgba(0,0,0,0.3), inset 0 2px 3px rgba(255,255,255,0.2), 0 2px 0px #000;
    }

    /* لمعة ذكية تتحرك داخل الزر */
    .btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -50%;
        width: 200%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
        transform: skewX(-25deg);
        transition: 0.75s;
        opacity: 0;
    }

    .btn:hover::after {
        left: 125%;
        opacity: 1;
    }

.note {
    margin-top: 35px;
    color: #718096;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateZ(20px);
}

    /* أنيميشن دوران خفيف للمؤشر الانتظار */
    .note i {
        color: #138c9f;
        animation: spin 2s linear infinite;
    }

/* حركات الأنيميشن */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

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

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
