/* Main Styles for Mabar Landing Page */
:root {
  --primary-bg: #0D0B1A;
  --secondary-bg: #151230;
  --accent-color: #6C63FF;
  --text-color: #ffffff;
  --muted-text: #A8A8A8;
  --section-padding: 80px 0;
  --btn-hover: #5951e5;
  --card-bg: #1A1735;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-color);
  overflow-x: hidden;
}

.navbar {
  background-color: rgba(13, 11, 26, 0.95) !important;
  backdrop-filter: blur(10px);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand img {
  max-height: 40px;
}

.navbar-toggler {
  border: none;
  color: var(--text-color);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-login {
  background-color: var(--accent-color);
  color: white;
  border-radius: 30px;
  padding: 8px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: var(--btn-hover);
  transform: translateY(-2px);
}

.lang-selector {
  margin-left: 15px;
}

/* Mobile styles for language selector */
@media (max-width: 991.98px) {
  .lang-selector {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }
  
  .lang-selector .dropdown-menu {
    width: 100%;
    text-align: center;
    margin-top: 5px;
  }
  
  .lang-selector .nav-link {
    justify-content: center;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.3);
  }
}

.lang-selector .dropdown-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
}

.lang-selector .dropdown-menu {
  background-color: var(--secondary-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-selector .dropdown-item {
  color: var(--text-color);
}

.lang-selector .dropdown-item:hover {
  background-color: var(--card-bg);
}

.hero-section {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--primary-bg);
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--muted-text);
}

.enterkomputer-brand {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  font-size: 0.95rem;
  font-weight: 500;
}

.enterkomp-logo {
  max-height: 25px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.enterkomputer-brand:hover .enterkomp-logo {
  opacity: 1;
}

.btn-primary {
  background-color: var(--accent-color);
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--btn-hover);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: white;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  height: 3px;
  width: 70px;
  background-color: var(--accent-color);
  position: absolute;
  bottom: -10px;
  left: calc(50% - 35px);
}

.section-title p {
  color: var(--muted-text);
  max-width: 700px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(108, 99, 255, 0.2);
}

.service-card img {
  height: 70px;
  margin-bottom: 25px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--muted-text);
}

.cta-section {
  background-color: var(--secondary-bg);
  padding: var(--section-padding);
  margin: 80px 0;
  border-radius: 20px;
  position: relative;
}

.cta-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-text p {
  color: var(--muted-text);
  margin-bottom: 30px;
}

/* Product Card Styling */
.product-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  height: 100%; /* Make all cards take full height of their container */
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.product-card-body {
  padding: 20px;
  position: relative;
  z-index: 1;
  flex: 1; /* Allow the body to expand and fill available space */
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.product-card-body p {
  color: var(--muted-text);
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow paragraph to take available space */
}

.product-badge {
  background-color: rgba(108, 99, 255, 0.2);
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  align-self: flex-start; /* Align badge to the start */
  margin-top: auto; /* Push badge to bottom of card */
}

/* Neon styling for cards */
.neon-card {
  background-color: var(--primary-bg);
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.2);
  border: 1px solid rgba(108, 99, 255, 0.3);
  position: relative;
}

.neon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 15px;
  background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), transparent, rgba(108, 99, 255, 0.1));
  z-index: 0;
}

.neon-image-container {
  position: relative;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-bg);
  flex-shrink: 0; /* Prevent container from shrinking */
}

.neon-glow {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(108, 99, 255, 0.6));
  transition: all 0.5s ease;
}

.neon-card:hover .neon-glow {
  transform: scale(1.05);
  filter: drop-shadow(0 0 15px rgba(108, 99, 255, 0.8));
}

.neon-text {
  color: #fff;
  text-shadow: 0 0 5px rgba(108, 99, 255, 0.8), 0 0 10px rgba(108, 99, 255, 0.4);
  font-weight: 600;
}

.neon-badge {
  background: linear-gradient(90deg, rgba(108, 99, 255, 0.3), rgba(108, 99, 255, 0.5));
  box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
  border: 1px solid rgba(108, 99, 255, 0.6);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  color: #fff;
  transition: all 0.3s ease;
}

.neon-card:hover .neon-badge {
  box-shadow: 0 0 15px rgba(108, 99, 255, 0.7);
}

/* Legacy game card styling - keeping for backwards compatibility */
.game-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-card-body {
  padding: 20px;
}

.game-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.game-card-body p {
  color: var(--muted-text);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.game-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
  display: block;
}

footer {
  background-color: var(--secondary-bg);
  padding: 50px 0 20px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-social {
  margin-top: 20px;
}

.footer-social a {
  display: inline-block;
  margin-right: 15px;
  color: var(--text-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-links h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted-text);
}

@media (max-width: 991px) {
  .hero-text {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .cta-text {
    text-align: center;
    margin-bottom: 30px;
  }
}
