/* --- POLICE --- */
@font-face {
    font-family: 'Charakterny';
    src: url("Charakterny.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

/* --- FOND GLOBAL --- */
html {
    background: url("/Images/cimetiere.jpg") no-repeat center center fixed;
    background-size: cover;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Charakterny", serif;
    color: #f2f2f2;
    text-align: center;
    font-size: 32px; /* 95px était trop grand, rendait tout illisible */
}

/* --- TITRES --- */
u {
    font-size: 70px;
    color: #ffdd99;
    text-shadow: 2px 2px 8px black;
}

/* --- CONTENEUR PRINCIPAL --- */
.occult-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: rgba(0,0,0,0.65);
    border-radius: 15px;
    box-shadow: 0 0 40px black;
}

/* --- IMAGE HEADER --- */
.header-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 25px black;
    margin-bottom: 20px;
}

/* --- TEXTE PRINCIPAL --- */
#texte,
.bloc-texte {
    background: rgba(255,255,255,0.08);
    padding: 30px;
    border-left: 6px solid #ffdd99;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
    font-size: 70px;
    line-height: 1.6;
    text-align: center;
    margin: 20px auto;
}

/* --- LIENS --- */
.bloc-texte a {
    color: #ffdd99;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 0 0 8px black;
}

.bloc-texte a:hover {
    color: #ffe7b8;
    text-shadow: 0 0 12px #ffdd99;
}

/* --- BLOCS FANTÔMES / REGRETS / PHOBIES --- */
#fantome, #regret, #phobie {
    width: 70%;
    margin: 20px auto;
    padding: 20px;
    font-size: 70px;
    background: rgba(0,0,0,0.6);
    border-left: 5px solid #ffdd99;
    border-radius: 10px;
    box-shadow: 0 0 20px black;
    text-align: center;
}

/* --- INPUTS --- */
input[type="text"], .nombre {
    width: 500px;
    height: 60px;
    font-size: 60px;
    border-radius: 10px;
    border: 2px solid #ffdd99;
    padding-left: 10px;
    background: rgba(255,255,255,0.8);
	text-align: center;
}

/* --- BOUTONS --- */
.btn-zone {
    text-align: center;
    margin-top: 30px;
}

input[type="submit"],
.btn-occult {
    width: 300px;
    height: 70px;
    margin: 10px;
    font-size: 60px;
    font-family: "Charakterny", serif;
    border-radius: 10px;
    border: none;
    background: linear-gradient(180deg, #ffdd99, #cc8800);
    color: black;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 20px black;
    transition: 0.2s;
	text-align: center;
}

input[type="submit"]:hover,
.btn-occult:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px #ffdd99;
}

/* --- MODAL --- */
#modalRate {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    text-align: center;
    padding-top: 150px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

#modalRate.show { opacity: 1; }
#modalRate.hide { opacity: 0; }

#modalImg {
    width: 450px;
    border: 6px solid white;
    border-radius: 10px;
    box-shadow: 0 0 30px white;
}
