/* Importation des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400&display=swap');

:root {
    --primary-color: #00bcd4; /* Cyan clair, évoque énergie/lumière */
    --secondary-color: #ff00ff; /* Magenta, pour le côté Pink Floyd */
    --text-color: #e0e0e0;
    --bg-dark: #1a1a2e;
    --card-bg: rgba(25, 25, 45, 0.9); /* Fond semi-transparent pour le contenu */
    --border-color: rgba(0, 188, 212, 0.5); /* Bordure légère */
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: url('background.jpg'); /* Remplacez par l'URL de l'image ci-dessus */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* L'image de fond reste fixe au défilement */
}

.container {
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7); /* Surcouche sombre pour la lisibilité */
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px); /* Effet de flou sur l'arrière-plan */
    border: 1px solid var(--border-color);
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5em;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--primary-color), 0 0 25px rgba(0, 188, 212, 0.6);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

header .subtitle {
    font-size: 1.2em;
    color: var(--text-color);
    opacity: 0.8;
}

main {
    padding: 20px 0;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1em;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
}

.icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.icon {
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.7));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icon:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

/* Icônes spécifiques (simples CSS pour l'exemple) */
.light-saber {
    background-color: var(--primary-color);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L11 8H13L12 2ZM10 9L9 15H15L14 9ZM8 16L7 22H17L16 16Z" /></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L11 8H13L12 2ZM10 9L9 15H15L14 9ZM8 16L7 22H17L16 16Z" /></svg>') no-repeat center / contain;
}
.prism {
    background-color: var(--secondary-color);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L1 12L12 22L23 12L12 2ZM12 4.47L20.43 12L12 19.53L3.57 12L12 4.47Z" /></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L1 12L12 22L23 12L12 2ZM12 4.47L20.43 12L12 19.53L3.57 12L12 4.47Z" /></svg>') no-repeat center / contain;
}
.galaxy {
    background-color: var(--primary-color);
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM13 11H15V13H13V11ZM17 11H19V13H17V11ZM9 11H11V13H9V11ZM5 11H7V13H5V11Z" /></svg>') no-repeat center / contain;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM13 11H15V13H13V11ZM17 11H19V13H17V11ZM9 11H11V13H9V11ZM5 11H7V13H5V11Z" /></svg>') no-repeat center / contain;
}

.content-block {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.2);
}

.content-block h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    font-size: 2em;
    margin-top: 0;
    text-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
}

.button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.button:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.button.secondary {
    background: linear-gradient(45deg, #a03cff, #ff007f); /* Nuances plus sombres */
}

.button.secondary:hover {
    background: linear-gradient(45deg, #ff007f, #a03cff);
}

footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 30px;
    font-size: 0.9em;
    color: var(--text-color);
    opacity: 0.7;
}

/* Media Queries pour la responsivité */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    header h1 {
        font-size: 2.5em;
    }

    .intro, .content-block {
        padding: 20px;
    }

    .icons {
        gap: 15px;
    }
    .icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }
    .subtitle {
        font-size: 1em;
    }
    .intro p {
        font-size: 0.9em;
    }
    .content-block h2 {
        font-size: 1.5em;
    }
}