/* CUT.ac.zw / CUT FM inspired — Quick Access Portal + floating updates bar */

.cut-quick-portal {
  background: linear-gradient(165deg, #fafbfd 0%, #eef3f8 45%, #ffffff 100%);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.cut-quick-portal::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 213, 79, 0.11) 0%, transparent 44%),
    radial-gradient(circle at 88% 82%, rgba(10, 25, 49, 0.06) 0%, transparent 42%);
  pointer-events: none;
}

.cut-quick-portal .container {
  position: relative;
  z-index: 1;
}

.cut-quick-portal .section-header {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.cut-quick-portal .section-tag {
  display: inline-block;
  padding: 0.38rem 0.95rem;
  background: linear-gradient(135deg, rgba(255, 213, 79, 0.16), rgba(10, 25, 49, 0.05));
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 999px;
  color: #7a5c00;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cut-quick-portal .section-title {
  color: #0a1931;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  letter-spacing: -0.02em;
}

.cut-quick-portal .section-desc {
  color: #4a5568;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.cut-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

.cut-portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: clamp(1.15rem, 2.5vw, 1.5rem) 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(10, 25, 49, 0.08);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(10, 25, 49, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  min-height: 100%;
}

.cut-portal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10, 25, 49, 0.12);
  border-color: rgba(255, 213, 79, 0.45);
}

.cut-portal-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(10, 25, 49, 0.08), rgba(10, 25, 49, 0.03));
  border: 1px solid rgba(10, 25, 49, 0.08);
  color: var(--brand-navy);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cut-portal-card:hover .cut-portal-icon {
  background: linear-gradient(135deg, var(--highlight-yellow), var(--primary-light));
  color: var(--brand-navy);
  transform: scale(1.05);
}

.cut-portal-card strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #0a1931;
  line-height: 1.25;
}

.cut-portal-card span {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #5c6470;
  max-width: 11rem;
}

/* Center bottom Meliman Updates widget — removed (hero ticker only) */
.cut-fm-widget {
  display: none !important;
}

.cut-fm-widget-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.55rem 0.45rem 0.65rem;
  background: linear-gradient(135deg, #0a1931 0%, #061224 100%);
  border: 1px solid rgba(255, 213, 79, 0.22);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  animation: cutFmBarFloat 4s ease-in-out infinite;
}

@keyframes cutFmBarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.cut-fm-widget-inner:hover {
  animation: none;
}

.cut-fm-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  line-height: 1.15;
  padding-right: 0.35rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.cut-fm-brand strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
}

.cut-fm-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.cut-fm-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.65);
  animation: cutFmLivePulse 1.6s ease-in-out infinite;
}

@keyframes cutFmLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.88); }
}

.cut-fm-ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.cut-fm-ticker {
  display: flex;
  width: max-content;
  animation: cutFmTicker 28s linear infinite;
}

.cut-fm-ticker span {
  white-space: nowrap;
  padding-right: 2.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

@keyframes cutFmTicker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cut-fm-play {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--highlight-yellow), var(--primary-dark));
  color: var(--brand-navy);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(255, 213, 79, 0.35);
}

.cut-fm-play:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(255, 213, 79, 0.45);
}

.cut-fm-play svg {
  margin-left: 2px;
}

@media (max-width: 992px) {
  .cut-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cut-fm-widget {
    width: min(420px, calc(100vw - 1.25rem));
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .cut-fm-brand span.cut-fm-status-label {
    display: none;
  }

  .cut-fm-ticker span {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .cut-portal-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .cut-portal-card {
    padding: 0.95rem 0.65rem;
  }

  .cut-portal-icon {
    width: 44px;
    height: 44px;
  }

  .cut-fm-widget {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }

  .cut-fm-brand strong {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cut-fm-widget-inner,
  .cut-fm-ticker,
  .cut-fm-status-dot {
    animation: none !important;
  }
}
