/* ====== LINKS: noticeable purple (page-local) ====== */

.ma-hero a,
.ma-hero a:visited {
  color: rgba(190, 140, 255, 0.95) !important;
  text-decoration: underline;
  text-decoration-color: rgba(190, 140, 255, 0.55);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  font-weight: 800;
}

.ma-hero a:hover {
  color: rgba(215, 175, 255, 1) !important;
  text-decoration-color: rgba(215, 175, 255, 0.9);
  text-shadow: 0 0 14px rgba(190, 140, 255, 0.25);
}

.ma-hero a:focus-visible {
  outline: 2px solid rgba(190, 140, 255, 0.6);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ====== BASE: sections + grids ====== */

.ma-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 980px) {
  .ma-grid2 { grid-template-columns: 1fr; }
}

.ma-box {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  padding: 18px;
}

.sep {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
  margin: 24px 0;
}

.lead {
  font-size: 1.06rem;
  line-height: 1.85;
}

.muted { opacity: .88; }

.badgeRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:10px 0 0;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  font-size:12px;
  opacity:.95;
}
.badge strong{ font-weight:900; }

/* ====== HERO: smaller float visuals (reduces gap) ====== */

.ma-hero { overflow: visible !important; }

.ma-heroCards {
  float: right;
  width: 240px;
  max-width: 34vw;
  margin: 6px 0 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ma-heroCard {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  position: relative;
  transform: translateY(0);
  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}

.ma-heroCard:before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(circle at 30% 25%, rgba(190, 140, 255, 0.16), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(215, 175, 255, 0.12), transparent 60%);
  pointer-events: none;
}

.ma-heroCard:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 140, 255, 0.28);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

.ma-heroCard img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  background: rgba(0, 0, 0, 0.22);
}

.ma-heroCap {
  font-size: 12px;
  opacity: .85;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.16);
}

.ma-clear { clear: both; }

/* ====== Mini CTA buttons ====== */
.ma-ctaRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 12px 0 6px;
}
.ma-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  box-shadow: 0 18px 44px rgba(0,0,0,.25);
  text-decoration:none !important;
  font-weight:900;
  color: rgba(235,235,255,.98) !important;
}
.ma-btn:hover{
  border-color: rgba(190, 140, 255, 0.30);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}
.ma-btn .dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(190,140,255,.85);
  box-shadow: 0 0 14px rgba(190,140,255,.25);
}

/* ====== Phase list ====== */
.phaseGrid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .phaseGrid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .phaseGrid{ grid-template-columns: 1fr; }
}
.phaseCard{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  padding: 12px;
}
.phaseCard h3{
  margin:0 0 6px;
  font-size: 14px;
}
.phaseCard p{
  margin:0;
  font-size: 12.5px;
  line-height:1.7;
  opacity:.88;
}
.phaseCard a{ font-weight:900; }

/* ====== Mobile ====== */

@media (max-width: 980px) {
  .ma-heroCards {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 12px 0 10px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .ma-heroCard { width: 170px; }
  .ma-heroCard img { height: 240px; }
}

/* ===== Special Lunar Events Section ===== */

.special-events-box {
  margin-top: 16px;
}

.special-title {
  display: block;
  margin-bottom: 14px;
  font-size: 16px;
}

.specialGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.specialCard {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  text-decoration: none;
  transition: transform .25s ease,
              box-shadow .25s ease,
              border-color .25s ease;
}

.specialCard img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 31%;
  display: block;
}

.specialCard-body {
  padding: 12px;
}

.specialCard-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.specialCard-body span {
  font-size: 12px;
  opacity: .85;
  line-height: 1.6;
}

/* Hover Effects */
.supermoon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(190,140,255,.35);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.bloodmoon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,80,80,.45);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

/* Mobile */
@media (max-width: 900px) {
  .specialGrid { grid-template-columns: 1fr; }
}