/* styles.css */
/* Base */
body {
  margin: 0;
  padding-top: 70px; /* adjust to your header height */
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #f4f4f4;
  background-image: url('/assets/home-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Keeps background stationary */
}
.message, .flash { margin:1rem 0; padding:.5rem; background:#222; }
.logo-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
  margin-right: 0.5rem;
}

/* Header */
.nav-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  vertical-align: middle;
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #222;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
}
.site-header nav a {
  color: #f4f4f4;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.site-header nav a:hover {
  color: #1abc9c;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 6rem 2rem;
  background: url('hero.jpg') center/cover no-repeat;
  background-color: rgba(0,0,0,0.5);
  background-blend-mode: multiply;
  color: #fff;
}
.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Button */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #1abc9c;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn:hover {
  background-color: #16a085;
  transform: translateY(-2px);
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #222;
  color: #aaa;
  font-size: 0.875rem;
}

/* Profile Page */
.profile {
  text-align: center;
  padding: 2rem;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #1abc9c;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}
.stats {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.stats li {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}
.progress-bar {
  width: 80%;
  max-width: 400px;
  height: 20px;
  background-color: #333;
  border-radius: 10px;
  margin: 1rem auto;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}
.progress {
  height: 100%;
  background-color: #1abc9c;
  transition: width 0.5s ease;
}
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  margin: 0 1rem;
}
/* The button that toggles the menu */
.dropbtn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
}
/* Hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #222;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 100;
}
/* Items */
.dropdown-content a {
  color: #fff;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}
/* Hover state */
.dropdown-content a:hover {
  background-color: #333;
}
/* Show on hover */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Optional arrow tweak */
.dropbtn::after {
  content: '';
  margin-left: 4px;
}
/* style.css */

.discord-link {
  margin: 0 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.discord-link:hover {
  text-decoration: underline;
}
.prestige-btn {
  background: #DAA520;
  color: #111;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}
.prestige-btn:hover {
  background: #c1941c;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
}

.feature-block {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}
.feature-block:hover {
  transform: translateY(-4px);
}
.feature-block h3 {
  color: #f0c674;
  margin-bottom: 1rem;
}
.feature-block p {
  color: #ddd;
  font-size: 1rem;
}
.campaign-banner {
  background: url('/assets/frontier-banner.png') center/cover no-repeat;
  background-attachment: fixed;
  text-align: left;
  color: #f4e4c3;
  padding: 8rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 90vh;
  font-family: 'Georgia', serif;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6);
}

.campaign-content {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem 3rem;
  border-radius: 12px;
  max-width: 600px;
}

.campaign-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #f0d28b;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.campaign-content p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #ffe9b4;
}

.btn.gold-btn {
  background-color: #DAA520;
  color: #111;
  font-weight: bold;
  padding: 0.8rem 1.6rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn.gold-btn:hover {
  background-color: #c1941c;
}
/* Mobile Navigation + Hamburger Menu */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }

  .hamburger {
    display: block;
    margin-top: 0.5rem;
  }

  .site-header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: #111;
    padding: 1rem 0;
  }

  .site-header nav.show {
    display: flex;
  }

  .site-header nav a {
    padding: 0.75rem 2rem;
    display: block;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    background: none;
    box-shadow: none;
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
  }

  .nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-left: 1rem;
  }
}
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
    text-align: center;
  }

  .hero h2 {
    font-size: 2rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    padding: 0 0.5rem;
  }

  .btn {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}
