/* Reset and Base Styles */
* { box-sizing: border-box; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #2d3748;
  margin: 0;
  background: linear-gradient(to bottom, #f7fafc 0%, #edf2f7 100%);
  min-height: 100vh;
}

.wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header Styles - Tropical Beach Theme */
.site-header {
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.site-header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.site-header a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-header a:hover {
  opacity: 0.9;
}

/* Main Content */
main {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 2rem auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Typography */
h1, h2, h3 {
  color: #1a202c;
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  color: #0891b2;
}

h3 {
  margin-top: 1.5rem;
  color: #0e7490;
}

/* Links */
a {
  color: #0891b2;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #06b6d4;
  text-decoration: underline;
}

/* Topics List */
.topics {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.topics li {
  margin: 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid #99f6e4;
}

.topics li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
  border-color: #5eead4;
}

.topics a {
  display: block;
  padding: 1.2rem;
  color: #0e7490;
  font-weight: 500;
  font-size: 1.05rem;
}

.topics a:hover {
  text-decoration: none;
  color: #0891b2;
}

/* Content Sections */
section {
  margin-bottom: 2rem;
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
  color: white;
  text-align: center;
  box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-header h1 {
    font-size: 2rem;
  }

  main {
    padding: 1.5rem;
    margin: 1rem auto;
  }

  .topics {
    grid-template-columns: 1fr;
  }

  .wrap {
    padding: 1rem;
  }
}
