/* Good Fucking Idea - Bold Typography Theme */

:root {
  --bg-dark: #1a1a1a;
  --bg-light: #ffffff;
  --text-dark: #ffffff;
  --text-light: #1a1a1a;
  --accent: #ff4444;
  --gray: #666666;
}

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

html {
  font-size: 18px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
}

/* Home page - dark */
body.home {
  background: var(--bg-dark);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single idea page - light */
body.single {
  background: var(--bg-light);
  color: var(--text-light);
}

main {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero / Home */
.hero {
  text-align: center;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Buttons */
.random-button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
}

.random-button:hover {
  background: #ff6666;
  transform: scale(1.05);
}

.random-button:active {
  transform: scale(0.98);
}

/* Single idea */
.idea {
  padding: 4rem 0;
}

.idea h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.idea .content {
  font-size: 1.25rem;
  color: var(--gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.idea .content p {
  margin-bottom: 1rem;
}

.idea footer {
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.idea footer time {
  font-size: 0.875rem;
  color: var(--gray);
}

/* Navigation */
.idea-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0;
}

.home-link {
  color: var(--gray);
  text-decoration: none;
  font-size: 1rem;
}

.home-link:hover {
  color: var(--text-light);
}

/* List page */
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--text-light);
}

.list-header h1 {
  font-size: 2rem;
  font-weight: 900;
}

.idea-list {
  list-style: none;
}

.idea-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.idea-list a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
}

.idea-list a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  main {
    padding: 1.5rem;
  }

  .idea {
    padding: 2rem 0;
  }

  .idea-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
