:root {
    --cyan: #00d4ff;
    --cyan-light: #4de8ff;
    --cyan-dark: #0099cc;
    --dark: #0a0a0a;
    --darker: #050505;
    --gray: #1a1a1a;
    --gray-light: #2a2a2a;
    --text: #ffffff;
    --text-dim: #b0b0b0;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 212, 255, 0.02) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}


@keyframes backgroundFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(10px) rotate(-1deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-5px) rotate(0.5deg);
        opacity: 0.6;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--cyan);
}

/* Neon Text Effect avec animations */
.neon-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--text);
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.4);
    letter-spacing: 2px;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

.neon-accent {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--cyan);
    text-shadow: 
        0 0 10px rgba(0, 212, 255, 1),
        0 0 20px rgba(0, 212, 255, 0.8),
        0 0 40px rgba(0, 212, 255, 0.6);
    letter-spacing: 2px;
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 10px rgba(0, 212, 255, 0.8),
            0 0 20px rgba(0, 212, 255, 0.6),
            0 0 30px rgba(0, 212, 255, 0.4);
    }
    to {
        text-shadow: 
            0 0 15px rgba(0, 212, 255, 1),
            0 0 30px rgba(0, 212, 255, 0.8),
            0 0 45px rgba(0, 212, 255, 0.6);
    }
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(0, 212, 255, 1),
            0 0 20px rgba(0, 212, 255, 0.8),
            0 0 40px rgba(0, 212, 255, 0.6);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(0, 212, 255, 1),
            0 0 40px rgba(0, 212, 255, 0.9),
            0 0 60px rgba(0, 212, 255, 0.7),
            0 0 80px rgba(0, 212, 255, 0.5);
    }
}

/* Neon Button avec animations */
.neon-button {
    background: transparent;
    color: var(--cyan);
    padding: 8px 20px;
    border: 2px solid var(--cyan);
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
    animation: neonButtonGlow 4s ease-in-out infinite;
}

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

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

.neon-button:hover {
    color: var(--dark);
    background: var(--cyan);
    box-shadow: 
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        inset 0 0 10px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

@keyframes neonButtonGlow {
    0%, 100% {
        border-color: var(--cyan);
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    50% {
        border-color: var(--cyan-light);
        box-shadow: 
            0 0 15px rgba(0, 212, 255, 0.6),
            0 0 30px rgba(0, 212, 255, 0.3);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--cyan);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%),
        url('https://i.pinimg.com/1200x/65/17/60/6517605f120f04db1292c37da63b7460.jpg') center/cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.03) 2px,
            rgba(0, 212, 255, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.hero-logo {
    width: 150px;
    height: auto;
    position: relative;
    z-index: 2;
}

.neon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulse 2s ease-in-out infinite;
}

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

/* Éléments décoratifs GTA */
.hero-decoration, .section-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.3;
    border-radius: 10px;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
    transition: all 0.3s ease;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.floating-element::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 212, 255, 0.1) 100%);
    border-radius: 10px;
    pointer-events: none;
}

.floating-element:hover {
    opacity: 0.6;
    filter: drop-shadow(0 0 25px rgba(0, 212, 255, 0.5));
}

/* Positionnement des éléments Hero */
.car-1 {
    top: 15%;
    right: 10%;
    width: 300px;
    animation: floatRight 8s ease-in-out infinite;
}

.building-1 {
    bottom: 20%;
    left: 5%;
    width: 250px;
    animation: floatLeft 10s ease-in-out infinite reverse;
}

/* Positionnement des éléments Server */
.police-car {
    top: 20%;
    left: 8%;
    width: 200px;
    animation: floatLeft 12s ease-in-out infinite;
}

.character-1 {
    bottom: 15%;
    right: 8%;
    width: 180px;
    animation: floatRight 9s ease-in-out infinite reverse;
}

/* Positionnement des éléments Join */
.motorcycle-1 {
    top: 25%;
    right: 12%;
    width: 220px;
    animation: floatRight 11s ease-in-out infinite;
}

.skyline-1 {
    bottom: 25%;
    left: 10%;
    width: 190px;
    animation: floatLeft 7s ease-in-out infinite reverse;
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) translateX(5px) rotate(1deg);
    }
    50% {
        transform: translateY(5px) translateX(-3px) rotate(-0.5deg);
    }
    75% {
        transform: translateY(-5px) translateX(8px) rotate(0.5deg);
    }
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) translateX(-5px) rotate(-1deg);
    }
    50% {
        transform: translateY(8px) translateX(3px) rotate(0.5deg);
    }
    75% {
        transform: translateY(-3px) translateX(-8px) rotate(-0.5deg);
    }
}

.hero-title {
    font-size: 72px;
    margin-bottom: 10px;
}

.hero-title .neon-text {
    font-size: 72px;
}

.hero-title .neon-accent {
    font-size: 72px;
}

.hero-subtitle {
    color: var(--text-dim);
    font-size: 18px;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* IP Box */
.ip-container {
    display: inline-block;
}

.ip-box {
    background: var(--gray);
    border: 2px solid var(--cyan);
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ip-box:hover {
    background: var(--gray-light);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.5),
        inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.ip-label {
    color: var(--text-dim);
    font-weight: 600;
}

.ip-value {
    color: var(--cyan);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 2px;
}

.copy-icon {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.ip-box:hover .copy-icon {
    opacity: 1;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

/* Server Section avec animations */
.server-section {
    background: 
        linear-gradient(rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.9)),
        url('https://i.pinimg.com/736x/39/70/91/397091e75295bb6bb00469102c9f27c3.jpg') center/cover;
    position: relative;
    overflow: hidden;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.8s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    border-color: var(--cyan);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.2),
        0 0 20px rgba(0, 212, 255, 0.3);
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.info-icon {
    font-size: 36px;
    margin-bottom: 15px;
    animation: iconBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    animation-duration: 1s;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
    transform: scale(1.1);
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.info-card h3 {
    color: var(--text-dim);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-value {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: var(--cyan);
    letter-spacing: 2px;
}

.status-online {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Rules Section */
.rules-section {
    background: 
        linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)),
        url('https://i.pinimg.com/1200x/05/b1/de/05b1de299c79fd87f705632ed6386708.jpg') center/cover;
    position: relative;
}

.rules-intro {
    margin-bottom: 40px;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rule-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--cyan);
    font-weight: 600;
}

.rule-item {
    background: var(--gray);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--cyan);
    transition: all 0.3s;
}

.rule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.1);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.rule-number {
    background: var(--cyan);
    color: var(--dark);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.rule-header h4 {
    font-size: 20px;
    color: var(--text);
}

.rule-item p {
    color: var(--text-dim);
    margin-bottom: 10px;
    line-height: 1.8;
}

.rule-example,
.rule-recommendation,
.rule-warning,
.rule-note {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.rule-example {
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid var(--cyan);
    color: var(--cyan-light);
}

.rule-recommendation {
    background: rgba(76, 175, 80, 0.1);
    border-left: 3px solid #4caf50;
    color: #81c784;
}

.rule-warning {
    background: rgba(255, 152, 0, 0.1);
    border-left: 3px solid #ff9800;
    color: #ffb74d;
}

.rule-note {
    background: rgba(156, 39, 176, 0.1);
    border-left: 3px solid #9c27b0;
    color: #ba68c8;
}

/* Join Section */
.join-section {
    background: 
        linear-gradient(180deg, rgba(26, 26, 26, 0.9) 0%, rgba(5, 5, 5, 0.9) 100%),
        url('https://i.pinimg.com/736x/f2/37/e0/f237e01790fde3e68fb87472d5b37bc6.jpg') center/cover;
    position: relative;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.join-card {
    background: var(--dark);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.join-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--cyan);
    letter-spacing: 2px;
}

.join-card p {
    color: var(--text-dim);
    margin-bottom: 30px;
}

.ip-display {
    background: var(--gray);
    padding: 15px;
    border-radius: 8px;
    border: 2px solid var(--cyan);
    cursor: pointer;
    transition: all 0.3s;
}

.ip-display:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.ip-display code {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    color: var(--cyan);
    letter-spacing: 2px;
}

.copy-hint {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 5px;
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 40px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    opacity: 0.7;
}

.footer p {
    color: var(--text-dim);
    font-size: 14px;
}

/* Notification */
.notification {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gray);
    color: var(--cyan);
    padding: 15px 30px;
    border-radius: 8px;
    border: 2px solid var(--cyan);
    font-weight: 600;
    transition: bottom 0.3s ease;
    z-index: 1001;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.notification.show {
    bottom: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-title .neon-text,
    .hero-title .neon-accent {
        font-size: 48px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .info-grid,
    .join-grid {
        grid-template-columns: 1fr;
    }
    
    .rule-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Éléments décoratifs responsive */
    .floating-element {
        opacity: 0.2;
        width: 60% !important;
        max-width: 150px;
    }
    
    .car-1, .motorcycle-1 {
        top: 10%;
        right: 5%;
    }
    
    .building-1, .skyline-1 {
        bottom: 10%;
        left: 5%;
    }
    
    .police-car {
        top: 15%;
        left: 5%;
    }
    
    .character-1 {
        bottom: 10%;
        right: 5%;
    }
    
    .hero-decoration, .section-decoration {
        display: none; /* Masquer sur très petits écrans si nécessaire */
    }
}

@media (max-width: 480px) {
    .hero-decoration, .section-decoration {
        display: none;
    }
}