/* Base Colors and Variables */
:root {
  --blue: #1877f2;
  --blue-hover: #166fe5;
  --background: #f0f2f5;
  --text: #050505;
  --secondary-text: #65676b;
  --border-color: #dadde1;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

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

/* Body and Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--text);
}

h1,
h2,
h3,
p,
a,
i {
  font-smooth: antialiased;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p,
i {
  font-size: 1rem;
  color: var(--secondary-text);
  margin-bottom: 0.5rem;
}

/* Header */
header {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  text-align: center; /* Center-align logo and tagline */
}

.header-content {
  display: inline-block;
  max-width: 100%;
}

header img {
  height: 60px;
  width: auto;
}

/* Main Content Area */
main {
  max-width: 680px;
  margin: 24px auto;
  padding: 0 16px;
}

/* Sections */
section {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

section h2 {
  margin-top: 0;
}

/* Links as Buttons */
a {
  display: block;
  text-decoration: none;
  padding: 10px 16px;
  margin: 8px 0;
  border-radius: 6px;
  font-weight: 500;
  color: var(--text);
  background-color: #fff;
  border: 1px solid var(--border-color);
  transition: background-color 0.2s, box-shadow 0.2s;
  text-align: center;
}

a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Primary Action Buttons */
a.button {
  background-color: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 16px; /* Larger padding for buttons */
}

a.button:hover {
  background-color: var(--blue-hover);
}

/* Highlighted text within links */
a b {
  color: var(--blue);
  font-weight: 600;
}

a.button b {
  color: #fff; /* Ensure bold text stays white in buttons */
}

a i {
  color: var(--secondary-text);
  font-style: normal;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 32px;
}

footer section {
  text-align: center;
  box-shadow: none;
  border: none;
}

/* Lists (if you add any in future) */
ul {
  list-style: none;
  margin: 12px 0;
}

li {
  padding: 8px 0;
  color: var(--text);
  border-bottom: 1px solid var(--border-color);
}

li:last-child {
  border-bottom: none;
}

/* Emoji line */
[aria-label="Baseball, Softball, Tball, Soccer, Basketball, Cheer"] {
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  margin: 16px 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  main {
    padding: 8px;
  }

  section {
    padding: 12px;
    margin-bottom: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }
}