@charset "UTF-8";

@font-face {
  font-family: "Burbank Small Bold";
  font-style: normal;
  font-display: swap;
  src: url("/landing/fonts/Burbank-Small.woff") format("woff");
}
@font-face {
  font-family: "Burbank Small Medium";
  font-style: normal;
  font-display: swap;
  src: url("/landing/fonts/BurbankSmall-Medium.woff") format("woff");
}
@font-face {
  font-family: "Burbank Small Light";
  font-style: normal;
  font-display: swap;
  src: url("/landing/fonts/BurbankSmall-Light.woff") format("woff");
}
@font-face {
  font-family: CCComicrazy;
  font-style: normal;
  font-display: swap;
  src: url("/landing/fonts/CCComicrazy_Italic.woff") format("woff");
}

:root {
  --rounded: "Burbank Small Bold", "Arial Rounded MT Bold", sans-serif;
  --body: "Burbank Small Medium", Arial, sans-serif;
}

html, body {
  min-height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: normal;
  color: #fff;
  background: #206fbb;
  background-size: cover;
  overflow-x: hidden;
}

a { text-decoration: none; }
h1, h2, h3 { font-family: var(--rounded); font-weight: 700; }

/* Header Desktop */
.site-header {
  position: relative;
  z-index: 10;
  margin-bottom: -17px;
  background: transparent url("/landing/media/topbar.png") center / auto 100% repeat-x;
}
.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px 14px;
}

.header-logo {
  flex: 1 1 0;
  text-align: left;
  display: flex;
  align-items: center;
}

.brand {
  --brand-size: 150px;
  position: relative;
  display: inline-block;
  width: var(--brand-size);
  height: calc(var(--brand-size) * 0.58);
  line-height: 1;
  text-decoration: none;
  filter: drop-shadow(0 0 4px rgba(83, 204, 249, 0.7));
  transition: filter .2s, transform .2s;
  transform-origin: center;
}
.brand:hover, .brand:focus-visible {
  filter: drop-shadow(0 0 8px rgba(83, 204, 249, 0.95)) brightness(1.08);
  transform: scale(1.03);
}
.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-menu {
  flex: 2 1 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 24px;
}

.main-navigation {
  position: relative;
  z-index: 1002;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}

.nav-btn {
  display: inline-block;
  padding: 5px 11px;
  color: #fff;
  font-family: var(--rounded);
  font-size: 15.5px;
  line-height: normal;
  font-weight: normal;
  white-space: nowrap;
  background: transparent;
  border: none;
  text-decoration: none;
  text-shadow: 0 0 10px #53ccf9;
  cursor: pointer;
  border-radius: 10px;
  transition: text-shadow .15s ease-in-out, transform .15s, background-color .15s;
}
.nav-btn:hover {
  text-shadow: 0 0 16px #99e6ff, 0 0 8px #fff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nav-account {
  display: inline-block;
  padding: 5px 13px;
  background: linear-gradient(180deg, #ffdc42, #e08b00);
  border: 1.5px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  color: #042444;
  font-family: var(--rounded);
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}
.nav-account:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #02162b;
}

.announcement-container {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.announcement-banner {
  display: inline-block;
  background: linear-gradient(180deg, #ffd03b, #d97706);
  border: 2px solid #ffffff;
  border-radius: 20px;
  padding: 4px 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  color: #042444;
  font-family: var(--rounded);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-decoration: none;
  transition: transform 0.2s, filter 0.2s;
}
.announcement-banner:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
  color: #02162b;
}

/* Solo texto limpio para el mensaje del panel (sin fondo blanco) */
.announcement-text {
  color: #ffffff;
  font-family: var(--rounded);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 8px rgba(83, 204, 249, 0.7);
  padding: 0 12px;
  max-width: 520px;
  text-align: center;
  line-height: 1.25;
}

.announcement-plain {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.header-buttons {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* JUGAR Button - Enérgico y Proporcional */
.play-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 175px;
  padding: 11px 20px;
  border: 2px solid #06284a;
  border-radius: 22px;
  background-image: linear-gradient(180deg, #62b5ec 0%, #1562b5 50%, #0d4a94 100%);
  box-shadow: inset 0 2px 3px rgba(255,255,255,0.7), inset 0 -2px 4px rgba(0,0,0,0.35), 0 3px 0 #042449, 0 6px 14px rgba(0, 40, 90, 0.45);
  color: #fff;
  font-family: CCComicrazy, var(--rounded);
  font-size: 25px;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}
.play-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-image: linear-gradient(180deg, #7ad0ff 0%, #1d7ae0 50%, #115eb5 100%);
  opacity: 0;
  transition: opacity .15s ease;
}
.play-button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.85), 0 5px 0 #042449, 0 10px 20px rgba(0, 70, 160, 0.55);
}
.play-button:hover::before { opacity: 1; }
.play-button:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: inset 0 2px 2px rgba(255,255,255,0.5), 0 1px 0 #042449, 0 3px 6px rgba(0, 40, 90, 0.4);
}
.play-text {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
  letter-spacing: 1.2px;
  -webkit-text-stroke: 5px #052240;
  paint-order: stroke fill;
}
.play-outline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
  -webkit-text-stroke: 0;
}

.mobile-menu { display: none; }

/* Escena de la Isla */
.boreal-island {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 400px;
  min-height: 400px;
  margin-bottom: 30px;
  background: #206fbb url("/landing/media/homepage-desktop.jpg") center top / 2050px 400px no-repeat;
  overflow: hidden;
}
.boreal-island iframe {
  display: block;
  width: 100%;
  max-width: 2050px;
  height: 100%;
  border: 0;
  background: transparent;
}


/* Contenido Principal */
.content-wrap {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px 40px;
}

/* Mini Blog "Novedades de la Isla" */
.news-section {
  margin: 0 auto 50px;
  max-width: 1080px;
}
.section-heading h2 {
  font-family: var(--rounded);
  font-size: 32px;
  font-weight: 900;
  margin: 0;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 3px 0 #005a81, 0 6px 14px rgba(0,0,0,0.3);
  text-align: center;
}
.section-intro {
  font-size: 15px;
  margin: 10px 0 28px;
  color: #e0f4ff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px solid #5abce6;
  border-radius: 16px;
  overflow: hidden;
  color: #104e6c;
  box-shadow: 0 6px 20px rgba(0, 35, 75, 0.18), 0 2px 0 #3a97c2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 35, 75, 0.28), 0 3px 0 #207ba8;
  border-color: #ffd03b;
}
.news-image-wrap {
  width: 100%;
  height: 165px;
  overflow: hidden;
  background: #bce9fb;
  border-bottom: 2px solid #82d2f5;
}
.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}
.news-card:hover .news-image {
  transform: scale(1.05);
}
.news-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 18px 18px;
}
.news-category {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--rounded);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #034569;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.news-copy h3 {
  font-family: var(--rounded);
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 6px;
  font-weight: 900;
  color: #03496c;
}
.news-date {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}
.news-copy p {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 18px;
  flex-grow: 1;
}
.read-more {
  align-self: flex-start;
  background: linear-gradient(180deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid #075985;
  border-radius: 20px;
  font-family: var(--rounded);
  font-size: 12.5px;
  font-weight: bold;
  padding: 7px 18px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: background 0.15s, transform 0.15s;
}
.read-more:hover {
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 50;
  clear: both;
  min-height: 150px;
  width: 100%;
  background: url("/landing/media/ftr_repeat.png") repeat-x;
}
.footer-scene {
  position: relative;
  min-height: 150px;
  width: 100%;
  background: url("/landing/media/ftr_bg.png") center top no-repeat;
  margin: 0 auto;
  color: #fff;
  font-family: var(--body);
  font-size: 13.6px;
}
.footer-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 24px;
}
.footer-logo {
  flex: none;
  width: 140px;
  text-align: center;
}
.footer-middle {
  flex: 3 1 0;
  max-width: 760px;
  padding: 0 24px;
}
.footer-nav {
  margin: 10px 0 14px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.footer-nav button {
  display: inline-block;
  padding: 4px 10px;
  background: transparent;
  color: #fff;
  font-family: var(--body);
  font-size: 13px;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-nav button:hover {
  color: #ff9a00;
  text-decoration: underline;
}
.footer-disclaimer {
  margin: 0 0 6px;
  text-align: center;
  font-size: 11px;
  line-height: 1.4;
  color: #e2f4ff;
  opacity: 0.9;
}
.footer-copyright {
  margin: 0;
  text-align: center;
  font-size: 10.5px;
  color: #c7e6f8;
  opacity: 0.8;
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 24, 55, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
}
.modal-card {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 85vh;
  overflow-y: auto;
  background: #f8fbff;
  border: 4px solid #005a96;
  border-radius: 22px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.9);
  padding: 30px 26px 26px;
  color: #0a3556;
  animation: popIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #005a96;
  background: #ff5252;
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  line-height: 30px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s;
}
.modal-close:hover {
  transform: scale(1.1);
}
.modal-title {
  font-family: var(--rounded);
  color: #005a96;
  font-size: 24px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.25;
}
.modal-badge {
  display: inline-block;
  font-size: 11px;
  background: #0284c7;
  color: #fff;
  padding: 2px 9px;
  border-radius: 12px;
  vertical-align: middle;
}
.modal-date-tag {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}
.modal-post-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
  border: 1px solid #bae6fd;
}
.modal-body {
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  color: #123f60;
}
.modal-body p { margin: 8px 0; }
.modal-body ul, .modal-body ol { padding-left: 20px; margin: 8px 0; }
.modal-body li { margin-bottom: 6px; }

/* ==========================================================
   RESPONSIVE DESIGN (TABLETS & SMARTPHONES / IMAGEN 5 FIX)
   ========================================================== */

@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  /* Header Mobile: Sleek top bar */
  .site-header {
    margin-bottom: 0;
    background: #0f4a88 url("/landing/media/topbar.png") center / cover repeat-x;
    box-shadow: 0 4px 14px rgba(0, 20, 50, 0.4);
  }
  .header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    width: 100%;
    position: relative;
  }
  .header-logo {
    flex: 0 0 auto;
    padding: 0;
    margin: 0;
  }
  .brand {
    --brand-size: 110px;
    width: var(--brand-size);
    height: calc(var(--brand-size) * 0.58);
  }
  .header-buttons {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    margin-left: auto;
  }
  .play-button {
    min-width: 115px;
    padding: 8px 14px;
    font-size: 18px;
    line-height: 1;
    border-radius: 16px;
  }
  .play-text {
    letter-spacing: 0.8px;
    -webkit-text-stroke: 4px #052240;
  }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 42px;
    height: 38px;
    padding: 9px 7px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    cursor: pointer;
    z-index: 1005;
  }
  .mobile-menu span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #ffffff;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .mobile-menu.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu.is-active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Slide-down Mobile Navigation Drawer */
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #0f457e;
    border-top: 2px solid #38bdf8;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
    z-index: 1004;
  }
  .main-navigation.is-open {
    display: flex;
    animation: slideNav 0.22s ease-out;
  }
  @keyframes slideNav {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .main-navigation .nav-btn,
  .main-navigation .nav-account {
    display: block;
    width: 100%;
    padding: 13px 20px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    color: #fff;
    margin: 0;
  }
  .main-navigation .nav-account {
    background: rgba(255, 214, 74, 0.18);
    color: #ffd64a;
  }

  /* Header Menu / Announcement */
  .header-menu {
    display: contents;
  }
  .announcement-container {
    position: relative;
    width: 100%;
    padding: 6px 12px;
    margin: 0;
    background: rgba(0, 25, 55, 0.35);
  }
  .announcement-banner {
    font-size: 11.5px;
    padding: 4px 14px;
    text-align: center;
    white-space: normal;
    max-width: 95%;
  }

  /* Island Container on Mobile */
  .boreal-island {
    height: 220px;
    min-height: 220px;
    margin-bottom: 22px;
    background: #206fbb url("/landing/media/island.png") center 35% / cover no-repeat;
  }
  .boreal-island iframe {
    display: none;
  }

  /* News Grid on Mobile */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-card {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .content-wrap {
    padding: 0 16px 30px;
  }

  /* Footer Mobile */
  .footer-inner {
    flex-direction: column;
    padding-top: 15px;
    padding-bottom: 20px;
    gap: 14px;
  }
  .footer-logo {
    display: none;
  }
  .footer-middle {
    padding: 0 16px;
  }
  .footer-nav {
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .brand {
    --brand-size: 95px;
  }
  .play-button {
    min-width: 95px;
    padding: 7px 10px;
    font-size: 16px;
  }
  .boreal-island {
    height: 190px;
    min-height: 190px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
}
