:root {
  --primary-color: #3cb371;
  --blue-color: #2e8b57;
  --secondary-color: #5a5a5a;
  --dark-bg: #1a1a1a;
  --content-bg: #252525;
  --accent-color: #c2f0c2;
  --text-color: #f4f4f4;
  --spacing-unit: 1rem;
  --discord-blue: #7289da;
}

/* ==== Global Reset ==== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ==== Blurry Background visible and smooth ==== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('/assets/images/background.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  filter: blur(4px) brightness(0.5);
  opacity: 0.4;
  z-index: -10;
  pointer-events: none;
}

/* ==== Base Body Styles ==== */
body {
  font-family: 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--accent-color);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ==== Links ==== */
a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
}
a:hover {
  color: var(--primary-color);
}

/* ==== Navbar ==== */
.navbar {
  background: rgba(30, 40, 30, 0.9);
  backdrop-filter: blur(5px);
  border-bottom: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  z-index: 100;
  position: relative;
}
.navbar .container-lg {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand img {
  max-height: 50px;
}
.navbar-nav .nav-link {
  font-weight: 600;
  text-transform: uppercase;
  color: #dfffe0 !important;
  margin: 0 0.75rem;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

/* ==== Header ==== */
.header {
  position: relative;
  height: 75vh;
  background: url('/assets/images/header.webp') no-repeat center center;
  background-size: cover;
  background-position: center;
}
.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: var(--primary-color);
}
.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  color: var(--text-color);
}
.header-content h1 {
  font-size: 3.2rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}
.header-content p {
  font-size: 1.4rem;
  color: #e2f5e1;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* ==== Section Divider ==== */
.blue-bar {
  background: var(--primary-color);
  height: 4px;
  width: 100%;
}

/* ==== Main Content ==== */
.main-section {
  padding: 3rem 1rem;
}
.content-box {
  background: var(--content-bg);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}
.content-box h2 {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.content-box p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* ==== Sidebar / Widgets ==== */
.sidebar-section {
  background: var(--content-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
}
.sidebar-section p {
  color: #d2f3d0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.6rem;
}
.mc-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.mc-icon {
  font-size: 22px;
  margin-right: 10px;
}
.mc-title {
  font-size: 16px;
  color: #fefefe;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==== Buttons ==== */
.mc-btn {
  background: var(--primary-color);
  color: #fff;
  padding: 10px 16px;
  border: none;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.3s ease;
  display: inline-block;
  text-align: center;
}
.mc-btn:hover {
  background: var(--blue-color);
  color: #fff;
}
.discord-btn {
  background: #5865f2;
}
.shop-btn {
  background: #a67c52;
}
.btn-custom {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: background 0.3s;
}
.btn-custom:hover {
  background: var(--blue-color);
}

/* ==== Footer ==== */
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 50, 0, 0.5)),
              url('/assets/images/footer.webp') no-repeat center center;
  background-size: cover;
  background-blend-mode: overlay;
  color: var(--accent-color);
  padding: 2rem 1rem;
  border-top: 5px solid var(--primary-color);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border-bottom: 1px solid #444;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.footer-top > div {
  flex: 1 1 200px;
  margin: 1rem;
}
.footer-top h5 {
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.footer-top ul {
  list-style: none;
  padding: 0;
}
.footer-top ul li {
  margin-bottom: 0.5rem;
}
.footer-top ul li a {
  color: var(--accent-color);
  transition: color 0.3s;
}
.footer-top ul li a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.social-icons a {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--primary-color);
}
.social-icons a:hover {
  transform: scale(1.2);
}

/* ==== Responsive Fix ==== */
@media (max-width: 992px) {
  .d-flex {
    flex-direction: column;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
}
/* ✅ Fix: canvas full background & behind everything */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -20;
  pointer-events: none;
}
/* === Sidebar Headings: Bigger, Centered, Underlined === */
.mc-header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.mc-header .mc-icon {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.mc-header .mc-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}
