/* === Base Layout === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #111;
  color: #eee;
}

main {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

h1 {
  font-size: 2.5em;
  color: #ff4db8;
  margin-bottom: 10px;
  text-align: center;
}

p {
  font-size: 1.4em;
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6em;
}

/* === Header & Navigation === */
header {
  background: #222;
  padding: 20px;
  border-bottom: 2px solid #ff4db8;
}

.site-title {
  margin: 0;
  font-size: 1.8em;
  color: #ff4db8;
  text-align: center;
}

.site-title a {
  color: #ff4db8;
  text-decoration: none;
}

nav ul {
  display: flex;
  justify-content: center;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

nav a:hover {
  background: #ff4db8;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 15px;
  background: #222;
  color: #999;
  font-size: 0.9em;
}

/* === Buttons === */
.buttons,
.role-buttons {
  text-align: center;
  margin-top: 30px;
}

.buttons a,
.role-buttons .btn {
  display: inline-block;
  background: #444;
  color: white;
  text-decoration: none;
  margin: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.buttons a:hover,
.role-buttons .btn:hover {
  background: #ff4db8;
}

/* === Truth or Dare Loading Bar === */
#loading-bar-wrapper {
  width: 80%;
  max-width: 500px;
  height: 20px;
  background: #333;
  border-radius: 10px;
  margin: 40px auto;
  overflow: hidden;
  box-shadow: inset 0 0 6px rgba(255,255,255,0.2);
}

#loading-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff4db8, #ff3399);
  transition: width 3s linear;
}

/* === Task View Specific === */
.task-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(to bottom, #1a1a1a, #2e2e2e);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.2);
  text-align: center;
}

.task-container h1 {
  color: #ffb6e7;
  font-size: 2.2em;
}

.task-container img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255,255,255,0.2);
  margin-bottom: 20px;
}

.meta span {
  display: inline-block;
  background: #333;
  padding: 6px 10px;
  margin: 5px;
  border-radius: 6px;
  font-size: 0.9em;
}

.button {
  display: inline-block;
  margin-top: 30px;
  background: #ff4db8;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  text-decoration: none;
  transition: background 0.3s ease;
}

.button:hover {
  background: #ff3399;
}

/* Intro Page */
.intro-hero {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(to right, #1a1a1a, #2e2e2e);
  border-radius: 16px;
  box-shadow: 0 0 40px rgba(255, 105, 180, 0.1);
}

.intro-hero h1 {
  font-size: 2.8em;
  color: #ff4db8;
  margin-bottom: 10px;
}

.intro-hero p {
  font-size: 1.4em;
  color: #ccc;
  margin-bottom: 40px;
}

.intro-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.big-button {
  background: #444;
  color: #fff;
  padding: 18px 28px;
  font-size: 1.2em;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.big-button:hover {
  background: #ff4db8;
}

/* sub track */
.role-buttons {
  margin: 40px 0;
  text-align: center;
}
.role-buttons .btn {
  display: inline-block;
  background: #444;
  color: #fff;
  padding: 10px 20px;
  margin: 10px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}
.role-buttons .btn:hover {
  background: #ff4db8;
}

.progress-wrapper {
  margin: 30px auto;
  max-width: 500px;
  text-align: center;
}

.progress-label {
  margin-bottom: 8px;
  font-size: 1em;
  color: #ffb6e7;
}

.progress-bar {
  width: 100%;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4db8, #ff3399);
  transition: width 0.7s ease-in-out;
}

/* sissy track */
.progress-wrapper {
  margin: 30px auto;
  max-width: 500px;
  text-align: center;
}
.progress-label {
  margin-bottom: 8px;
  font-size: 1em;
  color: #ffb6e7;
}
.progress-bar {
  width: 100%;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
  height: 20px;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4db8, #ff3399);
  transition: width 0.7s ease-in-out;
}

/* Diaper Track */
.task-container {
  padding: 20px;
  max-width: 800px;
  margin: 40px auto;
  background: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.2);
}

.progress-wrapper {
  margin: 20px 0;
}

.progress-label {
  font-weight: bold;
  margin-bottom: 5px;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #333;
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff4db8, #ff3399);
  transition: width 0.5s;
}

.buttons .button {
  display: inline-block;
  background: #ff4db8;
  color: #fff;
  padding: 12px 20px;
  margin: 10px 5px 0;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.buttons .button:hover {
  background: #ff3399;
}

