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

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;

    /* تدرج ثابت متداخل يعطي فخامة */
    background: linear-gradient(
        180deg,
        #FEFAEA 0%,
        #C3CEA1 30%,
        #606C38 55%,
        #8D7053 75%,
        #4D3D2D 100%
    );
    background-size: 100% 200%;
    animation: bgFlow 120s ease-in-out infinite;
}


/* ========================= */
/* الكارد */
/* ========================= */
.welcome-container {
    background: rgba(254, 250, 234, 0.22);
    backdrop-filter: blur(30px);
    border-radius: 32px;
    padding: 60px 80px;
    text-align: center;

    box-shadow:
        0 30px 70px rgba(77, 61, 45, 0.45),
        inset 0 0 30px rgba(254,250,234,0.12);

    animation: enter 1.4s ease;
    transition: transform 0.4s ease, box-shadow 0.4s ease;

    max-width: 480px;
    width: 90%;
}

/* Hover هادئ وفخم */
.welcome-container:hover {
    transform: translateY(-4px);
    box-shadow:
        0 40px 85px rgba(77, 61, 45, 0.55),
        inset 0 0 40px rgba(254,250,234,0.16);
}

@keyframes enter {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ========================= */
/* النصوص */
/* ========================= */
h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    color: #4D3D2D;
}

p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 45px;
    color: #4D3D2D;
}

/* ========================= */
/* الأزرار */
/* ========================= */
.buttons {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 46px;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #FEFAEA;

    background-size: 300% 300%;
    animation: btnFlow 10s ease infinite;

    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

@keyframes btnFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.signup {
    background-image: linear-gradient(
        45deg,
        #606C38,
        #8D7053,
        #4D3D2D,
        #606C38
    );
}

.login {
    background-image: linear-gradient(
        45deg,
        #C3CEA1,
        #606C38,
        #8D7053,
        #C3CEA1
    );
}

.btn:hover {
    transform: scale(1.04);
    box-shadow: 0 18px 42px rgba(77,61,45,0.55);
}

.btn:active {
    transform: scale(0.96);
}

/* ========================= */
/* Responsive */
/* ========================= */
@media (max-width: 768px) {
    .welcome-container {
        padding: 50px 40px;
        border-radius: 26px;
    }

    h1 { font-size: 2.4rem; }
    p  { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .welcome-container {
        padding: 40px 28px;
    }

    h1 { font-size: 2rem; }
    p  { font-size: 1.1rem; }

    .btn {
        width: 100%;
        padding: 16px;
    }
}
