/**
 * series-shell.css
 * Compact shared series bar for game and stats pages.
 * Establishes "You Don't Know Africa" identity, cross-game links, and account CTA.
 */

.ydka-series-shell {
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 15px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.ydka-series-shell a {
  color: #f89f34;
  text-decoration: none;
}

.ydka-series-shell a:hover {
  text-decoration: underline;
}

.ydka-series-shell__brand {
  font-weight: bold;
  margin-bottom: 4px;
}

.ydka-series-shell__brand a {
  color: white;
}

.ydka-series-shell__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 12px;
  margin-bottom: 6px;
}

.ydka-series-shell__links a {
  white-space: nowrap;
}

.ydka-series-shell__auth {
  font-size: 12px;
}

.ydka-series-shell__auth a {
  font-weight: 500;
  color: #5eb8ff;
}

.ydka-series-shell__auth a:hover {
  color: #a8d8ff;
}

@media (min-width: 500px) {
  .ydka-series-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 20px;
  }

  .ydka-series-shell__brand {
    margin-bottom: 0;
    margin-right: 8px;
  }

  .ydka-series-shell__links {
    margin-bottom: 0;
    gap: 0 16px;
  }

  .ydka-series-shell__auth {
    margin-left: auto;
  }
}

/* Unified footer styling for all games */
.ydka-footer {
  font-size: 12px;
  color: #869886;
  text-align: center;
  margin: 20px auto 20px;
  width: 90%;
  max-width: 600px;
}

/* Desktop: footer fixed at bottom of viewport */
@media (min-width: 769px) {
  body {
    padding-bottom: 50px;
  }
  .ydka-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 10px;
    width: 100%;
    max-width: none;
    background: #415353;
    z-index: 1000;
  }
}

/* Mobile: footer as last element in page flow (not fixed) */
@media (max-width: 768px) {
  .ydka-footer {
    position: static;
  }
}

.ydka-footer a,
.ydka-footer a:visited {
  color: #869886;
  transition: color 150ms;
}

.ydka-footer a:hover {
  color: #607160;
}

/* Crosspromo: shown only on success screen, bright yellow */
.crosspromo,
.crosspromo a,
.ydka-footer .crosspromo,
.ydka-footer .crosspromo a {
  color: #e6e667;
}

.crosspromo a:hover,
.ydka-footer .crosspromo a:hover {
  color: #f5f578;
}

/* Auth CTA: sign in / view stats – consistent across all games, light blue */
.ydka-auth-prompt,
.ydka-welcome {
  margin-top: 16px;
  margin-bottom: 8px;
}

.ydka-auth-cta {
  display: inline-block;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background: rgba(94, 184, 255, 0.3);
  border: 2px solid rgba(94, 184, 255, 1);
  border-radius: 6px;
  text-decoration: none;
  transition: background 150ms, border-color 150ms, color 150ms;
}

.ydka-auth-cta:hover {
  background: rgba(94, 184, 255, 0.45);
  border-color: rgba(94, 184, 255, 1);
  color: white;
}

@media (max-width: 768px) {
  .ydka-auth-cta {
    display: block;
    margin: 0 10px;
    padding: 12px 20px;
    font-size: 14px;
    text-align: center;
  }
}
