:root {
  --bg-color: #0C1014;      /* Negro profundo */

  /* Dorado tipo logo IG (más oro, menos amarillo) */
  --accent-color: #d4b24c;

  --text-main: #0C1014;
  --text-light: #d4b24c;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overscroll-behavior: none;
  touch-action: manipulation;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1f24, var(--bg-color));
  color: var(--text-light);
  overflow-x: hidden;
}

/* Centrado de la card */
.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.card {
  width: 92%;
  max-width: 320px;
  background: var(--accent-color);
  color: var(--text-main);
  border-radius: 5px;
  padding: 28px 22px 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  text-align: center;
}

/* Logo */
.logo-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto 26px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Textos */
.title {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-top: -6px;
}

.subtitle {
  margin-top: 6px;
  font-size: 0.92rem;
  color: rgba(12, 16, 20, 0.75);
}

/* Lista de links */
.links {
  margin-top: 44px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Botón/link */
.link-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 5px;
  border: 2px solid var(--bg-color);
  background: transparent;
  color: var(--bg-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.15s ease,
    box-shadow 0.18s ease;
}

.link-button:hover {
  background: var(--bg-color);
  color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.45);
}

.icon {
  font-size: 28px;
  margin-right: 14px;
  color: var(--bg-color);
  vertical-align: middle;
  transform: translateY(-1px);
  font-weight: 100;
}

.link-button:hover .icon {
  color: var(--accent-color);
}

/* Mobile */
@media (max-width: 480px) {
  .card {
    padding: 36px 22px 42px;
    max-width: 94%;
  }

  .title {
    font-size: 1.55rem;
  }

  .link-button {
    padding: 12px 14px;
  }
}

/* Footer */
.footer {
  font-size: 0.75rem;
  color: rgba(12, 16, 20, 0.6);
}

/* =========================================================
   ✅ SECCIÓN CORREGIDA: ICONO/LOGO PICAÑA + SWAP HOVER
   (reemplaza tu bloque duplicado de .icon-wrapper / brand / swap)
   ========================================================= */

.icon-wrapper {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Botón marca (último) */
.brand-button {
  justify-content: center !important;
  padding: 12px 14px;                 /* MISMO tamaño que los demás */
  background: var(--bg-color);        /* 🖤 NEGRO default */
  border-color: var(--bg-color);
  color: var(--accent-color);
}

/* Hover invertido */
.brand-button:hover {
  background: var(--accent-color);    /* 💛 AMARILLO hover */
  color: var(--bg-color);
}

/* Contenedor fijo para evitar corrimientos */
.swap-logo {
  position: relative;
  width: 120px;      /* ajusta ancho visual del logo */
  height: 30px;     /* ajusta tamaño del logo */
  margin: 0 auto;
  display: block;
  line-height: 0;   /* evita altura fantasma */
}

/* Dos imágenes superpuestas, centradas perfecto */
.swap-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s ease;
  display: block;
}

/* Estado inicial */
.swap-logo .logo-default { opacity: 1; }
.swap-logo .logo-hover { opacity: 0; }

/* Hover swap */
.brand-button:hover .logo-default { opacity: 0; }
.brand-button:hover .logo-hover { opacity: 1; }

/* 🔁 BOTÓN MARCA INVERTIDO (FORZADO) */
.link-button.brand-button {
  background: var(--bg-color);       /* 🖤 negro real */
  border-color: var(--bg-color);
  color: var(--accent-color);
}

/* Hover invertido */
.link-button.brand-button:hover {
  background: var(--accent-color);   /* 💛 amarillo */
  color: var(--bg-color);
}

.link-button {
  height: 51.2px;          /* 🔥 igual a los otros botones */
}
