
body {
  background: url('Corebound_PageBackground.png') no-repeat center center fixed;
  background-size: cover;
  background-attachment: fixed;
  color: #f0f0f0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.about-game, .pitch-deck {
  background-color: rgba(0, 0, 0, 0.65);
  padding: 2rem;
  margin: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}


/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1a1a1a;
}
/* Dropdown container */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #0d0d0d;
  padding: 0.5rem 0;
  list-style: none;
  display: none;
  flex-direction: column;
  min-width: 180px;
  z-index: 999;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #aa3f63;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: flex;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 50px;
}

.logo-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.nav-links li a:hover {
  color: #ff5480;
}

/* === Bottom Navbar (Mobile) === */
.mobile-navbar {
  display: none;
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #0d0d0d;
  padding: 0.4rem 0;
  list-style: none;
  z-index: 1000;
  border-top: 2px solid #ff4081;
}

.bottom-nav li {
  flex: 1;
  text-align: center;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

.bottom-nav a:hover {
  color: #ffbad2;
}

.nav-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0.2rem;
}

/* Show mobile navbar only on small screens */
@media (max-width: 768px) {
  .navbar {
    display: none !important;
  }
  .mobile-navbar {
    display: block;
  }
}

/* Body */

.corebound-logo {
  max-width: 1000px;
  width: 80%;
  margin: 50px auto 20px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
}

.logo-divider {
  width: 100%;
  height: 0.5in;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 8px;
}


.card-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.card-row.trio {
  flex-direction: row;
}

.card-row.single {
  justify-content: center;
}

.character-card {
  position: relative;
  width: 300px;
  border: 2px solid #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.character-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.card-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: bold;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-left: 80px;
}

.character-card:hover .card-label {
  opacity: 0;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}


/* Modal Base Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8); /* Dark overlay */
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-image {
  max-width: 90%;
  height: auto;
  margin-top: 20px;
  border-radius: 8px;
}


/* Modal Content Box */
.modal-content {
  background-color: #1e1e1e;
  padding: 2rem;
  border-radius: 10px;
  max-width: 40vw;
  max-height: 75vh;
  width: 100%;
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #f5f5f5;
  font-family: 'Segoe UI', sans-serif;
}


/* Close Button */
.modal .close {
  color: #ccc;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal .close:hover {
  color: #ff7a7a;
}

/* Modal Title */
.modal-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffcb6b;
}

/* Modal Description */
.modal-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e0e0e0;
}


/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}




/* Development Sections */
.development-status {
  background-color: rgba(0, 0, 0, 0.8);
  color: #f2f2f2;
  padding: 2.5rem 2rem;
  margin: 4rem auto;
  max-width: 900px;
  text-align: center;
  border: 2px dashed #ff3c3c;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 60, 60, 0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.development-status h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ff6b6b;
}

.development-status p {
  font-size: 1rem;
  line-height: 1.6;
}

.join-button {
  display: inline-block;
  background-color: #ff3c3c;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.join-button:hover {
  background-color: #e23030;
}




/* Shared Section Styling */
.story-section,
.gameplay-section,
.theme-section {
  padding: 80px 5%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.content-block {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.content-block.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  min-width: 300px;
}

.text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #ff4f4f;
}

.text-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Placeholder images for now */
.image-placeholder {
  flex: 1;
  min-width: 300px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.story-image {
  background-image: url('Ari_StoryImage.png'); /* Replace with actual story art */
}

.gameplay-image {
  background-image: url('Landscape_GameplayImage.png'); /* Replace with actual gameplay art */
}

.theme-image {
  background-image: url('Inside_ThemeImage.png'); /* Replace with actual theme art */
}

/* Add spacing between sections */
.story-section + .gameplay-section,
.gameplay-section + .theme-section {
  margin-top: 60px;
}


/* Pitch Deck Button */
.pitch-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #00e0ff;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.pitch-btn:hover {
  background-color: #00b3cc;
}

/* Footer */
.site-footer {
  background-color: #111;
  padding: 20px 10%;
  color: #666;
  font-size: 0.9rem;
  text-align: center;
  border-top: 2px solid #333;
}


/* Mobile Site */

@media screen and (max-width: 768px) {
  .corebound-logo {
    width: 90%;
    margin: 30px auto 10px;
  }

  .development-status {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }

   .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }

  .content-block {
    flex-direction: column !important;
    gap: 20px;
    padding: 0 10px;
  }

  .image-placeholder {
    width: 100%;
    height: 200px;
  }

  .text-content h2 {
    font-size: 1.8rem;
  }

  .text-content p {
    font-size: 1rem;
  }

  .pitch-btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .card-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .character-card {
    width: 90%;
  }

  .modal-content {
    max-width: 90vw;
    max-height: 80vh;
    padding: 1rem;
  }

  .bottom-nav {
    flex-direction: row;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1001;
    padding: 0.5rem 0;
  }

  .bottom-nav li {
    flex: 1;
    text-align: center;
  }

  .bottom-nav img {
    width: 24px;
    height: 24px;
  }

  .bottom-nav span {
    display: block;
    font-size: 0.75rem;
    color: #fff;
  }

  @media screen and (max-width: 768px) {
  .modal-content {
    max-width: 90vw;
    max-height: 75vh;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .modal-content h2 {
    font-size: 1.4rem;
  }

  .modal-content p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .modal-image {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
    border-radius: 6px;
  }

  .modal .close {
    font-size: 24px;
    padding: 0 0.5rem;
  }
}

}

