/* ================
   File: css/style.css
   ================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&family=Roboto:wght@300;400&display=swap');

:root {
  --grad-start: #ff6fb5;
  --grad-end:   #ff9fcf;
  --accent:     #6ba4ff;
  --white:      #ffffff;
  --shadow:     rgba(0,0,0,0.1);
  --radius:     12px;
}

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

html, body {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  background: url('../img/Background.png') no-repeat center center fixed;
  background-size: cover;
}

/* Centro vertical y horizontal */
.container {
  width: 90%;
  max-width: 380px;
  margin: auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Tarjeta blanca semi-transparente */
.card {
  width: 100%;
  background: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px var(--shadow);
  text-align: center;
}

/* Header interno con contador y botón */
.card .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.card .header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.token-counter {
  font-size: 0.9rem;
  font-family: 'Roboto', sans-serif;
  color: #555;
}
.btn-buy-tokens {
  padding: 6px 12px;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  border: none;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: background .3s;
}
.btn-buy-tokens:hover {
  background: #5590e0;
}

/* Logo */
.logo {
  display: block;
  margin: 0 auto 20px;
  max-width: 150px;
}

/* Encabezados */
h1, h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  margin-bottom: 16px;
  color: #222;
}

/* Descripción */
p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: #333;
  line-height: 1.4;
}

/* Input */
input[type="tel"] {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color .3s;
}
input[type="tel"]:focus {
  border-color: var(--grad-end);
  outline: none;
}

/* Botón genérico */
button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  color: var(--white);
  transition: transform .2s, box-shadow .2s;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow);
}

/* Menú principal: mobile = 1 columna */
.menu {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
}

/* Enlaces del menú */
.menu a {
  display: block;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #333;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform .2s, background .3s, box-shadow .3s;
}
.menu a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow);
}

/* En escritorio, dos columnas */
@media (min-width: 769px) {
  .menu {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive: móviles */
@media (max-width: 480px) {
  .container { padding: 10px; }
  .card { padding: 20px; }
  input[type="tel"], button, .menu a {
    padding: 12px;
    font-size: 0.9rem;
  }
}

/* Responsive: tablets */
@media (min-width: 481px) and (max-width: 768px) {
  .container { max-width: 500px; }
  input[type="tel"], button, .menu a {
    padding: 14px;
    font-size: 1rem;
  }
}
/* Cada opción con título + subtítulo */
.menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.menu-item .subtitle {
  font-size: 0.85rem;
  color: #666;
  font-family: 'Roboto', sans-serif;
}

/* Footer de tokens */
.token-footer {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.token-footer .token-counter {
  font-size: 0.95rem;
  color: #333;
  font-family: 'Roboto', sans-serif;
}
.token-footer .btn-buy-tokens {
  padding: 10px 16px;
  font-size: 0.9rem;
}
