/* ===========================================================
   UNIVERSAL THEME — THEFLODGE MASTER STYLES
   Applies to writing/, gaming/, and music/ pages
   =========================================================== */

/* ---- Base layout ---- */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 0;
}

/* ---- Header ---- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #fff;
  padding: 1rem 2rem;
  background-color: #111;
}

.title {
  font-size: 2rem;
  font-weight: bold;
}

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

.title a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

/* ---- Navigation ---- */
nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover,
nav a.active {
  color: #ffcc00;
}

/* ---- Section intro text ---- */
.intro {
  text-align: center;
  font-size: 1.2rem;
  margin: 2rem auto;
  max-width: 80%;
}

/* ---- Footer ---- */
footer {
  border-top: 2px solid #fff;
  text-align: center;
  padding: 1rem 0;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #aaa;
}


/* ===========================================================
   TABLE LAYOUTS — WRITING & GAMING
   =========================================================== */

/* Generic table style base */
table {
  width: 90%;
  max-width: 1000px;
  margin: 2rem auto;
  border-collapse: collapse;
  text-align: left;
  border: 1px solid #fff;
  background-color: #0d0d0d;
}

th, td {
  padding: 0.75rem 1rem;
  border: 1px solid #333;
  vertical-align: top;
}

th {
  background-color: #111;
  color: #ffcc00;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
}

tr:hover {
  background-color: #1a1a1a;
}

/* ---- Writing Table ---- */
.writing-table td:nth-child(1) {
  width: 20%;
  font-weight: bold;
}
.writing-table td:nth-child(2) {
  width: 20%;
  font-style: italic;
}
.writing-table td:nth-child(3) {
  width: 60%;
}

/* ---- Gaming Table ---- */
.gaming-table td:nth-child(1) {
  width: 25%;
  font-weight: bold;
}
.gaming-table td:nth-child(2) {
  width: 25%;
  font-style: italic;
}
.gaming-table td:nth-child(3) {
  width: 50%;
}


/* ===========================================================
   MUSIC PAGE GRID
   =========================================================== */

/* Top banner */
.music-banner {
  width: 100%;
  max-width: 1000px;
  height: 200px;
  margin: 0 auto 2rem auto;
  background: url("/music/background1.jpg") center/cover no-repeat;
  border: 2px solid #fff;
}

/* Music grid container */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
  padding: 2rem 5%;
}

/* Artist card */
.artist {
  width: 100%;
  max-width: 250px;
  background-color: #111;
  border: 2px solid #fff;
  border-radius: 8px;
  text-align: center;
  padding: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.artist:hover {
  transform: scale(1.03);
  border-color: #ffcc00;
}

.artist h2 {
  text-decoration: underline;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.artist img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #fff;
}

/* ===========================================================
   END MASTER CSS
   =========================================================== */
