/* Dirty Ash Community — landing page
   Dark theme matching the chat app aesthetic. Single-color palette plus
   a Discord-ish blurple accent (#5865F2) for primary actions. */

:root {
  --bg: #1f2024;
  --bg-alt: #2b2d31;
  --bg-card: #313338;
  --text: #dcddde;
  --text-muted: #9aa0a6;
  --accent: #5865f2;
  --accent-hover: #4854c4;
  --border: #3a3c42;
  --max-width: 880px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, #2b2d31 0%, #1f2024 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 88px;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

h1 {
  font-size: 44px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  color: #fff;
}

.tagline {
  font-size: 20px;
  color: var(--text-muted);
  margin: 0 0 8px;
  max-width: 540px;
}

.age-note {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 120ms ease, transform 120ms ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: #3a3c42;
}

.btn[aria-disabled='true'] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 28px;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #fff;
}

p {
  margin: 0 0 16px;
}

p:last-child {
  margin-bottom: 0;
}

/* Features */

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

.feature {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.feature p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Footer */

.footer {
  background-color: #16171a;
  border-top: 1px solid var(--border);
  padding: 32px 0;
  margin-top: 32px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

/* Responsive */

@media (max-width: 600px) {
  .hero {
    padding: 56px 0 64px;
  }

  h1 {
    font-size: 34px;
  }

  .tagline {
    font-size: 17px;
  }

  .section {
    padding: 48px 0;
  }

  h2 {
    font-size: 24px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
