/**
 * ARCA - Página de inicio (landing)
 * Movimiento suave y línea con efecto pulso
 */
:root {
  --gold: #c9a962;
  --gold-light: #e5d4a1;
  --gold-dark: #9a7b3a;
  --white: #fafaf9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Syne', sans-serif;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../img/home.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: heroMove 25s ease-in-out infinite alternate;
}

@keyframes heroMove {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.05) translate(-1%, -0.5%); }
  100% { transform: scale(1.03) translate(1%, 0.5%); }
}

.hero-overlay2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* Palabra ARCA con ligero movimiento */
.arca-word {
  font-family: 'Cormorant Garamond', serif;
  width: 30vw;
  max-width: 600px;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
  animation: arcaFloat 8s ease-in-out infinite;
}

@keyframes arcaFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Línea de base con movimiento de pulso */
.arca-word::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold) 20%,
    var(--gold-light) 50%,
    var(--gold) 80%,
    transparent
  );
  border-radius: 2px;
  animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% {
    opacity: 0.7;
    transform: translateX(-50%) scaleX(1);
    box-shadow: 0 0 8px rgba(201, 169, 98, 0.4);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.08);
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.8);
  }
}

.arca-sub {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-top: 1.5rem;
  opacity: 0.95;
}

.btn-access {
  margin-top: 3.5rem;
  padding: 1rem 3rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(201, 169, 98, 0.6);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
}

.btn-access::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(201, 169, 98, 0.25),
    rgba(229, 212, 161, 0.15)
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.btn-access:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 30px rgba(201, 169, 98, 0.25);
}

.btn-access:hover::before {
  opacity: 1;
}

.btn-access:active {
  transform: scale(0.98);
}

/* Modal */
#inviteModal {
  display: flex;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  inset: 0;
  z-index: 1000;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
}

#inviteModal.show {
  visibility: visible;
  opacity: 1;
}

.modal-content {
  position: relative;
  padding: 3.5rem;
  max-width: 440px;
  width: 90%;
  background: linear-gradient(165deg, rgba(18, 18, 18, 0.95), rgba(10, 10, 10, 0.98));
  border: 1px solid rgba(201, 169, 98, 0.25);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.modal-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.modal-input {
  width: 100%;
  padding: 1rem 0;
  margin-bottom: 2rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  text-align: center;
  transition: border-color 0.3s, color 0.3s;
}

.modal-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.modal-input:focus {
  border-bottom-color: var(--gold);
  color: var(--white);
}

.modal-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  cursor: pointer;
  transition: all 0.4s ease;
}

.modal-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}

.close-modal {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(0, 0, 0);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}

.close-modal:hover {
  color: var(--gold-light);
}

.modal-error {
  font-size: 0.75rem;
  color: #c9a962;
  margin-top: -1rem;
  margin-bottom: 1rem;
  min-height: 1.25rem;
}
