.site-notice-open {
  overflow: hidden;
}

.site-notice-backdrop[hidden] {
  display: none !important;
}

.site-notice-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at top, rgba(245, 158, 11, 0.18), transparent 42%),
    rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.site-notice-card {
  width: min(100%, 720px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)),
    rgba(8, 15, 31, 0.96);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  color: #f8fafc;
  position: relative;
}

.site-notice-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fcd34d;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-notice-card h3 {
  margin: 14px 0 10px;
  color: #fff;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  line-height: 1.15;
}

.site-notice-card p {
  margin: 0;
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.7;
}

.site-notice-video {
  position: relative;
  margin: 18px 0 18px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.site-notice-video::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.site-notice-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.site-notice-primary,
.site-notice-zalo,
.site-notice-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.site-notice-primary {
  order: 1;
  border: 0;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
  color: #fff;
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.22);
}

.site-notice-secondary {
  order: 3;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.site-notice-zalo {
  order: 2;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.24), rgba(14, 165, 233, 0.16));
  color: #e0f2fe;
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.12);
}

.site-notice-primary:hover,
.site-notice-zalo:hover,
.site-notice-secondary:hover,
.site-notice-close:hover {
  transform: translateY(-1px);
}

.site-notice-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 640px) {
  .site-notice-card {
    padding: 22px 18px 18px;
    border-radius: 22px;
  }

  .site-notice-video {
    margin: 16px 0;
    border-radius: 16px;
  }

  .site-notice-actions {
    flex-direction: column;
  }

  .site-notice-primary,
  .site-notice-zalo,
  .site-notice-secondary {
    width: 100%;
  }
}
