/* =======================================
   GLOBAL STYLES (Shared by all rooms)
   ======================================= */

/* Reset basic spacing */
body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', Courier, monospace;
  text-align: center;
  color: #e6e6e6;
}

/* Images and iframes */
img, iframe {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/* Container for centered content */
.container {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 12px 24px;
  margin: 1rem;
  background-color: #222;
  color: #f0d060;
  text-decoration: none;
  border: 2px solid #444;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* =======================================
   BASE BUTTON STYLES (applies to all buttons)
   ======================================= */
.button,
.button-light,
.exit-button,
.exit-button-light {
  display: inline-block;
  padding: 12px 24px;
  margin: 1rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* =======================================
   DARK BUTTONS (default dungeon style)
   ======================================= */
.button,
.exit-button {
  background-color: #222;
  border: 2px solid #555;
  color: #f0d060;
}

.button:hover,
.exit-button:hover {
  background-color: #333;
  color: #fff1b0;
  border-color: #777;
  transform: translateY(-2px);
}

/* =======================================
   LIGHT BUTTONS (for other rooms)
   ======================================= */
.button-light,
.exit-button-light {
  background-color: #fdfdfd;
  border: 2px solid #ccc;
  color: #333;
  text-decoration: none;
}

.button-light:hover,
.exit-button-light:hover {
  background-color: #f0f0f0;
  border-color: #999;
  color: #000;
  transform: translateY(-2px);
}

/* =======================================
   EXIT BUTTON POSITIONING
   ======================================= */
.exit-button,
.exit-button-light {
  position: fixed;
  top: 20px;
  left: 20px;
  padding: 8px 16px; /* smaller padding for exit */
  font-size: 0.9rem;
  z-index: 9999;
}


/* Iframes (YouTube, Bandcamp, etc.) */
iframe {
  display: inline-block;
  width: 560px;    /* Standard YouTube width */
  height: 315px;   /* Standard YouTube height */
  max-width: 100%; /* Allows shrinking for smaller screens */
}

/* =======================================
   ROOM THEMES
   ======================================= */

/* Paradise Gardens */
body.paradise-room {
  background: #111 url('/design/backgrounds/lilac.jpeg') repeat;
  background-size: repeat;
  color: #ffe6f0; /* Adjust text color if needed */
}

/* Dungeon */
body.dungeon-room {
  background: #111 url('/uilos/images.jpeg') repeat;
  background-size: auto;
  color: #e6e6e6;
}

/* Fairy Garden */
body.fairy-room {
  background: #111 url('/design/backgrounds/marble.jpeg') repeat;
  background-size: repeat;
  color: #ffd9ff;
}

/* Fun House */
body.fun-room {
  background: #111 url('/design/backgrounds/rainbow.jpeg') repeat;
  background-size: repeat;
  color: #fff7e6;
}

/* Floral Contemplation Room */
body.floral-room {
  background: #111 url('/design/backgrounds/floral6.jpg') repeat;
  background-size: repeat;
  color: #f0f0f0;
}

/* =======================================
   AUDIO PLAYER
   ======================================= */
audio {
  background-color: transparent;
  border: none;
  outline: none;
}

audio::-webkit-media-controls-panel {
  background: transparent !important;
}


/* =======================================
   FAIRY TABLE
   ======================================= */
   
.fairy-tips {
  border-collapse: collapse;
  margin: 20px auto;
  background-color: rgba(255, 250, 245, 0.6);
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #4c2a4c;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.fairy-tips th {
  background-color: rgba(220, 200, 230, 0.7);
  font-weight: bold;
  padding: 10px;
  border-bottom: 2px solid #b9a0b9;
  text-transform: uppercase;
}

.fairy-tips td {
  padding: 10px 15px;
  border-bottom: 1px solid #cdbed6;
}

.fairy-tips tr:last-child td {
  border-bottom: none;
}

