/* ==========================================================================
   Home Page Bento Grid (Aywen.fr Style)
   ========================================================================== */

.hero-header {
  padding: 3.5rem 0 2.5rem;
}

.hero-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-badge-clean .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
}

.hero-main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-highlight);
  margin-bottom: 0.75rem;
}

.hero-main-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 5rem;
}

/* Specific Bento Cards */
.bento-profile {
  grid-column: span 2;
  grid-row: span 2;
  padding: 2.25rem;
  justify-content: space-between;
}

.profile-top {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.profile-avatar-clean {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border-medium);
  background: var(--bg-tertiary);
  flex-shrink: 0;
}

.profile-details h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.profile-role-clean {
  font-size: 0.875rem;
  color: var(--primary-light);
  font-weight: 500;
}

.profile-bio-clean {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 1.5rem 0;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.profile-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}

.profile-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Modrinth Bento Card */
.bento-modrinth {
  grid-column: span 1;
  padding: 1.75rem;
  justify-content: space-between;
  text-decoration: none;
}

.bento-modrinth:hover {
  border-color: rgba(27, 217, 106, 0.4);
  background: linear-gradient(145deg, #11141c 0%, rgba(27, 217, 106, 0.06) 100%);
}

.card-header-icon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.icon-box.modrinth {
  color: var(--modrinth-green);
  border-color: rgba(27, 217, 106, 0.25);
  background: rgba(27, 217, 106, 0.08);
}

.icon-box.youtube {
  color: #ff334b;
  border-color: rgba(255, 51, 75, 0.25);
  background: rgba(255, 51, 75, 0.08);
}

.icon-box.wiki {
  color: var(--primary-light);
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.08);
}

/* YouTube Bento Card */
.bento-youtube {
  grid-column: span 1;
  padding: 1.75rem;
  justify-content: space-between;
  text-decoration: none;
}

.bento-youtube:hover {
  border-color: rgba(255, 51, 75, 0.4);
  background: linear-gradient(145deg, #11141c 0%, rgba(255, 51, 75, 0.06) 100%);
}

/* Featured Mod Bento Card */
.bento-mod-featured {
  grid-column: span 2;
  padding: 1.75rem;
  justify-content: space-between;
}

.bento-mod-featured:hover {
  border-color: var(--border-medium);
}

.mod-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.mod-icon-clean {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.mod-title-clean {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.mod-desc-clean {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.mod-footer-clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Wiki Hub Bento Card */
.bento-wiki {
  grid-column: span 2;
  padding: 1.75rem;
  justify-content: space-between;
}

.bento-wiki:hover {
  border-color: rgba(139, 92, 246, 0.35);
  background: linear-gradient(145deg, #11141c 0%, rgba(139, 92, 246, 0.06) 100%);
}

/* Projects Catalog Grid */
.projects-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.catalog-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
}

/* Responsive Bento Queries */
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-profile {
    grid-column: span 2;
    grid-row: span 1;
  }
  .projects-catalog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-profile, .bento-mod-featured, .bento-wiki, .bento-modrinth, .bento-youtube {
    grid-column: span 1;
  }
  .profile-top {
    flex-direction: column;
  }
}
