:root {

    --bg-color: #07090e;

    --card-bg: rgba(18, 24, 38, 0.65);

    --card-hover: rgba(28, 37, 56, 0.85);

    --text-color: #f8fafc;

    --text-muted: #94a3b8;

    --accent-color: #6366f1;

    --accent-glow: rgba(99, 102, 241, 0.35);

    --border-color: rgba(255, 255, 255, 0.08);

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;

}



body {


    background-color: var(--bg-color);

    color: var(--text-color);

    min-height: 100vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    overflow-x: hidden;

    position: relative;

    padding: 2rem 1rem;

}



.banner-bg {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 280px;

    object-fit: cover;

    z-index: -1;

    filter: blur(8px) brightness(0.6);

    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 30%, rgba(0,0,0,0));

}



.profile-card {

    width: 100%;

    max-width: 480px;

    background: var(--card-bg);

    backdrop-filter: blur(16px);

    -webkit-backdrop-filter: blur(16px);

    border: 1px solid var(--border-color);

    border-radius: 24px;

    padding: 2.5rem 2rem;

    text-align: center;

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);

    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);

}



.avatar-container {

    position: relative;

    width: 110px;

    height: 110px;

    margin: -70px auto 1.25rem auto;

}



.avatar {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    border: 4px solid var(--bg-color);

    box-shadow: 0 8px 20px rgba(0,0,0,0.4);

}



.username {

    font-size: 1.75rem;

    font-weight: 800;

    margin-bottom: 0.5rem;

    background: linear-gradient(135deg, #ffffff, #94a3b8);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

}



.bio {

    color: var(--text-muted);

    font-size: 0.95rem;

    margin-bottom: 2rem;

    line-height: 1.5;

}



.links-list {

    display: flex;

    flex-direction: column;

    gap: 1rem;

    margin-bottom: 2rem;

}



.link-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.75rem;

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

    border: 1px solid var(--border-color);

    color: var(--text-color);

    padding: 0.9rem 1.2rem;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 600;

    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

}



.link-btn:hover {

    background: var(--card-hover);

    border-color: var(--accent-color);

    transform: translateY(-3px);

    box-shadow: 0 8px 25px var(--accent-glow);

    color: white;

}



.socials {

    display: flex;

    justify-content: center;

    gap: 1.25rem;

    margin-top: 1.5rem;

}



.social-icon {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

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

    border: 1px solid var(--border-color);

    border-radius: 12px;

    color: var(--text-color);

    text-decoration: none;

    transition: all 0.3s ease;

}



.social-icon:hover {

    background: var(--accent-color);

    border-color: var(--accent-color);

    transform: translateY(-2px);

    box-shadow: 0 0 15px var(--accent-glow);

}



.admin-link-floating {

    position: fixed;

    bottom: 1.5rem;

    right: 1.5rem;

    background: rgba(15, 23, 42, 0.8);

    backdrop-filter: blur(8px);

    border: 1px solid var(--border-color);

    color: var(--text-muted);

    padding: 0.6rem 1rem;

    border-radius: 10px;

    text-decoration: none;

    font-size: 0.85rem;

    font-weight: 600;

    transition: all 0.2s;

}



.admin-link-floating:hover {

    color: white;

    border-color: var(--accent-color);

}



@keyframes fadeIn {

    from { opacity: 0; transform: translateY(15px); }

    to { opacity: 1; transform: translateY(0); }

}



/* Styles pour le panel admin */

.admin-panel {

    width: 100%;

    max-width: 600px;

    background: var(--card-bg);

    border: 1px solid var(--border-color);

    border-radius: 20px;

    padding: 2.5rem;

    margin-top: 2rem;

    text-align: left;

}



.form-group {

    margin-bottom: 1.25rem;

}



.form-group label {

    display: block;

    margin-bottom: 0.5rem;

    color: var(--text-muted);

    font-size: 0.9rem;

}



.form-control {

    width: 100%;

    padding: 0.8rem 1rem;

    background: rgba(7, 9, 14, 0.6);

    border: 1px solid var(--border-color);

    color: var(--text-color);

    border-radius: 10px;

    outline: none;

}



.form-control:focus {

    border-color: var(--accent-color);

}



.btn {

    background: var(--accent-color);

    color: white;

    border: none;

    padding: 0.8rem 1.5rem;

    border-radius: 10px;

    font-weight: bold;

    cursor: pointer;

    transition: background 0.2s;

}



.btn:hover {

    background: #4f46e5;

}