
:root {
    --bg: #090b1a;
    --text: #f7f7ff;
    --muted: #a4a9c5;
    --glass: rgba(255, 255, 255, 0.055);
    --border: rgba(255, 255, 255, 0.10);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding: 30px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(ellipse at top, #171536 0%, transparent 55%),
        var(--bg);
    color: var(--text);
    font-family: "Noto Sans Arabic", "Poppins", sans-serif;
}

body[dir="ltr"] {
    font-family: "Poppins", "Noto Sans Arabic", sans-serif;
}

.background-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.glow-one {
    top: 5%;
    left: -100px;
    background: #7955ff;
}

.glow-two {
    bottom: 5%;
    right: -100px;
    background: #00c8ff;
}

.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 470px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: rgba(15, 17, 37, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 90px rgba(0, 0, 0, 0.35);
    animation: appear 0.8s ease both;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 42px;
}

.brand {
    direction: ltr;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 1px;
}

.brand-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a78bfa;
    box-shadow: 0 0 13px #a78bfa;
}

.brand-light {
    color: #8f91b4;
    font-weight: 400;
}

.language-box {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.language-icon {
    font-size: 15px;
}

.language-box select {
    width: 125px;
    max-width: 100%;
    border: none;
    outline: none;
    color: #eeeaff;
    background: transparent;
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.language-box select option {
    background: #15152c;
    color: white;
}

.profile {
    text-align: center;
}

.avatar-wrap {
    position: relative;
    width: 108px;
    height: 108px;
    margin: 0 auto 23px;
    padding: 5px;
    border-radius: 35px;
    background: linear-gradient(135deg, #9b7bff, #35d7ff, #9b7bff);
    box-shadow: 0 0 38px rgba(126, 101, 255, 0.22);
    animation: float 4s ease-in-out infinite;
}

.avatar {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border: 3px solid #17152f;
    border-radius: 31px;
    background: linear-gradient(145deg, #292453, #10172f);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 53px;
    font-weight: 800;
}

.online-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 19px;
    height: 19px;
    border: 4px solid #15152b;
    border-radius: 50%;
    background: #42e89b;
}

.profile-tag {
    display: inline-block;
    padding: 6px 13px;
    margin-bottom: 12px;
    border: 1px solid rgba(167, 139, 250, 0.2);
    border-radius: 30px;
    background: rgba(139, 92, 246, 0.09);
    color: #c6b5ff;
    font-size: 11px;
}

.profile h1 {
    direction: ltr;
    font-family: "Poppins", sans-serif;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 5px;
    line-height: 1.4;
}

.name-dot {
    color: #a78bfa;
}

.welcome {
    margin-top: 9px;
    font-size: 16px;
    font-weight: 700;
}

.description {
    max-width: 340px;
    margin: 10px auto 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 2;
}

.mini-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 24px 0 28px;
}

.mini-divider span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8d78f8;
}

.mini-divider span:nth-child(2) {
    width: 23px;
    border-radius: 5px;
    background: linear-gradient(90deg, #8d78f8, #36d5ff);
}

.social-section h2 {
    font-size: 15px;
    font-weight: 700;
}

.social-subtitle {
    margin-top: 5px;
    margin-bottom: 17px;
    color: var(--muted);
    font-size: 11px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.social {
    --accent: #ffffff;
    direction: ltr;
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 12px 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--glass);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.social::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: var(--accent);
    opacity: 0.8;
    transition: width 0.25s ease;
}

.social:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: color-mix(in srgb, var(--accent) 9%, #15162c);
    box-shadow: 0 8px 30px color-mix(in srgb, var(--accent) 12%, transparent);
}

.social:hover::before {
    width: 5px;
}

.social-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    font-size: 24px;
    transition: transform 0.25s ease;
}

.social:hover .social-icon {
    transform: scale(1.08) rotate(-5deg);
}

.social-info {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.social-info strong {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.social-info small {
    color: var(--muted);
    font-family: "Noto Sans Arabic", "Poppins", sans-serif;
    font-size: 10px;
    line-height: 1.7;
}

.arrow {
    color: var(--accent);
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    transition: transform 0.25s ease;
}

.social:hover .arrow {
    transform: translate(2px, -2px);
}

.discord {
    --accent: #7289ff;
}

.tiktok {
    --accent: #ff6eaa;
}

.snapchat {
    --accent: #ffe45c;
}

.telegram {
    --accent: #35c7ff;
}

footer {
    margin-top: 30px;
    text-align: center;
}

.footer-line {
    height: 1px;
    margin-bottom: 18px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(167, 139, 250, 0.4),
        transparent
    );
}

footer p {
    color: #a5a3c2;
    font-size: 10px;
    line-height: 2.2;
}

footer .copyright {
    margin-top: 5px;
    color: #686a89;
    font-family: "Poppins", "Noto Sans Arabic", sans-serif;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 420px) {
    body {
        padding: 18px 12px;
    }

    .container {
        padding: 20px 16px;
        border-radius: 25px;
    }

    .top-bar {
        margin-bottom: 35px;
    }

    .profile h1 {
        font-size: 36px;
    }

    .language-box select {
        width: 112px;
        font-size: 10px;
    }

    .social {
        min-height: 70px;
        padding: 10px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
