body {
  margin: 0;
  padding-top: 64px;
  font-family: "DM Sans", sans-serif;
  background: linear-gradient(135deg, #000, #1a1a1a);
  color: #fff;
}

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  background: #ffc107;
  display: flex;
  align-items: center;
  z-index: 1000;
}

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: #000;
}

.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
}

.nav-links a.active {
  background: rgba(0, 0, 0, 0.15);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.btn-outline {
  padding: 8px 20px;
  border: 2px solid #fff;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.btn-solid {
  padding: 8px 20px;
  background: #000;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ---------- MAIN NAVBAR STYLES ---------- */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffc107;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.main-navbar-container {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-navbar-logo {
  font-family: Syne, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.main-navbar-logo span {
  color: #000;
}

/* ---------- MOBILE MENU STYLES ---------- */
.mobile-menu {
  position: fixed;
  top: 64px;
  right: -280px;
  width: 260px;
  height: calc(100vh - 64px);
  background: #111;
  z-index: 999;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu-logo {
  font-family: Syne, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
}

.mobile-menu-logo span {
  color: #ffc107;
}

.mobile-menu-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
}

.mobile-menu-links a {
  color: #fff;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-links a.active {
  background: rgba(255, 193, 7, 0.2);
}

.mobile-menu-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
}

.mobile-menu-actions a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.mobile-menu-actions .btn-outline {
  border: 2px solid #ffc107;
  color: #ffc107;
}

.mobile-menu-actions .btn-solid {
  background: #ffc107;
  color: #000;
}

/* ---------- HERO STYLES ---------- */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-family: Syne;
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.hero p {
  opacity: 0.8;
  margin-bottom: 28px;
}

.hero .cta-btn {
  background: #ffc107;
  color: #000;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.hero .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

/* ---------- CONTENT STYLES ---------- */
.content {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 100px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.community-card {
  background: #111;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.community-card h3 {
  margin-bottom: 12px;
}

.community-card p {
  opacity: 0.8;
  line-height: 1.5;
}

.community-stat {
  margin-top: 16px;
  color: #ffc107;
  font-weight: 600;
}

/* HERO */

.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-family: "Syne", sans-serif;
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.hero p {
  opacity: 0.8;
  margin-bottom: 28px;
}

.btn-primary {
  background: #ffc107;
  color: #000;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn-primary.small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* FEATURES */

.features {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #111;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-meta {
  margin-top: 16px;
  color: #ffc107;
}

/* GROUPS */

.groups {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.group-card {
  background: #111;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* CTA */

.cta {
  text-align: center;
  padding: 80px 20px;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
}

/* ---------- OVERLAY STYLES ---------- */
#menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

/* ---------- MOBILE NAV STYLES ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffc107;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.mobile-nav a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 0.5);
  font-size: 1.2rem;
  text-decoration: none;
}

.mobile-nav a.active {
  color: #000;
}

/* ---------- STATS STYLES ---------- */
.stats-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.stat-card {
  background: #111;
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #ffc107;
  margin-bottom: 6px;
}

/* ---------- GROUPS SECTION STYLES ---------- */
.groups-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.groups-section h2 {
  font-family: Syne;
  margin-bottom: 30px;
  text-align: center;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.group-card {
  background: #111;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.group-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.group-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.group-description {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.group-join-btn {
  background: #ffc107;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- CTA STYLES ---------- */
.cta-section {
  text-align: center;
  padding: 80px 20px;
}

.cta-section h2 {
  font-family: Syne;
  margin-bottom: 20px;
}

.cta-btn-large {
  background: #ffc107;
  color: #000;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

/* ---------- MODAL STYLES ---------- */
#guideModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: #111;
  padding: 30px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
}

.modal-content h3 {
  margin-bottom: 16px;
}

.modal-content p {
  margin-bottom: 20px;
}

.modal-close-btn {
  margin-top: 20px;
  background: #ffc107;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
