@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
/* police spécial */
@import url('https://fonts.googleapis.com/css2?family=Black+Ops+One&display=swap');

/* Navigation fluide quand on click */
body {
    font-family: "Black Ops One", system-ui;
    background-color: black;
    color: #fff;
    font-size: 15px;
    line-height: 150%;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h3 {
    font-family: "Black Ops One", system-ui;
}

h1 {
    font-size: 200%;
    text-transform: uppercase;
    
}

h3 {
    font-size: 200%;
    margin: 20px auto;
    text-align: center;
    text-transform: capitalize;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    border-bottom: 2px solid #8b0000;
    gap: 30px;
    padding: 20px 40px;
}

.menuleft, .menuright {
    display: flex;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    left: 76%;
    transform: translateX(-50%);
    z-index: 2;
}

.menuleft {
    justify-content: flex-end;
}

.menuright {
    justify-content: flex-start;
}

.menuleft a, .menuright a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.menuleft a:hover, .menuright a:hover {
    color: #8b0000;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 67%;
    z-index: 2;
}

.logo img {
    max-width: 150px;
    height: auto;
}

/* Achat MIIW */
.menuDer {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-end;
    left: 50;
}

.menuDer .achat {
    background-color: #8b0000;
    color: #000;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 1001;
}

.menuDer .achat:hover {
    background-color: #d24141;
}

.leDer {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #cccccc;
    border-radius: 6px;
    min-width: 200px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    z-index: 2;
}

/* le derouler de achat*/
.leDer ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a1a1a;
    border-radius: 6px;
    margin-top: 5px;
    min-width: 200px;
    box-shadow: 0 4px 6px #000;
    z-index: 1000;
}

.leDer li a {
    display: block;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.leDer a {
    padding: 12px 20px;
}

.leDer a:hover {
    background-color: #8b0000;
    color: #fff;
}

/* le menu au survol */
.menuDer:hover .leDer {
    display: block;
}

a {
    color: #fff;
}

img {
    cursor: pointer;
    display: block;
}

section {
    position: relative;
    padding: 100px 10% 60px;
    min-height: auto;
}

article {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: radial-gradient(circle at center, #000 0%, #000 80%);
    position: relative;
    min-height: auto;
}

.DebutArticle {
    display: flex;
    width: 100%;
    position: relative;
  
}

.slogan {
    max-width: 700px;
    margin-top: 0;
    position: relative;
    z-index: 2;
    width: 45%;
    padding: 40px 5% 40px 10%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    margin-left: -70px;
}

.slogan h1 {
    font-size: 29px;
    line-height: 1.2;
    margin-left: 0;
    text-transform: uppercase;
    text-align: left;
}

.slogan h1 span {
    color: #8b0000;
}

.resume h4 {
    text-align: justify;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    margin-left: 0;
}

.textGhost {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 10px #000, 0 0 20px #8b0000;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border-radius: 10px;
    z-index: 3;
}

.Personage {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.Personage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 87px;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.Personage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 0 12px #8b0000);
}

#personnages {
    background: linear-gradient(180deg, #000 0%, #0a0000 50%, #000 100%);
    padding-top: 120px;
}

#personnages h1 {
    color: #8b0000;
    text-shadow: 0 0 10px #8b0000;
    margin-bottom: 60px;
}

.personnage-detail {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.perso-card {
    display: flex;
    flex-direction: column;
    width: 300px;
    background-color: #111;
    border: 2px solid #8b0000;
    border-radius: 12px;
    transition: all 0.3s;
    padding: 20px;
    text-align: center;
}

.perso-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.perso-info h2 {
    color: #8b0000;
    margin-top: 0;
    font-size: 28px;
}

.perso-info p {
    line-height: 1.8;
    font-size: 16px;
}

/* ModeDeJeux */
#modes {
    background: linear-gradient(180deg, #000 0%, #000a00 50%, #000 100%);
    padding-top: 120px;
}

#modes h1 {
    color: #8b0000;
    text-shadow: 0 0 10px #8b0000;
    margin-bottom: 60px;
}

.ModeDeJeux {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 30px 0;
}

.mode {
    background-color: #111;
    border: 2px solid #8b0000;
    border-radius: 12px;
    overflow: hidden;
    width: 320px;
    transition: transform 0.3s, box-shadow 0.3s;
    padding-bottom: 20px;
}

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

.mode h3 {
    padding: 15px 20px 10px;
    margin: 0;
    color: #8b0000;
}

.mode p {
    padding: 0 20px;
    text-align: center;
    line-height: 1.6;
}

.mode:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #8b0000;
}

#contact {
    padding-top: 120px;
}

#contact h1 {
    color: #8b0000;
    text-shadow: 0 0 10px #8b0000;
    margin-bottom: 60px;
}

.contact-content {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #111;
    border: 2px solid #8b0000;
    border-radius: 12px;
    padding: 40px;
}

.contact-info h3 {
    color: #8b0000;
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    line-height: 2;
}

footer {
    background-color: #000;
    border-top: 2px solid #8b0000;
    padding: 30px;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
    color: #888;
}

/* ===== TABLET RESPONSIVE (768px - 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    body {
        min-height: 100vh;
        overflow-x: hidden;
        font-size: 16px;
    }

    /* FIXED NAVIGATION */
    nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 20px;
        padding: 15px 30px;
        position: relative;
    }

    .menuleft {
        grid-column: 1;
        justify-self: start;
        left: 0;
        transform: none;
        gap: 30px;
    }

    .menuright {
        grid-column: 3;
        justify-self: end;
        left: 0;
        transform: none;
        gap: 30px;
    }

    .logo {
        grid-column: 2;
        position: static;
        left: 0;
        transform: none;
        justify-self: center;
    }

    .logo img {
        max-width: 120px;
    }

    .menuDer {
        display: none;
    }

    /* IMPROVED HERO SECTION - IMAGE NOW VISIBLE */
    .DebutArticle {
        flex-direction: column;
        text-align: center;
        margin-top: 0;
    }

    .slogan {
        width: 100%;
        padding: 40px 5%;
        margin-left: 0;
        text-align: center;
    }

    .slogan h1 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .resume h4 {
        font-size: 16px;
        text-align: center;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 600px;
    }

    /* IMAGE NOW VISIBLE AND PROPERLY POSITIONED */
    .Personage {
        position: relative; /* Changed from absolute */
        width: 100%;
        height: 400px;
        margin-top: 30px;
        display: block; /* Ensures it's visible */
    }

    .Personage img {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Shows full image */
    }

    .textGhost {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 20px;
        font-size: 16px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.8);
    }

    /* IMPROVED SECTIONS */
    section {
        padding: 100px 5% 50px;
    }

    #personnages, #modes, #contact {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    /* IMPROVED CARDS LAYOUT */
    .personnage-detail {
        gap: 25px;
        padding: 20px 0;
    }

    .perso-card {
        width: calc(50% - 20px);
        min-width: 280px;
    }

    .ModeDeJeux {
        flex-wrap: wrap;
        gap: 25px;
    }

    .mode {
        width: calc(50% - 20px);
        min-width: 280px;
    }

    .mode h3 {
        font-size: 22px;
    }

    footer {
        padding: 25px;
        margin-top: 0;
    }
}

/* ADDITIONAL: Portrait orientation specific fixes */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .slogan h1 {
        font-size: 26px;
    }
    
    .resume h4 {
        font-size: 15px;
    }
    
    .Personage {
        height: 350px;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    nav {
        padding: 15px 20px;
        gap: 15px;
    }

    .menuleft, .menuright {
        gap: 20px;
        left: 50%;
    }

    .logo img {
        max-width: 100px;
    }

    .Personage {
        display: none;
    }

    .slogan {
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .slogan h1 {
        font-size: 20px;
        text-align: center;
    }

    .resume h4 {
        font-size: 14px;
        text-align: center;
    }

    .personnage-detail, .ModeDeJeux {
        flex-direction: column;
        align-items: center;
    }

    .perso-card, .mode {
        width: 100%;
        max-width: 300px;
    }

    section {
        padding: 80px 5% 30px;
    }

    #personnages, #modes, #contact {
        padding-top: 80px;
        padding-bottom: 30px;
    }
}-