/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0e1117;
  color: #fff;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #1f2230;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav a {
  color: #fff;
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 500;
}

nav a.active {
  color: #00bcd4;
}

nav a:hover {
  color: #00bcd4;
}

/* Main Content Styling */
main {
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

main h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

main p {
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Form Styling (Join Page) */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 500px;
}

form input, form textarea, form button {
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  background-color: #00bcd4;
  color: #0e1117;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background-color: #008c9e;
}

/* License and Disclaimer Pages */
.license-content, .disclaimer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.license-intro {
  font-size: 1.1rem;
  color: #c5c6c7;
  text-align: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #1f2230;
  border-radius: 8px;
  border-left: 4px solid #66fcf1;
}

.license-text, .disclaimer-text {
  background-color: #1f2230;
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid #45a29e;
  margin-bottom: 2rem;
}

.license-body {
  background-color: #0e1117;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #45a29e;
  margin: 1rem 0;
}

.license-explanation, .attribution-example {
  margin: 2rem 0;
}

.license-explanation h3, .disclaimer-text h3 {
  color: #66fcf1;
  margin: 1.5rem 0 1rem 0;
  font-size: 1.3rem;
}

.license-explanation ul, .disclaimer-text ul {
  margin: 1rem 0 1.5rem 2rem;
  color: #c5c6c7;
}

.license-explanation li, .disclaimer-text li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.attribution-example pre {
  background-color: #0e1117;
  color: #c5c6c7;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  margin: 0.5rem 0;
  border-left: 3px solid #66fcf1;
}

.license-footer, .disclaimer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #45a29e;
  text-align: center;
  color: #999;
}

.disclaimer-content h2 {
  color: #66fcf1;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #1f2230;
  font-size: 0.9rem;
  color: #999;
}

footer a {
  color: #66fcf1;
  text-decoration: none;
}

footer a:hover {
  color: #45a29e;
  text-decoration: underline;
}
