@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,700;0,800;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #020617;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.bg-grid {
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 32px 32px;
}

.glass {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -0.05em;
    display: flex;
    gap: 0.2rem;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }
}

.logo-french {
    color: #ef4444;
}

.logo-life {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.logo-rp {
    color: #3b82f6;
}

.text-glow {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.7);
}

.nav-active {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.gradient-border {
    position: relative;
    border: double 3px transparent;
    border-radius: 16px;
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
        linear-gradient(45deg, #3b82f6, #ef4444, #10b981);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.glitch {
    position: relative;
    animation: glitch 5s infinite;
}

@keyframes glitch {

    0%,
    100% {
        transform: translate(0);
    }

    1%,
    3% {
        transform: translate(-2px, 2px);
    }

    2%,
    4% {
        transform: translate(2px, -2px);
    }

    5% {
        transform: translate(0);
    }
}

.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    backface-visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(15, 23, 42, 0.9));
}

.stats-counter {
    font-variant-numeric: tabular-nums;
}

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #1e293b;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1e293b;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

.typewriter {
    overflow: hidden;
    border-right: 3px solid white;
    white-space: nowrap;
    width: 0;
    animation: typewriter 3.5s steps(40) 1s forwards, blink 0.75s step-end infinite;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 2s ease-in-out;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll;
    }
}
