/* RAGAPOP Website Styles */
/* Font: Outfit (loaded in HTML) */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #eb46b4;
  --pink-muted: rgba(235,70,180,0.65);
  --white: #fff;
  --white-muted: rgba(255,255,255,0.65);
  --white-faint: rgba(255,255,255,0.15);
  --black: #000;
  --card-bg: rgba(255,255,255,0.1);
  --card-radius: 12px;
  --font: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

/* Loading message */
.loading-msg {
  color: var(--pink-muted);
  text-align: center;
  padding: 40px;
  font-size: 16px;
  grid-column: 1 / -1;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px 0 20px;
}

.logo-link {
  display: block;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-link svg {
  width: 210px;
  height: auto;
  fill: currentColor;
  color: currentColor;
}

.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 400;
  transition: opacity 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 0.8;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font);
  font-size: 18px;
  cursor: pointer;
}

/* ===== PAGES ===== */
.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ===== HOME PAGE ===== */
#page-home {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.22));
  pointer-events: none;
  z-index: 1;
}

.home-overlay {
  position: relative;
  z-index: 5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 92px;
}

.home-cards-wrapper {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding: 0 20px 12px;
}

.home-cards {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.home-cards::-webkit-scrollbar {
  height: 4px;
}

.home-cards::-webkit-scrollbar-track {
  background: transparent;
}

.home-cards::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.home-card {
  display: flex;
  min-width: 380px;
  max-width: 420px;
  background: var(--card-bg);
  border-radius: var(--card-radius);
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
  transition: background 0.2s;
}

.home-card:hover {
  background: rgba(255,255,255,0.18);
}

.home-card img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--card-radius);
  flex-shrink: 0;
}

.home-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
}

.home-card-body h3 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
}

.home-card-view {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

/* ===== INFO PAGE ===== */
#page-info {
  padding-top: 80px;
}

.info-inner {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  gap: 40px;
  padding: 40px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.info-text {
  color: var(--pink);
  font-size: 17px;
  line-height: 1.7;
}

.info-text p {
  margin-bottom: 1.2em;
}

.info-text p:last-child {
  margin-bottom: 0;
}

.info-photo img {
  width: 100%;
  object-fit: cover;
  border-radius: var(--card-radius);
}

/* ===== MUSIC PAGE ===== */
#page-music {
  padding-top: 100px;
}

#music-grid {
  display: none;
}

.spotify-embed-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

.spotify-embed-wrapper iframe {
  display: block;
  border-radius: 12px;
  height: calc(100dvh - 160px);
  min-height: 400px;
}

.music-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.music-card {
  display: block;
  text-decoration: none;
}

.music-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--card-radius);
  margin-bottom: 10px;
  transition: transform 0.2s;
}

.music-card:hover img {
  transform: scale(1.02);
}

.music-card-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--pink);
  text-align: center;
}

/* ===== VIDEOS PAGE ===== */
#page-videos {
  padding-top: 100px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 20px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  display: block;
  text-decoration: none;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 10px;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
  margin-left: 4px;
}

.video-card-title {
  font-size: 16px;
  font-weight: 400;
  color: var(--pink);
  text-align: center;
}

/* ===== DATES PAGE ===== */
#page-dates {
  padding-top: 80px;
}

.dates-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.no-shows {
  color: var(--pink);
  font-size: 20px;
  text-align: center;
}

.date-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
}

.date-info {
  flex: 1;
}

.date-date {
  font-size: 14px;
  color: var(--pink);
  margin-bottom: 4px;
}

.date-venue {
  font-size: 18px;
  font-weight: 400;
}

.date-location {
  font-size: 14px;
  color: var(--white-muted);
}

.date-tickets {
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.date-tickets:hover {
  opacity: 0.85;
}

/* ===== FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.site-footer.home-footer {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 100%;
  z-index: 15;
  pointer-events: none;
}

.site-footer.home-footer .footer-nav,
.site-footer.home-footer .subscribe-btn {
  pointer-events: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-nav a {
  color: var(--white-muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px 8px 0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-nav a:not(:last-child)::after {
  content: ",";
  margin-left: 1px;
}

.booking-btn {
  background: var(--white-faint);
  color: var(--white-muted);
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  text-decoration: none;
  transition: background 0.2s;
}
.booking-btn:hover { background: rgba(255,255,255,0.25); color: var(--white); }

.subscribe-btn {
  display: none; /* hidden for now — uncomment display:flex below to restore */
  background: var(--white-faint);
  color: var(--white-muted);
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.subscribe-btn:hover {
  background: rgba(255,255,255,0.25);
}

/* ===== SUBSCRIBE MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
}

.modal h2 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--white);
}

.modal p {
  color: var(--white-muted);
  font-size: 14px;
  margin-bottom: 20px;
}

.modal form {
  display: flex;
  gap: 8px;
}

.modal input[type="email"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
}

.modal input[type="email"]:focus {
  border-color: var(--pink);
}

.modal button[type="submit"] {
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.modal button[type="submit"]:hover {
  opacity: 0.85;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white-muted);
  font-size: 28px;
  cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-header {
    z-index: 60;
  }

  .header-inner {
    padding: 18px 22px 0 22px;
    align-items: flex-start;
  }

  .logo-link svg {
    width: 180px;
  }

  .main-nav {
    display: none;
    gap: 14px;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 22px;
    background: rgba(0,0,0,0.96);
    padding: 18px 18px 16px;
    border-radius: 16px;
    min-width: 150px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 18px;
    font-weight: 500;
  }

  .menu-btn {
    display: block;
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 6px;
  }

  #page-home {
    min-height: auto;
    overflow: visible;
  }

  .hero-bg {
    position: relative;
    width: 100%;
    height: auto;
  }

  .hero-bg img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
    object-position: center;
  }

  .hero-bg::after {
    display: none;
  }

  .home-overlay {
    min-height: auto;
    display: block;
    padding-bottom: 0;
  }

  .home-cards-wrapper {
    margin-top: 22px;
    padding: 0 18px 0 18px;
  }

  .home-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .home-card {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    min-height: 112px;
    border-radius: 22px;
    background: rgba(73, 10, 48, 0.88);
  }

  .home-card img {
    width: 112px;
    height: 112px;
    border-radius: 22px;
  }

  .home-card-body {
    padding: 18px 18px 16px 18px;
  }

  .home-card-body h3 {
    font-size: 19px;
    line-height: 1.2;
  }

  .home-card-view {
    font-size: 16px;
    gap: 6px;
  }
.site-footer {
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  z-index: 10;
  padding: 26px 18px 88px;
  margin-top: 24px;
  display: block;
  pointer-events: auto;
}

  .site-footer.home-footer {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    z-index: 10;
    margin-top: 24px;
    pointer-events: auto;
  }

  .footer-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    margin-bottom: 28px;
  }

.footer-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;

  padding: 14px 16px 14px 0; /* ← important */
  font-size: 17px;
  color: var(--pink);

  border-top: 1px solid rgba(235,70,180,0.55);
  position: relative;
}

  .footer-nav a:last-child {
    border-bottom: 1px solid rgba(235,70,180,0.55);
  }

.footer-nav a::after,
.footer-nav a:not(:last-child)::after,
.footer-nav a:last-child::after {
  content: "↗";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pink);
}

  .footer-nav,
  .subscribe-btn {
    position: static !important;
  }

.subscribe-btn {
  display: none;
}

.booking-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-width: 290px;
  margin: 0 auto 56px;
  padding: 16px 22px;
  font-size: 16px;
  color: var(--pink);
  background: rgba(92, 15, 62, 0.85);
  border: 1px solid rgba(235,70,180,0.4);
  border-radius: 16px;
}

  #page-info {
    padding-top: 96px;
  }

  .info-inner {
    grid-template-columns: 1fr;
    padding: 24px 18px 42px;
    gap: 24px;
  }

  .info-photo {
    order: -1;
  }

  .spotify-embed-wrapper {
    padding: 0 18px 28px;
  }

  .music-grid {
    grid-template-columns: 1fr;
    padding: 24px 18px 42px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    padding: 24px 18px 42px;
  }

  .dates-container {
    padding: 24px 18px 42px;
  }

  .date-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 16px 18px 0 18px;
  }

  .logo-link svg {
    width: 150px;
  }

  .menu-btn {
    font-size: 17px;
  }

  .hero-bg img {
    aspect-ratio: 1 / 1.12;
  }

  .home-cards-wrapper {
    margin-top: 18px;
    padding: 0 14px;
  }

  .home-card {
    min-height: 112px;
    border-radius: 20px;
  }

  .home-card img {
    width: 112px;
    height: 112px;
    border-radius: 20px;
  }

  .home-card-body {
    padding: 16px 16px 14px 16px;
  }

  .home-card-body h3 {
    font-size: 17px;
  }

  .home-card-view {
    font-size: 15px;
  }

  .site-footer {
    padding: 24px 14px 120px;
  }

  .footer-nav a {
    font-size: 16px;
  }

.booking-btn {
  min-width: 100%;
  width: 100%;
  font-size: 15px;
  margin: 0 auto 72px;
}

  .music-grid {
    grid-template-columns: 1fr;
  }
}
