@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@400;600;700;800&display=swap');

/* variables y reset */
:root {
  --bg:          #FFF0F5;
  --white:       #FFFFFF;
  --rose-light:  #FFD6E7;
  --rose-mid:    #FFB6C8;
  --rose-strong: #FF6B9D;
  --rose-deep:   #E8457A;
  --text-dark:   #2D1B2E;
  --text-soft:   #8B5A7A;
  --shadow:      0 4px 24px rgba(255,107,157,0.13);
  --radius:      18px;
  --radius-sm:   10px;
  --nav-h:       70px;
  --section-gap: 4rem;
}

* {
    scrollbar-width: initial;
    scrollbar-color: var(--rose-strong) var(--rose-light);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
.highlight {
  font-weight: 800;
  color: var(--rose-strong);
}

/* barra de navegacion */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(255,107,157,0.10);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Fredoka One', cursive;
  font-size: 1.4rem;
  color: var(--rose-strong);
  flex-shrink: 0;
}

.navbar-logo img {
  width: 80px; height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(255,107,157,0.25));
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.navbar-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-soft);
  padding: 0.42rem 0.95rem;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.navbar-links a:hover,
.navbar-links a.active {
  background: var(--rose-light);
  color: var(--rose-deep);
}

/* selector de idioma */
.lang-select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.lang-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--rose-mid);
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 1.05rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.lang-toggle-btn:hover,
.lang-toggle-btn.open {
  border-color: var(--rose-strong);
  background: var(--rose-mid);
  color: var(--white);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(255,107,157,0.18);
  list-style: none;
  min-width: 140px;
  padding: 0.4rem;
  display: none;
  z-index: 250;
}
.lang-dropdown.open { display: block; }

.lang-dropdown li button {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.55rem 0.8rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-soft);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown li button:hover,
.lang-dropdown li button.active {
  background: var(--rose-light);
  color: var(--rose-deep);
}

/* portada */
.hero-cover {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFD6E7, #FFB6C8);
}

.hero-cover img {
  width: 100%;
  height: clamp(280px, 70vh, 820px);
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(255,240,245,0.0) 40%,
    rgba(255,240,245,0.85) 100%
  );
}

/* franja de bienvenida */
.intro-strip {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  border-bottom: 2px solid var(--rose-light);
}

.intro-strip h2 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}

.intro-strip p {
  color: var(--text-soft);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

/* contenedor general de secciones */
.section {
  padding: 0 2rem;
  max-width: 1100px;
  margin: var(--section-gap) auto 0;
  width: 100%;
}

.section-title {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.section-divider {
  width: 52px; height: 4px;
  background: var(--rose-strong);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.section-divider--center {
  width: 120px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rose-strong);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(255,107,157,0.35);
}
.btn:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,157,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--rose-strong);
  border: 2px solid var(--rose-strong);
  box-shadow: none;
}
.btn-outline:hover {
  background: var(--rose-light);
  color: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: none;
}
.btn-sm {
  font-size: 0.88rem;
  padding: 0.55rem 1.4rem;
}

/* panel del estudio (about us en el index) */
.studio-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 280px 1fr;
  overflow: hidden;
  min-height: 380px;
}

.studio-panel-left {
  background: linear-gradient(160deg, var(--rose-light) 0%, var(--rose-strong) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.studio-panel-left::before {
  content: '';
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -80px; left: -60px;
}

.studio-panel-left::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  bottom: -50px; right: -50px;
}

.studio-panel-logo {
  position: relative;
  z-index: 1;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-panel-right {
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
}

.studio-panel-right h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.9rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.studio-panel-right p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}

.studio-panel-right p strong {
  color: var(--rose-deep);
}

.studio-panel-divider {
  width: 44px; height: 3px;
  background: var(--rose-strong);
  border-radius: 3px;
}

.studio-panel-right .btn {
  align-self: center;
  padding: 0.75rem 1.5rem;
}

.studio-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.studio-stat {
  background: var(--bg);
  border: 1.5px solid var(--rose-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  transition: transform 0.18s, border-color 0.18s;
}

.studio-stat:hover {
  transform: translateY(-3px);
  border-color: var(--rose-mid);
}

.studio-stat-wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--rose-strong), var(--rose-deep));
  border-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
}

.studio-stat-wide:hover {
  transform: none;
}

.studio-stat-num {
  font-family: 'Fredoka One', cursive;
  font-size: 1.7rem;
  color: var(--rose-strong);
  line-height: 1;
}

.studio-stat-wide .studio-stat-num {
  color: var(--white);
}

.studio-stat-lbl {
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-soft);
  margin-top: 0.25rem;
}

.studio-stat-wide .studio-stat-lbl {
  color: rgba(255,255,255,0.85);
  margin-top: 0;
}

/* juego destacado (index) */
.game-spotlight {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.game-spotlight-img {
  min-height: 280px;
  overflow: hidden;
}

.game-spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.game-spotlight-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.game-tag {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 50px;
  align-self: flex-start;
}

.game-spotlight-body h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.1rem;
  color: var(--text-dark);
}

.game-spotlight-body p {
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.65;
}

.spotlight-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
  justify-content: center;
}

/* redes sociales */
.social-section {
  background: linear-gradient(135deg, #FFB6C8 0%, #FF6B9D 100%);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  margin: var(--section-gap) auto 0;
  max-width: 1100px;
  width: calc(100% - 4rem);
}

.social-section h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.social-section > p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  font-size: 0.97rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255,255,255,0.22);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: background 0.2s, border-color 0.2s;
  backdrop-filter: blur(4px);
}
.social-pill:hover {
  background: rgba(255,255,255,0.38);
  border-color: rgba(255,255,255,0.6);
}

/* cabecera de pagina (paginas internas) */
.page-header {
  background: linear-gradient(135deg, #FFD6E7 0%, #FFB6C8 100%);
  padding: 1rem 2rem 3rem;
  text-align: center;
}
.page-header h1 {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  color: var(--text-dark);
}
.page-header p {
  color: var(--text-soft);
  font-size: 1.05rem;
  font-weight: 600;
}

/* creditos (project erika) */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 3rem;
  margin-top: 1.5rem;
}

.credit-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.credit-card--studio {
  grid-column: 1 / -1;
  background: var(--rose-light);
  border: 2px solid var(--rose-mid);
}

.credit-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--rose-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.credit-avatar--lg {
  width: 64px;
  height: 64px;
}

.credit-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.credit-name {
  font-family: 'Fredoka One', cursive;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.1rem;
}

.credit-name--lg {
  font-size: 1.2rem;
}

.credit-role {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rose-strong);
  margin-bottom: 0.5rem;
}

.credit-socials {
  display: flex;
  gap: 0.4rem;
}

.credit-social {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.credit-social:hover {
  background: var(--rose-mid);
}

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

/* portada del juego erika */
.erika-hero {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 3rem;
}

.erika-cover {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, #FFB6C8 0%, #FF6B9D 60%, #E8457A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.erika-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.erika-meta {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.erika-meta-left h1 {
  font-family: 'Fredoka One', cursive;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.erika-meta-left p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 550px;
}

.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.badge {
  background: var(--rose-light);
  color: var(--rose-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.22rem 0.7rem;
  border-radius: 50px;
}

.erika-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex-shrink: 0;
}

.erika-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.spotlight-divider {
  border: none;
  width: 80px;
  margin: 0.4rem auto;
  border-top: 3px dotted var(--rose-mid);
}

/* tráiler */
.trailer-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 3rem;
}

.trailer-wrap h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.6rem;
  color: var(--text-dark);
  padding: 1.5rem 2rem 0;
}

.trailer-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin: 1.2rem 0 0;
}

.trailer-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* capturas de pantalla */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.screenshot-slot {
  background: #f2c4d4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
  padding: 10px 10px 52px 10px;
}

.screenshot-slot img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  filter: sepia(20%) contrast(1.05) brightness(0.95) saturate(0.9);
}

.screenshot-slot:nth-child(odd)  { transform: rotate(-1.2deg); }
.screenshot-slot:nth-child(even) { transform: rotate(1deg); }

/* chincheta de la foto */
.screenshot-slot .photo-clip {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  background: #d4889e;
  border-radius: 50%;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.screenshot-slot .photo-clip::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f5d5df;
}

/* pagina de equipo */
.dev-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.member-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(255,107,157,0.2);
}

.member-banner {
  height: 110px;
  position: relative;
}
.member-banner-1 { background: linear-gradient(135deg, #929292, #2b2b2b); }
.member-banner-2 { background: linear-gradient(135deg, #eba9ff, #961785); }
.member-banner-3 { background: linear-gradient(135deg, #ffb6e9, #d64d7b); }

.member-avatar-wrap {
  position: absolute;
  bottom: -50px; left: 50%;
  transform: translateX(-50%);
}
.member-avatar {
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}
.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.member-info {
  padding: 3rem 1.8rem 1.8rem;
  text-align: center;
}
.member-info h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.45rem; color: var(--text-dark); margin-bottom: 0.2rem;
}
.member-role {
  font-size: 0.75rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--rose-strong); margin-bottom: 0.9rem;
}
.member-info p {
  color: var(--text-soft); font-size: 0.92rem; line-height: 1.65; margin-bottom: 1.3rem;
}
.member-socials { display: flex; justify-content: center; gap: 0.7rem; }
.member-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--rose-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}
.member-social-link:hover { background: var(--rose-mid); transform: scale(1.1); }

/* formas de apoyarnos */
.support-section {
  text-align: left;
}

.support-section .section-divider {
  margin-left: 0;
  margin-right: 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  gap: 1.5rem;
  justify-content: center;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.8rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.support-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.support-card .btn {
  align-self: center;
  width: fit-content;
}

.support-card .support-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.support-card h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

/* ultimas noticias */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255,107,157,0.18);
}

.news-card-img {
  background: linear-gradient(135deg, var(--rose-light), var(--rose-mid));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 180px;   /* asegura tamaño digno cuando no hay imagen */
  border-bottom: 2px solid var(--rose-mid);  /* línea separadora img/texto */
}

.news-card-img img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  object-position: center;
}

.news-card-img i {
  font-size: 3rem;
  color: var(--rose-deep);
  opacity: 0.55;
}

.news-card-body { padding: 1.4rem 1.5rem; }
.news-card-date {
  font-size: 0.75rem; font-weight: 700;
  color: var(--rose-strong); text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 0.4rem;
}
.news-card-body h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 1.15rem; color: var(--text-dark); margin-bottom: 0.5rem;
}
.news-card-body p {
  color: var(--text-soft); font-size: 0.88rem; line-height: 1.55;
}

/* pagina 404 */
.error-page {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem;
}
.error-code {
  font-family: 'Fredoka One', cursive;
  font-size: clamp(6rem, 18vw, 12rem);
  color: var(--rose-mid); line-height: 1; margin-bottom: 0.3rem;
}
.error-page h2 {
  font-family: 'Fredoka One', cursive;
  font-size: 2rem; color: var(--text-dark); margin-bottom: 0.7rem;
}
.error-page p { color: var(--text-soft); font-size: 1rem; margin-bottom: 2rem; }

/* pie de pagina */
.footer {
  background: var(--white);
  border-top: 2px solid var(--rose-light);
  padding: 2.5rem 2.5rem 1.5rem;
  margin-top: var(--section-gap);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  font-family: 'Fredoka One', cursive;
  font-size: 1rem; color: var(--text-dark); margin-bottom: 0.8rem;
}
.footer-col ul {
  list-style: none; display: flex; flex-direction: column; gap: 0.45rem;
}
.footer-col ul li a {
  color: var(--text-soft); font-size: 0.88rem; font-weight: 600;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--rose-strong); }

.footer-social-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--rose-light);
  color: var(--rose-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}
.footer-social-link:hover {
  background: var(--rose-mid);
  transform: scale(1.1);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--rose-light);
  padding-top: 1.2rem;
}
.footer-bottom p { color: var(--text-soft); font-size: 0.83rem; }

/* logo animado (about us) */
.studio-panel-logo .logo-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.studio-panel-logo .logo-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(232,69,122,0.3));
}

.studio-panel-logo .logo-whiskers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center;
}

@keyframes whisker-wiggle {
  0%   { transform: rotate(0deg)   scale(1); }
  15%  { transform: rotate(-12deg) scale(1.1); }
  35%  { transform: rotate(10deg)  scale(1.15); }
  55%  { transform: rotate(-8deg)  scale(1.1); }
  75%  { transform: rotate(6deg)   scale(1.05); }
  90%  { transform: rotate(-3deg)  scale(1); }
  100% { transform: rotate(0deg)   scale(1); }
}

@keyframes cat-bounce {
  0%   { transform: translateY(0)    rotate(0deg); }
  20%  { transform: translateY(-8px) rotate(-5deg); }
  40%  { transform: translateY(4px)  rotate(4deg); }
  60%  { transform: translateY(-5px) rotate(-3deg); }
  80%  { transform: translateY(2px)  rotate(2deg); }
  100% { transform: translateY(0)    rotate(0deg); }
}

.studio-panel-logo .logo-whiskers.wiggle {
  animation: whisker-wiggle 0.55s ease-in-out forwards;
}

.studio-panel-logo .logo-base.wiggle {
  animation: cat-bounce 0.55s ease-in-out forwards;
}

/* adaptable a moviles */
@media (max-width: 900px) {
  .game-spotlight { grid-template-columns: 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 750px) {
  .studio-panel       { grid-template-columns: 1fr; }
  .studio-panel-left  { padding: 2.5rem 2rem 2rem; }
  .studio-panel-right { padding: 2rem 1.8rem; }
}

@media (max-width: 700px) {
  :root { --section-gap: 3rem; }

  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 0.8rem 1.2rem;
    row-gap: 0.6rem;
  }
  .navbar-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
  }

  .footer-inner       { grid-template-columns: 1fr; gap: 1.5rem; }
  .erika-meta         { flex-direction: column; }
  .erika-actions      { flex-direction: row; flex-wrap: wrap; }
  .social-section     { width: calc(100% - 2rem); }
  .hero-cover img     { height: 55vw; min-height: 240px; }
  .hero-cover         { max-height: none; }
}

@media (max-width: 480px) {
  :root { --section-gap: 2.5rem; }

  .navbar       { padding: 0 1rem; }
  .section      { padding: 0 1.2rem; }
  .erika-cover  { height: 220px; }
}

@media (max-width: 750px) {
  .erika-about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}