/* Clikran - Optimized CSS */

/* ===== CONTAINER STYLES ===== */
.social-icons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
    align-items: center;
}

/* Grid layout for social icons */
.social-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
    gap: 10px;
    justify-content: center;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
}

/* ===== DEFAULT ICON STYLES ===== */
.social-icons-container a {
    font-size: 32px;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icons-container a:hover {
    transform: scale(1.2);
}

/* ===== BUTTON STYLES ===== */
.buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.social-button {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: white;
    transition: transform 0.3s ease;
    width: 240px;
}

.social-button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.outline-icon {
    display: flex;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: white;
    transition: transform 0.3s ease;
    width: 240px;
}

.outline-icon:hover, .dark-icon:hover, .outline-box:hover, .outline-icon-black:hover, .social-button-bw:hover, .social-button:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* ===== GROUP CARD STYLES ===== */
.group-card {
    margin-bottom: 20px;
    position: relative;
    border: 2px solid transparent;
    border-radius: 5px;
    background: #f0f8ff;
    display: flex;
    align-items: center;
    padding: 7px;
    justify-content: space-between;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.group-card .follow-us {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 20px;
    border-radius: 2px;
    transition: transform 0.3s ease;
    color: white;
}

.group-card .follow-us i {
    margin-right: 5px;
}

.group-card:hover .follow-us {
    transform: scale(1.05);
}

/* ===== ANIMATION STYLES ===== */

.social-group-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px; /* spacing between left & button */
  padding: 8px 12px;
  border: 2px solid transparent;
  border-radius: 8px;
  animation: border-blink 1s infinite ease-in-out;
  background-color: rgb(241, 250, 255);
}

.social-left {
  display: flex;
  align-items: center;
  gap: 10px; /* space between icon and title */
  font-weight: 600;
  font-size: 16px;
  color: #000;
}

.social-left i {
  font-size: 20px;
}

.social-join-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap; /* prevent text from breaking */
}

.social-join-btn i {
  font-size: 18px;
  line-height: 1;
}

@keyframes border-blink {
  0%, 100% { border-color: var(--brand-color); }
  50% { border-color: transparent; }
}

/* ===== SQUARE STYLES ===== */
/* B&W Square */
.sik-square {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
    background: #333 !important;
    transition: transform 0.2s ease;
    text-decoration: none;
    border: none;
    font-size: 0;
    overflow: hidden;
}

.sik-square:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sik-square:active {
    transform: scale(0.95);
}

/* Updated Colored Square Style */
.sik-square-colors {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 4px;
    background: var(--sik-bg, #444);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: none;
    font-size: 0;
    cursor: pointer;
}

.sik-square-colors:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.sik-square-colors:active {
    transform: scale(0.95);
}

/* Icon Styling in Squares */
.sik-square i,
.sik-square-colors i,
.sik-square svg,
.sik-square-colors svg,
.sik-square .fab,
.sik-square-colors .fab,
.sik-square .fas,
.sik-square-colors .fas,
.sik-square .far,
.sik-square-colors .far {
    color: #fff;
    fill: #fff;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    transition: transform 0.2s ease;
    text-decoration: none;
}

/* Optional Image Icon Support */
.sik-square img,
.sik-square-colors img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    display: block;
    margin: 0 auto;
    text-decoration: none;
}

/* Remove icon filter on hover */
.sik-square-colors:hover i {
    filter: none;
    transform: scale(1.1);
}

/* Special styles */
.sik-instagram-gradient {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}
.sik-tiktok-effect {
    background: #000 !important;
}
