/* ========== MENU STYLING ========== */

.links {
  position: absolute;
  top: 105px;
  left: 52px;
  width: 183px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.links a {
  display: block; /* cleaner than inline-block since width is fixed */
  width: 136px;
  margin-bottom: 5px;
  padding: 2px;
  background: #ffb867;
  font: 12px monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  line-height: 12px;
  border-radius: 11px 0 11px 0; /* shorthand for TL + BR, but this one is tricky! */
  color: #fff;
  text-decoration: none;
}


.links a:hover {
  color: rgba(253, 154, 55, 0.95);
  background: #fff;
  transform: scale(1.2);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.15);
}

/* fallback for generic links outside .links */
a {
  color: #555;
  text-decoration: none;
}

/* ========== LORE HOTLINK STYLING ========== */

.lorelinks {
  position: fixed;
  top: 100px;
  left: 1204px;
  width: 183px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.lorelinks a {
  display: block; /* cleaner than inline-block since width is fixed */
  width: 136px;
  margin-bottom: 5px;
  padding: 2px;
  background: #ffb867;
  font: 12px monospace;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  line-height: 12px;
  border-radius: 11px 0 11px 0; /* shorthand for TL + BR, but this one is tricky! */
  color: #fff;
  text-decoration: none;
}


.lorelinks a:hover {
  color: rgba(253, 154, 55, 0.95);
  background: #fff;
  transform: scale(1.2);
  box-shadow: inset 0 1px 3px rgba(255,255,255,0.15);
}


/* ========== TEXT STYLING ========== */

* { box-sizing: border-box; }

body {
  background: url("https://img.freepik.com/free-vector/light-grey-dots-background_78370-2583.jpg?semt=ais_hybrid&w=740&q=80")
              repeat center;
  font-family: Tahoma, sans-serif;
  color: #4f3131;
}

ul { list-style: none; padding: 0; margin: 0; }

.card {
  background: #fff;
  border-radius: 7px;
  padding: 6px;
}

.card1 {
  float: left;          /* dropcap style */
  width: 52px;
  height: 52px;
  margin: 1px 11px 1px 3px;
  background: #ffc27d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 22px "Lucida Bright", serif;
  border-radius: 5px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
  line-height: 1;
}

.quote-box{
  font-family: 'Marvel', sans-serif;
  font-size: 22px;
  color: #eb7c44;
  min-height: 100px; 
  transition: opacity 1s ease;
  opacity: 1;
  
  display: flex;
  flex-direction: column;
  align-items: center;     
  justify-content: center; 
  text-align: center; 
}



/* ========== TEXT STYLING ========== */

* { box-sizing: border-box; }

body {
  background: url("https://img.freepik.com/free-vector/light-grey-dots-background_78370-2583.jpg?semt=ais_hybrid&w=740&q=80")
              repeat center;
  font-family: Tahoma, sans-serif;
  color: #4f3131;
}

ul { list-style: none; padding: 0; margin: 0; }

.card {
  background: #fff;
  border-radius: 7px;
  padding: 6px;
}

.card1 {
  float: left;          /* dropcap style */
  width: 52px;
  height: 52px;
  margin: 1px 11px 1px 3px;
  background: #ffc27d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 22px "Lucida Bright", serif;
  border-radius: 5px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.15);
  line-height: 1;
}

.quote-box{
  font-family: 'Marvel', sans-serif;
  font-size: 22px;
  color: #eb7c44;
  min-height: 100px; 
  transition: opacity 1s ease;
  opacity: 1;
  
  display: flex;
  flex-direction: column;
  align-items: center;     
  justify-content: center; 
  text-align: center; 
}



/* ========== LIKES DISLIKES COLUMN ========== */

.likes-dislikes {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 15px auto;
  font-family: Tahoma, sans-serif;
  font-size: 13px;
  color: rgba(238, 87, 123, 0.95);
  text-align: left;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
/* Headings */
.likes-dislikes th {
  padding: 12px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
}
.likes-head {
  background: linear-gradient(135deg, #ff7eb3, #ff758c);
}
.dislikes-head {
  background: linear-gradient(135deg, rgba(255,127,127,0.95), #ffb867);
}
/* Table cells */
.likes-dislikes td {
  padding: 12px;
  border: 0px solid rgba(0,0,0,0.05);
  transition: background 0.3s, transform 0.2s;
}
/* Alternating row colors */
.likes-dislikes tr:nth-child(even) td { background: #fff9f3; }
.likes-dislikes tr:nth-child(odd) td { background: #fdfdfd; }

/* ========== CENTRE COLUMN ========== */


.lore {
  position: absolute;
  top: 65px;
  left: 201px;
  width: 970px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* spacing between cards */
  background: #fff;
  padding: 10px;
  border-radius: 15px; 
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}


/* ========== LEFT COLUMN ========== */

.header {
  position: absolute;
  top: 24px;
  left: 279px;
  width: 284px;
  height: 40px;
  background: #ffb867;
  color: #fff;
  text-align: center;
  font: 30px monospace;
  line-height: 40px;
  padding: 4px;
  border-radius: 50px 50px 0 0; 
  border-right: 1px solid #ff83b2;
}

.sidebar {
  position: absolute;
  top: 65px;
  left: 201px;
  width: 362px;
  display: flex;
  flex-direction: column;
  gap: 10px; /* spacing between cards */
  background: #fff;
  padding: 10px;
  border-radius: 15px; 
  box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}

.sidetitle {
  background: #ffb867;
  font: 20px 'Aboreto', sans-serif;
  color: #fff;
  border-radius: 11px 0 11px 0; /* shorthand for top-left + bottom-right */
  padding: 4px;
  margin-bottom: 4px;
  text-align: center;
}


/* ========== RIGHT COLUMN ========== */

/* Shared base styles for content/trivia boxes */
.content,
.trivia {
  position: absolute;
  top: 0;
  left: 366px;
  width: 445px;
  padding: 10px;
  text-align: justify;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border-radius: 0 15px 15px 15px; /* shorthand for top-right, bottom corners */
  overflow: hidden;
}

/* Extra rules for trivia box */
.trivia {
  height: 300px;        
}

.trivia-text {
  height: 100%;
  overflow-y: auto;
  padding-right: 6px;
}

.trivia-text .content-text {
  margin: 2px 0 0 2px;
  width: 100%;
}

/* Section title */
.content-title {
  background: #ffb867;
  font: 26px 'Aboreto', sans-serif;
  color: #fff;
  border-radius: 11px 0 11px 0; /* shorthand for TL + BR corners */
  text-align: center;
  border-bottom: 4px solid #ffb867;
  margin-bottom: 4px;
}

/* Images box */
.content-images {
  position: absolute;
  top: 365px;
  left: 590px;
  width: 408px;
  padding: 6px;
}

/* ========== PLAYER ========== */


.player-box {
  width: 105px;
  position: absolute;
  top: 446px;
  left: 66px;
  border: 0px solid #ff9b4a;
  border-radius: 12px;
  padding: 10px;
  margin: 10px auto;
  text-align: center;
  font-family: Tahoma, sans-serif;
}


.controls button {
  margin: 3px;
  width: 105px;
  padding: 6px 10px;
  background: #ffb867;
  border: 0px solid #ff9248;
  border-top-right-radius: 11px;
  border-bottom-left-radius: 11px;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.track-title {
  font-size: 12px;
  color: #5b3b1f;
  margin-bottom: 6px;
}
.controls button:hover {
  background: #ff9d4f;
}


/* ========== PROGRESS ========== */


/* Container wrapper */
.progress-container {
  margin: 10px 0;
  font-family: 'Tahoma', sans-serif;
  font-size: 13px;
  color: #444;
}

/* Text label */
.progress-label {
  margin-bottom: 4px;
  color: rgba(253, 154, 55, 0.95);
  font-family: 'Aboreto';
  letter-spacing: 1px;
}

/* Bar outline */
.progress-bar {
  background: #eee;
  border-radius: 11px 0 11px 0;;
  overflow: hidden;
  height: 16px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

/* The actual fill */
.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #ffb867, rgba(255, 167, 79, 0.95));
  border-radius: 11px 0 11px 0;
  transition: width 0.5s ease;
}
