* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #a855f7;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --bg-dark: #0a0a0f;
    --bg-darker: #05050a;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-dark);
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}



body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg,
            rgba(168, 85, 247, 0.2),
            rgba(139, 92, 246, 0.15),
            rgba(59, 130, 246, 0.18),
            rgba(236, 72, 153, 0.15));
    background-size: 400% 400%;
    animation: gradientWave 15s ease infinite;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 90% 70%, rgba(139, 92, 246, 0.35) 0%, transparent 50%);
    animation: morphBlobs 20s ease-in-out infinite;
    filter: blur(60px);
    opacity: 0.9;
    z-index: 0;
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 100%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes morphBlobs {

    0%,
    100% {
        transform: translate(0%, 0%) scale(1) rotate(0deg);
    }

    20% {
        transform: translate(10%, -8%) scale(1.1) rotate(72deg);
    }

    40% {
        transform: translate(-5%, 12%) scale(0.95) rotate(144deg);
    }

    60% {
        transform: translate(8%, -10%) scale(1.05) rotate(216deg);
    }

    80% {
        transform: translate(-12%, 5%) scale(1.08) rotate(288deg);
    }
}

.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary);
    animation: float 25s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) translateX(80px);
        opacity: 0;
    }
}

section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    z-index: 2;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1s forwards 0.5s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-content h1 .gradient-text {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.5));
    }

    to {
        filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.8));
    }
}

.typing-wrapper {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 30px;
    min-height: 80px;
}

.typing-text {
    background: linear-gradient(135deg, #a855f7, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientSlide 3s ease infinite;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.8));
}

@keyframes gradientSlide {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.typing-text::after {
    content: '|';
    margin-left: 8px;
    animation: blink 1s infinite;
    background: var(--primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes blink {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 25px;
}

.hero-slogan {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-slogan .slogan-line {
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
}

.hero-slogan span {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 35px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.4), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.6);
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.2));
}

.btn:hover::before {
    left: 100%;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s forwards 0.7s;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow:
        0 0 60px rgba(168, 85, 247, 0.5),
        inset 0 0 60px rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.profile-circle .profile-emoji {
    font-size: 8rem;
    filter: drop-shadow(0 0 20px var(--primary));
}

.profile-circle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(168, 85, 247, 0.4),
            transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.5s;
}

.profile-circle:hover::before {
    opacity: 1;
}

.profile-circle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 0 100px rgba(168, 85, 247, 0.8),
        inset 0 0 80px rgba(168, 85, 247, 0.2);
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.glass-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(139, 92, 246, 0.03));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 30px;
    padding: 40px;
    transition: all 0.4s;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(50px);
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-card:hover {
    transform: translateY(-10px) rotateY(5deg);
    border-color: var(--primary);
    box-shadow: 0 25px 60px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.05));
}

/* Prevent particles on profile picture */
.profile-circle * {
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: -0.02em;
}

.section-title.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(139, 92, 246, 0.03));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 25px;
    padding: 35px;
    cursor: pointer;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

/* --- NOUVEAUX STYLES POUR LES BADGES ET BOUTONS --- */
.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.status-open {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.status-soon {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.status-available {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.project-links {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.project-btn {
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* ------------------------------------------------ */

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.15), transparent);
    transition: left 0.6s;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.05));
}

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    cursor: pointer;
}

.project-modal.active {
    display: flex;
}

.project-modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(15, 15, 25, 0.95));
    backdrop-filter: blur(40px);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 30px;
    padding: 50px;
    max-width: 700px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    cursor: default;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.project-modal-content::-webkit-scrollbar {
    display: none;
}

.project-modal.active .project-modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.modal-close:hover {
    background: rgba(168, 85, 247, 0.4);
    transform: rotate(90deg);
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.modal-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    /* Hidden by default if no source */
}

.modal-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.modal-tech-stack h3,
.modal-features h3,
.modal-logo-title-container h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.modal-features {
    margin-top: 25px;
}

.modal-features ul {
    list-style: none;
    padding: 0;
}

.modal-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.modal-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.showcase-tab {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 20px 40px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.showcase-tab:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.showcase-tab.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.2));
    border-color: var(--primary);
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: scale(0.8);
    animation: popIn 0.5s ease forwards;
}

.tech-item:nth-child(1) {
    animation-delay: 0.1s;
}

.tech-item:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-item:nth-child(3) {
    animation-delay: 0.3s;
}

.tech-item:nth-child(4) {
    animation-delay: 0.4s;
}

.tech-item:nth-child(5) {
    animation-delay: 0.5s;
}

.tech-item:nth-child(6) {
    animation-delay: 0.6s;
}

.tech-item:nth-child(7) {
    animation-delay: 0.7s;
}

.tech-item:nth-child(8) {
    animation-delay: 0.8s;
}

.tech-item:nth-child(9) {
    animation-delay: 0.9s;
}

.tech-item:nth-child(10) {
    animation-delay: 1s;
}

.tech-item:nth-child(11) {
    animation-delay: 1.1s;
}

.tech-item:nth-child(12) {
    animation-delay: 1.2s;
}

.tech-item:nth-child(13) {
    animation-delay: 1.3s;
}

.tech-item:nth-child(14) {
    animation-delay: 1.4s;
}

.tech-item:nth-child(15) {
    animation-delay: 1.5s;
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tech-icon-dark {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    cursor: pointer;
}

.tech-icon-dark:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.5);
    border-color: var(--primary);
}

.tech-item p {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tech-tag {
    padding: 8px 18px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    transition: all 0.3s;
}

.tech-tag:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.2));
    transform: translateY(-2px);
}

.project-card .icon,
.glass-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 0 20px var(--primary));
}

.project-card h3,
.glass-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-card p,
.glass-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
}

.stats-bar {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.05));
    backdrop-filter: blur(30px);
    border-top: 2px solid rgba(168, 85, 247, 0.3);
    padding: 60px 20px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.1), transparent);
    animation: statsShine 3s infinite;
}

@keyframes statsShine {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.5));
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 0 15px var(--primary));
    animation: floatIcon 3s ease-in-out infinite;
}

.stat-item:nth-child(1) .stat-icon {
    animation-delay: 0s;
}

.stat-item:nth-child(2) .stat-icon {
    animation-delay: 0.5s;
}

.stat-item:nth-child(3) .stat-icon {
    animation-delay: 1s;
}

.stat-item:nth-child(4) .stat-icon {
    animation-delay: 1.5s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

footer {
    background: transparent;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .profile-circle {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }

    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.reviews-section {
    padding: 100px 0;
    overflow: hidden;
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.reviews-container {
    max-width: 100%;
    position: relative;
}

.reviews-slider {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    animation: slideReviews 40s linear infinite;
    width: max-content;
}

.reviews-slider:hover {
    animation-play-state: paused;
}

@keyframes slideReviews {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.review-card {
    width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
    z-index: 2;
}

.reviews-slider:has(.review-card:hover) .review-card:not(:hover) {
    filter: blur(8px) grayscale(0.8);
    opacity: 0.3;
    transform: scale(0.9);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.review-info h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.review-info p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
}

.review-rating {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.review-content {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-style: italic;
}

.music-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3), rgba(139, 92, 246, 0.2));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(168, 85, 247, 0.5);
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4);
}

.music-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.6);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.4), rgba(139, 92, 246, 0.3));
}

.music-toggle-btn.playing {
    animation: musicPulse 2s infinite;
}

@keyframes musicPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}