@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-image: url('assets/galaxy_generated.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #06080f;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 1em;
    box-sizing: border-box;
}

.container {
    background: transparent;
    padding: 2em;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

/* ─── Header ─────────────────────────────────────────────────────────────── */

.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

h1 {
    margin: 0.5em 0 0.2em;
    color: #fff;
    font-size: 1.7em;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.2em;
    font-style: italic;
    font-weight: 400;
    font-size: 0.95em;
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0, 60, 120, 0.5);
}

.profile-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 1em;
    font-size: 0.83em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.profile-status {
    color: #fff;
    font-weight: 600;
    font-size: 0.83em;
    letter-spacing: 0.02em;
}

.profile-bio {
    font-style: normal;
    font-size: 0.92em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.8em;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(10, 20, 45, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 1.1em 1.5em;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ─── Séparateur étoilé ──────────────────────────────────────────────────── */

.star-divider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 2em;
}

.star-divider.bottom {
    margin-top: 1.6em;
    margin-bottom: 0;
}

.star-divider span {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff;
    animation: twinkle 10s infinite ease-in-out;
}

.star-divider span:nth-child(2)  { width: 3px;  height: 3px;  animation-delay: 0.3s; }
.star-divider span:nth-child(3)  { width: 6px;  height: 6px;  animation-delay: 0.6s; }
.star-divider span:nth-child(4)  { width: 3px;  height: 3px;  animation-delay: 0.1s; }
.star-divider span:nth-child(5)  { width: 5px;  height: 5px;  animation-delay: 1.1s; }
.star-divider span:nth-child(6)  { width: 2px;  height: 2px;  animation-delay: 0.8s; }
.star-divider span:nth-child(7)  { width: 7px;  height: 7px;  animation-delay: 0.4s; }
.star-divider span:nth-child(8)  { width: 3px;  height: 3px;  animation-delay: 1.5s; }
.star-divider span:nth-child(9)  { width: 5px;  height: 5px;  animation-delay: 0.2s; }
.star-divider span:nth-child(10) { width: 2px;  height: 2px;  animation-delay: 1.8s; }
.star-divider span:nth-child(11) { width: 4px;  height: 4px;  animation-delay: 0.9s; }
.star-divider span:nth-child(12) { width: 6px;  height: 6px;  animation-delay: 0.5s; }
.star-divider span:nth-child(13) { width: 3px;  height: 3px;  animation-delay: 1.2s; }
.star-divider span:nth-child(14) { width: 5px;  height: 5px;  animation-delay: 0.7s; }
.star-divider span:nth-child(15) { width: 2px;  height: 2px;  animation-delay: 2.0s; }

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1);   }
    50%       { opacity: 1;   transform: scale(1.4); }
}

/* ─── Listes globales ────────────────────────────────────────────────────── */

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

li {
    margin-bottom: 1em;
}

li a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 45, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: #fff;
    text-decoration: none;
    padding: 0.85em 1.4em;
    border-radius: 10px;
    font-size: 0.97em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

li a:hover {
    background: rgba(15, 35, 75, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(60, 120, 220, 0.2);
    transform: scale(1.02);
}

li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

/* ─── Accordéon — bouton de section ─────────────────────────────────────── */

.accordion {
    margin-bottom: 1.3em;
}

li.accordion {
    list-style: none;
    padding: 0;
    background: none;
}

.acc-btn {
    width: 100%;
    background: rgba(10, 20, 45, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 1.1em 1.6em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #fff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.acc-btn:hover {
    background: rgba(15, 35, 75, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 28px rgba(60, 120, 220, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.acc-btn.open {
    border-radius: 16px 16px 0 0;
    background: rgba(12, 28, 65, 0.55);
    border-color: rgba(255, 255, 255, 0.18);
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.acc-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.acc-icon {
    font-size: 20px;
    width: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.acc-title {
    font-size: 1.05em;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: left;
    color: #fff;
}

.acc-sub {
    font-size: 0.72em;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
    text-align: left;
    font-weight: 400;
}

.acc-chevron {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.acc-chevron.rotated {
    transform: rotate(180deg);
}

/* ─── Accordéon — contenu ────────────────────────────────────────────────── */

.acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.acc-content.show {
    max-height: 600px;
}

li.accordion .acc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(8, 16, 40, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: none;
    border-radius: 0 0 16px 16px;
}

li.accordion .acc-content.show {
    max-height: 600px;
}

.acc-content ul {
    list-style: none;
    padding: 0.7em 0.9em 0.9em;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.acc-content li {
    margin-bottom: 0;
}

.acc-content li a {
    background: rgba(10, 20, 45, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    padding: 0.85em 1.2em;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95em;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.acc-content li a:hover {
    background: rgba(15, 35, 75, 0.6);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 16px rgba(60, 120, 220, 0.18);
    transform: scale(1.02);
}

.acc-content li a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

/* ─── Expandable (outils) ────────────────────────────────────────────────── */

.expandable-container {
    background: rgba(10, 20, 45, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.3em 1em;
    margin-bottom: 0;
    text-align: center;
    transition: background 0.3s;
}

.expandable-container:hover {
    background: rgba(15, 35, 75, 0.6);
}

.expandable-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    padding: 0.75em 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.expandable-button span {
    display: flex;
    align-items: center;
}

.expandable-button span i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.chevron {
    position: absolute;
    right: 0;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.expandable-content.show {
    max-height: 200px;
}

.expandable-content p {
    font-style: normal;
    padding: 0.5em 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88em;
}

.expandable-content ul {
    padding-top: 0.5em;
    margin-bottom: 0.5em;
}

/* ─── Tooltip au survol ──────────────────────────────────────────────────── */

.link-tooltip {
    position: relative;
    overflow: hidden;
}

.link-tooltip .link-label,
.link-tooltip .link-desc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: opacity 0.4s ease;
}

.link-tooltip .link-desc {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    font-size: 0.88em;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-weight: 400;
}

.link-tooltip:hover .link-label {
    opacity: 0;
}

.link-tooltip:hover .link-desc {
    opacity: 1;
}

/* ─── Bandeau défilant ───────────────────────────────────────────────────── */

.ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: rgba(10, 20, 45, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.7em 0;
    margin-bottom: 2em;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-left 120s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 0.93em;
    font-weight: 400;
    color: #fff9e7;
    padding: 0 2.5em;
    text-shadow: 0 1px 6px rgba(200, 160, 60, 0.25);
    letter-spacing: 0.01em;
}

.ticker-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(245, 233, 200, 0.45);
    margin-left: 1.5em;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}