/* ===== LINKS CONTAINER ===== */
.links-container {
  position: relative;
  width: clamp(320px, 75vw, 960px);
  border-radius: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(200, 200, 210, 0.35);
  overflow: visible;
  flex-shrink: 0;
}
.links-container::after {
  content: '';
  position: absolute; z-index: -1; inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  filter: url(#container-glass); -webkit-filter: url(#container-glass);
  overflow: hidden; isolation: isolate;
}
.links-container::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; border-radius: inherit;
  box-shadow: inset 1px 1px 0px -1px rgba(255,255,255,0.5), inset 0 0 2px 0.5px rgba(255,255,255,0.4);
  background-color: rgb(200 200 210 / 10%);
}
.links-container-content {
  position: relative; z-index: 5;
  display: flex;
  gap: clamp(8px, 1vw, 16px);
  padding: clamp(14px, 2vw, 24px);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', sans-serif;
}

/* Link cards — liquid glass buttons inside the links container */
.link-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  padding: clamp(12px, 1.5vw, 18px) clamp(14px, 1.5vw, 20px);
  border-radius: 16px;
  text-decoration: none;
  color: #636e72;
  position: relative;
  z-index: 0;
  overflow: visible;
  transition: transform 0.15s ease;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
}
/* Liquid glass refraction layer */
.link-card::after {
  content: '';
  position: absolute; z-index: -1; inset: 0;
  border-radius: 16px;
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  filter: url(#btn-glass); -webkit-filter: url(#btn-glass);
  overflow: hidden; isolation: isolate;
}
/* Inner glow layer */
.link-card::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; border-radius: 16px;
  box-shadow:
    inset 2px 2px 0px -2px rgba(255, 255, 255, 0.7),
    inset 0 0 3px 1px rgba(255, 255, 255, 0.7);
  background-color: rgb(200 200 210 / 12%);
}
.link-card:hover {
  transform: scale(1.04);
}
.link-card:active {
  transform: scale(0.97);
}
.link-card svg {
  width: clamp(20px, 2vw, 26px);
  height: clamp(20px, 2vw, 26px);
  stroke: #636e72;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.link-title {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 600;
  color: #2d3436;
}
.link-sub {
  font-size: clamp(0.65rem, 0.85vw, 0.78rem);
  color: #636e72;
}

/* ===== CONTACT CARD — icon buttons inside ===== */
.contact-card {
  cursor: default;
}
.contact-card:hover {
  transform: none;
}
.contact-icons {
  display: flex;
  gap: clamp(5px, 0.6vw, 8px);
  margin-left: auto;
  position: relative;
  z-index: 1;
}
button.contact-icon-btn {
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  padding: 0;
  cursor: pointer;
}
.contact-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(30px, 3vw, 36px);
  height: clamp(30px, 3vw, 36px);
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  z-index: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-icon-btn::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  border-radius: inherit;
  overflow: hidden;
  box-shadow:
    inset 2px 2px 0px -2px rgba(255, 255, 255, 0.7),
    inset 0 0 3px 1px rgba(255, 255, 255, 0.7);
  background-color: rgb(200 200 210 / 10%);
  transition: background-color 0.2s ease;
}
.contact-icon-btn::after {
  content: '';
  position: absolute; z-index: -1; inset: 0;
  border-radius: inherit;
  backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
  filter: url(#btn-glass); -webkit-filter: url(#btn-glass);
  overflow: hidden; isolation: isolate;
}
.contact-icon-btn:hover {
  transform: scale(1.12);
}
.contact-icon-btn:hover::before {
  background-color: rgb(200 200 210 / 18%);
}
.contact-icon-btn:active {
  transform: scale(0.95);
  transition-duration: 0.08s;
}
.contact-icon-btn svg {
  width: clamp(15px, 1.6vw, 18px);
  height: clamp(15px, 1.6vw, 18px);
  position: relative;
  z-index: 1;
  stroke: none;
}

/* Section label */
.section-label {
  font-size: clamp(0.75rem, 1vw, 0.88rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #636e72;
  margin-bottom: clamp(8px, 1.2vw, 14px);
}

@media (max-width: 600px) {
  .links-container-content {
    flex-direction: column;
  }
