/* Import des polices et des icônes depuis les fichiers d'origine */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Imperial+Script&display=swap');

/* Définition des variables CSS pour le mode clair (par défaut) */
:root {
    --body-background-color: #FFFFFF;
    --text-color: #555;
    --heading-color: #333;
    --primary-color: #000;
    --secondary-color: #666;
    --card-background-color: #fff;
    --border-color-light: #eee;
}

/* Redéfinition des variables pour le mode sombre */
body.dark-mode {
    --body-background-color: #000000;
    --text-color: #E0F11F;
    --heading-color: #E0F11F;
    --primary-color: #E0F11F;
    --secondary-color: #E0F11F;
    --card-background-color: #1a1a1a;
    --border-color-light: #333;
}

body {
    background-color: var(--body-background-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: none;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Styles pour l'élément qui suit le curseur, repris des fichiers d'origine */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    width: 15px;
    height: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.05s linear, opacity 0.2s ease;
    filter: blur(0);
    opacity: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

body:hover .cursor-follower {
    opacity: 1;
}

/* Switch de thème (DA d'origine) */
.theme-switch-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: 0.4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: 0.4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #000;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.linktree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--card-background-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.5s ease;
}

.profile-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.main-title {
    font-size: 50px;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.main-title .first-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: -0.1em;
    transition: color 0.5s ease;
}

.main-title .last-name {
    font-family: 'Imperial Script', cursive;
    font-weight: normal;
    color: var(--secondary-color);
    font-size: 1.2em;
    transition: color 0.5s ease;
}

/* Style de la bio */
.bio {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--text-color);
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    padding: 0 20px;
    max-width: 600px;
    transition: color 0.5s ease;
}

.link-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.link-button {
    background-color: var(--card-background-color);
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 15px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.5s ease, color 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-button i {
    margin-right: 10px;
    font-size: 20px;
}

.link-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--heading-color);
}