/* MY CSS */

/* Add a Pixel Font for that 80s Arcade feel */
@import url("https://fonts.googleapis.com");

.arcade-title,
.title {
  font-family: "Press Start 2P", cursive;
}

/* Flexbox fix for your version of Bulma */
.columns {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}
.column {
  display: block;
  flex-basis: 0;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0.75rem;
}

/* Force Retro Dark Theme */
:root {
  --bulma-body-background-color: #0a0a0a !important;
  --bulma-text: #ececec !important;
  --bulma-card-background-color: #1a1a1a !important;
  --bulma-card-color: #ffd700 !important; /* Gold titles */
}

/* Fix for broken columns */
.columns.is-multiline {
  display: flex !important;
  flex-wrap: wrap !important;
}

/* Ensure the retro font applies to Bulma headers */
.arcade-title,
.title {
  font-family: "Press Start 2P", cursive !important;
  color: #00d1b2 !important; /* Neon teal */
}

/* ******************** */

:root {
  --bg-deep: #0a0a0a;
  --card-light: #fdfdfd;
  --accent-green: #008744;
  --accent-lime: #a2e800;
  --text-dark: #222;
}

body {
  background-color: var(--bg-deep) !important;
  color: #eee;
  scroll-behavior: smooth;
}

/* Navbar with Integrated Search */
.navbar {
  background-color: #000 !important;
  border-bottom: 2px solid var(--accent-green);
  box-shadow: 0 4px 15px rgba(0, 135, 68, 0.5);
}
.arcade-title {
  text-shadow: 0 0 10px var(--accent-lime);
  color: #fff !important;
  font-weight: 800;
}
.nav-search {
  background: #1a1a1a !important;
  border: 1px solid var(--accent-green) !important;
  color: white !important;
  width: 250px;
}
.nav-search::placeholder {
  color: #666;
}

.hero {
  background: linear-gradient(135deg, #000 0%, #004d26 100%) !important;
  border-bottom: 2px solid var(--accent-lime);
}

/* Jump Menu */
.jump-menu {
  background: #1a1a1a86;
  border: 1px solid #333;
  padding: 15px;
  border-radius: 8px;
  position: sticky;
  top: 85px;
  z-index: 10;
  margin-bottom: 2rem;
}
.jump-link {
  background-color: var(--accent-green) !important;
  color: white !important;
  border: none;
  font-weight: bold;
  margin: 2px;
}

/* Card Heights & Widths */
.game-col {
  scroll-margin-top: 160px;
}
.game-card {
  background: var(--card-light) !important;
  border: 3px solid #ccc;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s;
  border-radius: 8px;
  overflow: hidden;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(162, 232, 0, 0.5);
}

/* Marquee Image & Hover Badge */
.card-image {
  background-color: #000;
  height: 120px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.card-image img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.year-badge {
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;
  background: rgba(0, 135, 68, 0.9);
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 0.75rem;
  transition: bottom 0.3s;
  padding: 4px 0;
}
.game-card:hover .year-badge {
  bottom: 0;
}

.card-header-title {
  color: var(--text-dark) !important;
  border-bottom: 1px solid #ccc;
  font-weight: 700;
  min-height: 60px;
}
.card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-dark);
  padding: 0.75rem;
}
.score-box {
  background: #f5f5f5;
  border-radius: 4px;
  padding: 8px;
  border: 1px solid #ddd;
  margin-top: auto;
  min-height: 110px;
}

.letter-divider-container {
  width: 100%;
  /* margin: 3rem 0 1rem 0; */
  /* padding: 0 0.75rem; */
}
.letter-divider {
  color: var(--accent-lime);
  /* border-bottom: 2px solid var(--accent-green); */
  /* padding-bottom: 0.5rem; */
  width: 100%;
}

/* Ghost Card for database search results */
.ghost-card {
  opacity: 0.8;
  background: #f0f0f0 !important;
}

#jump-to-top {
  background-color: var(--accent-green);
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 100;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
#jump-to-top svg {
  fill: white;
  width: 24px;
}

/* ------------------------------------------ */

.notification.is-warning {
  background-color: rgb(207, 207, 207);
  color: #000;
}
