* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  max-width: 450px; 
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  backdrop-filter: blur(10px);
  width: 100%;
  text-align: center;
}

.back-button {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(45deg, #000000, #000000);
  color: rgb(255, 255, 255);
  padding: 8px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: .3s;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.back-button:hover {
  background: linear-gradient(45deg, #ffffff, #999999);
  transform: scale(1.05);
}

.title {
  font-size: 1.5rem; /* antes 2rem */
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 20px;
}

.vocabulary-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 320px; 
  width: 100%;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vocabulary-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.english-name {
  font-size: 18px; /* antes 20px */
  font-weight: bold;
  color: #34495e;
  margin-bottom: 8px;
}

.image-container {
  margin-bottom: 15px;
}
.vocabulary-image {
  width: 160px;  /* antes 220px */
  height: 130px; /* antes 180px */
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid #f0f0f0;
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  margin-bottom: 4px;
  font-weight: 600;
}
.pronunciation {
  font-size: 16px; /* antes 18px */
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
}
.english-example {
  font-size: 15px; /* antes 16px */
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}
.spanish-translation {
  font-size: 16px; /* antes 18px */
  color: #2c3e50;
  font-weight: 600;
}

.controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  padding: 10px 22px;
  border: none;
  border-radius: 25px;
  font-size: 0.95em;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
button:hover:not(:disabled) {
  background: linear-gradient(135deg, #5a6fd6, #6a3f98);
  transform: translateY(-3px);
  box-shadow: 0 7px 15px rgba(0,0,0,0.25);
}
button:disabled {
  background: #bbb;
  cursor: not-allowed;
  box-shadow: none;
}
