/**
 * Bloqueio de segurança / DevTools — visual RPG MEK
 */

.sec-block-page {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  font-family: var(--mek-font, 'Outfit', 'Segoe UI', sans-serif);
  color: #f2ead8;
  background-color: #08080f;
  background-image:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 0, 0, 0.5), transparent 60%),
    linear-gradient(180deg, rgba(8, 8, 15, 0.35) 0%, rgba(8, 8, 15, 0.5) 100%),
    url('../imagens/papel-de-parede-rpg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.sec-block-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201, 162, 39, 0.12), transparent 55%),
    rgba(4, 4, 10, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px);
  animation: sec-block-fade-in 0.28s ease-out;
}

.sec-block-panel {
  position: relative;
  width: min(520px, 94vw);
  max-height: min(90vh, 760px);
  overflow: auto;
  margin: 0;
  padding: 28px 24px 22px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background:
    linear-gradient(165deg, rgba(28, 24, 18, 0.99) 0%, rgba(18, 16, 24, 0.99) 45%, rgba(14, 12, 18, 0.99) 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5) inset,
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(201, 162, 39, 0.08);
  color: #f2ead8;
  font-family: var(--mek-font, 'Outfit', 'Segoe UI', sans-serif);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 39, 0.45) rgba(0, 0, 0, 0.22);
  animation: sec-block-slide-in 0.35s ease-out;
}

.sec-block-panel::before {
  content: '';
  position: absolute;
  inset: 10px;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) left top / 22px 1.5px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) left top / 1.5px 22px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) right top / 22px 1.5px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) right top / 1.5px 22px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) left bottom / 22px 1.5px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) left bottom / 1.5px 22px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) right bottom / 22px 1.5px no-repeat,
    linear-gradient(rgba(201, 162, 39, 0.75), rgba(201, 162, 39, 0.75)) right bottom / 1.5px 22px no-repeat;
}

.sec-block-panel > * {
  position: relative;
  z-index: 1;
}

.sec-block-icon .fa-circle-check {
  color: #3dd68c;
}

.sec-block-icon .fa-shield-halved {
  color: #f4756a;
}

.sec-block-icon .fa-triangle-exclamation {
  color: #e8c547;
}

.sec-block-kicker {
  margin: 0 0 4px;
  font-family: var(--mek-display, Cinzel, Georgia, serif);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mek-gold, #e8c547);
}

.sec-block-title {
  margin: 0 0 10px;
  font-family: var(--mek-display, Cinzel, Georgia, serif);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #f7efd8;
  line-height: 1.25;
}

.sec-block-text {
  margin: 0 0 16px;
  color: var(--mek-muted, #9a8f7a);
  font-size: 0.95rem;
  line-height: 1.55;
}

.sec-block-box {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  text-align: left;
}

.sec-block-box h3 {
  margin: 0 0 8px;
  font-family: var(--mek-display, Cinzel, Georgia, serif);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mek-gold, #e8c547);
}

.sec-block-box p,
.sec-block-box li {
  margin: 0;
  color: #e8dfcc;
  font-size: 0.88rem;
  line-height: 1.5;
}

.sec-block-box ol {
  margin: 0;
  padding-left: 1.2rem;
}

.sec-block-box li {
  margin-bottom: 6px;
}

.sec-block-box--warn {
  border-color: rgba(244, 117, 106, 0.45);
  background: rgba(244, 117, 106, 0.1);
}

.sec-block-box--warn h3 {
  color: #f4756a;
}

.sec-block-countdown {
  margin: 16px 0;
  font-family: var(--mek-display, Cinzel, Georgia, serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--mek-gold, #e8c547);
}

.sec-block-countdown span {
  color: #f7efd8;
}

.sec-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}

.sec-block-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-family: var(--mek-display, Cinzel, Georgia, serif);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, border-color 0.15s, background 0.15s;
  text-decoration: none;
}

.sec-block-btn--primary {
  border: 1px solid rgba(255, 230, 150, 0.55);
  background: linear-gradient(165deg, #e8c547 0%, #c9a227 48%, #8a6914 100%);
  color: #1a1408;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.sec-block-btn--primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.sec-block-btn--ghost {
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #e8dfcc;
}

.sec-block-btn--ghost:hover {
  border-color: rgba(232, 197, 71, 0.7);
  color: #f7efd8;
  background: rgba(201, 162, 39, 0.1);
}

.sec-block-footer {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(201, 162, 39, 0.22);
  color: var(--mek-muted, #9a8f7a);
  font-size: 0.8rem;
  line-height: 1.45;
}

.sec-block-footer p {
  margin: 0 0 6px;
}

@keyframes sec-block-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sec-block-slide-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sec-block-fade-out {
  to { opacity: 0; }
}

.sec-block-overlay.is-leaving {
  animation: sec-block-fade-out 0.28s ease-in forwards;
}

@media (max-width: 480px) {
  .sec-block-panel {
    padding: 22px 16px 18px;
  }

  .sec-block-actions {
    flex-direction: column;
  }

  .sec-block-btn {
    width: 100%;
  }
}
