.juegos-page {
  padding: 48px 0 80px;
  min-height: 70vh;
}

.juegos-hero {
  text-align: center;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.juegos-hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 1.1;
  text-transform: lowercase;
}

.juegos-lede {
  font-size: 18px;
  color: var(--gun-70);
  line-height: 1.5;
}

.juegos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.juego-card {
  background: var(--white);
  border: 2px solid var(--gun-20);
  border-radius: 12px;
  padding: 28px;
  text-decoration: none;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}

.juego-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.juego-card-icon {
  font-size: 44px;
  margin-bottom: 16px;
}

.juego-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--gun);
  text-transform: lowercase;
}

.juego-card p {
  color: var(--gun-60);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
  font-size: 15px;
}

.juego-card-cta {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
}

.juego-shell {
  padding: 48px 0 80px;
  background: var(--paper);
}

.juego-shell .back-link {
  display: inline-block;
  color: var(--gun-60);
  text-decoration: none;
  margin-bottom: 16px;
  font-size: 15px;
}

.juego-shell .back-link:hover {
  color: var(--green);
}

.juego-shell h1 {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 12px;
  text-transform: lowercase;
}

.juego-intro-text {
  color: var(--gun-70);
  max-width: 680px;
  margin-bottom: 24px;
  line-height: 1.55;
}

.juego-panel {
  background: var(--white);
  border: 2px solid var(--gun-20);
  border-radius: 12px;
  padding: 24px;
  max-width: 720px;
}

.juego-score {
  font-size: 15px;
  color: var(--gun-70);
  margin-bottom: 16px;
}

.juego-btn {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}

.juego-btn:hover {
  filter: brightness(1.05);
}

.juego-btn-ghost {
  background: transparent;
  color: var(--gun-70);
  border: 1px solid var(--gun-30);
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
}

.juego-options {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.juego-option {
  text-align: left;
  padding: 12px 14px;
  min-height: 48px;
  border: 2px solid var(--gun-20);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
}

.juego-option:hover {
  border-color: var(--green);
}

.juego-option.correct {
  border-color: var(--green);
  background: #e8f8ee;
}

.juego-option.wrong {
  border-color: #e53e3e;
  background: #fff5f5;
}

.juego-feedback {
  margin-top: 12px;
  font-size: 14px;
  color: var(--gun-70);
  line-height: 1.5;
}

.juego-hint {
  font-size: 14px;
  color: var(--gun-60);
  margin: 8px 0 0;
}

.juego-progress {
  height: 6px;
  background: var(--gun-20);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}

.juego-progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 99px;
  transition: width 0.25s ease;
}

.juego-progress-text {
  font-size: 13px;
  color: var(--gun-60);
  margin: 0 0 16px;
}

.juego-producto-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #f8faf9;
  border: 1px solid var(--gun-20);
  border-radius: 10px;
  margin-bottom: 12px;
}

.juego-producto-emoji {
  font-size: 40px;
  line-height: 1;
}

.juego-producto-nombre {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  text-transform: lowercase;
  color: var(--gun);
}

.juego-producto-meta {
  font-size: 13px;
  color: var(--gun-60);
  margin: 4px 0 0;
  line-height: 1.4;
}

.juego-producto-unidad {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--gun-80);
}

.juego-option-precio {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 52px;
}

.juego-option-valor {
  font-size: 20px;
  font-weight: 700;
  color: var(--gun);
}

.juego-option-unidad {
  font-size: 12px;
  color: var(--gun-60);
}

.juego-feedback-card {
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
  border: 1px solid var(--gun-20);
}

.juego-feedback-card.is-ok {
  border-color: var(--green);
  background: #ecf9f0;
}

.juego-feedback-card.is-miss {
  border-color: #f5a3a3;
  background: #fff8f8;
}

.juego-feedback-title {
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 15px;
}

.juego-feedback-body {
  font-size: 14px;
  line-height: 1.55;
}

.juego-feedback-body p {
  margin: 0 0 8px;
}

.juego-feedback-links a {
  color: var(--green);
  font-weight: 600;
}

.juego-final {
  text-align: center;
  padding: 8px 0 0;
}

.juego-final-title {
  font-size: 22px;
  margin: 0 0 12px;
  text-transform: lowercase;
}

.juego-final-score span {
  font-size: 36px;
  font-weight: 800;
  color: var(--green);
}

.juego-share-grid {
  font-size: 22px;
  letter-spacing: 2px;
  margin: 12px 0;
}

.juego-final-meta {
  font-size: 14px;
  color: var(--gun-60);
}

.juego-final-learn {
  font-size: 15px;
  color: var(--gun-70);
  max-width: 520px;
  margin: 12px auto;
  line-height: 1.5;
}

.juego-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 20px 0 16px;
}

.juego-cta-discreta {
  font-size: 13px;
  color: var(--gun-60);
  margin-top: 16px;
  line-height: 1.5;
}

.juego-cta-discreta a {
  color: var(--green);
}

.cruci-grid-wrap {
  overflow-x: auto;
  margin: 16px auto;
  display: flex;
  justify-content: center;
}

.cruci-grid {
  display: grid;
  gap: 1px;
  background: var(--gun-60);
  border: 2px solid var(--gun);
  padding: 1px;
}

.cruci-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
  justify-content: center;
}

.cruci-clue-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.cruci-clue-btn {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gun-80);
}

.cruci-clue-btn:hover,
.cruci-clue-btn.is-active {
  border-color: var(--green);
  background: #f0faf3;
}

.cruci-clue-num {
  font-weight: 800;
  color: var(--gun);
  min-width: 1.5em;
}

.cruci-clue-text {
  flex: 1;
}

.cruci-cell {
  width: 32px;
  height: 32px;
  position: relative;
  background: #fff;
  box-sizing: border-box;
}

.cruci-cell.cruci-wrong .cruci-input {
  background: #fff5f5;
  color: #b42318;
}

.cruci-num {
  position: absolute;
  top: 1px;
  left: 2px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  color: var(--gun-60);
  pointer-events: none;
  z-index: 1;
}

.cruci-block {
  background: transparent;
  pointer-events: none;
}

.cruci-input {
  width: 100%;
  height: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  padding: 8px 0 0;
  box-sizing: border-box;
  background: #fff;
}

.cruci-input:focus {
  outline: 2px solid var(--green);
  border-color: var(--green);
}

.cruci-active .cruci-input {
  background: #eefaf2;
}

.cruci-solved .cruci-input {
  background: #d4f0dd;
  color: var(--green);
}

.cruci-clues h3 {
  font-size: 15px;
  margin: 16px 0 8px;
  text-transform: lowercase;
}

.cruci-clues ol {
  margin: 0 0 12px;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
}

.sopa-pista {
  font-size: 13px;
  color: var(--gun-70);
}

#sopa-app ul li {
  margin-bottom: 8px;
}

.juego-option:disabled {
  opacity: 0.85;
  cursor: default;
}

.sponsor-hidden {
  display: none !important;
}

.sopa-grid {
  display: grid;
  gap: 2px;
  font-family: monospace;
  font-size: 16px;
  margin: 16px 0;
  user-select: none;
}

.sopa-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1px solid var(--gun-20);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  font-family: inherit;
  touch-action: none;
}

.sopa-cell.found {
  background: #c9f0d5;
  color: var(--green);
  font-weight: 700;
}

.sopa-cell.active {
  background: #daf5e1;
  outline: 1px solid var(--green);
}

.cruci-clues {
  margin: 12px 0;
  padding-left: 20px;
  color: var(--gun-80);
  font-size: 14px;
}

@media (max-width: 640px) {
  .juegos-grid {
    grid-template-columns: 1fr;
  }
}