/* ===== SEÇÃO COMUNIDADE DA LIVE — CONVITE PREMIUM ===== */
.liveCommunitySection {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(30, 144, 255, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 82% 80%, rgba(99, 102, 241, 0.35) 0%, transparent 50%),
    linear-gradient(135deg, #051428 0%, #0a2855 45%, #0b1e3f 100%);
  color: #fff;
}

.liveCommunitySection .section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== CARD CONVITE ===== */
.liveInviteCard {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: rgba(8, 22, 50, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 48px 48px 44px;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.5),
    0 20px 40px -20px rgba(30, 144, 255, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

/* === Camadas decorativas === */
.liveInviteCard-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(30, 144, 255, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(99, 102, 241, 0.35) 0%, transparent 45%);
  z-index: -2;
  pointer-events: none;
}

.liveInviteCard-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 80%);
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.liveInviteCard-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: liveInviteGlow 10s ease-in-out infinite alternate;
}

.liveInviteCard-glow--tl {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
}

.liveInviteCard-glow--br {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  animation-delay: -5s;
}

@keyframes liveInviteGlow {
  0%   { transform: scale(1) translate(0, 0);   }
  100% { transform: scale(1.2) translate(20px, 20px); }
}

/* === Cantos === */
.liveInviteCard-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(255, 255, 255, 0.3);
  border-style: solid;
  border-width: 0;
  z-index: 2;
}
.liveInviteCard-corner--tl { top: 18px; left: 18px;     border-top-width: 2px; border-left-width: 2px;     border-top-left-radius: 8px; }
.liveInviteCard-corner--tr { top: 18px; right: 18px;    border-top-width: 2px; border-right-width: 2px;    border-top-right-radius: 8px; }
.liveInviteCard-corner--bl { bottom: 18px; left: 18px;  border-bottom-width: 2px; border-left-width: 2px;  border-bottom-left-radius: 8px; }
.liveInviteCard-corner--br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }

/* ===== HEADER ===== */
.liveInviteCard-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.liveInviteCard-liveBadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 10px;
  background: rgba(255, 68, 68, 0.16);
  border: 1px solid rgba(255, 68, 68, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.liveInviteCard-pulseDot {
  position: relative;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.liveInviteCard-pulseDot span {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 68, 68, 0.8);
  z-index: 1;
}

.liveInviteCard-pulseDot::before,
.liveInviteCard-pulseDot::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff4444;
  opacity: 0.6;
  animation: livePulseRing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.liveInviteCard-pulseDot::after {
  animation-delay: 1s;
}

@keyframes livePulseRing {
  0%   { transform: scale(0.7); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.liveInviteCard-liveText {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffdada;
}

.liveInviteCard-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #fff 0%, #cae6fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.liveInviteCard-header p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  margin: 0;
  max-width: 580px;
}

.liveInviteCard-header p strong {
  color: #fff;
  font-weight: 600;
}

/* ===== META: Data + Apresentador (lado a lado) ===== */
.liveInviteCard-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.liveInviteCard-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.liveInviteCard-blockLabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* DATA */
.liveInviteCard-dateRow {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  line-height: 0.85;
}

.liveInviteCard-day {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #fff 0%, #cae6fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 16px rgba(56, 189, 248, 0.4));
}

.liveInviteCard-monthInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
}

.liveInviteCard-month {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.liveInviteCard-year {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.6;
  letter-spacing: 0.1em;
}

.liveInviteCard-time {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -2px;
}

.liveInviteCard-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
}

.liveInviteCard-wave span {
  display: inline-block;
  width: 3px;
  background: linear-gradient(180deg, #38bdf8 0%, #1E90FF 100%);
  border-radius: 2px;
  box-shadow: 0 0 4px rgba(56, 189, 248, 0.6);
  animation: liveWave 1.2s ease-in-out infinite;
}

.liveInviteCard-wave span:nth-child(1) { height: 40%;  animation-delay: 0s;    }
.liveInviteCard-wave span:nth-child(2) { height: 80%;  animation-delay: 0.15s; }
.liveInviteCard-wave span:nth-child(3) { height: 100%; animation-delay: 0.3s;  }
.liveInviteCard-wave span:nth-child(4) { height: 60%;  animation-delay: 0.45s; }
.liveInviteCard-wave span:nth-child(5) { height: 30%;  animation-delay: 0.6s;  }

@keyframes liveWave {
  0%, 100% { transform: scaleY(0.4); }
  50%      { transform: scaleY(1);   }
}

.liveInviteCard-time strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.liveInviteCard-time span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* HOST */
.liveInviteCard-hostRow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.liveInviteCard-hostAvatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 25%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(30, 144, 255, 0.18);
}

.liveInviteCard-hostInfo {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.liveInviteCard-hostName {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  background: linear-gradient(180deg, #fff 0%, #cae6fb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.liveInviteCard-hostRole {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.7;
}

/* ===== BENEFITS ===== */
.liveInviteCard-benefits {
  margin-bottom: 32px;
}

.liveInviteCard-benefitsLabel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.liveInviteCard-benefitsLabel span {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.18), transparent);
}

.liveInviteCard-benefitsLabel strong {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.liveInviteCard-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.liveInviteCard-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}

.liveInviteCard-benefits li img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.liveInviteCard-benefits li strong {
  color: #fff;
  font-weight: 600;
}

/* ===== COUNTDOWN ===== */
.liveInviteCard-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.liveInviteCard-countdownLabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

.liveInviteCard-countdownGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 480px;
}

.liveInviteCard-countdownBlock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 6px;
  background: linear-gradient(180deg, rgba(30, 144, 255, 0.18) 0%, rgba(30, 144, 255, 0.06) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.liveInviteCard-countdownBlock::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent);
}

.liveInviteCard-countdownBlock strong {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(56, 189, 248, 0.4);
}

.liveInviteCard-countdownBlock span {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 450px) {
  .liveInviteCard-countdown {
    padding: 16px 14px;
    gap: 10px;
  }
  .liveInviteCard-countdownGrid {
    gap: 6px;
  }
  .liveInviteCard-countdownBlock {
    padding: 10px 4px;
  }
  .liveInviteCard-countdownBlock strong {
    font-size: 24px;
  }
  .liveInviteCard-countdownBlock span {
    font-size: 9px;
  }
}

/* ===== CTA ===== */
.liveInviteCard-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 28px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  transition: transform 0.18s, background-color 0.18s, box-shadow 0.18s;
  animation: liveCtaPulse 2s ease-out infinite;
}

@keyframes liveCtaPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55),
                0 8px 24px rgba(37, 211, 102, 0.3);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0),
                0 8px 24px rgba(37, 211, 102, 0.3);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0),
                0 8px 24px rgba(37, 211, 102, 0.3);
  }
}

.liveInviteCard-cta:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  animation: none;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.liveInviteCard-cta:active {
  transform: translateY(0);
}

.liveInviteCard-cta svg {
  flex-shrink: 0;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {
  .liveCommunitySection {
    padding: 56px 0;
  }
  .liveInviteCard {
    padding: 36px 28px 32px;
    border-radius: 24px;
  }
  .liveInviteCard-header h2 {
    font-size: 28px;
  }
  .liveInviteCard-header p {
    font-size: 14.5px;
  }
  .liveInviteCard-meta {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .liveInviteCard-benefits ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .liveInviteCard-day {
    font-size: 64px;
  }
}

@media (max-width: 450px) {
  .liveCommunitySection {
    padding: 44px 0;
  }
  .liveInviteCard {
    padding: 32px 22px 28px;
    border-radius: 22px;
  }
  .liveInviteCard-corner {
    width: 16px;
    height: 16px;
  }
  .liveInviteCard-corner--tl { top: 12px; left: 12px; }
  .liveInviteCard-corner--tr { top: 12px; right: 12px; }
  .liveInviteCard-corner--bl { bottom: 12px; left: 12px; }
  .liveInviteCard-corner--br { bottom: 12px; right: 12px; }

  .liveInviteCard-header h2 {
    font-size: 24px;
  }
  .liveInviteCard-header p {
    font-size: 14px;
  }
  .liveInviteCard-day {
    font-size: 56px;
  }
  .liveInviteCard-month {
    font-size: 19px;
  }
  .liveInviteCard-hostAvatar {
    width: 52px;
    height: 52px;
  }
  .liveInviteCard-hostName {
    font-size: 17px;
  }
  .liveInviteCard-block {
    padding: 18px 18px 16px;
  }
  .liveInviteCard-cta {
    font-size: 15.5px;
    padding: 15px 20px;
  }
  .liveInviteCard-benefits li {
    font-size: 14px;
  }
  .liveInviteCard-benefitsLabel strong {
    font-size: 10px;
    letter-spacing: 0.14em;
  }
}

@media (max-width: 360px) {
  .liveInviteCard {
    padding: 28px 18px 24px;
  }
  .liveInviteCard-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liveInviteCard-pulseDot::before,
  .liveInviteCard-pulseDot::after,
  .liveInviteCard-wave span,
  .liveInviteCard-glow,
  .liveInviteCard-cta {
    animation: none !important;
  }
}
