/* ==========================================================
   THV Emotive Music - Main Stylesheet
   ========================================================== */

:root {
  --bg: #03112f;
  --bg-deep: #010817;
  --bg-soft: #071a45;
  --panel: rgba(6, 18, 48, 0.92);
  --panel-2: rgba(9, 24, 61, 0.94);
  --border: rgba(132, 160, 255, 0.16);
  --text: #f4f7ff;
  --muted: #a9b6da;
  --gold: #f2b234;
  --gold-2: #ffd66e;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
  background: radial-gradient(circle at top center, #0b275f 0%, #04173e 30%, #020d24 70%, var(--bg-deep) 100%);
}

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

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

button,
select,
audio {
  max-width: 100%;
  font: inherit;
}

/* ----------------------------------------------------------
   Layout
   ---------------------------------------------------------- */

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  margin: 18px auto;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(6, 18, 48, 0.97), rgba(3, 12, 34, 0.97));
  box-shadow: var(--shadow);
}

.section.utility {
  background: linear-gradient(180deg, rgba(8, 18, 42, 0.98), rgba(5, 12, 29, 0.98));
}

.section-title {
  margin: 0 0 8px;
  color: var(--gold-2);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
}

.site-header {
  display: block;
  padding: 26px 0 14px;
}

/* Add CSS for logo */
.site-header-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  padding: 20px 28px;
}

.site-logo-wrap {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
}

.site-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  display: block;
}

.site-title-wrap {
  text-align: center;
  padding-left: 110px;
  padding-right: 110px;
  background: linear-gradient(180deg, rgba(6, 18, 48, 0.97), rgba(3, 12, 34, 0.97));
  box-shadow: var(--shadow);
}

@media screen and (max-width: 768px) {
  .site-header-box {
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    padding: 18px 14px;
  }

  .site-logo-wrap {
    position: static;
    transform: none;
  }

  .site-logo {
    width: 72px;
    height: 72px;
  }

  .site-title-wrap {
    padding-left: 0;
    padding-right: 0;
  }
}
/* ---end CSS for logo--- */

.site-header-box {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.40) 0, transparent 60%);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.55);
}

.site-header-box h1,
.site-header-box h2 {
  margin: 0;
}

.site-header-box h1 {
  color: var(--gold-2);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
}

.site-header-box h2 {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
}

footer {
  padding: 14px 0 32px;
  color: #8f9ec6;
  font-size: 0.92rem;
  text-align: center;
}

/* ----------------------------------------------------------
   Shared Cards and Buttons
   ---------------------------------------------------------- */

.main-card,
.release-box,
.about-card,
.theme-card,
.utility-card,
.contact-card,
.quote,
.support-card,
.gratitude-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(242, 178, 52, 0.10), rgba(255, 255, 255, 0.02), rgba(51, 94, 190, 0.12));
}

.theme-card,
.contact-card {
  border-color: rgba(156, 181, 255, 0.12);
  background: linear-gradient(180deg, rgba(13, 31, 72, 0.98), rgba(8, 20, 46, 0.98));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.theme-card:hover,
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(242, 178, 52, 0.35);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.button-row,
.utility-actions,
.nav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  appearance: none;
  font-weight: bold;
  letter-spacing: 0.03em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn-primary {
  color: #162140;
  background: linear-gradient(180deg, #ffc74d, #f1a81b);
}

.btn-secondary {
  color: #f3f6ff;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

a[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.5;
}

.nav-pills {
  margin-top: 12px;
}

.pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 12px;
  color: #e5ebff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
}

/* ----------------------------------------------------------
   Image Frames - full four-sided flare/glow effect
   ---------------------------------------------------------- */

.image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 110, 0.72);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 214, 110, 0.12), rgba(255, 255, 255, 0.02)), var(--panel-2);
  box-shadow:
    0 0 0 1px rgba(255, 214, 110, 0.18),
    0 0 18px rgba(255, 214, 110, 0.52),
    0 0 42px rgba(242, 178, 52, 0.32),
    0 14px 30px rgba(0, 0, 0, 0.38),
    inset 0 0 18px rgba(255, 214, 110, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.image-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 0 26px rgba(255, 214, 110, 0.18),
    inset 0 0 3px rgba(255, 255, 255, 0.18);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.image-frame:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 214, 110, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 214, 110, 0.28),
    0 0 24px rgba(255, 214, 110, 0.62),
    0 0 58px rgba(242, 178, 52, 0.40),
    0 18px 34px rgba(0, 0, 0, 0.42),
    inset 0 0 20px rgba(255, 214, 110, 0.22);
}

.image-frame:hover img {
  transform: scale(1.04);
  opacity: 0.97;
}

/* ----------------------------------------------------------
   Hero
   ---------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 16px;
  align-items: stretch;
}

.hero > * {
  min-width: 0;
}

.hero-main {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.hero-main h1 {
  margin: 0;
  color: var(--gold-2);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 58ch;
  margin: 14px 0 8px;
  color: #f3f6ff;
  font-size: 1.1rem;
}

.hero-copy {
  margin: 0;
  color: var(--muted);
}

.hero .button-row {
  margin-top: auto;
}

.hero-photo {
  width: 100%;
  min-height: 0;
  aspect-ratio: 24 / 25;
}

/* ----------------------------------------------------------
   Featured Release and Palawan Corner
   ---------------------------------------------------------- */

.release-box {
  display: grid;
  gap: 10px;
}

.release-box p,
.release-box li,
.utility-card p,
.contact-card p,
.quote p,
.support-card p,
.gratitude-card p,
.gratitude-card li {
  color: var(--muted);
}

.release-list,
ul.clean {
  margin: 10px 0 0;
  padding-left: 18px;
}

.pp-reunion-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.pp-reunion-layout > * {
  min-width: 0;
}

.pp-cta {
  display: grid;
  gap: 12px;
}

.pp-cta__row {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.pp-cta__row:hover {
  transform: translateY(-1px);
  border-color: rgba(242, 178, 52, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.pp-cta__title {
  margin-bottom: 6px;
  color: #fff1c4;
}

.pp-cta__title .section-title,
.pp-cta__title p {
  margin: 0 0 6px;
}

.pp-photo-container {
  min-height: 260px;
}

/* ----------------------------------------------------------
   About
   ---------------------------------------------------------- */

.about-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
}

.about-wrap > * {
  min-width: 0;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.book-cover {
  width: 100%;
  max-width: 300px;
  justify-self: center;
}

.book-cover img {
  height: auto;
}

/* ----------------------------------------------------------
   Themes
   ---------------------------------------------------------- */

.themes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.themes-grid > * {
  min-width: 0;
}

.theme-card h3 {
  margin: 0 0 10px;
  color: #fff1c4;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.96rem;
}

.featured-item {
  margin-bottom: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.featured-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-2);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-title {
  display: block;
  margin-bottom: 2px;
  color: #f7f9ff;
  font-weight: bold;
}

.featured-preview {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.theme-image-card {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
}

.themes-photo {
  width: 100%;
  aspect-ratio: 8 / 7;
}

/* ----------------------------------------------------------
   Quick Listen and Read
   ---------------------------------------------------------- */

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quick-access-grid > * {
  min-width: 0;
}

.utility-card h3,
.contact-card h3,
.support-card h3,
.gratitude-card h3 {
  margin: 0 0 6px;
  color: #fff4cf;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #dce5ff;
  font-size: 0.92rem;
  font-weight: bold;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  color: #ffcc00;
  content: "▼";
  font-size: 0.8rem;
  pointer-events: none;
  transform: translateY(-50%);
}

select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  color: #fff;
  border: 1px solid rgba(255, 204, 0, 0.45);
  border-radius: 10px;
  outline: none;
  appearance: none;
  background-color: #3f4654;
  background-image: none;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.04);
}

select:hover,
select:focus {
  border-color: #ffcc00;
  background-color: #4b5363;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.06);
}

select option {
  color: #fff;
  background-color: #4b5363;
}

.selection-preview {
  min-height: 78px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.selection-preview strong {
  display: block;
  margin-bottom: 6px;
  color: #fff1c4;
}

.selection-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.utility-actions {
  margin-top: 14px;
}

.player-shell {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

audio {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* ----------------------------------------------------------
   Testimonials, Contact, Support, Gratitude
   ---------------------------------------------------------- */

.testimonials-grid,
.support-grid,
.gratitude-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonials-grid > *,
.support-grid > *,
.gratitude-grid > * {
  min-width: 0;
}

.quote strong {
  color: #fff1c4;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 24px;
}

.contact-left {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
}

.contact-card p {
  margin: 0;
  font-size: 0.96rem;
}

.contact-card .btn {
  margin-top: auto;
}

.contact-photo {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
}

.campaign-logo-card img {
  max-width: 220px;
  margin: 10px auto 0;
  border: 1px solid rgba(255, 214, 110, 0.55);
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 214, 110, 0.38), 0 12px 28px rgba(0, 0, 0, 0.35);
}


/* ======================== NEW CSS ======================== */
/* =========================================================
   THV Emotive Music Header
   Clean desktop + mobile version
   ========================================================= */

.site-header-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: min(var(--max), calc(100% - 40px));
  min-height: 120px;
  margin: 24px auto 28px auto;
  padding: 22px 28px;

  border-radius: 36px;
  background: linear-gradient(
    90deg,
    rgba(6, 31, 88, 0.95),
    rgba(10, 43, 109, 0.92),
    rgba(6, 31, 88, 0.95)
  );

  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.28);
}

/* Logo container */
.site-logo-wrap {
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);

  width: 106px;
  height: 106px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(3, 22, 65, 0.78);

  box-shadow:
    0 0 0 4px rgba(255, 230, 80, 0.95),
    0 0 16px rgba(255, 230, 80, 0.75),
    0 0 34px rgba(255, 230, 80, 0.45),
    0 10px 24px rgba(0, 0, 0, 0.35);

  z-index: 2;
}

/* Extra soft glow around logo */
.site-logo-wrap::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  pointer-events: none;

  box-shadow:
    0 0 24px rgba(255, 220, 80, 0.35),
    0 0 46px rgba(255, 220, 80, 0.22);
}

.site-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 3;
}

/* Rounded title background */
.site-title-pill {
  width: min(760px, calc(100% - 250px));
  min-height: 88px;
  padding: 14px 42px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border-radius: 999px;

  background: linear-gradient(
    90deg,
    rgba(2, 12, 43, 0.98),
    rgba(3, 18, 61, 0.98),
    rgba(2, 12, 43, 0.98)
  );

  box-shadow:
    inset 0 0 0 1px rgba(255, 220, 130, 0.16),
    inset 0 0 24px rgba(255, 220, 130, 0.06),
    0 12px 24px rgba(0, 0, 0, 0.24);
}

.site-title {
  margin: 0;

  color: #f4d06f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.3rem, 3.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  letter-spacing: 0.02em;
}

.site-subtitle {
  margin: 10px 0 0 0;

  color: #f6f0dc;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   Tablet and mobile header
   ========================================================= */

@media screen and (max-width: 900px) {
  .site-header-box {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 18px 16px;
    margin-top: 16px;
    margin-bottom: 22px;

    flex-direction: column;
    gap: 14px;
    border-radius: 28px;
  }

  .site-logo-wrap {
    position: relative;
    left: auto;
    top: auto;
    transform: none;

    width: 94px;
    height: 94px;
  }

  .site-logo {
    width: 74px;
    height: 74px;
  }

  .site-title-pill {
    width: 100%;
    min-height: auto;
    padding: 16px 18px;
    border-radius: 30px;
  }

  .site-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .site-subtitle {
    font-size: 0.98rem;
  }
}

/* Small phones */
@media screen and (max-width: 480px) {
  .site-header-box {
    width: calc(100% - 18px);
    padding: 16px 12px;
    border-radius: 24px;
  }

  .site-logo-wrap {
    width: 86px;
    height: 86px;
  }

  .site-logo {
    width: 68px;
    height: 68px;
  }

  .site-title-pill {
    padding: 15px 14px;
    border-radius: 24px;
  }

  .site-title {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .site-subtitle {
    font-size: 0.92rem;
  }
}

/* =========================================================
   General Android / mobile safety fixes
   ========================================================= */

@media screen and (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 20px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero,
  .pp-reunion-layout,
  .quick-access-grid,
  .support-grid,
  .gratitude-grid,
  .testimonials-grid,
  .about-wrap,
  .themes-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-content,
  .section {
    width: 100%;
    padding: 20px;
    border-radius: 16px;
  }

  .hero-card h1,
  .hero-content h1 {
    font-size: clamp(2rem, 12vw, 3.3rem);
    line-height: 1.08;
  }

  .hero-card p,
  .hero-content p {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .hero-photo,
  .book-cover {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .button-row,
  .utility-actions,
  .nav-pills {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .btn-secondary,
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* ====================== END NEW CSS ======================= */

