/* Bloc pro pour la carte action/vérité */
.game-card-block {
  background: #3a3939;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  padding: 28px 18px 22px 18px;
  margin: 32px auto 24px auto;
  max-width: 340px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.game-card-type {
  display: block;
  margin: 0 auto 12px auto;
  padding: 7px 22px;
  background: linear-gradient(135deg, #ffb347 0%, #ff4e8e 100%);
  color: #fff;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px 0 rgba(255,78,142,0.10);
}
.game-card-text {
  color: #1a2340;
  font-size: 1.15em;
  text-align: center;
  margin-top: 2px;
  word-break: break-word;
  line-height: 1.5;
}
/* --- GAME PAGE INSPIRED BY YOUR SCREENSHOTS --- */
#gamePage {
    min-height: 100vh;
    background: linear-gradient(135deg, #ff4e8e 0%, #ff7e5f 50%, #ffb347 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-top: 40px;
}
#gameHeader {
    width: 100vw;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#gameTypeBanner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 30px;
    gap: 0;
    position: relative;
    min-height: 70px;
}
#gameTypeText {
    font-size: 3em;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 4px 0px #b23a6e, 0 2px 8px rgba(0,0,0,0.15);
    text-transform: lowercase;
    letter-spacing: 2px;
    background: none;
    margin: 0;
    z-index: 2;
    transform: rotate(-10deg);
    display: block;
}
#gamePlayerName {
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
    background: #222e5c;
    padding: 8px 24px;
    border-radius: 8px;
    margin-top: 10px;
    margin-left: 0;
    z-index: 3;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    letter-spacing: 1px;
    display: inline-block;
}
#gameContent {
    width: 100vw;
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-card {
    background: linear-gradient(135deg, #ffb347 0%, #ff4e8e 100%);
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    padding: 40px 20px 30px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 90vw;
    max-width: 400px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-card-type {
    font-size: 2.2em;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 4px 0px #b23a6e, 0 2px 8px rgba(0,0,0,0.15);
    text-transform: lowercase;
    margin-bottom: 18px;
}
.game-card-text {
    font-size: 1.25em;
    color: #fff;
    text-align: center;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.5em;
}
#gameActions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}
.main-btn {
    background: #222e5c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: background 0.2s;
}
.main-btn.end {
    background: #e74c3c;
}
@media (max-width: 600px) {
    #gamePage, #gameContent, #gameHeader {
        max-width: 100vw;
    }
    .game-card {
        padding: 20px 5vw 20px 5vw;
        min-height: 180px;
    }
    #gameTypeText {
        font-size: 2em;
    }
    #gamePlayerName {
        font-size: 1em;
        padding: 6px 12px;
    }
}
body {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #ff4e8e 0%, #ff7e5f 50%, #4fc3f7 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    text-align: center;
}

.main-choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    gap: 30px;
}
.choice {
    width: 90vw;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0 30px 0;
    margin-bottom: 10px;
    position: relative;
    transition: transform 0.2s;
}
.choice.couple {
    background: linear-gradient(135deg, #ff4e8e 0%, #ff7e5f 100%);
}
.choice.amis {
    background: linear-gradient(135deg, #4fc3f7 0%, #1976d2 100%);
}
.choice-title {
    font-size: 2.7em;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 4px 0px #b23a6e, 0 2px 8px rgba(0,0,0,0.15);
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.choice-sub {
    background: #222e5c;
    color: #fff;
    font-size: 1.2em;
    padding: 6px 24px;
    border-radius: 8px;
    margin-top: 10px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.discover-btn {
    margin-top: 30px;
    background: #222e5c;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
}

#coupleForm, #addPlayerModal {
    background: linear-gradient(135deg, #ff4e8e 0%, #ff7e5f 100%);
    min-height: 100vh;
    color: #fff;
    padding-top: 30px;
}
#playersList {
    margin: 30px 0 20px 0;
}
.player-item {
    background: #222e5c;
    color: #fff;
    border-radius: 12px;
    padding: 10px 20px;
    margin: 10px auto;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.player-icon {
    font-size: 1.5em;
    margin-right: 10px;
}
.remove-player {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
}
#addPlayerBtn, #startCoupleGame, .back-btn {
    margin: 10px 10px 0 10px;
    background: #fff;
    color: #ff4e8e;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 1.1em;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
}
#startCoupleGame {
    background: #222e5c;
    color: #fff;
}
.back-btn {
    background: #fff;
    color: #222e5c;
    margin-top: 30px;
}
#addPlayerModal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: rgba(0,0,0,0.3);
}
.modal-content {
    background: linear-gradient(135deg, #ff4e8e 0%, #ff7e5f 100%);
    border-radius: 20px;
    padding: 30px 20px;
    min-width: 300px;
    max-width: 90vw;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    position: relative;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2em;
    cursor: pointer;
}
.gender-choice, .orientation-choice {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}
.gender-btn, .orientation-btn {
    background: #fff;
    color: #ff4e8e;
    border: none;
    border-radius: 20px;
    padding: 10px 18px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s;
}
.gender-btn.selected, .orientation-btn.selected {
    background: #222e5c;
    color: #fff;
}
.info-box {
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 10px;
    margin: 15px 0 20px 0;
    font-size: 0.95em;
    color: #fff;
}
input[type="text"],
input[type="number"]{
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 25px;
    border: 1px solid #ccc;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.8);
    color: #222e5c;
}
@media (max-width: 600px) {
    .main-choice {
        height: 60vh;
    }
    .choice {
        padding: 30px 0 20px 0;
    }
    .choice-title {
        font-size: 2em;
    }
}
body{
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient( 90deg, #ff7e5f, #feb47b);
    text-align: center;
}
form {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
form label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    text-align: left;
}
form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
form input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 25px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
form input[type="submit"] {
    background-color: #ff7e5f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1.2em;
    text-align: center;
}
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border-radius: 25px;
    border: 1px solid #ccc;
    font-size: 1em;
}
select option {
    padding: 10px;
    font-size: 1em;
}
h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 20px;
}
button {
    background-color: #ff7e5f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
}
