/* ============================================================================
   AVH Studios — studio access gate (auth + plan)
   A full-screen overlay that covers a studio page until the visitor is signed
   in with a plan that unlocks that studio. Injected by studio-gate.js.
   z-index 900 sits BELOW the auth modals (style.css .modal-overlay = 1000) so
   the "Log in / Create account" modal still appears above the gate.
   ========================================================================== */

.avh-gate {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(1200px 620px at 50% -10%, rgba(53, 194, 255, .12), transparent 62%),
    rgba(4, 5, 7, .94);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  font-family: inherit;
  color: #e8ecf2;
  animation: avh-gate-fade .18s ease both;
}
.avh-gate[hidden] { display: none; }

@keyframes avh-gate-fade { from { opacity: 0; } to { opacity: 1; } }

.avh-gate-card {
  width: 100%;
  max-width: 470px;
  background: linear-gradient(180deg, #12151c, #0c0f15);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 18px;
  padding: 30px 28px 24px;
  text-align: center;
  box-shadow: 0 26px 80px rgba(0, 0, 0, .6);
}

.avh-gate-logo {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #35c2ff;
  font-weight: 700;
  margin-bottom: 14px;
}

.avh-gate-ico {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 12px;
  min-height: 34px;
}

.avh-gate-card h2 {
  margin: 0 0 10px;
  font-size: 1.34rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #f2f6fb;
}

.avh-gate-card p {
  margin: 0 0 18px;
  color: #9aa6b6;
  font-size: .95rem;
  line-height: 1.55;
}

.avh-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.avh-gate-actions .avh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 11px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.avh-gate-actions .avh-btn:hover { transform: translateY(-1px); }
.avh-gate-actions .avh-btn-primary {
  background: linear-gradient(180deg, #35c2ff, #1e9fe0);
  color: #04121c;
}
.avh-gate-actions .avh-btn-primary:hover { filter: brightness(1.05); }
.avh-gate-actions .avh-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .16);
  color: #e8ecf2;
}
.avh-gate-actions .avh-btn-ghost:hover { background: rgba(255, 255, 255, .05); }

.avh-gate-fine {
  margin: 16px 0 0;
  font-size: .78rem;
  color: #6f7b8c;
  line-height: 1.5;
}

.avh-gate-spin {
  width: 26px;
  height: 26px;
  margin: 4px auto 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .14);
  border-top-color: #35c2ff;
  animation: avh-gate-spin .8s linear infinite;
}
@keyframes avh-gate-spin { to { transform: rotate(360deg); } }

/* The Google button inside the auth modals (google-auth.js). */
.avh-google-wrap { margin: 4px 0 14px; }
.avh-google-wrap[hidden] { display: none; }
.avh-google-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 12px;
  color: #6f7b8c;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.avh-google-sep::before,
.avh-google-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, .1);
}
.avh-google-btn-host { display: flex; justify-content: center; min-height: 40px; }
