/* ==========================================================================
   WEAPON WORLD - MINIMAL GREY WIKI DESIGN SYSTEM
   ========================================================================== */

/* Core Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #f4f5f7;
  color: #2b2f33;
  line-height: 1.6;
}

/* Disclosure Banner */
.disclosure-banner {
  background-color: #e9ecef;
  color: #5c636a;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  border-bottom: 1px solid #dee2e6;
}

/* Navigation Header */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111315;
  text-decoration: none;
}

.logo span {
  color: #6c757d;
  font-weight: 400;
}

/* Dropdown Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item a {
  text-decoration: none;
  color: #495057;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-item a:hover {
  color: #111315;
}

/* Dropdown Menu Box */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  min-width: 200px;
  z-index: 100;
  list-style: none;
  padding: 8px 0;
}

.dropdown li a {
  display: block;
  padding: 8px 16px;
  color: #495057;
  font-size: 0.88rem;
}

.dropdown li a:hover {
  background-color: #f8f9fa;
  color: #111315;
}

.nav-item:hover .dropdown {
  display: block;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px 30px;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #111315;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.hero p {
  color: #6c757d;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

/* Search Bar */
.search-box {
  display: flex;
  justify-content: center;
  gap: 8px;
  max-width: 550px;
  margin: 0 auto;
}

.search-box input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: #ffffff;
  outline: none;
}

.search-box input:focus {
  border-color: #495057;
}

.search-box button {
  padding: 12px 20px;
  background-color: #212529;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.search-box button:hover {
  background-color: #343a40;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 30px auto 60px;
  padding: 0 20px;
}

/* Grids & Cards */
.content-section h2 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #111315;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

.tag {
  display: inline-block;
  background-color: #e9ecef;
  color: #495057;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #111315;
}

.card p {
  color: #6c757d;
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.card-link {
  text-decoration: none;
  color: #212529;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Featured Academy Banner */
.featured-banner {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-left: 5px solid #212529;
  padding: 32px;
  border-radius: 8px;
  margin-top: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tag-dark {
  background-color: #212529;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
}

.featured-text h2 {
  font-size: 1.3rem;
  margin: 8px 0 4px;
  color: #111315;
}

.featured-text p {
  color: #6c757d;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #212529;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary:hover {
  background-color: #343a40;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #e9ecef;
  color: #8c959f;
  font-size: 0.85rem;
}