/* =======================
   GENERAL PAGE STYLES
========================= */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Merriweather', serif;
  background: #111;
  color: #f4e8c1;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, #222 0%, #111 100%);
  z-index: -2;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind everything */
  overflow: hidden;
}

/* =======================
   HEADER
========================= */
.site-header {
  background: rgba(0, 0, 0, 0.65);
  color: #C4B200;
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.6em;
  font-weight: bold;
}

/* =======================
   MAIN CONTAINER
========================= */
.home-container {
  flex: 1; /* take all remaining vertical space */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.home-container h1 {
  margin-bottom: 30px;
  font-size: 2.5em;
  color: #C4B200;
  text-shadow: 0 0 8px rgba(255, 180, 0, 0.6);
}

.home-link {
    margin-left: auto; /* push it to the right */
    color: #f4e8c1;
    text-decoration: none;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(255,140,0,0.7);
    transition: transform 0.2s ease;
}

.home-link:hover {
    transform: scale(1.1);
}

/* =======================
   BUTTONS
========================= */
.home-buttons {
  display: flex;
  flex-direction: column; /* vertically stacked */
  gap: 10px; /* space between buttons */
  width: 100%;
  max-width: 300px; 
  align-items: center;
}

/* =======================
   FOOTER
========================= */
.site-footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  color: #ccc;
  background-color: rgba(30, 30, 30, 0.9);
  border-top: 1px solid #444;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* Make links readable */
.site-footer a {
  color: #ccc;
  text-decoration: underline;
}

/* Common styles for CC icons */
.cc-icon {
  max-width: 24px;  /* shrink for mobile friendliness */
  max-height: 24px;
  margin: 0 3px;
  vertical-align: middle;
}

/* =======================
   LIST STYLES
========================= */
ul, ol {
  list-style: disc; 
  padding-left: 40px; 
  text-align: left; 
  max-width: 600px; 
  margin: 20px auto; 
  line-height: 1.6em;
  font-size: 1.1em;
  color: #f4e8c1;
}

/* Slight glowing bullets for Diablo-esque feel */
ul li::marker {
  color: #C4B200;
  text-shadow: 0 0 4px rgba(255, 215, 0, 0.7);
}

/* Add subtle hover highlight for list items */
ul li:hover {
  color: #fff1c1;
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

li strong {
  color: #ffb347; /* warm gold-orange flame tone */
  text-shadow: 
    0 0 6px rgba(255, 120, 0, 0.7),
    0 0 12px rgba(255, 60, 0, 0.6),
    0 0 18px rgba(255, 0, 0, 0.5);
  font-weight: 700;
  letter-spacing: 0.5px;
}

#About-content p {
  max-width: 600px;
  text-align: left;
  line-height: 1.5;
  color: #f8e803;
}

/* =======================
   RESPONSIVE STYLES
========================= */
@media screen and (max-width: 600px) {
  .home-container h1 {
      font-size: 2em;
  }

  .home-buttons {
      max-width: 90%;
  }

  .StandardBTN, .AltBTN {
      font-size: 1em;
      padding: 12px 20px;
  }

  .home-link {
      font-size: 1.2rem; /* slightly bigger for touch */
      margin-left: 10px; /* keep some padding */
      padding: 5px 10px;
    }
    
    .site-header {
        flex-direction: column; /* stack logo and link */
        align-items: flex-start;
        padding: 10px 20px;
    }
  .site-footer {
    font-size: 0.8em;
    line-height: 1.3em;
  }

  /* Force text and icons onto separate lines */
  .site-footer {
    font-size: 0.8em;
    line-height: 1.3em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer a {
    margin-bottom: 5px;
  }

  /* Hide the CC icons on mobile */
  .site-footer .cc-icon {
    display: none;
  }
}
