/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050608;
  color: #f5f5f5;
  line-height: 1.6;
}

/* Colour scheme */
:root {
  --mint: #4fd1b8;
  --mint-light: #7ff2d6;
  --blue-mint: #2b9fbf;
  --orange: #f29f4c;
  --brown: #5a3b2e;
  --white: #ffffff;
  --card-bg: #101217;
  --border-soft: #262a33;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: #080a0f;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 700;
  color: var(--mint-light);
  letter-spacing: 0.08em;
}

.navbar nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #d0d4e0;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: var(--mint-light);
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 1.5rem;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(5, 6, 8, 0.55), rgba(5, 6, 8, 0.7)),
    url("images/spawnbackground.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border-soft);
}

.hero-image {
  max-width: 420px;
  width: 100%;
  border-radius: 12px;
  border: 2px solid var(--mint);
  box-shadow: 0 0 25px rgba(79, 209, 184, 0.35);
}

.hero-content {
  max-width: 520px;
}

.hero-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  color: var(--mint-light);
}

.hero-content p {
  margin-bottom: 0.8rem;
  color: #c7cbd8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.2s ease;
}

.discord-btn {
  background: linear-gradient(135deg, var(--blue-mint), var(--mint));
  color: var(--white);
  box-shadow: 0 0 12px rgba(43, 159, 191, 0.5);
}

.discord-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(43, 159, 191, 0.7);
}

.ip-btn {
  background: #181c24;
  color: var(--mint-light);
  border: 1px solid var(--mint);
}

.ip-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(79, 209, 184, 0.4);
}

/* Copy status */
.copy-status {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--mint-light);
}

/* Main content */
.content {
  max-width: 960px;
  margin: 1.5rem auto;
  padding: 0 1rem 2rem;
}

/* Cards */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border-soft);
}

.card h2,
.card h1 {
  margin-bottom: 0.6rem;
  color: var(--mint-light);
}

/* Lists */
.feature-list,
.rules-list,
.mods-list {
  list-style: none;
  margin-left: 0;
}

.feature-list li,
.rules-list li,
.mods-list li {
  margin-bottom: 0.4rem;
  padding-left: 0.6rem;
  border-left: 3px solid rgba(242, 159, 76, 0.4);
}

.feature-list li:nth-child(odd) {
  border-left-color: rgba(79, 209, 184, 0.5);
}

.community-note {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #d6dacb;
}

/* About textarea */
.about-textarea {
  width: 100%;
  min-height: 160px;
  margin-top: 0.6rem;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #080a0f;
  color: var(--white);
  resize: vertical;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  border-top: 1px solid var(--border-soft);
  background: #080a0f;
  font-size: 0.9rem;
  color: #a5a9b8;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar nav {
    margin-top: 0.4rem;
  }
}

/* Gallery Layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}
