  body {
    margin: 0px;
    padding-bottom: 60px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
  }
  header h1.logo {
    margin: 0;
    margin-top: 10px;
    margin-left: 5%;
    font-size: 1.7em;
    color: #fff;
    text-transform: uppercase;
    float: left;
  }
  header h1.logo:hover {
    color: #fff;
    text-decoration: none;
  }
  .coming-soon{
    background-color: #a7a3a3;
  }
  .content-wrapper {
    width: 100%;
    display: grid;
    grid-template-columns: 16% 68% 16%;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    margin: 0 auto;
    background-color: rgb(248, 248, 248);
  }
  .grid-column {
    margin: 5px;
  }
  .bannerText {
    font-size: 3em;
    text-align: center;
  }
  .top-banner {
    position: relative;
    z-index: 1010;
    padding-top: 20px;
    margin-top: 40px; /* Adjust margin to ensure alert is visible below navbar */
  }
  .fixed-top {
    z-index: 1030;
    position: fixed;
    top: 0;
    width: 100%;
  }

  /* ===== SEARCH FUNCTIONALITY STYLES ===== */
  .search-container {
    position: relative;
    min-width: 200px;
    margin-left: 1rem;
    display: flex;
    align-items: center;
  }
  
  .search-input {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    height: 38px;
    color: #333;
    width: 100%;
    margin: 0;
    line-height: 1.4;
    vertical-align: middle;
  }
  
  .search-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
  }
  
  .search-input:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
    border-color: white;
    outline: 0;
  }
  
  .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .search-results.show {
    display: block;
  }
  
  .search-result-item {
    padding: 8px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.2s ease;
  }
  
  .search-result-item:hover,
  .search-result-item.highlighted {
    background-color: #f8f9fa;
  }
  
  .search-result-item:last-child {
    border-bottom: none;
  }
  
  .search-result-name {
    font-weight: 500;
    color: #333;
  }
  
  .search-result-brand {
    font-size: 0.8rem;
    color: #666;
    margin-left: 8px;
  }
  
  .search-no-results {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
  }
  
  /* ===== SEARCH MOBILE RESPONSIVENESS ===== */
  @media (max-width: 991.98px) {
    .search-container {
      min-width: unset;
      margin: 0.5rem 0;
      width: 100%;
    }
    
    .search-input {
      width: 100%;
      font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-results {
      max-height: 300px;
    }
  }
  
  @media (max-width: 575.98px) {
    .search-container {
      min-width: 150px;
    }
    
    .search-input {
      padding: 6px 12px 6px 30px;
      height: 36px;
    }
    
    .search-icon {
      left: 10px;
      font-size: 0.8rem;
    }
  }
  .nav-item {
    display: flex;
    align-items: center;
  }
  .navbar-nav {
    --bs-nav-link-color: rgb(255 255 255)
  }

  .navbar.fixed-top {
    z-index: 1000;
  }
  .ImportantBanner {
    font-size: 1.1em;
    text-align: center;
    color:#a10000;
    font-weight: bold;
    position: relative;
    z-index: 1020;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 5px;
  }
  .overdriveBackground {
    background-color:#ccf1f6e8
  }
  .airdropBackground {
    background-color:#edfbd5
  }
  .unlimitedCoreBackground {
    background-color:#eedd90
  }
  .insertBackground {
    background-color:#fab6d8
  }
  .LinksBanner {
    text-align: center;
    width: 60%;
    margin: auto;
  }
  .LinkButton {
    display: inline-block;
    vertical-align: middle;
  }
  .rarity-btn {
    flex: 1 1 100px;
    min-width: 100px;
  }
  .bmc-btn {
    height: 40px !important;
    min-width: 200px !important;
    width: 200px !important;
  }
  .btn-patreon {
    background-color: #F96854;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 25px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.875rem;
  }
  
  .btn-patreon:hover {
    background-color: #E5553B;
  }


  .Intro {
    margin-left: auto;
    margin-right: auto;
    width: 100%;

  }
  .table td, .table th {
    padding: 0;
  }

  .table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

  .table-header h2 {
      margin: 0;
      font-size: 1.5em;
  }

  .brand-logo {
      max-width: 150px; /* Adjust this value based on desired size */
      height: auto;
      margin-left: 20px; /* Space between the heading and the image */
      margin-right: 20px;
  }

  @media screen and (max-width: 768px) {
      .brand-logo {
          max-width: 100px; /* Smaller image for smaller screens */
      }
  }

  .TokenExample {
    max-width: 100%;
    height: auto;
  }
  .TokenExampleFig {
    max-width: 100%;
    height: auto;
  }
  .singleImg {
    max-width: 50%;
    display:block;
    margin-left:auto;
    margin-right:auto;
  }
  .imgRow {
    display:flex;
  }
  .imgCol {
    flex: 50%;
    padding: 5px;
  }
  
  /* ===== NAVBAR STYLES ===== */
  .navbar {
    background-color: #304c82;
    min-height: 56px;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .navbar .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
  }

  /* Logo styling */
  .navbar-brand {
    padding: 0;
    margin-right: 1rem;
    display: flex;
    align-items: center;
  }

  .navbar-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.2s ease;
  }

  .navbar-logo:hover {
    transform: scale(1.05);
  }

  /* Navigation links */
  .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
  }

  .navbar-nav .nav-link:hover {
    color: white !important;
  }

  /* Dropdown menus */
  .dropdown-menu {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 8px;
  }

  /* Mobile navbar toggle */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  /* Mobile responsiveness */
  @media (max-width: 991.98px) {
    .navbar-logo {
      height: 35px;
      max-width: 150px;
    }
    
    .navbar .container-fluid {
      padding: 0 10px;
    }
    
    .navbar-collapse {
      margin-top: 0.5rem;
    }
    
    .search-container {
      margin: 0.5rem 0;
      width: 100%;
    }
    
    .search-input {
      width: 100%;
    }
  }

  @media (max-width: 575.98px) {
    .navbar-logo {
      height: 30px;
      max-width: 120px;
    }
    
    .navbar .container-fluid {
      padding: 0 8px;
    }
  }

/* Ad container styles */
.ad-container {
  min-height: 90px; /* Match ad height */
  position: relative;
  z-index: 1; /* Below navbar */
}

/* ===== MODERN LAYOUT STYLES ===== */
.main-content {
  max-width: 100%;
  padding: 0 1rem;
}

.sidebar-ads {
  top: 80px; /* Account for navbar height */
  padding: 1rem 0.5rem;
}

.vertical-ad {
  min-width: 160px;
  max-width: 300px;
  width: 100%;
}

/* Enhanced responsive design */
@media (min-width: 1200px) {
  .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .main-content {
    padding: 0 2rem;
  }
  
  .sidebar-ads {
    padding: 1rem;
  }
  
  .vertical-ad {
    width: 160px;
    height: 600px;
  }
}

@media (min-width: 1400px) {
  .container-fluid {
    max-width: 1600px;
  }
  
  .vertical-ad {
    width: 300px;
    height: 600px;
  }
}

/* Tablet and mobile adjustments */
@media (max-width: 991.98px) {
  .main-content {
    padding: 0 0.5rem;
  }
}

@media (max-width: 768px) {
  .ad-container {
      min-height: 50px; /* Smaller on mobile */
  }
  .banner-container {
    margin-top: 2rem; /* More spacing on mobile */
    padding: 0 10px;
  }

  .banner {
      padding: 0.5rem;
      font-size: 0.9rem;
  }
}
/* Center the navbar content */
  h1 {
    font-size: 3em;
    margin-top: 5px;
    margin-bottom: 0px;
    text-align: center;
    letter-spacing: -2px;
  }
  h2.ComicName {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: -2px;
  }
  h3.ComicInfo {
    font-size: 1.5em;
    font-weight: 100;
    margin-top: 30px;
    margin-bottom: 0px;
    text-align: center;
    letter-spacing: -1px;
    color: rgb(71, 71, 71);
  }
  .notesBox {
    text-align: center;
    margin-left: 10%;
    margin-right: 20%;
  }
  .ResultText {
    max-width: 100%;
    overflow-wrap: break-word;
  }
  .ComicInfoBanner {
    font-size: 0.9em;
    font-weight: 100;
    text-align: center;
  }
  .ComicInfoBannerSmall {
    font-size: 0.6em;
    font-weight: 100;
    text-align: center;
  }
  .formElement {
    text-align: center;
  }
  .dropdownMenu {
    border-radius: 0px !important;
    background-color: #304c82 !important;
    padding: 0px !important;
  }
  .dropdown {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
  }
  .dropdown-menu li {
    position: relative;
    }
    .dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
    }
    .dropdown-menu .dropdown-submenu-left {
    right: 100%;
    left: auto;
    }
    .dropdown-menu > li:hover > .dropdown-submenu {
    display: block;
    }
  select {
    display: block;
    width: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 12px 20px;
    border-radius: 4px;
    box-sizing: border-box;
  }
  input[type=text] {
    display: block;
    width: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 10px;
    padding: 12px 20px;
    border-radius: 4px;
    box-sizing: border-box;
  }
  input[type=submit] {
    display: block;
    width: 50%;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 15px;
    padding: 12px 20px;
    border-radius: 4px;
    background-color: #009879;
    color: white;
    cursor: pointer;
  }

  .back-to-top {
    position: fixed;
    right: 25px;
  }
  
  @media (min-width: 992px) {
    .back-to-top {
      bottom: 50px;
    }
  }
  
  .back-to-top i {
    font-size: 2.5rem;
  }
  
  /* Style the back-to-top button on hover */
  .back-to-top:hover i {
    transform: translateY(-3px);
  }

  .important-notice {
    background-color: #a5faac; /* Yellow background color */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: left; /* Align text to the left */
}


/* Add these container utilities */
.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

.btn-circle {
  width: 36px;
  height: 36px;
  padding: 6px 0;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2px;
  background-color: transparent; /* Default transparent background */
  border: 1px solid #fff; /* White border by default */
}

.btn-circle i {
  color: #fff;
}

/* Specific styles for each social button */
.btn-circle[href*="discord"] {
  background-color: #5865F2; /* Discord color */
  border: none;
}

.btn-circle[href*="x.com"] {
  background-color: transparent;
  border: 1px solid #fff;
}

.btn-circle[href*="x.com"] i {
  color: #000; /* Keep the X icon black */
}

.btn-circle[href*="patreon"] {
  background-color: #F96854; /* Patreon color */
  border: none;
}

.btn-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}


.banner {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 4px;
}

.banner a {
  color: inherit;
  text-decoration: underline;
}

.banner--announcement {
  background-color: #e3f2fd;
  color: #0d47a1;
  border: 1px solid #bbdefb;
}

.banner--supply {
  background-color: #fff3e0;
  color: #e65100;
  border: 1px solid #ffe0b2;
}

.banner--maintenance {
  background-color: #fbe9e7;
  color: #b71c1c;
  border: 1px solid #ffccbc;
}

.banner-container {
  width: 100%;
  position: relative;
  z-index: 999;
  padding: 0 15px;
  margin-top: 2rem; 
}

.banner-icon {
  margin-right: 0.5rem;
}
  /* Mobile responsiveness */
  @media (max-width: 576px) {
    .btn-circle {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .navbar-text {
        font-size: 0.75rem;
    }

    .social-buttons {
        margin: 4px 0;
    }

    footer .container-fluid {
        padding: 0 10px;
    }
  }

  /* Fix mobile navbar styling */
  @media (max-width: 576px) {

    .navbar {
      height: auto; /* Allow height to expand on mobile */
      padding: 0; /* Add some vertical padding */
    }

    .navbar .container-fluid {
        padding: 0.5rem 15px;
    }

    .navbar-collapse {
      margin: 0; /* Negative margin to counter container padding */
      padding: 0.5rem 1rem;
      background-color: #304c82; /* Match navbar background */
      justify-content: flex-start;
    }

    .navbar-brand {
      position: relative;
      left: 0;
    }

    .nav-link {
        color: #fff !important; /* Force white text */
        padding: 0.5rem 1rem;
    }

    .navbar-nav {
      padding: 0.5rem 0;
    }

    .nav-item {
        padding: 0.25rem 0;
    }

    /* Fix dropdown backgrounds */
    .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.98);
        border: none;
        margin-top: 0;
    }
    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 0.25rem;
    }

    /* Fix Leaderboards link */
    .navbar-nav .nav-item .nav-link {
        color: #fff !important;
        opacity: 1;
    }

    
  }