.modern-master-section {
  position: relative;
  overflow: hidden;
  padding: 54px 0 42px;
  color: #fff;
  /*
  background:
    radial-gradient(circle at 18% 18%, rgba(245, 208, 111, 0.18), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(141, 92, 255, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(8, 11, 34, 0.96), rgba(49, 28, 80, 0.92));
    */
}

.modern-master-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.46) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(245, 208, 111, 0.3) 1px, transparent 1.5px);
  background-position: 0 0, 42px 36px;
  background-size: 82px 82px, 116px 116px;
  opacity: 0.32;
}

.modern-master-section + .container.mt-5.mt-md-3.px-md-5 {
  display: none;
}

.modern-master-section .master-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(245, 208, 111, 0.34);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 70px rgba(5, 7, 24, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.modern-master-section .master-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.modern-master-section .master-social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  border: 1px solid rgba(245, 208, 111, 0.26);
  border-radius: 999px;
  padding: 7px 14px;
  color: #fff7dd;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.modern-master-section .master-social-link:hover,
.modern-master-section .master-action-card:hover {
  transform: translateY(-2px);
}

.modern-master-section .master-social-link:hover {
  border-color: rgba(245, 208, 111, 0.72);
  background: rgba(245, 208, 111, 0.12);
  color: #fff;
}

.modern-master-section .master-social-link img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.modern-master-section .master-copy {
  max-width: 840px;
  margin: 24px auto 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.modern-master-section .master-copy p {
  margin: 0;
}

.modern-master-section .master-brand {
  display: flex;
  justify-content: center;
  margin: 26px 0 4px;
}

.modern-master-section .master-brand img {
  width: min(390px, 82vw);
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(245, 208, 111, 0.24));
}

.modern-master-section .master-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 28px auto 0;
}

.modern-master-section .master-action-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 16px;
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.modern-master-section .master-action-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  font-size: 1.55rem;
  background: rgba(255, 255, 255, 0.16);
}

.modern-master-section .master-action-card strong {
  display: block;
  color: #fff7dd;
  font-size: 1.2rem;
  font-weight: 900;
}

.modern-master-section .master-action-card span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.modern-master-section .master-action-login {
  background: linear-gradient(135deg, rgba(31, 139, 88, 0.92), rgba(13, 72, 72, 0.88));
  box-shadow: 0 18px 42px rgba(22, 139, 84, 0.2);
}

.modern-master-section .master-action-track {
  background: linear-gradient(135deg, rgba(151, 45, 44, 0.94), rgba(174, 116, 35, 0.88));
  box-shadow: 0 18px 42px rgba(174, 116, 35, 0.2);
}

.modern-master-section .master-action-card:hover {
  border-color: rgba(245, 208, 111, 0.62);
  box-shadow: 0 22px 54px rgba(245, 208, 111, 0.16);
  color: #fff;
}

@media (max-width: 767.98px) {
  .modern-master-section {
    padding: 34px 0 30px;
  }

  .modern-master-section .master-panel {
    padding: 20px;
  }

  .modern-master-section .master-social {
    justify-content: stretch;
  }

  .modern-master-section .master-social-link {
    width: 100%;
    justify-content: center;
  }

  .modern-master-section .master-copy {
    text-align: left;
  }

  .modern-master-section .master-actions {
    grid-template-columns: 1fr;
  }
}
