/* ─────────────────────────────────────────
   components.css — Botones, Cursor, Age Gate, Botella
   Tequila Mapelo © 2026
   Eduardo López
───────────────────────────────────────── */

/* ── BOTONES ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--carbon);
  background: var(--perla);
  padding: 16px 40px;
  text-decoration: none;
  transition: background .3s var(--ease-smooth), gap .3s var(--ease-smooth);
}

.btn-primary::after {
  content: '→';
}

.btn-primary:hover {
  background: var(--gold);
  gap: 24px;
}

/* ── CUSTOM CURSOR ── */
#cur {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--agave);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  will-change: transform;
  transition: background .3s var(--ease-smooth), box-shadow .3s;
  opacity: 0;
  mix-blend-mode: difference;
}

#cur-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(91, 143, 160, .25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  transition: transform .35s var(--ease-out), border-color .3s, background .3s;
  opacity: 0;
  mix-blend-mode: difference;
}

#cur.hover {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(201, 162, 85, .4);
}

#cur-ring.hover {
  border-color: rgba(201, 162, 85, .4);
  background: rgba(201, 162, 85, .04);
}

/* ── AGE GATE ── */
#age-gate {
  position: fixed;
  inset: 0;
  background: var(--carbon);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px;
  transition: opacity .6s var(--ease-smooth), visibility .6s;
}

#age-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ag-mark {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(91, 143, 160, .3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 40px;
}

.ag-mark span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--agave);
}

.ag-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 12px;
}

.ag-title em {
  font-style: italic;
  color: var(--agave);
}

.ag-sub {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
  line-height: 2.2;
}

.ag-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.ag-btn {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid;
  background: transparent;
  transition: all .3s var(--ease-smooth);
}

.ag-btn.yes {
  border-color: var(--agave);
  color: var(--agave);
}

.ag-btn.yes:hover {
  background: var(--agave);
  color: var(--carbon);
}

.ag-btn.no {
  border-color: var(--border);
  color: var(--muted2);
}

.ag-note {
  margin-top: 40px;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .1);
  max-width: 380px;
  line-height: 2.5;
}

/* ── BOTELLA CSS FALLBACK ── */
/* Se reemplaza por img cuando llegue la foto real */
.bottle-fallback {
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 0 80px rgba(91, 143, 160, .18));
}

.b-cap {
  width: 52px;
  height: 36px;
  background: linear-gradient(135deg, #7a5c18, #C9A255, #7a5c18);
  border-radius: 4px 4px 2px 2px;
  margin-bottom: -2px;
}

.b-neck {
  width: 28px;
  height: 60px;
  background: linear-gradient(to right,
      rgba(91, 143, 160, .12),
      rgba(91, 143, 160, .35),
      rgba(91, 143, 160, .12));
  border: 1px solid rgba(91, 143, 160, .25);
}

.b-shoulder {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 24px solid rgba(91, 143, 160, .22);
}

.b-body {
  width: 120px;
  min-height: 260px;
  background: linear-gradient(to right,
      rgba(91, 143, 160, .07),
      rgba(91, 143, 160, .2),
      rgba(91, 143, 160, .07));
  border: 1px solid rgba(91, 143, 160, .18);
  border-top: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b-label-inner {
  background: rgba(240, 234, 216, .9);
  padding: 18px 14px;
  text-align: center;
  width: 80px;
}

.b-l-brand {
  font-size: 7px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: rgba(18, 17, 16, .4);
  margin-bottom: 4px;
}

.b-l-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--carbon);
  line-height: 1;
}

.b-l-type {
  font-size: 7px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: rgba(18, 17, 16, .35);
  margin-top: 4px;
}

.b-base {
  width: 130px;
  height: 12px;
  background: rgba(91, 143, 160, .12);
  border: 1px solid rgba(91, 143, 160, .15);
  border-top: none;
  border-radius: 0 0 4px 4px;
}

/* ── EMBLEM TEPA ── */
.tepa-emblem {
  width: 320px;
  height: 320px;
  max-width: 80vw;
  max-height: 80vw;
  border: 1px solid rgba(91, 143, 160, .1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tepa-emblem-mid {
  width: 70%;
  height: 70%;
  border: 1px solid rgba(201, 162, 85, .08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tepa-emblem-core {
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(91, 143, 160, .1) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.tec-main {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: rgba(91, 143, 160, .7);
}

.tec-sub {
  font-size: 7px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--muted2);
  line-height: 2;
}

.tepa-ring-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: spinRing 30s linear infinite;
}

@keyframes spinRing {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}