:root {
    --primary: #00f0ff;
    --secondary: #ff00e4;
    --dark: #0a0a0a;
    --dark-light: #1a1a1a;
    --light: #f0f0f0;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

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

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

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: var(--dark);
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--light);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
    position: relative;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .line {
    width: 30px;
    height: 3px;
    background: var(--light);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

.hero .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blink {
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* AI Grid */
.ai-grid {
    padding: 100px 0;
}

.ai-grid h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.ai-grid h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background: var(--gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

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

.ai-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.ai-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary);
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.ai-card:hover::before {
    opacity: 0.1;
}

.ai-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.ai-card-content {
    padding: 20px;
}

.ai-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.ai-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.ai-card a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient);
    color: var(--light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ai-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 50px 0 20px;
    position: relative;
    z-index: 1;
}

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

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-section.about p {
    margin-bottom: 20px;
}

.footer-section.links ul {
    list-style: none;
}

.footer-section.links li {
    margin-bottom: 10px;
}

.footer-section.links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section.links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Page transitions */
.page-transition {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Page hero */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Tabs */
.multimedia-tabs {
    padding: 50px 0 100px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 10px;
}

.tab-button {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.tab-button:hover {
    background: rgba(0, 240, 255, 0.1);
}

.tab-button.active {
    background: var(--gradient);
    color: var(--dark);
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.tab-content h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Resources grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.resource-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.resource-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
}

.resource-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.resource-card a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient);
    color: var(--light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.resource-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

/* Prompting page */
.prompt-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.prompt-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-category h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.prompt-category ul {
    list-style: none;
}

.prompt-category li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.prompt-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.prompt-examples {
    margin-top: 50px;
}

.prompt-example {
    background: rgba(0, 240, 255, 0.05);
    border-left: 3px solid var(--primary);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
}

.prompt-example h4 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
    color: var(--primary);
}

.prompt-example p {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Energy page */
.energy-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.ranking-table th, .ranking-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-table th {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    background: rgba(0, 240, 255, 0.1);
}

.ranking-table tr:hover {
    background: rgba(0, 240, 255, 0.05);
}

.ranking-table .rank {
    font-weight: 700;
    color: var(--primary);
}

/* Developers page */
.api-guide {
    margin-top: 50px;
}

.api-step {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.api-step h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.api-step p {
    margin-bottom: 15px;
}

.api-step code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    color: var(--primary);
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 15px 0;
    overflow-x: auto;
}

/* Teachers page */
.age-group {
    margin-bottom: 50px;
}

.age-group h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    padding-bottom: 10px;
}

.activity {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.activity h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.activity p {
    margin-bottom: 10px;
}

.activity ul {
    margin-left: 20px;
    margin-bottom: 10px;
}

/* Art page */
.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.art-project {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.art-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.art-project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.art-project-content {
    padding: 20px;
}

.art-project h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 10px;
}

.art-project p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.art-project a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.art-project a:hover {
    text-decoration: underline;
}

/* Art page specific */
.art-techniques {
    margin: 80px 0;
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.technique-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.technique-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.technique-card ul {
    margin-left: 20px;
    margin-top: 10px;
}

.technique-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.technique-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.art-controversy {
    margin: 80px 0;
}

.debate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .debate-grid {
        grid-template-columns: 1fr;
    }
}

.debate-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
}

.debate-card.pro {
    border-top: 3px solid #00ff00;
}

.debate-card.con {
    border-top: 3px solid #ff0000;
}

.debate-card h3 {
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.debate-card ul {
    margin-left: 20px;
}

.debate-card li {
    margin-bottom: 10px;
}

/* Teachers page specific */
.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.guideline-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border-left: 3px solid var(--primary);
}

.guideline-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Developers page specific */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--primary);
}

.platform-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.platform-card p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.platform-card a {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient);
    color: var(--light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.platform-card a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.code-block {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 5px;
    font-family: monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 15px 0;
    overflow-x: auto;
    color: #f8f8f2;
    border-left: 3px solid var(--primary);
}

/* Energy page specific */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: rgba(0, 240, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.solution-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.solution-card ul {
    margin-left: 20px;
}

.solution-card li {
    margin-bottom: 10px;
}

/* Prompting page specific */
.prompting-content {
    padding: 80px 0;
}

.resources-section {
    margin: 80px 0;
}

/* Styles pour la section des templates de prompts */
.prompt-templates {
    background: rgba(25, 25, 35, 0.7);
    border-radius: 10px;
    padding: 30px;
    margin: 50px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    position: relative;
}

/* Styles pour la page À propos */
.about-content {
    padding: 80px 0;
}

.author-profile {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.author-image {
    flex-shrink: 0;
}

.profile-pic {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.author-info {
    flex-grow: 1;
}

.author-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.author-title {
    font-size: 1.2rem;
    color: var(--light);
    margin-bottom: 20px;
}

.author-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.website-link, .email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
    color: var(--light);
    transition: all 0.3s ease;
}

.website-link:hover, .email-link:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
}

.site-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mission-statement, .passion-section {
    margin: 60px 0;
}

.mission-statement h2, .passion-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

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

.mission-card, .passion-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-card:hover, .passion-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.mission-card h3, .passion-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-links {
        justify-content: center;
    }

    .profile-pic {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }
}

.prompt-templates {
    background: rgba(25, 25, 35, 0.7);
    border-radius: 10px;
    padding: 30px;
    margin: 50px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.prompt-templates::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 228, 0.1));
    z-index: -1;
}

.prompt-templates h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 2rem;
    text-align: center;
}

.prompt-templates > p {
    text-align: center;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.template-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.template-selector select {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: rgba(42, 42, 58, 0.8);
    color: #fff;
    border: 1px solid rgba(0, 240, 255, 0.3);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f0ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

.template-selector select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.3);
}

/* Styles pour le bouton Afficher - Version sophistiquée */
.display-btn {
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    background: var(--gradient);
    color: var(--light);
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.display-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: left 0.6s ease;
}

.display-btn:hover:not(:disabled)::before {
    left: 100%;
}

.display-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.display-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.display-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.display-btn:disabled::before {
    display: none;
}

.display-btn i {
    font-size: 18px;
}

.template-output {
    margin-top: 25px;
    display: none;
}

.template-output h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.prompt-display {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.prompt-display textarea {
    width: 100%;
    min-height: 250px;
    padding: 20px;
    background: rgba(30, 30, 42, 0.8);
    color: #e0e0e0;
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.3);
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
}

.prompt-display textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.3);
}

.copy-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 10px 15px;
    background: rgba(74, 74, 106, 0.8);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.copy-btn:hover {
    background: rgba(90, 90, 138, 0.9);
    transform: translateY(-2px);
}

/* Animation pour l'apparition des prompts */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.template-output {
    animation: fadeInUp 0.5s ease forwards;
}

/* Responsive pour les templates de prompts */
@media (min-width: 768px) {
    .template-selector {
        flex-direction: row;
        align-items: end;
    }
    
    .template-selector select {
        flex: 1;
    }
    
    .display-btn {
        min-width: 200px;
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .prompt-templates {
        padding: 20px;
        margin: 30px 0;
    }
    
    .prompt-templates h2 {
        font-size: 1.7rem;
    }
    
    .template-selector select {
        padding: 12px;
        font-size: 14px;
    }
    
    .display-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .display-btn i {
        font-size: 16px;
    }
    
    .prompt-display textarea {
        padding: 15px;
        font-size: 13px;
    }
    
    .copy-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

