/* ===== Instagram Page ===== */

.ig-hero-icon {
  margin-bottom: 16px;
}

.ig-follow-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 32px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 6px;
  transition: opacity 0.3s, transform 0.2s;
}

.ig-follow-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Profile */
.ig-profile {
  padding: 40px 0 20px;
}

.ig-profile-card {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 32px;
  background: #faf8f5;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
}

.ig-avatar {
  flex-shrink: 0;
}

.ig-avatar svg {
  width: 80px;
  height: 80px;
}

.ig-profile-info h2 {
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.ig-bio {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ig-stats {
  display: flex;
  gap: 32px;
}

.ig-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.ig-stat strong {
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
}

.ig-stat span {
  font-size: 0.75rem;
  color: #888;
}

/* Highlights */
.ig-highlights {
  padding: 20px 0 24px;
}

.ig-highlights-row {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.ig-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ig-highlight-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.ig-highlight-circle:hover {
  transform: scale(1.08);
}

.ig-highlight-circle svg {
  width: 100%;
  height: 100%;
}

.ig-highlight span {
  font-size: 0.72rem;
  color: #555;
  letter-spacing: 0.02em;
}

/* Tabs */
.ig-tabs {
  padding: 0;
  border-bottom: 1px solid #e0e0e0;
}

.ig-tab-row {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.ig-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: none;
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: #999;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
  letter-spacing: 0.05em;
}

.ig-tab.active {
  color: #333;
}

.ig-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #333;
}

.ig-tab:hover {
  color: #333;
}

/* Grid */
.ig-grid-section {
  padding: 24px 0 40px;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.ig-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
}

.ig-post-img {
  width: 100%;
  height: 100%;
}

.ig-post-img svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.ig-post-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.ig-post:hover .ig-post-overlay {
  opacity: 1;
}

.ig-post-overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.ig-load-more {
  text-align: center;
  margin-top: 32px;
}

/* CTA */
.ig-cta {
  padding: 40px 0;
}

.ig-cta-box {
  text-align: center;
  padding: 48px 32px;
  background: #faf8f5;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
}

.ig-cta-box h2 {
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.ig-cta-box p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
}

.ig-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: opacity 0.3s, transform 0.2s;
}

.ig-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Hashtags */
.ig-hashtags {
  padding: 0 0 60px;
}

.ig-hashtags-title {
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 20px;
  color: #555;
  letter-spacing: 0.05em;
}

.ig-hashtag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.ig-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #8B4513;
  letter-spacing: 0.02em;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.ig-tag:hover {
  background: #faf8f5;
  border-color: #8B4513;
}

/* Responsive */
@media (max-width: 860px) {
  .ig-profile-card {
    flex-direction: column;
    text-align: center;
  }

  .ig-stats {
    justify-content: center;
  }

  .ig-highlights-row {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 8px;
  }
}

@media (max-width: 600px) {
  .ig-grid {
    gap: 2px;
  }

  .ig-post-overlay span {
    font-size: 0.75rem;
  }

  .ig-highlights-row {
    gap: 16px;
  }

  .ig-cta-box {
    padding: 32px 20px;
  }
}
