/* RoomView shared footer */
.rvf-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0f1830 0%, #0b1327 58%, #091022 100%);
  border-top: 1px solid #1f2a44;
  color: rgba(255, 255, 255, 0.92);
  padding: 34px 0 22px;
  margin-top: 0;
}

.rvf-footer::before {
  content: "";
  position: absolute;
  left: -180px;
  top: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 132, 254, 0.22) 0%, rgba(45, 132, 254, 0.03) 58%, transparent 72%);
  pointer-events: none;
}

.rvf-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 108, 255, 0.18) 0%, rgba(76, 108, 255, 0.02) 62%, transparent 74%);
  pointer-events: none;
}

.rvf-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(150px, 1fr));
  gap: 30px;
  margin-bottom: 16px;
  align-items: start;
}

.rvf-brand {
  max-width: 430px;
}

.rvf-logo-link {
  display: inline-flex;
  margin-bottom: 10px;
}

.rvf-logo {
  height: 38px;
  width: auto;
  display: block;
}

.rvf-brand-title {
  color: #ffffff;
  font-size: clamp(22px, 1.85vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 8px;
  max-width: 430px;
}

.rvf-brand-copy {
  margin: 0 0 14px;
  max-width: 420px;
  color: rgba(242, 248, 255, 0.94);
  font-size: 17px;
  line-height: 1.45;
}

.rvf-brand-actions .rvf-cta {
  min-width: 0;
}

.rvf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
}

.rvf-cta-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2d84fe 0%, #2563eb 100%);
  border: 1px solid rgba(131, 182, 255, 0.6);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.33);
}

.rvf-cta:hover {
  transform: translateY(-1px);
}

.rvf-cta-primary:hover {
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.42);
}

.rvf-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.rvf-accordion-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.rvf-accordion-icon {
  display: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1;
  transition: transform 0.22s ease;
}

.rvf-section.is-open .rvf-accordion-icon {
  transform: rotate(180deg);
}

.rvf-accordion-panel {
  margin-top: 14px;
  max-height: none;
  opacity: 1;
  overflow: visible;
}

.rvf-link-list {
  display: grid;
  gap: 14px;
}

.rvf-link-list a {
  display: block;
  color: #c8d1e4;
  opacity: 1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  width: fit-content;
  line-height: 1.45;
  position: relative;
  transition: color 0.2s, opacity 0.2s, transform 0.2s;
}

.rvf-link-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(155, 203, 255, 0.92);
  transition: width 0.2s;
}

.rvf-link-list a:hover {
  color: #ffffff;
  opacity: 1;
  transform: translateX(3px);
}

.rvf-link-list a:hover::after {
  width: 100%;
}

.rvf-bottom {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  color: #b6c0d6;
}

.rvf-copyright {
  margin: 0;
  color: #b6c0d6;
  font-size: 14px;
  font-weight: 400;
}

.rvf-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rvf-legal a {
  color: #b6c0d6;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s;
}

.rvf-legal a:hover {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .rvf-content {
    grid-template-columns: 1fr 1fr;
    gap: 26px 22px;
  }

  .rvf-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .rvf-footer {
    padding: 24px 0 14px;
  }

  .rvf-footer::before,
  .rvf-footer::after {
    opacity: 0.5;
  }

  .rvf-content {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 16px;
    margin-bottom: 16px;
  }

  .rvf-brand {
    max-width: none;
    padding-bottom: 10px;
    margin-bottom: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .rvf-brand-title {
    max-width: none;
    font-size: 24px;
    line-height: 1.22;
  }

  .rvf-brand-copy {
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.45;
  }

  .rvf-brand-actions .rvf-cta {
    width: 100%;
    max-width: none;
    padding: 10px 14px;
  }

  .rvf-accordion-toggle {
    cursor: pointer;
    padding: 8px 0;
  }

  .rvf-accordion-title {
    letter-spacing: 0.1em;
  }

  .rvf-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rvf-accordion-panel {
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
    will-change: max-height;
  }

  .rvf-section.is-open .rvf-accordion-panel {
    opacity: 1;
  }

  .rvf-link-list {
    gap: 8px;
  }

  .rvf-link-list a {
    font-size: 14px;
    line-height: 1.35;
  }

  .rvf-popular .rvf-link-list {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .rvf-bottom {
    padding: 12px 16px calc(22px + env(safe-area-inset-bottom));
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }

  .rvf-copyright {
    font-size: 13px;
  }

  .rvf-legal {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }

  .rvf-legal a {
    font-size: 13px;
  }
}
