/**
 * Social Icons Styling
 */

.episood-social-icons {
  margin-top: 25px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
}

.social-icons-title {
  color: var(--on-background);
  font-size: var(--fs-title-small);
  margin-bottom: 20px;
  text-align: center;
}

.social-icons-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.social-icons-container::-webkit-scrollbar {
  display: none;
}

/* Base social icon styles */
.social-icon {
  border-radius: var(--radius-8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
  border: 1px solid var(--outline);
  flex-shrink: 0;
}

/* Icon with label (Telegram) */
.social-icon.has-label {
  width: 160px;
  height: 58px;
  padding: 0 16px;
}

/* Icon only (all others) */
.social-icon.icon-only {
  width: 58px;
  height: 58px;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
  position: relative;
  z-index: 2;
}

/* Specific styles for Telegram icon */
.social-icon.telegram svg {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Add margin to icons with labels */
.social-icon.has-label svg {
  margin-right: 12px;
}

/* Social label styling */
.social-label {
  display: inline-block;
  font-size: 18px;
  color: var(--white);
  font-weight: var(--weight-medium);
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(0);
  transition: transform 0.5s ease;
}

.social-icon:hover::before {
  transform: scale(1);
}

/* Platform-specific colors */
.social-icon.instagram {
  background-color: #E1306C;
}

.social-icon.twitter {
  background-color: #000;
}

.social-icon.tiktok {
  background-color: #000000;
}

.social-icon.facebook {
  background-color: #1877F2;
}

.social-icon.telegram {
  background-color: #0088cc;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .social-icons-container {
    gap: 16px;
    justify-content: space-between;
  }
  
  .social-icon.has-label {
    width: 135.8px;
    height: 52.4px;
  }
  
  .social-icon.icon-only {
    width: 50.4px;
    height: 50.4px;
  }
  
  .social-icon svg {
    width: 25.2px;
    height: 25.2px;
  }
  
  .social-icon.telegram svg {
    width: 27.2px;
    height: 27.2px;
  }
}

/* Very small devices */
@media (max-width: 480px) {
  .social-icons-container {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .social-icon.has-label {
    width: 121.25px;
    height: 46.56px;
    padding: 0 10px;
  }
  
  .social-icon.icon-only {
    width: 42.68px;
    height: 42.68px;
  }
  
  .social-icon svg {
    width: 21.34px;
    height: 21.34px;
  }
  
  .social-icon.telegram svg {
    width: 23.28px;
    height: 23.28px;
  }
  
  .social-icon.has-label svg {
    margin-right: 8px;
  }
  
  .social-label {
    font-size: 13.58px;
  }
}

/* Common mobile devices (360px) */
@media (max-width: 360px) {
  .social-icons-container {
    gap: 8px;
  }
  
  .social-icon.has-label {
    width: 115px;
    height: 44px;
    padding: 0 9px;
  }
  
  .social-icon.icon-only {
    width: 40px;
    height: 40px;
  }
  
  .social-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .social-icon.telegram svg {
    width: 22px;
    height: 22px;
  }
  
  .social-icon.has-label svg {
    margin-right: 7px;
  }
  
  .social-label {
    font-size: 12.5px;
  }
}

/* Extra small devices (320px) */
@media (max-width: 320px) {
  .social-icons-container {
    gap: 6px;
  }
  
  .social-icon.has-label {
    width: 110px;
    height: 42px;
    padding: 0 8px;
  }
  
  .social-icon.icon-only {
    width: 38px;
    height: 38px;
  }
  
  .social-icon svg {
    width: 19px;
    height: 19px;
  }
  
  .social-icon.telegram svg {
    width: 21px;
    height: 21px;
  }
  
  .social-icon.has-label svg {
    margin-right: 6px;
  }
  
  .social-label {
    font-size: 12px;
  }
} 