/* Echoo Full Cover Poster Party Drop - Native 430px Mobile Alignment */
:root {
  --party-card-radius: 20px;
  --party-glass-bg: rgba(24, 24, 23, 0.88);
  --party-border: rgba(248, 245, 239, 0.16);
  --party-border-hover: rgba(247, 213, 178, 0.55);
}

/* Weekly event art always lands in the same poster frame, even when a source
   supplies landscape, portrait, or square images. */
.event-card {
  position: relative;
  flex: 0 0 clamp(218px, 68vw, 270px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 20px;
  background: #151515;
  border: 1px solid var(--line, rgba(248, 245, 239, 0.12));
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  cursor: pointer;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card:active {
  transform: scale(0.98);
}

.event-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.03);
}

.event-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 7px;
  padding: 14px;
  background: linear-gradient(to top, rgba(9, 9, 8, 0.94) 0%, rgba(9, 9, 8, 0.42) 48%, rgba(9, 9, 8, 0.05) 100%);
}

.event-date-badge {
  align-self: flex-start;
  padding: 5px 9px;
  border: 1px solid rgba(247, 213, 178, 0.28);
  border-radius: 999px;
  background: rgba(10, 10, 9, 0.6);
  color: var(--peach, #f7d5b2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.event-card-title {
  width: 100%;
  color: var(--ink, #f8f5ef);
  font-size: 17px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.event-card-time {
  width: 100%;
  overflow: hidden;
  color: rgba(248, 245, 239, 0.78);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#party-radar-mount {
  width: 100%;
  display: block;
  clear: both;
  box-sizing: border-box;
}

.party-radar-section {
  width: 100%;
  box-sizing: border-box;
  margin: 16px 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.party-radar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(248, 245, 239, 0.08);
}

.party-radar-title {
  margin: 0;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
}

.party-radar-subtitle {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.party-cards-stack {
  width: 100%;
  box-sizing: border-box;
}

/* Full Cover Image Card - Big, Captivating Poster Display */
.party-card {
  width: 100%;
  border-radius: var(--party-card-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  background: #0d0c0b;
  border: 1px solid var(--party-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.party-card:hover,
.party-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--party-border-hover);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  outline: none;
}

.party-poster-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.party-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.05) contrast(1.04);
  display: block;
}

.party-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 9, 0.92) 0%,
    rgba(10, 10, 9, 0.35) 45%,
    rgba(10, 10, 9, 0.15) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px 16px;
  box-sizing: border-box;
}

.party-card-top-badge {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 99px;
  background: rgba(12, 12, 11, 0.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(247, 213, 178, 0.35);
  color: var(--peach);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.party-card-bottom-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.party-card-text-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.party-card-date-line {
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
}

.party-card-title-line {
  margin: 0;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.party-card-rsvp-pill {
  padding: 6px 13px;
  border-radius: 99px;
  background: var(--peach);
  color: #111110;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Modal / Bottom Detail Sheet */
.party-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.party-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.party-modal-sheet {
  width: min(100vw, 430px);
  max-height: 88vh;
  background: #111110;
  border: 1px solid rgba(248, 245, 239, 0.14);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
}

.party-modal-backdrop.active .party-modal-sheet {
  transform: translateY(0);
}

.party-modal-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #2a201b, #0f0f0e);
}

.party-modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.party-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s ease;
}

.party-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.party-modal-body {
  padding: 20px 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.party-modal-date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
}

.party-modal-title {
  margin: 4px 0 0;
  font-size: 22px;
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.party-modal-venue {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
  display: block;
}

.party-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(248, 245, 239, 0.035);
  border: 1px solid rgba(248, 245, 239, 0.08);
  border-radius: 12px;
}

.party-meta-item-title {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.party-meta-item-val {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.party-modal-desc {
  font-size: 13px;
  line-height: 1.48;
  color: rgba(248, 245, 239, 0.82);
  margin: 0;
  font-weight: 400;
}

.party-modal-lineup-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.party-modal-lineup-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--peach);
}

.party-modal-lineup-names {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.party-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 6px;
}

.party-btn-whatsapp {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--peach);
  color: #111110;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.party-btn-whatsapp:hover {
  opacity: 0.93;
  transform: scale(1.01);
}

.party-btn-map {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(248, 245, 239, 0.06);
  color: var(--ink);
  border: 1px solid rgba(248, 245, 239, 0.14);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.party-btn-map:hover {
  background: rgba(248, 245, 239, 0.1);
}
