/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff00ff; /* Rose néon */
    --primary-glow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    --secondary-color: #000000; /* Noir */
    --accent-color: #00ffff; /* Cyan néon */
    --accent-glow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    --light-color: #111111; /* Gris très foncé */
    --dark-color: #ffffff; /* Blanc */
    --gray-color: #aaaaaa;
    --success-color: #00ff00; /* Vert néon */
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    --shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--secondary-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 20%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.7);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    box-shadow: var(--primary-glow);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::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: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: var(--primary-glow);
}

.btn-primary:hover {
    background-color: #ff33ff;
    transform: translateY(-3px);
    box-shadow: 0 0 15px var(--primary-color), 0 0 25px var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: var(--primary-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Navigation */
#navbar {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.logo span {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background: linear-gradient(135deg, #000000 0%, #1a001a 50%, #000033 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.hero-title span {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

.hero-subtitle span {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 10px var(--primary-color);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 
        0 0 30px var(--primary-color),
        inset 0 0 30px rgba(255, 0, 255, 0.3);
    border: 5px solid var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tech-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--primary-glow);
    font-weight: 600;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-shadow: 0 0 10px var(--primary-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-container {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-text {
    flex: 2;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #cccccc;
}

.about-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    text-shadow: 0 0 10px var(--primary-color);
}

.detail-item h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.detail-item p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px var(--primary-color);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}

.stat-label {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Skills Section */
.skills {
    background-color: rgba(0, 0, 0, 0.7);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.skill-category h3 i {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.skill-item {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-info span:first-child {
    font-weight: 500;
    color: #dddddd;
}

.skill-info span:last-child {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 5px var(--primary-color);
}

.skill-bar {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #ff66ff);
    border-radius: 5px;
    width: 0;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 0, 255, 0.3);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: #dddddd;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
    box-shadow: var(--primary-glow);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--primary-color);
    border-color: var(--primary-color);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: var(--secondary-color);
    font-size: 1.5rem;
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--primary-glow);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.project-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.project-tech span {
    background-color: rgba(255, 0, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.project-details {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.project-details:hover {
    gap: 10px;
    text-shadow: 0 0 10px var(--primary-color);
}

.carousel {
    position: relative;
}

.carousel-inner {
    display: flex;
    overflow: hidden;
    height: 50vh;
    flex-wrap: nowrap;
}

.slide {
    flex: 0 0 100%;
    height: 100%;
    transition: 0.1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-controls {
    position: absolute;
    z-index: 5;
    left: 10%;
    right: 10%;
    top: 50%;
    display: flex;
    justify-content: space-between;
}

.carousel-controls button {
    padding: 10px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: var(--secondary-color);
    font-weight: bold;
    transition: var(--transition);
    width: 80px;
    height: 40px;
}

.carousel-controls button:hover {
    box-shadow: var(--primary-glow);
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    background-color: rgba(255, 0, 255, 0.3);
}

.carousel-dots .dot.active {
    background-color: var(--primary-color);
    box-shadow: var(--primary-glow);
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.carousel-dots .dot.inactive {
    background-color: rgba(255, 0, 255, 0.3);
}

/* Veille Section SIMPLIFIÉE */
.veille-simple {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 50px;
    margin-top: 40px;
    border: 2px solid rgba(255, 0, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.veille-pdf {
    margin-bottom: 40px;
}

.veille-pdf i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 15px var(--primary-color);
}

.veille-pdf h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.veille-pdf p {
    color: var(--gray-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    max-width: 600px;
}

.veille-pdf .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.veille-info {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.veille-themes {
    width: 100%;
    max-width: 700px;
}

.veille-themes h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.veille-themes ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.veille-themes li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #dddddd;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.veille-themes li:hover {
    background-color: rgba(255, 0, 255, 0.1);
    transform: translateX(5px);
}

.veille-themes i {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 40px;
    justify-items: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
    text-align: center;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
    justify-content: center;
}

.contact-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 5px;
    text-shadow: 0 0 10px var(--primary-color);
}

.contact-item h4 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--gray-color);
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255, 0, 255, 0.3);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--primary-glow);
    text-shadow: none;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255, 0, 255, 0.3);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--dark-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.footer-logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-logo span {
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color);
}

.footer p {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin: 0 10px;
    transition: var(--transition);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-copyright {
    font-size: 0.9rem;
    color: #95a5a6;
}

/* STYLES DU JEU DE MÉMOIRE - CONTENU DE STYLE2.CSS */

.game-container {
    width: 100%;
    height: 100%;
    padding: 120px;
    font-size: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#niveau {
    font-size: 2rem;
    margin-bottom: 20px;
}

.game-title {
    font-size: 4rem;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: 5px;
    animation: glow 1.5s infinite alternate;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    }
    100% {
        text-shadow: 0 0 20px #ff00ff, 0 0 30px #ff00ff, 0 0 40px #ff00ff;
    }
}

#grille {
    display: grid;
    grid-template-columns: repeat(4, 215px);
    grid-gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.carte {
    width: 200px;
    height: 200px;
    background-color: #111111;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    transition: var(--transition);
}

.carte:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px #00ffff, 0 0 25px #00ffff, 0 0 35px #00ffff;
}

.carte.retournee {
    background-color: #ffffff;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    font-size: 150px;
}

.carte.paire-trouvee {
    background-color: #00ff00;
    color: #000000;
    box-shadow: 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00, 0 0 25px #00ff00;
}

.message-fin {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.message-fin.active {
    opacity: 1;
    pointer-events: all;
}

#message-victoire {
    font-size: 3rem;
    margin-bottom: 20px;
}

#details {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

#nouvelle-partie {
    background-color: #ff00ff;
    color: #000000;
    padding: 10px 20px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 10px #ff00ff;
    transition: var(--transition);
}

#nouvelle-partie:hover {
    background-color: #ff33ff;
    box-shadow: 0 0 15px #ff00ff, 0 0 25px #ff00ff;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .carousel-slide img {
        height: 400px;
    }
    
    .veille-simple {
        padding: 30px;
    }
    
    .game-container {
        padding: 60px;
    }
    
    #grille {
        grid-template-columns: repeat(3, 150px);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        padding: 20px 0;
        z-index: 999;
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 0, 255, 0.3);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .about-details {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        gap: 30px;
    }
    
    .carousel-slide img {
        height: 300px;
    }
    
    .slide-caption {
        padding: 15px;
    }
    
    .slide-caption h3 {
        font-size: 1.4rem;
    }
    
    .slide-caption p {
        font-size: 1rem;
    }
    
    .veille-themes ul {
        grid-template-columns: 1fr;
    }
    
    .game-container {
        padding: 40px;
    }
    
    #grille {
        grid-template-columns: repeat(2, 120px);
    }
    
    .carte {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-wrapper {
        width: 280px;
        height: 280px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .carousel-slide img {
        height: 250px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .veille-simple {
        padding: 20px;
    }
    
    .veille-pdf i {
        font-size: 3rem;
    }
    
    .veille-pdf h3 {
        font-size: 1.5rem;
    }
    
    .game-container {
        padding: 20px;
    }
    
    #grille {
        grid-template-columns: repeat(2, 80px);
    }
    
    .carte {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
}

#email {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

#email:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

#email:visited {
    color: var(--success-color);
    text-shadow: 0 0 5px var(--success-color);
}

#phone {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

#phone:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

#phone:visited {
    color: var(--success-color);
    text-shadow: 0 0 5px var(--success-color);
}

#telech {
    color: #000000;
}

.tableauCNIL {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    margin-top: 20px;
}

.tableauCNIL img {
    height: 40em;
    width: 60em;
    object-fit: cover;
}

#anssi {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#anssi img {
    margin-top: 20px;
}

video {
    max-width: 50em;
    height: auto;
}

#vid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-color);
}

.event {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 50px 0;
}

.event::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 40px;
    z-index: 2;
    box-shadow: 0 0 10px var(--primary-color);
}

.content {
    width: 45%;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(5px);
}

.date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(255, 0, 255, 0.5);
}

.image {
    width: 45%;
    text-align: center;
}

.image img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.event:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }

    .event {
        flex-direction: column;
        margin-left: 40px;
    }

    .event::before {
        left: 20px;
    }

    .content,
    .image {
        width: 100%;
        margin-bottom: 20px;
    }
}

#onetip {
    min-height: 100vh;          /* hauteur totale de l’écran */
    display: flex;
    justify-content: center;    /* centre horizontal */
    align-items: center;        /* centre vertical */
}
.feed-block {
    margin-bottom: 25px;
    padding: 10px;
    border: 3px solid #ffffff;
    border-radius: 5px;
    background-color:rgba(255, 0, 255, 0.5);
}

.feed-block h4 {
    margin-bottom: 10px;
    color: #000000;
    text-decoration: underline;
    font-size: large;
    background-color: rgba(255, 0, 255, 0.5);
}

.feed-items div {
    border-top: 1px solid #eee;
    padding: 8px 0;
}

.feed-items div:first-child {
    border-top: none;
}

.feed-items a {
    color: #ffffff;
    text-decoration: none;
}

.feed-items a:hover {
    background-color: rgba(255, 0, 255, 0.5);
 
}

.feed-items p {
    margin: 3px 0;
    font-size: 0.9rem;
    color: #ff00ff;
}