/* Xbox One / TV: CSS simple, sin gap, sin backdrop-filter, sin clamp. */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #07101c;
  color: #f6f3ea;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

a {
  color: #f0d48a;
}

img {
  max-width: 100%;
  border: 0;
}

button {
  font-family: inherit;
}

/* —— Modo overlay —— */
.mode-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background-color: #07101c;
  background-image: url("../img/playa.jpg");
  background-size: cover;
  background-position: center center;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.mode-overlay-shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(7, 16, 28);
  background: -webkit-linear-gradient(top, rgba(7,16,28,0.55) 0%, rgba(7,16,28,0.82) 100%);
  background: linear-gradient(to bottom, rgba(7,16,28,0.55) 0%, rgba(7,16,28,0.82) 100%);
}

.mode-box {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
}

.mode-box .kicker {
  margin-bottom: 12px;
}

.mode-box h1 {
  margin: 0 0 16px;
  font-size: 48px;
  line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.mode-box p {
  margin: 0 auto 36px;
  max-width: 640px;
  font-size: 24px;
  line-height: 1.4;
  color: #e8e4d8;
}

.mode-actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.mode-actions .btn {
  min-width: 280px;
  min-height: 88px;
  margin: 10px;
  font-size: 28px;
}

.is-hidden {
  display: none !important;
}

/* —— Deck / slides —— */
.deck {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  background-color: #07101c;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-transition: opacity 0.4s ease, visibility 0.4s ease;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-shade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(7, 16, 28);
  background: -webkit-linear-gradient(left, rgba(7,16,28,0.92) 0%, rgba(7,16,28,0.78) 48%, rgba(7,16,28,0.42) 100%);
  background: linear-gradient(to right, rgba(7,16,28,0.92) 0%, rgba(7,16,28,0.78) 48%, rgba(7,16,28,0.42) 100%);
}

.slide-busy .slide-shade {
  background: -webkit-linear-gradient(left, rgba(7,16,28,0.94) 0%, rgba(7,16,28,0.88) 55%, rgba(7,16,28,0.62) 100%);
  background: linear-gradient(to right, rgba(7,16,28,0.94) 0%, rgba(7,16,28,0.88) 55%, rgba(7,16,28,0.62) 100%);
}

.slide-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow: auto;
  padding: 40px 48px 128px 48px;
}

.kicker {
  display: block;
  color: #e8c36a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 8px 0 18px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 700;
  text-shadow: 0 2px 14px rgba(0,0,0,0.65);
}

h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.lead {
  margin: 0 0 22px;
  max-width: 920px;
  font-size: 24px;
  line-height: 1.4;
  color: #f0ece3;
}

.note {
  margin: 16px 0 0;
  max-width: 900px;
  font-size: 20px;
  line-height: 1.4;
  color: #d9d4c8;
}

.credit {
  margin-top: 22px;
  font-size: 13px;
  color: #b7b3a8;
}

.meta {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.45;
}

.meta b {
  color: #fff;
}

/* —— Cards —— */
.cards {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1100px;
}

.card {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 240px;
  flex: 1 1 240px;
  max-width: 340px;
  margin: 0 16px 16px 0;
  padding: 18px 18px 16px;
  background: rgba(8, 20, 34, 0.88);
  border: 2px solid rgba(240, 212, 138, 0.28);
  border-radius: 10px;
}

.card.pick {
  border-color: #e8c36a;
  box-shadow: 0 0 0 2px rgba(232, 195, 106, 0.35);
}

.card .tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  background: #e8c36a;
  color: #1a1408;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}

.price {
  margin: 8px 0 6px;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.cop {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 600;
  color: #e8c36a;
}

.card p, .card li {
  font-size: 18px;
  line-height: 1.4;
  color: #ece7dc;
}

.card ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.days {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
}

.day {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 28%;
  flex: 1 1 28%;
  min-width: 240px;
  margin: 0 16px 16px 0;
  padding: 20px 22px 18px;
  background: rgba(8, 20, 34, 0.88);
  border-left: 5px solid #e8c36a;
  border-radius: 8px;
  text-decoration: none;
  color: #f6f3ea;
}

.day:last-child {
  margin-right: 0;
}

a.day:focus {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.day .when {
  color: #e8c36a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day .what {
  margin-top: 6px;
  font-size: 20px;
  line-height: 1.3;
}

.gal {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  width: 100%;
  max-width: 1100px;
  margin: 0 0 18px;
}

.gal-item {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 18%;
  flex: 1 1 18%;
  min-width: 130px;
  height: 128px;
  margin: 0 10px 10px 0;
  background-color: #0a1624;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border: 3px solid rgba(240, 212, 138, 0.28);
  border-radius: 8px;
  position: relative;
  opacity: 0.62;
  text-decoration: none;
  color: #f6f3ea;
  cursor: pointer;
  -webkit-transition: opacity 0.4s ease, border-color 0.4s ease;
  transition: opacity 0.4s ease, border-color 0.4s ease;
}

a.gal-item:focus {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.gal-item.is-on {
  opacity: 1;
  border-color: #e8c36a;
}

.gal-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 7px 10px;
  background: rgba(7, 16, 28, 0.86);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.row-links {
  margin-top: 18px;
}

.btn {
  display: inline-block;
  min-height: 64px;
  padding: 16px 28px;
  margin: 0 14px 12px 0;
  border: 3px solid #e8c36a;
  border-radius: 8px;
  background: rgba(8, 20, 34, 0.92);
  color: #f6e7b8;
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  vertical-align: middle;
}

.btn-primary {
  background: #e8c36a;
  color: #1a1408;
  border-color: #e8c36a;
}

.btn:focus, .btn:hover {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.vote {
  margin: 0 0 14px;
  padding: 14px 16px;
  max-width: 820px;
  background: rgba(8, 20, 34, 0.88);
  border-radius: 8px;
  font-size: 22px;
  line-height: 1.4;
}

.vote b {
  color: #e8c36a;
}

/* —— TV nav —— */
.tv-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  height: 104px;
  padding: 16px 24px;
  background: rgba(5, 12, 22, 0.94);
  border-top: 2px solid rgba(232, 195, 106, 0.35);
}

body.mode-proyectar .tv-nav {
  display: block;
}

.tv-nav-inner {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.tv-nav .btn {
  min-width: 200px;
  min-height: 72px;
  margin: 0 12px 0 0;
  font-size: 24px;
}

.slide-num {
  margin: 0 20px;
  font-size: 22px;
  color: #e8c36a;
  font-weight: 700;
  white-space: nowrap;
}

.hint {
  margin-left: 8px;
  font-size: 18px;
  color: #cfc9bb;
}

.phone-bar {
  display: none;
}

/* —— Phone —— */
body.mode-proyectar {
  overflow: hidden;
  height: 100%;
}

body.mode-celular {
  height: auto;
  overflow: auto;
}

body.mode-celular .deck {
  height: auto;
  overflow: visible;
}

body.mode-celular .slide {
  position: relative;
  opacity: 1;
  visibility: visible;
  min-height: 100vh;
  margin: 0;
}

body.mode-celular .slide-inner {
  height: auto;
  padding: 28px 20px 48px;
}

body.mode-celular .days {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

body.mode-celular .day {
  -webkit-flex: 1 1 200px;
  flex: 1 1 200px;
  min-width: 200px;
}

body.mode-celular .tv-nav {
  display: none;
}

body.mode-celular .phone-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 12px 16px;
  background: #07101c;
  border-bottom: 2px solid rgba(232, 195, 106, 0.35);
  font-size: 18px;
}

body.mode-celular .phone-bar .btn {
  min-height: 48px;
  padding: 10px 16px;
  font-size: 16px;
  margin: 0;
}

body.mode-celular .gal {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

body.mode-celular .gal-item {
  min-width: 46%;
  height: 140px;
}

body.mode-celular h1 {
  font-size: 32px;
}

body.mode-celular .lead, body.mode-celular .meta {
  font-size: 20px;
}

body.mode-celular .mode-box h1 {
  font-size: 36px;
}

@media (max-width: 700px) {
  .mode-box h1 { font-size: 32px; }
  .mode-box p { font-size: 18px; }
  .mode-actions .btn { min-width: 90%; }
}
