* {
		padding:0;
		margin:0;
	}
	
html, body {
		height:100%;
		width:100%;
	}
	
/* Smooth scrolling sur l'entièreté du site */
html {
    scroll-behavior: smooth;
    overflow-wrap: break-word;
}

body {
		font-family: "Georgia", "Palatino Linotype", serif;
		background-color:black;
		background-image: url(../img/cadeaux3.jpg); 
		background-repeat: repeat-y;
		background-size: 100%;
		
	}

	
h1 {
    width: 90%;
    max-width: 480px;
    margin: 60px auto 40px auto;
    padding: 18px 30px;
    box-sizing: border-box;

    /* Texte */
    font-family: "Playfair Display", "Georgia", serif;
    font-size: 2.8em;
    letter-spacing: 1.5px;
    text-align: center;
    text-transform: uppercase;
    color: #2c3e50;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.8); /* doré transparent */
    border-radius: 0px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);

    position: relative;
    overflow: hidden;
}

/* Halo lumineux animé derrière le texte */
h1::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.25), transparent 70%);
    filter: blur(25px);
    opacity: 0.7;
    animation: glowPulse 8s ease-in-out infinite;
    z-index: 0;
}

/* Bande brillante traversante */
h1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-20deg);
    animation: shine 5s infinite ease-in-out;
    animation-delay: 0s; /* démarre après 2s */
    z-index: 1;
}

/* Le texte au-dessus de tout */
h1 span {
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    5% {
        left: 160%;
    }
    100% {
        left: 160%;
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}




h2 {
    margin: 20px 0 10px 0;
    font-size: 1.5em;
    color: #444;
	text-align: center;
}

/* Style global des paragraphes */
p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.4em;
}

/* Style des listes */
ul {
    margin-bottom: 20px;
    padding-left: 0; /* supprime l'indentation par défaut */
    list-style: none; /* supprime les puces noires par défaut */
    color: #555;
    text-align: left;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.4em;
    position: relative;
    padding-left: 1.8em; /* espace pour l'étoile */
}

/* Puces personnalisées : étoiles dorées */
ul li::before {
    content: "★";
    color: #cfae68; /* doré pastel */
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1em;
    line-height: 1.4em;
}
	
	
.cadre_glob{
		
		margin:auto;
		width:900px;
		max-width:90%;
		border-radius: 8px;
		background-color: rgba(255, 255, 255, 0.9);	
	}
	
	
.cadre_spe{
		
		margin:auto;
		margin-bottom:20px;
		width:90%;
		border-radius: 8px;
		background-color: rgba(250, 241, 216, 0.9);
		padding : 20px;		
		box-sizing: border-box;
		box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
	}



.container {
    
	width:90%;
	margin:auto;
    padding: 40px 0px;
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    border-radius: 15px;
    text-align: left;
    
}

.container-form {
    background-color: #fff;
	margin:auto;
	margin-bottom:40px;
    padding: 40px 60px;
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    text-align: center;
	width : 350px;
    max-width: 90%;
	position: relative; /* nécessaire pour positionner les étoiles à l’intérieur */
    overflow: hidden; /* pour éviter qu’elles débordent */
}

/* Lignes d'étoiles décoratives */
.container-form::before,
.container-form::after {
    content: "★ ★ ★";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #f1d27b; /* couleur dorée identique au bouton */
    opacity: 0.85;
    letter-spacing: 6px; /* espace entre les étoiles */
    pointer-events: none; /* pour éviter toute interaction */
}

/* Ligne du haut */
.container-form::before {
    top: 10px;
}

/* Ligne du bas */
.container-form::after {
    bottom: 10px;
}

.container-form-secret {
    
	margin:auto;
    padding: 0px 20px;
	padding-bottom : 20px;
	
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    text-align: center;
	width : 350px;
    max-width: 90%;
}
	
.message {
    background-color: #f0f0f0;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #333;
}

.formulaire input[type="number"]:focus {
    border-color: #ff5e62;
}



input[type="number"] {
    width: 100%;        /* largeur complète du conteneur */
    padding: 12px 15px; /* plus d’espace à l’intérieur */
    font-size: 16px;    /* texte plus grand */
    border-radius: 8px;
    border: 2px solid #ddd;
    box-sizing: border-box; /* inclut padding dans la largeur */
	text-align: center;
}

input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #ddd;
    box-sizing: border-box;
    margin-bottom: 15px;
    text-align: center; /* cohérent avec le champ nombre */
}

/* Fieldset général pour chaque donneur */
form fieldset {
    border: 2px solid #d4af37; /* doré similaire au bouton */
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: rgba(212, 175, 55, 0.05); /* pastel doré très léger */
    text-align: left;
}

form fieldset legend {
    font-weight: normal;
    color: #555; /* gris foncé pour le texte secondaire */
    font-size: 0.9em;
    line-height: 1em;      /* compact */
    padding: 0 10px;        /* juste du padding horizontal */
    margin-bottom: 0;
}

form fieldset legend .donneur {
    display: block;
    font-weight: bold;
    color: #b8860b; /* doré foncé pour le prénom */
    font-size: 1.4em;
    margin: 0;
    line-height: 1em;
}

/* Checkbox et labels */
form fieldset label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
    color: #444; /* gris un peu plus foncé pour la lisibilité */
}

form fieldset input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2); /* agrandir légèrement la case */
    cursor: pointer;
}

form fieldset label:hover {
    color: #a8863f; /* brun/doré plus foncé au survol */
}


/* Bouton valider */
.formulaire button {
    width: 90%;
    padding: 12px;
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    background-color: #f1d27b;
    color: #2c3e50;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.formulaire button:hover {
    background-color: #c0a97a; /* doré grisé, plus neutre */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Bouton valider */
.formulaire-secret button {
    width: 90%;
    padding: 12px;
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    background-color: #303030;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.formulaire-secret button:hover {
    background-color: #767676; /* doré grisé, plus neutre */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.formulaire-annuler button {
	display: block;   /* pour que margin:auto fonctionne */
    margin: 10px auto; 
    background-color: #f5f5f5;   /* gris clair neutre */
    color: #666;                /* gris doux */
    border: 1px solid #ccc;     /* fine bordure grise */
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.formulaire-annuler button:hover {
    background-color: #e0e0e0;  /* gris un peu plus foncé au survol */
    color: #333;
}

/* Responsive */
@media (max-width: 500px) {
    form fieldset {
        padding: 10px;
    }

    .formulaire button {
        width: 100%;
    }
}




/* Bouton noir */
.boutons-tirage .tirage_secret {
    width: 90%;
    padding: 12px;
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    background-color: #303030;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
	text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.boutons-tirage .tirage_secret:hover {
    background-color: #767676; 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}









.secret-santa-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.secret-santa-list li {
    background-color: #fffaf5; /* couleur douce crème */
    margin: 10px 0;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    font-size: 16px;
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;
    gap: 8px; /* réduire un peu l’écart si nécessaire */
    text-align: center; /* centre le texte si plusieurs lignes */
	list-style: none; /* supprime toutes les puces */
}

.secret-santa-list .donneur {
    font-weight: bold;
    font-size: 1.1em;
    color: #d4af37; /* doré champagne */
}

.secret-santa-list .fleche {
    font-weight: normal;
    color: #555; /* gris doux */
    font-size: 0.95em;
}

.secret-santa-list .receveur {
    font-weight: bold;
    font-size: 1.1em;
    color: #0077cc; /* bleu pastel */
}

.secret-santa-list button {
    padding: 12px;
    box-sizing: border-box;
    background-color: #d4af37; /* doré champagne */
    color: #222; /* texte sombre pour lisibilité */
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 12px;
}

.secret-santa-list button:hover {
    background-color: #b8952f; /* doré plus foncé */
    transform: scale(1.03);
}

.secret-santa-list li::before {
    content: none; /* supprime l'étoile générée par ::before */
}

.secret-santa-list-secret {
    list-style: none; /* pas de puces */
    padding: 0;
    margin: 0;
}

.secret-santa-list-secret li {
    background-color: #fffaf5; /* crème douce */
    margin: 12px 0;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.secret-santa-list-secret li p {
    margin: 4px 0;
    color: #555;
    font-size: 1em;
}

.secret-santa-list-secret li .donneur {
    font-weight: bold;
    color: #d4af37; /* doré champagne */
    font-size: 1.3em;
}

.secret-santa-list-secret li .receveur {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f4ff; /* bleu pastel très clair pour le lien */
    padding: 8px 12px;
    border-radius: 8px;
    word-break: break-all; /* pour ne pas casser la mise en page si lien long */
}

.secret-santa-list-secret li .lien {
    color: #0077cc; /* bleu pastel */
    font-weight: bold;
    margin-bottom: 6px;
}

.secret-santa-list-secret li button {
    padding: 8px 16px;
    background-color: transparent;       /* fond transparent pour élégance */
    color: #d4af37;                     /* doré champagne pour le texte */
    border: 2px solid #d4af37;          /* contour doré */
    border-radius: 20px;                 /* coins arrondis */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.secret-santa-list-secret li button:hover {
    background-color: #d4af37;           /* doré plein au survol */
    color: #222;                         /* texte sombre pour contraste */
    transform: scale(1.05);              /* léger agrandissement */
}


.secret-santa-list-secret li::before {
    content: none; /* supprime l'étoile générée par ::before */
}


.secret-santa-tip {
    width: 400px;
    max-width: 90%;
    margin: auto;
    background-color: #fff4e6; /* beige/orangé très clair */
    border-left: 4px solid #d4a017; /* doré soutenu */
    border-radius: 8px;
    padding: 15px 20px;
	box-sizing: border-box; /* <-- pour prendre en compte les padding dans la largeur */
    margin-bottom: 20px;
    font-size: 14.5px;
    color: #333;
    line-height: 1.5em;
}

.secret-santa-tip strong {
    color: #d4880a; /* orange / doré pour mettre en valeur "Astuce" */
}


.revele-container {
    background: linear-gradient(145deg, #fffaf0, #f0f8ff);
    border-radius: 15px;
    padding: 30px 25px;
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    transition: transform 0.3s, box-shadow 0.3s;
}

.revele-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.revele-container .salutation {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 10px;
    font-weight: 500;
}

.revele-container .intro {
    font-size: 1em;
    color: #555;
    margin-bottom: 15px;
}

.revele-container .receveur {
    font-size: 1.6em;
    font-weight: bold;
    color: #d4af37; /* doré champagne */
    background: rgba(212, 175, 55, 0.1);
    padding: 10px 20px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.revele-container .note {
    font-size: 0.9em;
    color: #777;
    margin-top: 12px;
    font-style: italic;
}

.lien-bouton-annuler {
    display: block;          /* pour centrer comme un bouton */
    width: fit-content;      /* s’adapte au texte */
    margin: 10px auto; 
    text-decoration: none;   /* enlever le soulignement */
    
    background-color: #f5f5f5; 
    color: #666;             
    border: 1px solid #ccc; 
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-align: center;
}

.lien-bouton-annuler:hover {
    background-color: #e0e0e0; 
    color: #333;
}







