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

@font-face {
    font-family: 'HACKED';
    src: url('fonts/HACKED.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --neon-yellow: #FDF500;
    --neon-blue: #1bf4ff;
    --neon-blue-darker: #0083cf;
    --neon-green: #00FF88;
    --neon-red: #FF3366;
    --bg-dark: #272932;
    --bg-darker: #1a1b23;
    --text-light: #e0e0e0;
    --text-dim: #a0a0a0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', monospace;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-width: none;    /* Firefox */
}
body::-webkit-scrollbar {
    display: none;
}

.fade-in, .transi-left, .hidden, .team-member, .sponsor-card, .info-card, .cta-button {
    will-change: transform, opacity;
}

/* Cyber Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;   /* ← plutôt que 100% */
    height: 100vh;  /* ← plutôt que 100% */
    background:
        linear-gradient(90deg, transparent 49%, var(--neon-blue) 50%, var(--neon-blue) 51%, transparent 52%),
        linear-gradient(transparent 49%, var(--neon-blue) 50%, var(--neon-blue) 51%, transparent 52%);
    background-size: 100px 100px;
    opacity: 0.03;
    z-index: -1;
    animation: gridMove 20s linear infinite;
    pointer-events: none; /* pour éviter qu’il capte les clics */
}