@import url("https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap");
a {
  text-decoration: none;
  color: #fefeff;
}
a:hover {
  color: #ffd166;
}
body {
  background: #222;
  background-image: url(../img/smoky_bg.png);
  background-size: cover;
  background-position: 0 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fefeff;

  border: 0;
  margin: 0;
  padding: 0;
}
header,
footer {
  background-color: #000;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
footer{
  text-align: center;
}
ul {
  list-style: none;
}
li {
  display: inline;
}

nav ul {
  padding: 0;
  margin: 0;
}
#social ul {
  padding: 0;
  margin: 0;
}

#social li {
  display: inline-block;
  margin-left: 10px;
}
nav li {
  display: inline-block;
  margin: 0 10px;
}
#name {
  font-size: 2rem;
  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;
  margin-left: 25px;
}
#social {
}
.active{
  /* background-color: #222; */
  /* border-left: 1px solid #fefeff; */
  font-size: 1.25em;
  box-shadow: 2px 2px 15px yellow;
  border-radius: 5px;
}
.active a{
  color: red !important;
  margin: 4px;
}
.active a:hover{
  color: yellow !important;
  text-shadow: 5px 5px 15px;;
}
.banner-main{
  background-color:#830303;
  text-align: center;
  display: block;
}
#placeholder{
  background-color: rgba(131, 3, 3,0.25);
  width: 100%;
  height: 100vh;
}

.wft-featured-section {
  padding: 2rem 1rem;
  max-width: 660px;
  margin: 0 auto;
}

.wft-featured-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: "Shadows Into Light", cursive;
  font-size: 2rem;
}

.wft-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  justify-items: center;
}

.wft-featured-music-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 8px rgba(131, 3, 3, 0.5);
}

.wft-featured-music-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(131, 3, 3, 0.7);
}

.wft-featured-music-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.wft-featured-music-genre {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fefeff;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: "Shadows Into Light", cursive;
  font-size: 0.95rem;
  font-weight: bold;
  letter-spacing: 0.02em;
}

.wft-featured-music-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fefeff;
  padding: 5px;
  text-align: center;
  font-family: "Shadows Into Light", cursive;
  font-size: 0.95rem;
  font-weight: bold;
}

:root {
  --brand-cyan: #e63946;
}

.wft-news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.wft-news-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 8px rgba(131, 3, 3, 0.5);
  background: rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
}

.wft-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(131, 3, 3, 0.7);
}

.wft-news-card h3 {
  font-family: "Shadows Into Light", cursive;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #fefeff;
  margin: 0 0 0.5rem 0;
}

.wft-news-card .news-date {
  text-align: center;
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.wft-news-card p {
  color: #fefeff;
  line-height: 1.6;
  margin: 0;
}

/* ===== Music Page ===== */

body.has-mini-player {
  padding-bottom: 70px;
}

#search-bar {
  display: flex;
  justify-content: center;
  padding: 1rem 1rem 0.5rem;
  max-width: 660px;
  margin: 0 auto;
}

#song-search {
  flex: 1;
  max-width: 400px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  color: #fefeff;
  font-family: "Shadows Into Light", cursive;
  outline: none;
}

#song-search:focus {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 6px rgba(230, 57, 70, 0.4);
}

#search-clear {
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  background: none;
  border: none;
  color: #fefeff;
  cursor: pointer;
  line-height: 1;
}

#search-clear:hover {
  color: var(--brand-cyan);
}

#genre-checkboxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  max-width: 660px;
  margin: 0 auto;
}

.genre-label {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}

.genre-label:hover {
  border-color: var(--brand-cyan);
}

.genre-label input {
  margin-right: 4px;
}

.genre-label:has(input:checked) {
  background: rgba(230, 57, 70, 0.25);
  border-color: var(--brand-cyan);
}

/* Main song grid on music page */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  padding: 1rem;
  max-width: 660px;
  margin: 0 auto;
}

/* Playing state for song cards */
.wft-featured-music-card.playing {
  box-shadow: 0 0 15px var(--brand-cyan);
  outline: 2px solid var(--brand-cyan);
}

/* Card buttons on music page */
.card-buttons {
  display: flex;
  gap: 4px;
  padding: 0 0.5rem 0.5rem;
  background: rgba(0, 0, 0, 0.85);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
}

.wft-featured-music-card:hover .card-buttons {
  opacity: 1;
}

.card-buttons button {
  flex: 1;
  padding: 4px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
  color: var(--brand-cyan);
  border: 1px solid var(--brand-cyan);
  border-radius: 4px;
}

.card-buttons button:hover {
  background: var(--brand-cyan);
  color: #000;
}

/* Player controls */
.player-container {
  max-width: 660px;
  margin: 0.5rem auto;
  padding: 0 1rem;
}

.waveform-canvas {
  width: 100%;
  height: 80px;
  display: block;
  background: #222;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.player-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.control-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fefeff;
  transition: color 0.2s, text-shadow 0.2s;
  padding: 0.25rem;
}

.control-button:hover {
  color: var(--brand-cyan);
  text-shadow: 0 0 10px var(--brand-cyan);
}

.progress-bar-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.progress-bar-bg {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--brand-cyan);
  border-radius: 3px;
  transition: width 0.1s;
}

.volume-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.volume-slider {
  width: 120px;
  accent-color: var(--brand-cyan);
}

/* Mini player */
.mini-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mini-player.visible {
  transform: translateY(0);
}

#mini-player-title {
  flex: 1;
  font-family: "Shadows Into Light", cursive;
  font-size: 0.95rem;
  color: #fefeff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player-controls {
  display: flex;
  gap: 0.25rem;
}

.mini-player-controls button {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: #fefeff;
}

.mini-player-controls button:hover {
  color: var(--brand-cyan);
}

#mini-player-progress-strip {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--brand-cyan);
  transition: width 0.1s;
}

/* Queue badge */
.queue-badge {
  position: relative;
  top: -2px;
  background: var(--brand-cyan);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  display: none;
}

.queue-badge.visible {
  display: inline-block;
}

/* Queue dropdown */
.queue-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem;
  display: none;
}

.queue-dropdown.visible {
  display: block;
}

.queue-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: #fefeff;
}

.queue-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.queue-remove {
  background: none;
  border: none;
  color: var(--brand-cyan);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 0.25rem;
}

.queue-clear-all {
  display: block;
  width: 100%;
  padding: 0.5rem;
  background: none;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--brand-cyan);
  cursor: pointer;
  font-size: 0.85rem;
}

.queue-clear-all:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Song note */
.song-note {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffcc00;
  padding: 2px 4px;
  font-size: 11px;
  text-align: center;
}

/* About page */
.about-section {
  max-width: 660px;
  margin: 2rem auto;
  padding: 1.5rem;
  font-family: "Shadows Into Light", cursive;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  box-shadow: 3px 3px 8px rgba(131, 3, 3, 0.5);
}

.about-title {
  text-align: center;
  font-size: 2.5rem;
  color: #e63946;
  text-shadow: 0 0 8px rgba(230, 57, 70, 0.6), 0 0 16px rgba(230, 57, 70, 0.3);
  margin-bottom: 1.5rem;
}

.about-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: #fefeff;
}

/* ===== Misc Page — Books ===== */

.wft-books-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.wft-book-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 8px rgba(131, 3, 3, 0.5);
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  text-align: center;
}

.wft-book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(131, 3, 3, 0.7);
}

.wft-book-cover {
  max-width: 200px;
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wft-book-title {
  font-family: "Shadows Into Light", cursive;
  font-size: 1.6rem;
  font-weight: bold;
  color: #fefeff;
  text-align: center;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 0 8px rgba(230, 57, 70, 0.6), 0 0 16px rgba(230, 57, 70, 0.3);
}

.wft-book-subtitle {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.wft-download-btn {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-family: "Shadows Into Light", cursive;
  background: #e63946;
  color: #fefeff;
  border: 2px solid #e63946;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
  margin: 0.25rem;
}

.wft-download-btn:hover {
  background: transparent;
  color: #e63946;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.wft-book-amazon {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #aaa;
}

.wft-book-amazon a {
  color: #e63946;
  font-weight: bold;
}

.wft-book-amazon a:hover {
  color: #ffd166;
}

/* ===== Misc Page — Video ===== */

.wft-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 3px 3px 8px rgba(131, 3, 3, 0.5);
}

.wft-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Tools Page ===== */

.wft-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.wft-tool-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 3px 3px 8px rgba(131, 3, 3, 0.5);
  background: rgba(0, 0, 0, 0.4);
  padding: 1.25rem;
}

.wft-tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(131, 3, 3, 0.7);
}

.wft-tool-title {
  font-family: "Shadows Into Light", cursive;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #fefeff;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 0 8px rgba(230, 57, 70, 0.6), 0 0 16px rgba(230, 57, 70, 0.3);
}

.wft-tool-desc {
  color: #fefeff;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.wft-launch-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-family: "Shadows Into Light", cursive;
  background: #e63946;
  color: #fefeff;
  border: 2px solid #e63946;
  border-radius: 6px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.wft-launch-btn:hover {
  background: transparent;
  color: #e63946;
  box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}
