/* =========================================================
   TAROTPROFETA.COM
   Estilos para aviso legal / advertencia
   Identidad visual: verde profundo, dorado, marfil
   ========================================================= */

/* ============================
   VARIABLES
   ============================ */

:root {
  --verde-profeta: #073d32;
  --verde-abisal: #032820;
  --verde-profundo: #021d17;
  --verde-medio: #0a4b3d;

  --oro: #d6ae4a;
  --oro-luz: #f1d77a;
  --oro-suave: #e6cc82;

  --marfil: #f7f3e8;
  --pergamino: #eae1cc;
  --blanco-calido: #fffdf8;

  --carbon: #17241f;
  --texto: #26362f;
  --texto-suave: #58675f;
  --texto-claro: #dce7e1;
  --texto-claro-suave: #bfcfc6;

  --borde-oro: rgba(214, 174, 74, 0.38);
  --borde-suave: rgba(255, 255, 255, 0.08);

  --sombra-suave: 0 16px 40px rgba(0, 0, 0, 0.2);
  --sombra-card: 0 26px 70px rgba(0, 0, 0, 0.28);
}


/* ============================
   RESET BÁSICO
   ============================ */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  background:
    radial-gradient(circle at 78% 14%, rgba(241, 215, 122, 0.13), transparent 24%),
    radial-gradient(circle at 18% 6%, rgba(10, 75, 61, 0.34), transparent 31%),
    linear-gradient(
      145deg,
      var(--verde-profundo) 0%,
      var(--verde-abisal) 48%,
      var(--verde-medio) 100%
    );

  color: var(--texto-claro);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}


/* ============================
   CONTENEDOR GENERAL
   ============================ */

.adv-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.adv-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);

  background-size: 52px 52px;
}

.adv-shell::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -160px;
  bottom: -180px;
  border-radius: 50%;
  border: 1px solid rgba(214, 174, 74, 0.1);
  box-shadow:
    0 0 0 55px rgba(214, 174, 74, 0.02),
    0 0 0 110px rgba(214, 174, 74, 0.014);
  pointer-events: none;
}


/* ============================
   HEADER
   ============================ */

.adv-header {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 1.8rem auto;

  display: flex;
  align-items: center;
  gap: 0.9rem;

  position: relative;
  z-index: 1;
}

.adv-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;

  border-radius: 50%;
  border: 1px solid rgba(214, 174, 74, 0.55);

  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(214, 174, 74, 0.12);
}

.adv-brand {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.adv-brand-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--oro-luz);
}

.adv-brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--texto-claro-suave);
}


/* ============================
   MAIN
   ============================ */

.adv-main {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 1;
}


/* ============================
   TARJETA DE ADVERTENCIA
   ============================ */

.adv-card {
  width: 100%;
  max-width: 900px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 253, 248, 0.985),
      rgba(247, 243, 232, 0.98)
    );

  color: var(--carbon);

  border-radius: 1.4rem;
  padding: 2.4rem 2.55rem 2.5rem;

  border: 1px solid rgba(214, 174, 74, 0.48);

  box-shadow:
    var(--sombra-card),
    0 0 50px rgba(214, 174, 74, 0.08);

  position: relative;
  overflow: hidden;
}

.adv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;

  background: linear-gradient(
    90deg,
    transparent,
    var(--oro),
    var(--oro-luz),
    var(--oro),
    transparent
  );
}

.adv-card::after {
  content: "✦";
  position: absolute;
  top: 1rem;
  right: 1.3rem;
  color: var(--oro);
  opacity: 0.48;
  font-size: 1rem;
}


/* ============================
   TÍTULO
   ============================ */

.adv-title {
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;

  color: var(--verde-profeta);

  letter-spacing: 0.08em;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.15;
  font-weight: 600;

  margin-bottom: 1.4rem;
}

.adv-title::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;

  margin: 0.8rem auto 0;

  background: linear-gradient(
    90deg,
    transparent,
    var(--oro),
    transparent
  );
}


/* ============================
   TEXTO
   ============================ */

.adv-text {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.8;

  color: var(--texto-suave);

  margin-bottom: 1.08rem;
}

.adv-text strong {
  font-weight: 600;
  color: var(--verde-profeta);
}


/* ============================
   LINKS
   ============================ */

.adv-link {
  color: var(--verde-profeta);
  font-weight: 600;

  text-decoration: underline;
  text-decoration-color: rgba(214, 174, 74, 0.75);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.adv-link:hover {
  color: #0a5a48;
  text-decoration-color: var(--oro);
}


/* ============================
   PREGUNTA FINAL
   ============================ */

.adv-question {
  margin-top: 1rem;

  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;

  text-align: center;

  letter-spacing: 0.04em;

  color: var(--verde-profeta);
  font-size: 1.05rem;
}


/* ============================
   BOTONES
   ============================ */

.adv-actions {
  margin-top: 1.5rem;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 1rem;
}

.adv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 190px;
  min-height: 48px;

  padding: 0.72rem 1.5rem;

  border-radius: 0.72rem;

  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.025em;

  text-decoration: none;
  cursor: pointer;

  border: 1px solid transparent;

  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.15s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}


/* Botón INGRESAR */
.adv-btn-primary {
  background: var(--oro);
  color: var(--verde-abisal);

  border-color: var(--oro);

  box-shadow: 0 10px 26px rgba(3, 40, 32, 0.14);
}

.adv-btn-primary:hover {
  background: var(--oro-luz);
  border-color: var(--oro-luz);

  transform: translateY(-2px);

  box-shadow: 0 15px 34px rgba(3, 40, 32, 0.18);
}

.adv-btn-primary:active {
  transform: translateY(0) scale(0.98);
}


/* Botón SALIR */
.adv-btn-secondary {
  background: transparent;
  color: var(--verde-profeta);

  border-color: rgba(7, 61, 50, 0.38);

  box-shadow: none;
}

.adv-btn-secondary:hover {
  background: rgba(7, 61, 50, 0.055);
  color: var(--verde-abisal);

  border-color: rgba(7, 61, 50, 0.6);

  transform: translateY(-2px);
}

.adv-btn-secondary:active {
  transform: translateY(0) scale(0.98);
}


/* ============================
   ACCESIBILIDAD
   ============================ */

::selection {
  background: var(--oro-luz);
  color: var(--verde-abisal);
}

a:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 4px;
}


/* ================================
   RESPONSIVE
   ================================ */

/* Tablets / pantallas medianas */
@media (max-width: 900px) {
  .adv-shell {
    padding: 1.25rem;
  }

  .adv-card {
    padding: 2rem 1.75rem;
    max-width: 720px;
  }
}


/* Móviles */
@media (max-width: 768px) {
  .adv-shell {
    padding: 1.1rem 0.9rem 1.4rem;
  }

  .adv-header {
    margin-bottom: 1.15rem;
    max-width: 100%;
    justify-content: center;
  }

  .adv-logo {
    width: 48px;
    height: 48px;
  }

  .adv-brand-title {
    font-size: 0.9rem;
  }

  .adv-brand-subtitle {
    font-size: 0.66rem;
  }

  .adv-card {
    padding: 1.75rem 1.3rem 1.85rem;
    border-radius: 1.05rem;
  }

  .adv-title {
    font-size: 1.7rem;
  }

  .adv-text {
    font-size: 0.91rem;
  }

  .adv-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .adv-btn {
    width: 100%;
  }
}


/* Móviles muy pequeños */
@media (max-width: 480px) {
  .adv-shell {
    padding: 0.85rem 0.6rem 1.1rem;
  }

  .adv-header {
    gap: 0.7rem;
  }

  .adv-logo {
    width: 44px;
    height: 44px;
  }

  .adv-card {
    padding: 1.55rem 1rem 1.65rem;
  }

  .adv-title {
    font-size: 1.5rem;
  }

  .adv-text {
    font-size: 0.88rem;
    line-height: 1.72;
  }

  .adv-question {
    font-size: 1rem;
  }

  .adv-actions {
    gap: 0.75rem;
  }

  .adv-btn {
    min-width: 0;
    font-size: 0.9rem;
    padding: 0.68rem 1.1rem;
  }
}


/* Respeta usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

