@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --accent:#D17A2A;
  --bg:#F9F7F3;
  --text:#222;
  --card:#fff;
}

body.dark {
  --bg:#121212;
  --text:#E8E8E8;
  --card:#1A1B22;
  --accent:#FFBD7A;
}

body {
  background:var(--bg);
  color:var(--text);
  font-family:Inter, sans-serif;
  margin:0;
  line-height:1.7;
  transition:.3s;
}

.header {
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 6%; background:var(--card);
}

.logo { font-size:26px; font-weight:800; color:var(--accent); }
.nav a { margin-left:20px; text-decoration:none; color:var(--accent); font-weight:600; }
.theme-toggle { cursor:pointer; background:none; border:none; font-size:22px; }

.hero {
  text-align:center; padding:140px 6%;
  background:linear-gradient(135deg,var(--accent),#ff9f57);
  color:white; border-bottom-left-radius:80px; border-bottom-right-radius:80px;
}

.cta {
  background:white; color:var(--accent); padding:14px 34px;
  font-weight:700; border-radius:30px; border:none; cursor:pointer;
  margin-top:22px;
}

.section { max-width:1200px; margin:100px auto; padding:0 6%; }

.grid {
  display:grid; gap:36px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}

.card {
  background:var(--card); border-radius:20px; padding:30px;
  box-shadow:0 12px 40px rgba(0,0,0,.08);
}

.forum-preview { text-align:center; }
.forum-btn {
  display:inline-block; padding:14px 28px; border-radius:30px;
  background:var(--accent); color:white; text-decoration:none; font-weight:600;
}

.github { text-align:center; }
.git-link {
  display:inline-block; margin-top:18px; padding:14px 28px;
  border-radius:30px; background:var(--card); color:var(--accent);
  border:2px solid var(--accent); text-decoration:none; font-weight:600;
  transition:0.3s;
}
.git-link:hover { background:var(--accent); color:white; }

/* FOOTER */
footer {
  background: var(--card);
  padding: 80px 6% 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  margin-bottom: 30px;
}

.footer-about h3 { color: var(--accent); font-size: 24px; margin-bottom: 16px; }
.footer-about p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }

.footer-socials a {
  margin-right: 15px;
  display: inline-block;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .3s, color .3s;
}
.footer-socials a:hover { transform: scale(1.1); color: var(--accent); }

.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: var(--text); transition: color .3s; }
.footer-links a:hover { color: var(--accent); }

.footer-contact p { margin-bottom: 12px; font-size: 16px; }
.footer-contact a { color: var(--text); text-decoration: none; transition: color .3s; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  opacity: .7;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
}
