/* ========================================================
   ERINE THEATER PLUGIN - STYLE.CSS
   Matching dengan desain showcase Erine (Elegant Royal Theme)
======================================================== */

:root {
  --erine-bg-card: #faf7f5;
  --erine-bg-stripe: #e1ddd2;
  --erine-border-color: #d6c9b6;
  --erine-text-color: #372e27;
  --erine-gold-dark: #b89b72;
  --erine-gradient-start: #db9662;
  --erine-accent: #e67e22;
}

/* ========================================================
   WRAPPER UTAMA
======================================================== */
.erine-compact-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  background-color: var(--erine-bg-card);
  padding: 60px 30px 100px 30px;
  border: 2px solid var(--erine-border-color);
  outline: 6px double var(--erine-bg-stripe);
  outline-offset: -20px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  font-family: "EB Garamond", "Garamond", serif;
  color: var(--erine-text-color);
  box-sizing: border-box;
}

/* Background Kastil */
.erine-compact-wrapper::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background:
    linear-gradient(to bottom, transparent 20%, var(--erine-bg-stripe) 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 40px,
      var(--erine-border-color) 40px,
      var(--erine-border-color) 60px,
      transparent 60px,
      transparent 100px
    ),
    linear-gradient(to top, var(--erine-border-color) 0%, transparent 60%);
  background-size:
    100% 100%,
    200px 60px,
    100% 100%;
  background-repeat: no-repeat, repeat-x, no-repeat;
  background-position:
    bottom center,
    bottom center,
    bottom center;
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

/* ========================================================
   HEADER SECTION
======================================================== */
.erine-top-header {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 40px;
}

.erine-top-header h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin: 0 0 15px 0;
  letter-spacing: 2px;
  color: var(--erine-text-color);
  text-transform: uppercase;
}

.erine-top-header h1 span {
  font-weight: 300;
  color: var(--erine-gradient-start);
  font-style: italic;
}

.erine-top-header .update {
  font-size: 1.3rem;
  color: var(--erine-text-color);
  opacity: 0.85;
  font-style: italic;
  font-weight: 700;
}

.erine-top-header .update span {
  font-weight: 700;
  color: var(--erine-accent);
}

/* ========================================================
   LOADING STATE
======================================================== */
.loading-elegant {
  text-align: center;
  padding: 80px 20px;
  color: var(--erine-text-color);
  position: relative;
  z-index: 2;
}

.loading-elegant .spinner {
  width: 50px;
  height: 50px;
  border: 5px solid var(--erine-border-color);
  border-top: 5px solid var(--erine-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-elegant p {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--erine-text-color);
}

/* ========================================================
   ERROR / NO SCHEDULE STATE
======================================================== */
.no-schedule-message {
  text-align: center;
  padding: 60px 30px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(159, 121, 46, 0.35);
  border-radius: 22px;
  margin: 30px auto;
  max-width: 700px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.no-schedule-message .icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.7;
}

.no-schedule-message h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--erine-accent);
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
}

.no-schedule-message p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--erine-text-color);
  margin: 0;
  font-style: italic;
}

.no-schedule-message .note {
  margin-top: 20px;
  padding: 15px 25px;
  background: rgba(230, 126, 34, 0.1);
  border-left: 4px solid var(--erine-accent);
  border-radius: 8px;
  font-size: 1.1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--erine-text-color);
}

/* ========================================================
   CARD THEATER
======================================================== */
.erine-compact-card {
  margin: 30px auto;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(159, 121, 46, 0.35);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

/* Header Card dengan Tanggal */
.erine-compact-card .card-header {
  background: var(--erine-text-color);
  padding: 18px 30px;
  border-bottom: 3px solid var(--erine-accent);
  text-align: center;
}

.erine-compact-card .date {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--erine-bg-stripe);
  margin: 0;
  letter-spacing: 1px;
}

/* Body Card */
.erine-compact-card .body {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  padding: 40px 35px;
  background: linear-gradient(135deg, var(--erine-bg-card) 0%, #f0e8dc 100%);
  align-items: flex-start;
}

.erine-compact-card .left {
  flex: 1;
  min-width: 300px;
}

/* Time Info */
.erine-compact-card .time {
  font-size: 1.4rem;
  color: var(--erine-text-color);
  font-weight: 700;
  margin-bottom: 10px;
}

.erine-compact-card .highlight {
  color: var(--erine-accent);
  font-weight: 900;
  font-size: 1.8rem;
}

/* Setlist Title */
.erine-compact-card .setlist {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--erine-accent);
  margin: 20px 0 25px;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* ========================================================
   MEMBER PILLS
======================================================== */
.erine-compact-card .pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.erine-compact-card .pill {
  background: var(--erine-text-color);
  color: white;
  padding: 11px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: default;
}

.erine-compact-card .pill:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Highlight untuk Erine */
.erine-compact-card .pill.highlight-erine {
  background: var(--erine-gradient-start) !important;
  color: var(--erine-text-color) !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  padding: 12px 24px !important;
  animation: glow-erine 2.5s infinite;
  border: 2px solid var(--erine-accent);
}

@keyframes glow-erine {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.6);
  }
  50% {
    box-shadow:
      0 0 30px rgba(230, 126, 34, 0.9),
      0 0 40px rgba(230, 126, 34, 0.5);
  }
}

/* ========================================================
   BUTTONS (Ticket Links)
======================================================== */
.erine-compact-card .btn {
  display: inline-block;
  padding: 15px 38px;
  background: var(--erine-text-color);
  color: white;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  margin-right: 20px;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.erine-compact-card .btn:hover {
  background: #000;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.erine-compact-card .btn.idn {
  background: var(--erine-accent);
  color: white;
}

.erine-compact-card .btn.idn:hover {
  background: #c86419;
}

/* ========================================================
   POSTER IMAGE
======================================================== */
.erine-compact-card .right {
  flex: 0 0 auto;
}

.erine-compact-card .right img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 18px;
  border: 8px solid white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

.erine-compact-card .right img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ========================================================
   FOOTER
======================================================== */
.erine-compact-card .footer {
  text-align: center;
  padding: 20px;
  background: var(--erine-text-color);
  color: var(--erine-bg-stripe);
  font-size: 1rem;
  font-weight: 600;
}

/* ========================================================
   RESPONSIVE - TABLET
======================================================== */
@media screen and (max-width: 1024px) {
  .erine-compact-wrapper {
    padding: 50px 20px 80px 20px;
    max-width: 900px;
  }

  .erine-top-header h1 {
    font-size: 2.8rem;
  }

  .erine-top-header .update {
    font-size: 1.2rem;
  }

  .erine-compact-card .setlist {
    font-size: 2.5rem;
  }

  .erine-compact-card .right img {
    width: 260px;
    height: 260px;
  }
}

/* ========================================================
   RESPONSIVE - MOBILE
======================================================== */
@media screen and (max-width: 768px) {
  .erine-compact-wrapper {
    padding: 45px 15px 75px 15px;
  }

  .erine-top-header h1 {
    font-size: 2.4rem;
    letter-spacing: 1px;
  }

  .erine-top-header .update {
    font-size: 1.1rem;
  }

  .no-schedule-message {
    padding: 50px 25px;
  }

  .no-schedule-message .icon {
    font-size: 3.5rem;
  }

  .no-schedule-message h3 {
    font-size: 1.7rem;
  }

  .no-schedule-message p {
    font-size: 1.15rem;
  }

  .no-schedule-message .note {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .erine-compact-card .body {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
    align-items: center;
  }

  .erine-compact-card .left {
    min-width: auto;
    width: 100%;
  }

  .erine-compact-card .pills {
    justify-content: center;
  }

  .erine-compact-card .setlist {
    font-size: 2.2rem;
  }

  .erine-compact-card .right {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .erine-compact-card .right img {
    width: 250px;
    height: 250px;
  }

  .erine-compact-card .btn {
    display: block;
    margin: 15px auto;
    width: fit-content;
  }
}

/* ========================================================
   RESPONSIVE - SMALL MOBILE
======================================================== */
@media screen and (max-width: 480px) {
  .erine-compact-wrapper {
    padding: 40px 12px 65px 12px;
  }

  .erine-top-header h1 {
    font-size: 2rem;
  }

  .erine-compact-card .card-header {
    padding: 15px 20px;
  }

  .erine-compact-card .date {
    font-size: 1.4rem;
  }

  .erine-compact-card .body {
    padding: 30px 20px;
  }

  .erine-compact-card .setlist {
    font-size: 1.9rem;
  }

  .erine-compact-card .time {
    font-size: 1.2rem;
  }

  .erine-compact-card .highlight {
    font-size: 1.5rem;
  }

  .erine-compact-card .pill {
    font-size: 0.9rem;
    padding: 9px 16px;
  }

  .erine-compact-card .pill.highlight-erine {
    font-size: 1rem !important;
    padding: 10px 20px !important;
  }

  .erine-compact-card .right img {
    width: 220px;
    height: 220px;
  }

  .erine-compact-card .btn {
    font-size: 1.1rem;
    padding: 12px 30px;
  }
}
