/* -------- Global Rules --------- */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --padding: 20px;
    --margin: 15px;
    --grad: linear-gradient(45deg, #450080, #c81670);
    --grad-revert: linear-gradient(45deg, #c81670, #450080);
}

/* -------- Body --------- */
body {
    background-image: var(--grad);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Inter", sans-serif;
    color: #f0f0f0; /* لون افتراضي أوضح */
}

/* -------- Card --------- */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 350px;
    padding: var(--padding);
    text-align: center;
    position: relative;
    z-index: 1000;
}

.content::after {
    content: "";
    filter: blur(6px);
    background-image: var(--grad-revert);
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    transition: .3s ease-in-out;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.content:hover::after {
    filter: blur(0);
}

/* -------- Text --------- */
.container h1 {
    margin-bottom: 7px;
    font-size: 1.6em;
    color: #ffffff;
}

.container p {
    color: #1fd2d8;
    font-weight: 700;
    font-size: 0.9em;
    margin-bottom: var(--margin);
}

.font-small {
    font-size: 0.95em;
    font-weight: 400;
    color: #e0e0e0;
    margin-bottom: 15px;
}

/* -------- Avatar --------- */
img {
    border-radius: 50%;
    width: 100px;
    margin-bottom: 25px;
    border: 3px solid #fff;
}

/* -------- Buttons --------- */
.btn {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    margin-top: 10px;
    padding: 13px 18px;
    background: #333;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #555;
}

/* -------- Responsive --------- */
@media (max-width: 400px) {
    .content {
        max-width: 90%;
        padding: 15px;
    }
    .container h1 {
        font-size: 1.4em;
    }
}
