


#hero-cover {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 30px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#hero-title .word {
    display: inline-block;
    margin-right: 0.15em; 
    white-space: nowrap; 
}

#hero-title {
    line-height: 1.2;
    overflow: visible;
    font-weight: 800;
    font-size: 3rem;
}

#hero-subtext {
    margin: 30px 15px;
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.5rem;
}

.background-ring {
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.05) inset;
  
  transition: transform 0.1s ease-out;
  pointer-events: none; 
}

#primary {
    position: relative;
    margin-bottom: 100px;
}

#ring-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 0;
}

.menu-cards-container {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 2;
    margin-top: 75px;
    padding: 25px 50px;
}


#card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  width: 100%; 
  padding: 25px;
}


.card-link {
  text-decoration: none;
  color: inherit;
  display: flex; 
}

.card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden; 
  transition: opacity 250ms ease-in-out;
}

.card-image {
  width: 100%;
  height: 300px; 
  object-fit: cover; 
  display: block;
  background-color: #f1f5f9; 
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
}

.card-description {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

.betentera-network-large {
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  opacity: 0.2;
  z-index: -1;
}

.menu-card-image {
  width: 100%;
  height: 300px; 
  object-fit: cover; 
  display: block;
  background-color: #f1f5f9; 
}

.menu-card-content {
  padding: 1.5rem;
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.menu-card-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: bold;
}

.menu-card-description {
  margin: 0;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.5;
}

.menu-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden; 
  transition: opacity 250ms ease-in-out;
  position: relative;
  border-width: 1px;
  border-bottom-style: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: var(--bg-main);
}

.menu-card::after {
  content: '';
  position: absolute;
  bottom: 0; /* Changed to 0 so it stays inside the overflow: hidden bounds */
  left: 0;
  width: 100%;
  height: 1px; 
  background: linear-gradient(90deg, hsl(206, 75%, 49%), hsl(331, 90%, 56%));
  
  transform: scaleX(0); 
  transform-origin: left; 
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
 
.menu-card:hover::after {
  transform: scaleX(1);
}

.betentera-network-small {
  display: none;
}

@media (max-width: 950px) { 

  #hero-cover {
    margin-bottom: 0px;
}

  .betentera-network-large {
    display: none;
  }

  .betentera-network-small {
    display: block;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    opacity: 0.2;
    z-index: -1;
  }

}


