/* =====================================================
   SAKAN ENTRY
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html,
body {
    width: 100%;
    min-height: 100%;
}


body {

    font-family:
        Arial,
        Tahoma,
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            #26384a 0%,
            #101b28 42%,
            #05090f 100%
        );

    color: #ffffff;
}


button,
input {

    font-family: inherit;
}


button {

    cursor: pointer;
}


/* =====================================================
   SCREEN
===================================================== */

.screen {

    display: none;

    min-height: 100vh;

    width: 100%;

    align-items: center;

    justify-content: center;

    padding: 30px;
}


.screen.active {

    display: flex;
}


/* =====================================================
   BRAND
===================================================== */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.brand-icon {

    width: 54px;
    height: 54px;

    border-radius: 50%;

    border:
        1px solid #d4af37;

    color: #d4af37;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 23px;

    background:
        rgba(212, 175, 55, 0.07);

    box-shadow:
        0 0 25px
        rgba(212, 175, 55, 0.08);
}


.brand h1 {

    color: #d4af37;

    font-size: 25px;
}


.brand span {

    display: block;

    color: #8793a1;

    font-size: 12px;

    margin-top: 3px;
}


/* =====================================================
   PRIVACY
===================================================== */

.privacy-card {

    width:
        min(720px, 100%);

    padding: 38px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(26, 39, 54, 0.98),
            rgba(8, 14, 22, 0.98)
        );

    border:
        1px solid
        rgba(212, 175, 55, 0.42);

    box-shadow:
        0 30px 90px
        rgba(0, 0, 0, 0.55);
}


.privacy-icon {

    width: 75px;
    height: 75px;

    margin:
        28px auto 18px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d4af37;

    border:
        1px solid #d4af37;

    background:
        rgba(212, 175, 55, 0.06);

    font-size: 31px;
}


.privacy-card h2 {

    text-align: center;

    font-size: 29px;

    margin-bottom: 10px;
}


.intro {

    text-align: center;

    color: #9aa5b2;

    line-height: 1.8;

    margin-bottom: 25px;
}


.privacy-points {

    display: grid;

    gap: 10px;
}


.privacy-point {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 13px;

    border-radius: 10px;

    background:
        rgba(255, 255, 255, 0.025);

    color: #b9c2cc;

    line-height: 1.7;

    font-size: 14px;
}


.privacy-point i {

    color: #d4af37;

    margin-top: 4px;
}


.privacy-warning {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-top: 18px;

    padding: 13px;

    border-radius: 10px;

    background:
        rgba(164, 124, 28, 0.08);

    border:
        1px solid
        rgba(212, 175, 55, 0.22);

    color: #d9c47e;

    font-size: 13px;

    line-height: 1.6;
}


.privacy-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 25px;
}


/* =====================================================
   BUTTONS
===================================================== */

.gold-btn,
.main-gold-btn {

    border: none;

    border-radius: 11px;

    min-height: 52px;

    padding:
        0 25px;

    font-size: 15px;

    font-weight: bold;

    background:
        linear-gradient(
            135deg,
            #f1d77b,
            #d4af37,
            #ae8117
        );

    color: #111;

    box-shadow:
        0 10px 30px
        rgba(212, 175, 55, 0.15);

    transition:
        transform 0.2s,
        box-shadow 0.2s;
}


.gold-btn:hover,
.main-gold-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 35px
        rgba(212, 175, 55, 0.23);
}


.dark-btn {

    border:
        1px solid #3c4957;

    border-radius: 11px;

    min-height: 52px;

    background:
        #141d28;

    color: #bbc4cd;

    font-weight: bold;

    font-size: 15px;
}


.dark-btn:hover {

    background:
        #1b2734;
}


/* =====================================================
   WELCOME
===================================================== */

#welcomeScreen {

    padding: 0;
}


.welcome-container {

    position: relative;

    width: 100%;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(212, 175, 55, 0.12),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #101c2a,
            #05090f
        );
}


.welcome-container::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 15% 30%,
            rgba(212, 175, 55, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 65%,
            rgba(212, 175, 55, 0.06),
            transparent 25%
        );
}


.welcome-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(2, 6, 11, 0.15),
            rgba(2, 6, 11, 0.82)
        );
}


.welcome-content {

    position: relative;

    z-index: 2;

    width:
        min(850px, 90%);

    text-align: center;

    padding: 45px;
}


.welcome-brand {

    justify-content: center;

    margin-bottom: 45px;
}


.welcome-brand h1 {

    font-size: 30px;
}


.heart-symbol {

    font-size: 52px;

    margin-bottom: 15px;

    filter:
        drop-shadow(
            0 5px 15px
            rgba(212, 175, 55, 0.2)
        );
}


.welcome-content > h1 {

    font-size:
        clamp(32px, 5vw, 55px);

    margin-bottom: 10px;
}


.welcome-content > h2 {

    color: #d4af37;

    font-size:
        clamp(21px, 3vw, 30px);

    margin-bottom: 18px;
}


.welcome-content > p {

    color: #b3bdc8;

    font-size: 18px;

    margin-bottom: 35px;
}


.welcome-content .main-gold-btn {

    min-width: 220px;
}


.trial-note {

    margin:
        30px auto 0;

    width:
        min(650px, 100%);

    padding: 13px 18px;

    border-radius: 10px;

    color: #8d99a6;

    background:
        rgba(255, 255, 255, 0.025);

    border:
        1px solid
        rgba(255, 255, 255, 0.07);

    font-size: 12px;

    line-height: 1.7;
}


.trial-note i {

    color: #d4af37;

    margin-left: 7px;
}


/* =====================================================
   ACCOUNT
===================================================== */

.account-card,
.login-card {

    width:
        min(650px, 100%);

    padding: 38px;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 38, 53, 0.98),
            rgba(7, 13, 21, 0.98)
        );

    border:
        1px solid
        rgba(212, 175, 55, 0.4);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.5);
}


.account-card > h2,
.login-card > h2 {

    margin-top: 35px;

    font-size: 28px;
}


.account-description {

    color: #8d99a6;

    margin-top: 8px;

    line-height: 1.7;
}


.account-options {

    display: grid;

    gap: 13px;

    margin-top: 27px;
}


.account-option {

    width: 100%;

    border:
        1px solid #334150;

    background:
        rgba(255, 255, 255, 0.025);

    color: #ffffff;

    border-radius: 13px;

    min-height: 78px;

    padding: 12px 16px;

    display: flex;

    align-items: center;

    text-align: right;

    gap: 13px;

    transition:
        border-color 0.2s,
        background 0.2s,
        transform 0.2s;
}


.account-option:hover {

    border-color:
        rgba(212, 175, 55, 0.6);

    background:
        rgba(212, 175, 55, 0.04);

    transform:
        translateY(-2px);
}


.option-icon {

    width: 46px;
    height: 46px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #d4af37;

    background:
        rgba(212, 175, 55, 0.07);

    border:
        1px solid
        rgba(212, 175, 55, 0.3);
}


.option-text {

    flex: 1;
}


.option-text strong {

    display: block;

    font-size: 16px;

    margin-bottom: 5px;
}


.option-text small {

    color: #808c99;

    font-size: 12px;
}


.arrow {

    color: #697583;
}


/* =====================================================
   REGISTER / LOGIN
===================================================== */

.register-card {

    width:
        min(900px, 100%);

    padding: 38px;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            rgba(25, 38, 53, 0.98),
            rgba(7, 13, 21, 0.98)
        );

    border:
        1px solid
        rgba(212, 175, 55, 0.4);

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, 0.5);
}


.register-header {

    margin-bottom: 30px;
}


.step-title {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 25px;
}


.step-number {

    width: 43px;
    height: 43px;

    border-radius: 50%;

    background:
        #d4af37;

    color: #111;

    display: flex;

    align-items: center;
    justify-content: center;

    font-weight: bold;
}


.step-title h2 {

    font-size: 24px;

    margin-bottom: 4px;
}


.step-title p {

    color: #84909e;

    font-size: 13px;
}


/* =====================================================
   SOCIAL
===================================================== */

.social-register {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.social-btn {

    min-height: 50px;

    border:
        1px solid #354250;

    background:
        #111a25;

    color: #dce1e6;

    border-radius: 10px;

    font-weight: bold;

    font-size: 13px;
}


.social-btn:hover {

    border-color:
        rgba(212, 175, 55, 0.55);
}


.social-btn i {

    margin-left: 8px;

    font-size: 17px;
}


/* =====================================================
   DIVIDER
===================================================== */

.divider {

    display: flex;

    align-items: center;

    gap: 15px;

    margin: 25px 0;

    color: #687482;

    font-size: 12px;
}


.divider::before,
.divider::after {

    content: "";

    height: 1px;

    background:
        #293542;

    flex: 1;
}


/* =====================================================
   FORM
===================================================== */

.form-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.field {

    margin-bottom: 17px;
}


.field label {

    display: block;

    color: #c2c9d0;

    font-size: 13px;

    margin-bottom: 8px;
}


.input-wrapper {

    position: relative;
}


.input-wrapper > i {

    position: absolute;

    right: 15px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #7c8895;

    pointer-events: none;
}


.input-wrapper input {

    width: 100%;

    min-height: 50px;

    padding:
        0 43px 0 45px;

    border:
        1px solid #344150;

    border-radius: 10px;

    outline: none;

    background:
        #0c141e;

    color: #ffffff;

    font-size: 14px;
}


.input-wrapper input:focus {

    border-color:
        #d4af37;

    box-shadow:
        0 0 0 3px
        rgba(212, 175, 55, 0.07);
}


.eye-btn {

    position: absolute;

    left: 8px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    color: #7d8996;
}


.field-error {

    display: block;

    min-height: 17px;

    margin-top: 5px;

    color: #df7777;

    font-size: 11px;
}


.terms-check {

    display: flex;

    align-items: center;

    gap: 9px;

    color: #9da8b4;

    font-size: 12px;

    cursor: pointer;

    margin-top: 3px;
}


.terms-check input {

    accent-color: #d4af37;

    width: 16px;
    height: 16px;
}


.register-submit {

    width: 100%;

    margin-top: 10px;
}


.form-message {

    min-height: 25px;

    margin:
        8px 0;

    text-align: center;

    font-size: 13px;

    line-height: 1.7;
}


.form-message.success {

    color: #79c98a;
}


.form-message.error {

    color: #df7777;
}


.forgot-btn {

    display: block;

    border: none;

    background: transparent;

    color: #d4af37;

    margin:
        17px auto 0;

    font-size: 12px;
}


/* =====================================================
   BACK
===================================================== */

.back-link {

    display: block;

    margin:
        22px auto 0;

    border: none;

    background: transparent;

    color: #84909d;

    font-size: 13px;
}


.back-link:hover {

    color: #d4af37;
}


.small-message {

    text-align: center;

    margin-top: 12px;

    color: #df7777;

    font-size: 12px;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

    .screen {

        padding: 15px;
    }


    .privacy-card,
    .account-card,
    .login-card,
    .register-card {

        padding: 25px 19px;

        border-radius: 18px;
    }


    .form-grid {

        grid-template-columns: 1fr;
    }


    .social-register {

        grid-template-columns: 1fr;
    }


    .privacy-actions {

        grid-template-columns: 1fr;
    }


    .welcome-content {

        padding: 25px 15px;
    }

}


@media (max-width: 500px) {

    .brand-icon {

        width: 47px;
        height: 47px;
    }


    .brand h1 {

        font-size: 22px;
    }


    .privacy-card h2 {

        font-size: 24px;
    }


    .welcome-content > h1 {

        font-size: 30px;
    }


    .welcome-content > h2 {

        font-size: 22px;
    }


    .account-card > h2,
    .login-card > h2 {

        font-size: 24px;
    }

}
/* =====================================================
   SAKAN WATERMARK BACKGROUND
   يستخدم في شاشات البداية قبل الصفحة الرئيسية
===================================================== */

#welcomeScreen,
#accountScreen,
#newMemberScreen,
#existingMemberScreen {

    position: relative;

    overflow: hidden;

    /* Keep the seated man/woman background watermark. */
    background:
        linear-gradient(
            rgba(5, 14, 30, 0.90),
            rgba(5, 14, 30, 0.90)
        ),
        url("../assets/members.png")
        center center /
        cover
        no-repeat;
}


/* طبقة إضافية ناعمة حتى تبقى الواجهة واضحة */

#welcomeScreen::before,
#accountScreen::before,
#newMemberScreen::before,
#existingMemberScreen::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(20, 70, 150, 0.08),
            transparent 55%
        );

    pointer-events: none;

    z-index: 0;
}


/* محتوى الصفحات فوق الصورة */

#welcomeScreen > *,
#accountScreen > *,
#newMemberScreen > *,
#existingMemberScreen > * {

    position: relative;

    z-index: 1;
}


/* =====================================================
   WELCOME
===================================================== */

#welcomeScreen .welcome-container {

    background:
        transparent;

}


/* طبقة ترحيب ناعمة فوق المائية */

#welcomeScreen .welcome-overlay {

    background:
        linear-gradient(
            to bottom,
            rgba(2, 8, 18, 0.30),
            rgba(2, 8, 18, 0.68)
        );

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

    #welcomeScreen,
    #accountScreen,
    #newMemberScreen,
    #existingMemberScreen {

        background-position:
            center center;

        background-size:
            auto 100%;

    }

}
/* =====================================================
   OFFICIAL SAKAN LOGO
===================================================== */

.brand-icon {
    width: 72px;
    height: 72px;

    border-radius: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(212, 175, 55, 0.35);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25);

    flex-shrink: 0;
}


.brand-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* الشعار في شاشة الترحيب */

.welcome-brand .brand-icon {
    width: 82px;
    height: 82px;

    border-radius: 20px;
}


/* الهاتف */

@media (max-width: 500px) {

    .brand-icon {
        width: 62px;
        height: 62px;
    }

    .welcome-brand .brand-icon {
        width: 70px;
        height: 70px;
    }

}
