/* ==========================================================================
   Lucid Echo Chamber — Global Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Inter Display";
  src: url(/fonts/InterDisplay-SemiBold.woff2) format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: #0d0f12;
  color: #f1f3f5;
  line-height: 1.8;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5rem;
  background: rgba(42, 61, 156, 0.62);
  border-bottom: 1px solid #adb5bd;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  backdrop-filter: blur(4px);
}

.nav-logo {
  max-height: 2.25rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: #f1f3f5;
  font-size: 1rem;
  transition: border-bottom 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom: 2px solid #f1f3f5;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #f1f3f5;
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  right: 0;
  background: rgba(42, 61, 156, 0.95);
  z-index: 99;
  padding: 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #f1f3f5;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  width: 100vw;
  height: 90vh;
  background-color: #0d0f12;
  background-image: url(/images/LEC_Cover-bg.webp);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  max-width: 80vw;
  max-height: 40vh;
  width: auto;
}

/* --------------------------------------------------------------------------
   Streaming
   -------------------------------------------------------------------------- */
.streaming {
  background: #dcdcdc;
  padding: clamp(0.5rem, 1vw, 1rem) 0;
}

.streaming-grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  gap: 1rem;
  padding: 0 1rem;
}

.streaming-grid a img {
  height: 40px;
  width: auto;
}

/* --------------------------------------------------------------------------
   YouTube
   -------------------------------------------------------------------------- */
.youtube-section {
  padding: clamp(2rem, 5vw, 4rem) 0;
  background: #0d0f12;
}

.youtube-container {
  width: 94%;
  max-width: 800px;
  margin: 0 auto;
}

.youtube-container h2 {
  font-family: "Inter Display", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f1f3f5;
  margin-bottom: 1.5rem;
  text-align: center;
}

.youtube-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
}

.youtube-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   Music Grid
   -------------------------------------------------------------------------- */
.music-section {
  padding: clamp(5rem, 7vw, 7.5rem) 0;
  background: #0d0f12;
}

.music-section h1 {
  font-family: "Inter Display", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f1f3f5;
  text-align: center;
  margin-bottom: 2rem;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
}

.album-card {
  text-align: center;
}

.album-card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: opacity 0.2s;
}

.album-card:hover img {
  opacity: 0.85;
}

.album-card .title {
  font-size: 24px;
  font-weight: 700;
  color: #f1f3f5;
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-content {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
  background-color: #0d0f12;
  background-image: url(/images/LEC_Cover-bg.webp);
  background-size: 2048px;
  background-repeat: repeat;
  background-blend-mode: multiply;
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  color: #fff;
}

.footer-inner {
  width: 94%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}

.footer-logo {
  max-height: 3rem;
  width: auto;
  margin-bottom: 1rem;
}

.footer-subscribe p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-row input,
.form-single input {
  flex: 1;
  background: #fff;
  color: #4b4b4b;
  border: 2px solid;
  border-radius: 2px;
  padding: 0.25rem;
  font-family: inherit;
  font-size: 100%;
}

.form-single {
  margin-bottom: 0.5rem;
}

.form-single input {
  width: 100%;
}

.btn-subscribe {
  background: #0080ff;
  color: #fff;
  border: 2px solid #0080ff;
  border-radius: 4rem;
  padding: 0.5rem 1rem;
  font-family: ui-rounded, Hiragino Maru Gothic ProN, Quicksand, Comfortaa,
    Manjari, Arial Rounded MT, Calibri, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2rem;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.97);
  cursor: pointer;
}

.btn-subscribe:hover {
  background: #3b3f9b;
  border-color: #3b3f9b;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  border-radius: 1rem;
  overflow: hidden;
}

.social-links img {
  height: 32px;
  width: 32px;
}

.footer-bottom {
  width: 94%;
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  text-align: left;
  color: #fff;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CKI Badge
   -------------------------------------------------------------------------- */
.cki-badge {
  position: fixed;
  bottom: 8px;
  right: 8px;
  border: 2px solid #027afb;
  border-radius: 999px;
  padding: 4px 10px;
  z-index: 200;
  background: #fff;
}

.cki-badge img {
  height: 24px;
  width: auto;
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.about-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0d0f12;
  background-image: url(/images/abstract.webp);
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
  padding: 6rem 1.5rem 4rem;
}

.about-content {
  max-width: 700px;
  text-align: center;
}

.about-content h1 {
  font-family: "Inter Display", sans-serif;
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #f1f3f5;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #f1f3f5;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Contact Page
   -------------------------------------------------------------------------- */
.contact-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0f12;
  padding: 6rem 1.5rem;
}

.contact-form {
  max-width: 500px;
  width: 100%;
}

.contact-form h1 {
  font-family: "Inter Display", sans-serif;
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #f1f3f5;
  margin-bottom: 2rem;
}

.contact-form label {
  display: block;
  color: #adb5bd;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #fff;
  color: #4b4b4b;
  border: 2px solid;
  border-radius: 2px;
  padding: 0.5rem;
  font-family: inherit;
  font-size: 100%;
  margin-bottom: 1rem;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-contact {
  background: #0080ff;
  color: #fff;
  border: 2px solid #0080ff;
  border-radius: 4rem;
  padding: 0.5rem 2rem;
  font-family: ui-rounded, Hiragino Maru Gothic ProN, Quicksand, Comfortaa,
    Manjari, Arial Rounded MT, Calibri, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-contact:hover {
  background: #3b3f9b;
  border-color: #3b3f9b;
}

/* --------------------------------------------------------------------------
   Privacy Page
   -------------------------------------------------------------------------- */
.privacy-section {
  background: #0d0f12;
  padding: 6rem 1.5rem;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h1 {
  font-family: "Inter Display", sans-serif;
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #f1f3f5;
  margin-bottom: 2rem;
}

.privacy-content h2 {
  font-family: "Inter Display", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #f1f3f5;
  margin: 2rem 0 1rem;
}

.privacy-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f3f5;
  margin: 1.5rem 0 0.75rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  color: #d1d5db;
}

.privacy-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: #d1d5db;
}

.privacy-content li {
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Album Page
   -------------------------------------------------------------------------- */
.album-section {
  background: #0d0f12;
  padding: 6rem 1.5rem 4rem;
}

.album-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.album-cover {
  height: auto;
  width: 100%;
  border-radius: 5px;
}

.album-info h1 {
  font-family: "Inter Display", sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: #f1f3f5;
  margin-bottom: 0.5rem;
}

.album-info .genre {
  display: inline-block;
  background: #343a40;
  color: #f1f3f5;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.album-info .release-date {
  color: #adb5bd;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.album-info .description {
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.album-streaming {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.album-streaming a {
  background: #343a40;
  color: #f1f3f5;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.album-streaming a:hover {
  background: #0080ff;
}

.back-link {
  color: #0080ff;
  font-size: 0.9rem;
}

.back-link:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Tracklist (Album Pages)
   -------------------------------------------------------------------------- */
.tracklist-section {
  margin-top: 2rem;
}

.tracklist-heading {
  font-family: "Inter Display", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f3f5;
  margin-bottom: 0.75rem;
}

.tracklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid #343a40;
}

.tracklist li {
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid #343a40;
  gap: 0.75rem;
}

.tracklist li:hover {
  background: rgba(255, 255, 255, 0.03);
}

.track-num {
  color: #868e96;
  font-size: 0.85rem;
  min-width: 1.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.track-name {
  flex: 1;
  color: #f1f3f5;
  font-size: 0.95rem;
}

.track-dur {
  color: #868e96;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.apple-player {
  margin-top: 2rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .music-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .streaming-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .album-inner {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}
