/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.logo-img {
    width: 350px;  /* Ajuste la largeur selon tes envies */
    height: auto;   /* Garde les proportions de l'image */
}
:root {
    --dark-bg: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #333;
    --light-gray: #666;
    --accent: #8b0000;
    --text-light: #e0e0e0;
    --text-dark: #aaa;
    --font-title: 'Allura', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

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

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* Assure que le texte est blanc */

    /* Image de fond */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./img/back-home.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* On désactive le fixed par défaut pour la stabilité */
    background-attachment: scroll; 
    overflow: hidden;
}

/* Optionnel : Réactiver le fixed uniquement sur les grands écrans (PC) */
@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1rem;
    color: var(--text-light);
    transform: scale(0.96);
    opacity: 0;
    animation: titleReveal 1.2s ease-out forwards;
    line-height: 1.1;
}

@keyframes titleReveal {
    0% {
        transform: scale(0.96);
        opacity: 0;
        letter-spacing: 2px;
    }
    100% {
        transform: scale(1.02);
        opacity: 1;
        letter-spacing: normal;
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    color: var(--text-dark);
    margin-top: 1rem;
    font-weight: 300;
}

/* Main Content Sections */
.main-content {
    padding-top: 80px;
}

.section {
    padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: -12px;
    left: 0;
}

/* Release Card */
.release-card {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
    background-color: var(--dark-gray);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 8px;
    border: 1px solid var(--medium-gray);
}

.release-artwork {
    flex: 0 0 min(300px, 100%);
    max-width: 100%;
}

.release-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.release-details {
    flex: 1;
    min-width: min(300px, 100%);
}

.release-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    color: var(--text-light);
}

.release-info {
    margin-bottom: 1.5rem;
}

.release-info p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.release-description {
    margin-bottom: 2rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 1rem;
}

.streaming-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.streaming-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(45px, 8vw, 50px);
    height: clamp(45px, 8vw, 50px);
    background-color: var(--medium-gray);
    border-radius: 50%;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.streaming-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* Achat Button */
.achat-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
    white-space: nowrap;
}

.achat-link i {
    font-size: 1rem;
}

.achat-link:hover {
    background-color: #a00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Label Info - CENTRÉ */
.label-info {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.label-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.label-logo img {
    max-width: min(200px, 80%);
    height: auto;
    margin: 0 auto;
}

.label-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
}

/* Listen Section */
.listen-section {
    background-color: var(--dark-gray);
    text-align: center;
}

.listen-icons {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.listen-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(60px, 12vw, 70px);
    height: clamp(60px, 12vw, 70px);
    background-color: var(--medium-gray);
    border-radius: 50%;
    font-size: clamp(1.5rem, 4vw, 2rem);
    transition: all 0.3s ease;
}

.listen-icon:hover {
    background-color: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

/* Acts Section */
.acts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
}

.act-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.act-card-link:hover {
    transform: translateY(-8px);
}

.act-card {
    background-color: var(--dark-gray);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.act-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.act-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    background: var(--medium-gray);
}

.act-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.act-card-link:hover .act-thumbnail img {
    transform: scale(1.08);
}

.act-info {
    padding: clamp(1.2rem, 3vw, 1.5rem);
}

.act-name {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.act-style, .act-country {
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

/* Shop CTA */
.shop-cta {
    text-align: center;
    background-color: var(--dark-gray);
}

.cta-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.cta-button:hover {
    background-color: #a00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    padding: clamp(2rem, 5vw, 3rem) 0;
    border-top: 1px solid var(--medium-gray);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
}

.footer-contact a {
    color: var(--accent);
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: clamp(1rem, 3vw, 1.5rem);
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(35px, 8vw, 40px);
    height: clamp(35px, 8vw, 40px);
    background-color: var(--medium-gray);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.social-link:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.4);
}

.footer-legal {
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: clamp(45px, 8vw, 50px);
    height: clamp(45px, 8vw, 50px);
    background-color: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #a00;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Band Page Styles - NOUVELLE VERSION */
.band-header {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.band-logo {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.band-logo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.band-details {
    flex: 1;
    min-width: 300px;
}

.band-title-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent);
}

.band-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.band-genre {
    font-size: 1.2rem;
    color: var(--accent);
    font-style: italic;
    margin-bottom: 0;
}

.band-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.meta-value {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.band-description {
    background: linear-gradient(145deg, var(--dark-gray), var(--medium-gray));
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-bottom: 4rem;
}

.band-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.band-description p:last-child {
    margin-bottom: 0;
}

/* Discography */
.discography {
    margin-bottom: 4rem;
}

/* Band Members */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.member-card {
    background-color: var(--dark-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--medium-gray);
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.member-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.member-card p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.member-years {
    font-size: 0.9rem;
    color: var(--light-gray);
    font-style: italic;
}

/* 404 Page Styles */
.error-hero {
    background-image: url('./img/background.jpg');
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-message {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    color: var(--text-dark);
    margin: clamp(1.5rem, 4vw, 2rem) 0;
    font-style: italic;
    font-family: var(--font-heading);
}

.error-button {
    margin-top: clamp(1.5rem, 4vw, 2rem);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 5vw, 2.5rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    background-color: var(--accent);
    color: var(--text-light);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-button:hover {
    background-color: #a00;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 2rem 0;
        border-top: 1px solid var(--medium-gray);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        background-attachment: scroll;
        min-height: 500px;
    }

    .release-card {
        padding: 1.5rem;
    }

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

    .label-description {
        text-align: center;
    }

    /* Band Page Mobile */
    .band-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .band-logo {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .band-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }

    .band-description {
        padding: 1.5rem;
    }

    .band-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero-content {
        padding: 0 15px;
    }

    .section {
        padding: 2.5rem 0;
    }

    .release-card {
        padding: 1.2rem;
        gap: 1.2rem;
    }

    .streaming-links {
        gap: 0.6rem;
    }

    .footer-content {
        gap: 1.2rem;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
    }

    /* Band Page Mobile Small */
    .band-description {
        padding: 1.2rem;
    }

    .band-title {
        font-size: 1.8rem;
    }

    .meta-item {
        text-align: center;
    }
}

/* High-resolution displays */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .streaming-link:hover,
    .listen-icon:hover,
    .social-link:hover,
    .act-card-link:hover,
    .cta-button:hover,
    .achat-link:hover,
    .back-to-top:hover,
    .member-card:hover {
        transform: none;
    }
    
    .act-card-link:hover .act-thumbnail img {
        transform: none;
    }
}

/* Correction générale pour toutes les images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Assure que les images dans les cartes restent bien contenues */
.act-card,
.release-card,
.band-logo,
.label-logo {
    overflow: hidden;
}
/* Centrage mobile pour les pages bandes */
@media (max-width: 768px) {
    .band-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .band-logo {
        flex: 0 0 auto;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .band-details {
        width: 100%;
        text-align: center;
    }
    
    .band-title-section {
        text-align: center;
        border-bottom: 2px solid var(--accent);
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
    
    .band-title-section::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .band-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .meta-item {
        align-items: center;
    }
    
    .band-description {
        text-align: center;
        padding: 1.5rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .band-title {
        font-size: 1.8rem;
    }
    
    .band-genre {
        font-size: 1.1rem;
    }
    
    .band-description {
        padding: 1.2rem;
    }
    
    .meta-label {
        font-size: 0.85rem;
    }
    
    .meta-value {
        font-size: 1rem;
    }
}
.band-title-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
}

.band-title-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

/* Sur mobile, centrer le trait */
@media (max-width: 768px) {
    .band-title-section::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
.band-title-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    position: relative;
    text-align: center;
}

.band-title-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}
/* ==========================================================================
   LOGIN PAGE STYLES
   ========================================================================== */

/* Login Form Container */
.login-container {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--dark-gray);
    border-radius: 8px;
    padding: clamp(2rem, 5vw, 3rem);
    border: 1px solid var(--medium-gray);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.login-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.login-subtitle {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.8rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

.form-label i {
    color: var(--accent);
    width: 20px;
    text-align: center;
}

.form-input {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: var(--dark-bg);
    border: 1px solid var(--medium-gray);
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
    background-color: rgba(10, 10, 10, 0.9);
}

.form-input::placeholder {
    color: var(--light-gray);
    opacity: 0.7;
}

/* Error Message */
.error-message {
    background-color: rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-left: 4px solid var(--accent);
    padding: 1.2rem;
    margin: 1.5rem 0;
    color: var(--accent);
    display: none;
    animation: fadeIn 0.3s ease;
    border-radius: 4px;
}

.error-message.show {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.error-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.error-text {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Login Button */
.login-button {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.login-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.login-button:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

/* Login Info */
.login-info {
    text-align: center;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    line-height: 1.6;
}

.login-info i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Security Notice */
.security-notice {
    background: linear-gradient(145deg, var(--dark-gray), rgba(51, 51, 51, 0.8));
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 8px;
    margin-top: 3rem;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.security-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.security-title i {
    font-size: 1.5rem;
}

.security-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.security-warning {
    color: var(--light-gray);
    font-style: italic;
    font-size: 0.95rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--medium-gray);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.security-warning i {
    color: #ff9800;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

.success {
    background-color: #2e7d32 !important;
}

.success:hover {
    background-color: #1b5e20 !important;
}

/* Login Hero Specific */
.login-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: scroll;
}

.login-hero .hero-content {
    max-width: 600px;
}

/* Beta Badge */
.beta-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(139, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 0, 0, 0);
    }
}

/* Password Toggle */
.password-toggle {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--accent);
}

/* Responsive Login */
@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .login-hero {
        min-height: 50vh;
    }
    
    .security-notice {
        padding: 1.5rem;
    }
    
    .form-input {
        padding: 0.9rem 1rem;
    }
    
    .login-button {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.2rem;
        margin: 0 0.5rem;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
    
    .security-notice {
        padding: 1.2rem;
    }
    
    .security-title {
        font-size: 1.1rem;
    }
    
    .security-text {
        font-size: 0.95rem;
    }
}

/* Loading Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Form Validation */
.form-input.error {
    border-color: var(--accent);
    background-color: rgba(139, 0, 0, 0.05);
}

.form-input.valid {
    border-color: #4caf50;
}

/* Accessibility */
.form-input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.login-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-input {
        border: 2px solid currentColor;
    }
    
    .error-message {
        border: 2px solid var(--accent);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .login-button,
    .form-input,
    .error-message,
    .beta-badge {
        transition: none;
        animation: none;
    }
    
    .beta-badge {
        animation: none;
    }
}

.lordketil {
    width: 100%;
    /* Desktop : on garde ta hauteur de 70% de l'écran */
    min-height: 70vh; 

    background-image: url("https://scontent.flil1-1.fna.fbcdn.net/v/t39.30808-6/475278945_1599057944318405_6571511395462750534_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=2a1932&_nc_ohc=Vp4MOqT3k2sQ7kNvwEMq4uo&_nc_oc=AdnlLASa-8pK2OfDgpmM3pKg6Q6ZhfP4isdUIxPsi_PK4YkpuKqYZoeqzXZJ8ED4op0&_nc_zt=23&_nc_ht=scontent.flil1-1.fna&_nc_gid=FR8riq91TTy5uuvcKsarIA&_nc_ss=8&oh=00_AfxY0Zyd9XDbUzYf_uMgsm1fNBPmP9eiJThXhHJDml-gSA&oe=69BB7DA6");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .lordketil {
        /* On annule le min-height qui force l'image à s'étirer */
        min-height: auto; 
        
        /* On force un ratio. 
           Si ton image est au format 16/9, on met 16/9. 
           Si elle est encore plus large, essaie 21/9. */
        aspect-ratio: 16 / 9; 
        
        /* On passe en 'contain' pour voir TOUTE l'image */
        background-size: contain;
        
        /* On centre pour que les bords ne collent pas bizarrement */
        background-position: center;
        
        /* On ajoute un peu de marge en haut/bas pour ne pas étouffer le logo */
        padding: 20px 0;
    }
}
}