* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink: #EE5470;
    --orange: #FD924F;
    --blue: #73AABF;
    --peach: #F2B9AC;
    --white: #ffffff;
    --black: #323232;
}

body {
    font-family: 'Poppins', sans-serif;
    background: 
        linear-gradient(180deg, rgba(26, 10, 46, 0.7) 0%, rgba(22, 33, 62, 0.8) 50%, rgba(15, 52, 96, 0.85) 100%),
        url('../images/fond.png') center/cover no-repeat fixed;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(238, 84, 112, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(253, 146, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(115, 170, 191, 0.15) 0%, transparent 50%);
    z-index: 0;
    animation: ambientPulse 15s ease-in-out infinite;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(253, 146, 79, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(253, 146, 79, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.palm-trees {
    display: none;
}

.container {
    position: relative;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 1;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.profile-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.neon-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--pink), var(--orange), var(--blue), var(--peach));
    animation: rotateBorder 4s linear infinite;
    filter: blur(5px);
}

@keyframes rotateBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-image img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--black);
    z-index: 1;
}

.neon-text {
    font-size: 3em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(238, 84, 112, 0.5),
        0 0 20px rgba(253, 146, 79, 0.5),
        0 0 30px rgba(115, 170, 191, 0.5);
    animation: neonFlicker 3s ease-in-out infinite;
    margin-bottom: 15px;
}

@keyframes neonFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
    75% { opacity: 0.9; }
}

.subtitle {
    font-size: 1.2em;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    opacity: 0.9;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.link-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid var(--color);
    border-radius: 50px;
    color: var(--white);
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05),
        0 0 15px var(--color);
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button .icon {
    font-size: 1.5em;
    filter: drop-shadow(0 0 5px var(--color));
}

.link-button .text {
    position: relative;
    z-index: 1;
}

.link-button .glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
    z-index: 0;
}

.link-button:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--white);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    box-shadow: 
        0 0 40px var(--color),
        0 15px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.15);
}

.link-button:hover .glow {
    opacity: 0.2;
}

.link-button:active {
    transform: translateY(-2px) scale(0.98);
}

/* Neon Glow Effect */
.neon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(238, 84, 112, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes glowPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
}

.footer-text {
    font-size: 1.1em;
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .neon-text {
        font-size: 2em;
        letter-spacing: 3px;
    }

    .link-button {
        padding: 18px 25px;
        font-size: 1em;
    }

    .subtitle {
        font-size: 1em;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink), var(--orange));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--orange), var(--blue));
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-button {
    animation: fadeIn 0.6s ease forwards;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.link-button:nth-child(6) { animation-delay: 0.6s; }
.link-button:nth-child(7) { animation-delay: 0.7s; }
.link-button:nth-child(8) { animation-delay: 0.8s; }
