:root {
  --color-primary: #bb2b91;
  --color-secondary: #d946a6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 0;
}

header {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

header img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid var(--color-primary);
  box-shadow: 0 5px 15px rgba(187, 43, 145, 0.25);
  object-fit: cover;
  display: inline-block;
}

h1 {
  color: var(--color-primary);
  font-size: 2rem;
  margin: 12px 0 6px;
}

p.subtitle {
  color: #555;
  margin: 0;
  font-size: 1rem;
}

section h2 {
  text-align: center;
  color: white;
  font-size: 1.6rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.18);
  margin-bottom: 20px;
}

.filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filters button {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 22px;
  padding: 8px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filters button:hover,
.filters button.active {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.03);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card .icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.card h3 {
  color: var(--color-primary);
  margin-bottom: 8px;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 6px;
  line-height: 1.35;
}

.card small {
  display: block;
  color: #999;
  margin-bottom: 12px;
}

.card button {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px;
  width: 100%;
  font-weight: 600;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 60;
}

.modal {
  background: white;
  border-radius: 12px;
  padding: 18px;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  text-align: center;
}

.modal iframe {
  width: 100%;
  height: 480px;
  border: none;
  border-radius: 8px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .modal iframe { height: 260px; }
  h1 { font-size: 1.5rem; }
}
