/* Google Fonts for Pixelated Text */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* Font for Pixelated Text */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Press Start 2P', cursive;
  letter-spacing: 2px;
  /* Removed blinking animation for accessibility */
}

/* Background colors and textures */
body {
  background-color: #0e1b12;
  color: #e0ffe0;
  background-image: 
    url('https://www.transparenttextures.com/patterns/circuit-board.png'),
    url('https://www.transparenttextures.com/patterns/circuit-board-gray.png'); /* Example subtle circuit board pattern */
  background-size: cover, contain;
  background-repeat: repeat, no-repeat;
  background-position: center, top right;
  background-attachment: fixed, fixed;
}

/* Navigation Bar */
.navbar {
  background-color: rgba(0, 51, 0, 0.9) !important;
  border-bottom: 2px solid #00ff00;
}

.navbar-brand, .nav-link, .dropdown-item {
  color: #00ff00 !important;
  font-family: 'Courier New', Courier, monospace;
}

.nav-link.active {
  text-decoration: underline;
  color: #b3ffb3 !important;
}

.nav-link:hover, .dropdown-item:hover {
  color: #b3ffb3 !important;
  text-decoration: underline;
}

/* Purchase Banner */
.purchase-banner {
  background-color: rgba(0, 26, 0, 0.95);
  border-bottom: 4px solid #00ff00;
  padding: 1.5rem 0;
  text-align: center;
}

.purchase-banner h2 {
  color: #00ffff; /* Changed from green to cyan */
  font-family: 'Press Start 2P', cursive;
  font-size: 2rem;
}

.purchase-banner p {
  color: #c3f9c3;
  font-size: 1.2rem;
}

.purchase-banner .btn-buy {
  background-color: #00ff00;
  border-color: #ffeb3b; /* Retro yellow border */
  color: #000000; /* Changed from white to black for better contrast */
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  margin-top: 1rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.purchase-banner .btn-buy:hover {
  background-color: #00e600;
  border-color: #00e600;
  color: #000000;
}

/* Header styles */
header {
  background-color: rgba(0, 51, 0, 0.9);
  background-image: url('https://www.transparenttextures.com/patterns/circuits.png'),
                    url('https://www.transparenttextures.com/patterns/circuit-board-gray.png'); /* Example subtle circuit board pattern */
  background-size: cover, contain;
  background-repeat: repeat, no-repeat;
  background-position: center, top right;
  border-bottom: 4px solid #00ff00;
  padding: 2rem 0;
  text-align: center;
}

header h1 {
  color: #ffeb3b; /* Changed from green to retro yellow */
  font-family: 'Press Start 2P', cursive;
  font-size: 2rem;
}

header p {
  color: #e0ffe0;
  font-size: 1.2rem;
}

/* Sections */
section {
  margin-bottom: 3rem;
}

/* Heading Colors */
h2, h3, h4, h5, h6 {
  color: #00ffff; /* Changed from green to cyan for better contrast */
}

/* Custom light background sections */
.bg-light-custom {
  background-color: rgba(17, 45, 24, 0.95) !important;
  border: 1px solid #00ff00;
  padding: 1.5rem;
  border-radius: 8px;
}

/* Text styles */
.lead, p {
  color: #c3f9c3;
  font-size: 1rem;
  line-height: 1.6;
}

/* Links */
a {
  color: #00ff00;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  text-decoration: underline;
  color: #b3ffb3;
}

/* Footer */
footer {
  background-color: rgba(0, 51, 0, 0.9);
  border-top: 4px solid #00ff00;
  padding: 1rem 0;
  text-align: center;
}

footer p {
  color: #e0ffe0;
  font-size: 0.9rem;
}

/* Content Borders */
.bordered {
  border: 2px solid #00ff00;
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(17, 45, 24, 0.95);
  box-shadow: 0 0 0 3px #ffeb3b; /* Retro yellow border shadow */
  position: relative;
}

/* Adding pixel art emojis as decorative elements */
.bordered::before, .bordered::after {
  content: '🎮';
  font-size: 1.5rem;
  position: absolute;
  top: -0.75rem;
}

.bordered::after {
  content: '👾';
  right: -0.75rem;
}

/* Custom Buttons */

/* Primary Button */
.btn-primary {
  background-color: #00ff00;
  border-color: #00ffff; /* Cyan border */
  color: #003300;
  font-weight: bold;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-primary:hover {
  background-color: #00e600;
  border-color: #00e600;
  color: #003300;
}

/* Sale Button */
.btn-sale {
  background-color: #00cc00;
  border-color: #ffeb3b; /* Retro yellow border */
  color: #000000; /* Changed from white to black for better contrast */
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-sale:hover {
  background-color: #009900;
  border-color: #00e600; /* Changed to cyan on hover for consistency */
  color: #000000;
}

/* Exclusive Offer Button */
.btn-exclusive {
  background-color: #ff0066;
  border-color: #ffeb3b; /* Retro yellow border */
  color: #000000; /* Changed from white to black for better contrast */
  font-weight: bold;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn-exclusive:hover {
  background-color: #e6005c;
  border-color: #ffeb3b; /* Maintain retro yellow border on hover */
  color: #000000;
}

/* Feature Image */
.feature-img {
  max-width: 100%;
  height: auto;
  border: 2px solid #00ff00;
  border-radius: 10px;
}

/* Dropdown Menu Styles */
.dropdown-menu {
  background-color: rgba(17, 45, 24, 0.95);
  border: 1px solid #00ff00;
}

.dropdown-item {
  color: #c3f9c3 !important;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
  background-color: #00ff00;
  color: #003300 !important;
}

/* Responsive Button Alignment */
@media (max-width: 576px) {
  .purchase-banner h2 {
    font-size: 1.5rem;
  }
  .purchase-banner p {
    font-size: 1rem;
  }
  .purchase-banner .btn-buy {
    width: 100%;
    padding: 0.75rem;
  }
}

/* Focus Styles for Accessibility */
a:focus, button:focus {
  outline: 3px dashed #00ffff; /* Cyan dashed outline */
  outline-offset: 2px;
}

/* Removing any residual animations for accessibility */
/* @keyframes blink {
  /* Animation removed to comply with WCAG */
} */
