/*@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&display=swap');*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@font-face {
    font-family: 'Alfont';
    src: url('fonts/alfont_com_AlFont_com_helveticaneueltarabicroman1.ttf') format('ttf');
    /*font-weight: bold;*/
    font-style: normal;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Alfont', sans-serif;
    background: #000;
}

/* خلفية الفيديو */
.video-background {
    /* position: fixed;*/
    /* top: 0;*/
    /* left: 0;*/
    /* width: 100%;*/
    /* height: 100vh;*/
    /*background-image: url("./IMG_1056.MOV");*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
    /* z-index: -1;*/
    /* overflow: hidden;*/

    /*position: fixed;*/
    /*width: 100vw;*/
    /*height: 100vh;*/
    /*overflow: hidden;*/

    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);

}

/* ================= CENTERING ================= */
.viewport {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scale-wrapper {
    /*transform-origin: center center;*/
}

.video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.video-background video {
    /*width: 100%;*/
    /*height: 100%;*/
    /*object-fit: cover;*/
    /*filter: brightness(0.7);*/
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

/* الحاوية الرئيسية */
.container {
    /*position: relative;*/
    /*min-height: 100vh;*/
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    transform-origin: center center;
    justify-content: center;
    padding: 20px;

    /*transform: scale(var(--scale));*/
    /*transform-origin: center center;*/

}

/*@media (max-height: 900px) {*/
/* :root { --scale: 0.95; }*/
/*}*/

/*@media (max-height: 800px) {*/
/* :root { --scale: 0.9; }*/
/*}*/

/*@media (max-height: 700px) {*/
/* :root { --scale: 0.85; }*/
/*}*/

/*@media (max-height: 600px) {*/
/* :root { --scale: 0.8; }*/
/*}*/

/* بطاقة المحتوى - Glass Effect */
.glass-container {
    /*max-width: 650px;*/
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px) saturate(180%);
    -webkit-backdrop-filter: blur(5px) saturate(180%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
        0 0 80px rgba(212, 165, 116, 0.15);
    padding: 30px 30px;
    animation: fadeInUp 1s ease;
    position: relative;
    overflow: hidden;
}

/*.glass-container {*/
/* max-width: 650px;*/
/* width: 100%;*/
/* background: rgba(255,255,255,0.08);*/
/* backdrop-filter: blur(6px);*/
/* border-radius: 30px;*/
/* border: 1px solid rgba(255,255,255,0.15);*/
/* padding: 20px;*/
/* text-align: center;*/
/* box-shadow: 0 20px 60px rgba(0,0,0,0.6);*/
/*}*/

/* تأثير النور المتحرك */
.glass-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent,
            rgba(255, 255, 255, 0.05),
            transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateY(-100%);
    }

    100% {
        transform: rotate(45deg) translateY(100%);
    }
}

.content-card {
    position: relative;
    z-index: 2;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* الشعار */
.logo {
    width: 130px;
    height: 130px;
    margin: 0 auto 35px;
    background: linear-gradient(135deg, #d4a574 0%, #f4d799 50%, #d4a574 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 15px 50px rgba(212, 165, 116, 0.5),
        inset 0 -5px 20px rgba(0, 0, 0, 0.2),
        inset 0 5px 20px rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease infinite;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid rgba(212, 165, 116, 0.3);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 15px 50px rgba(212, 165, 116, 0.5),
            inset 0 -5px 20px rgba(0, 0, 0, 0.2),
            inset 0 5px 20px rgba(255, 255, 255, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow:
            0 20px 60px rgba(212, 165, 116, 0.7),
            inset 0 -5px 20px rgba(0, 0, 0, 0.2),
            inset 0 5px 20px rgba(255, 255, 255, 0.3);
    }
}

.logo i {
    font-size: 55px;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

/* العنوان الرئيسي */
.main-title {
    font-size: 52px;
    font-weight: 200;
    background: linear-gradient(135deg, #f4d799 0%, #d4a574 50%, #f4d799 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(244, 215, 153, 0.3);
}

/* العنوان الفرعي */
.subtitle {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* الأزرار */
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 45px;
}

.btn {
    padding: 22px 40px;
    border: none;
    border-radius: 18px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    font-family: 'Alfont', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #d4a574 0%, #f4d799 50%, #d4a574 100%);
    color: #2c1810;
    box-shadow:
        0 10px 35px rgba(212, 165, 116, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 45px rgba(212, 165, 116, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #f4d799;
    border: 1.5px solid rgba(212, 165, 116, 0.4);
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 165, 116, 0.6);
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;

    color: white;
    text-decoration: none;

}

.btn .btn-main {
    font-size: 20px;
    font-weight: 600;
}

.btn .btn-sub {
    font-size: 13px;
    font-weight: 300;
    opacity: 0.85;
    margin-top: 3px;
}

.btn i {
    font-size: 26px;
}

/* أيقونات التواصل */
.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 35px;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(212, 165, 116, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #f4d799;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background: linear-gradient(135deg, #d4a574 0%, #f4d799 100%);
    color: #2c1810;
    transform: translateY(-5px) rotate(360deg);
    box-shadow:
        0 12px 30px rgba(212, 165, 116, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* النص السفلي */
.footer-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* جزيئات متحركة */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, #f4d799 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: float linear infinite;
    box-shadow: 0 0 10px #d4a574;
}

@keyframes float {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0) rotate(0deg);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1.5) rotate(360deg);
    }
}

/* تأثيرات التحميل */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(212, 165, 116, 0.2);
    border-top: 5px solid #d4a574;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 30px rgba(212, 165, 116, 0.3);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 900px) {
    .glass-container {
        max-width: 650px;
    }
}

/* التجاوب */
@media (max-width: 768px) {
    .glass-container {
        max-width: 100%;
        padding: 40px 25px;
        border-radius: 25px;
    }

    .main-title {
        font-size: 38px;
    }

    .subtitle {
        font-size: 16px;
    }

    .btn {
        padding: 20px 25px;
        font-size: 18px;
    }

    .btn .btn-main {
        font-size: 18px;
    }

    .logo {
        width: 110px;
        height: 110px;
    }

    .logo i {
        font-size: 45px;
    }

    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}