.fanclub-page .section:first-of-type {
  padding-bottom: 0;
}

.group-section {
  padding: 40px 0;
  position: relative;
}

.group-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-top: 5px solid var(--group-color);
  padding: 32px 40px;
  transition: all 0.3s var(--ease-out-cubic);
}

.group-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.group-logo {
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.group-logo img {
  display: block !important;
  width: auto !important;
  height: 72px !important;
  max-width: 100% !important;
  max-height: 72px !important;
  object-fit: contain !important;
  opacity: 0.9;
}

.group-name {
  color: var(--text);
}

.fanclub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  justify-items: center;
}

.fanclub-member {
  position: relative;
  width: 150px;
  height: 150px;
  transition: transform 0.3s var(--ease-out-cubic);
}

.fanclub-member:hover {
  transform: scale(1.1);
}

.fanclub-member-link {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}

.fanclub-member-icon-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s var(--ease-out-cubic), border-color 0.3s var(--ease-out-cubic);
  border: 3px solid transparent;
}

.fanclub-member:hover .fanclub-member-icon-wrapper {
  border-color: var(--member-color);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--member-color) 40%, transparent);
}

.fanclub-member-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-cubic);
}

.fanclub-member:hover .fanclub-member-icon {
  transform: scale(1.15);
}

.fanclub-member-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-cubic);
  border-radius: 50%;
  text-align: center;
}

.fanclub-member:hover .fanclub-member-overlay {
  opacity: 1;
}

.fanclub-member-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.fanclub-member-cta {
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid #fff;
  border-radius: 4px;
}
