:root {
    --black: #1b263b;
    --pink: #f2388f;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Bricolage Grotesque', Verdana, sans-serif;
}

body {
    background-image: radial-gradient(
    circle,
    #411c46,
    #341c3f,
    #281a36,
    #1e172c,
    #161422,
    #13121d,
    #100f19,
    #0c0c14,
    #0c0c14,
    #0c0c14,
    #0c0c14,
    #0c0c14
  );
    color: var(--text);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.048);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px #7575754a;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--pink);
    font-family: 'Monigue';
    font-weight: 300;
}

.settings-container, .player-view, .timer-view {
    display: none;
}

.settings-container.active, .player-view.active, .timer-view.active {
    display: block;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="number"], input[type="range"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: rgba(0, 0, 0, 0.216);
    color: white;
}

/* Custom range slider styling */
.custom-range {
    -webkit-appearance: none;
    appearance: none;
    height: 5px;
    background: rgba(0, 0, 0, 0.3);
    outline: none;
    border-radius: 10px;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: var(--pink);
    border-radius: 50%;
    cursor: pointer;
}

.custom-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background-color: var(--pink);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* Custom checkbox styling */
.custom-checkbox {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox:checked {
    background-color: var(--pink);
}

.custom-checkbox:checked:after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

/* Custom radio button styling */
.custom-radio {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
}

.custom-radio:checked {
    background-color: var(--pink);
}

.custom-radio:checked:after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.timer-display {
    font-size: 3rem;
    text-align: center;
    margin: 30px 0;
}

.theme-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.theme-checkbox {
    display: flex;
    align-items: center;
}

.game-mode {
    margin-bottom: 15px;
}

.player-info {
    text-align: center;
    margin: 40px 0;
}

.player-number {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.keyword {
    font-size: 2.5rem;
    margin: 20px 0;
    color: var(--pink);
}

.spy-info {
    font-size: 2rem;
    color: white;
    margin: 20px 0;
}

.spy-image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.role-image {
    width: 100px;
    height: auto;
}

button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: var(--pink);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

button:hover {
    box-shadow: 0px 0px 20px 0px var(--pink);
}

.radio-group {
    display: flex;
    justify-content: start;
    margin-bottom: 15px;
    column-gap: 30px;
}

.radio-option {
    display: flex;
    align-items: center;
}

.time-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-value {
    font-size: 1.2rem;
    min-width: 60px;
    text-align: right;
}

@font-face {
    font-family: "Monigue";
    src: url("../assets/fonts/Monigue.woff2");
    font-weight: normal;
    font-style: normal;
  }
  
  /* bricolage-grotesque-200 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 200;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-200.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* bricolage-grotesque-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 300;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-300.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* bricolage-grotesque-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 400;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-regular.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* bricolage-grotesque-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 500;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-500.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* bricolage-grotesque-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 600;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-600.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* bricolage-grotesque-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 700;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-700.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* bricolage-grotesque-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: "Bricolage Grotesque";
    font-style: normal;
    font-weight: 800;
    src: url("../assets/fonts/bricolage-grotesque-v7-latin-800.woff2")
      format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }