* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: center;
    text-align: center;
    font-family: sans-serif;
}

/* 🔥 typing fix */
.typing-container {
    display: inline-block;
    width: 140px;
}

#typing::after {
    content: "|";
    margin-left: 5px;
    animation: blink 1s infinite;
}


/* صورة */
img {
    height: 160px;
    width: 160px;
    border-radius: 50%;
    border: 3px solid white;
    transition: all 0.3s ease;
}

img:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* layout */
main {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
}

/* 🔥 buttons upgrade */
button {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 12px 18px;
    width: 90%;
    max-width: 350px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

/* animation دخول */
button.show {
    transform: translateY(0);
    opacity: 1;
}

/* hover */
button:hover {
    background: rgba(255,255,255,0.15);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

button:active {
    transform: scale(0.95);
}

footer {
    position: absolute;
    bottom: 10px;
    font-size: 14px;
    opacity: 0.7;
}
.socials {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.icon img {
    width: 22px;
    height: 22px;
    display: block;
    filter: brightness(0) invert(1);
}

.icon:hover {
    transform: scale(1.15);
    background: rgba(255,255,255,0.2);
}

/* 🔥 tooltip */
.tooltip {
    position: absolute;
    bottom: 50px;
    background: rgba(0,0,0,0.8);
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.icon:hover .tooltip {
    opacity: 1;
    transform: translateY(0);

}
.tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(0,0,0,0.8) transparent transparent transparent;
}
@keyframes blink {
    50% { opacity: 0; }
}