/** 
 * Minecraft - Global Styles
 * 
 * This CSS file defines the visual styles and layout of all Minecraft pages.
 * It includes color schemes, typography, spacing, responsive design, and custom
 * elements used across the site to maintain a cohesive and immersive UI.
 */

/* Base Reset and Font Settings */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  color: #e7e9ea;
  background-color: #1a1a1a;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Standard Link Styles */
a {
  color: #4D8034;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  text-decoration: underline;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
  color: #e7e9ea;
  font-weight: 600;
}

/* Custom Colors Palette */
.mc-green {
  color: #4D8034;
}

.mc-green-bg {
  background-color: #4D8034;
  color: white;
}

.mc-gray-text {
  color: #747a80;
}

/* Card and Box Shadows */
.card {
  background-color: #2b2b2b;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
}

.card:hover {
  border-color: #4D8034;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #4D8034;
  font-weight: 700;
}

/* Button Styles */
.btn {
  padding: 0.6rem 1.2rem;
  background-color: #4D8034;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn:hover {
  background-color: #5DAF53;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #749080;
  color: #747a80;
}

.btn-secondary:hover {
  background-color: #2c3e50;
  border-color: #4D8034;
}

/* Footer Styles */
footer {
  background-color: #2a2a2a;
  color: #7a7a7a;
  font-size: 0.85rem;
}

footer a {
  color: #4D8034;
}

/* Responsive Utility Classes */
@media(max-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: 1fr;
  }

  .max-w-5xl {
    max-width: 100%;
  }
}

/* Responsive Padding Margins and Layout Fixers */
.container {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Custom Shadows and Effects */
.shadow {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Modal Background for Loading or Overlays */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}
</style>
