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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: #0a3d62;
  color: white;
  padding: 30px 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  height: 90px;
  width: auto;
  border-radius: 8px;
}

.header-text h1 {
  font-size: 2.6rem;
  margin-bottom: 4px;
}

.subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
}

.intro {
  text-align: center;
  padding: 40px 0 20px;
  font-size: 1.1rem;
  color: #555;
}

.magazines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  padding: 20px 0 60px;
}

.magazine-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.magazine-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
}

.cover-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.cover-image {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #eee;
}

.card-content {
  padding: 22px;
  text-align: center;
}

.card-content h2 {
  margin-bottom: 6px;
  color: #0a3d62;
  font-size: 1.4rem;
}

.card-content p {
  color: #666;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  background: #0a3d62;
  color: white;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s;
}

.cover-link:hover .btn {
  background: #083352;
}

footer {
  background: #e9ecef;
  text-align: center;
  padding: 24px 0;
  color: #666;
  font-size: 0.9rem;
}

footer a {
  color: #0a3d62;
  text-decoration: none;
  margin-left: 8px;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 700px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }
  .logo {
    height: 70px;
  }
  .header-text h1 {
    font-size: 2.1rem;
  }
  .magazines {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
