/**
 * MYSverse Honour-Bearer Council Styling
 * Royal Malaysian Chancery & Honours Theme
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --royal-navy: #0F172A;
  --royal-gold: #D4AF37;
  --royal-gold-light: #F8E7A2;
  --royal-gold-dark: #8F721B;
  --royal-cream: #FAF8F2;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
}

.font-serif-royal {
  font-family: 'Cinzel', Georgia, serif;
}

/* Gold Gradient Effects */
.bg-gold-gradient {
  background: linear-gradient(135deg, #FFE485 0%, #D4AF37 50%, #A67C11 100%);
}

.bg-gold-subtle {
  background: linear-gradient(135deg, #FFFDF5 0%, #FAF4DF 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #E6C255 0%, #BF9526 50%, #87620C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-gradient {
  border-image: linear-gradient(135deg, #FFE485, #D4AF37, #966E0C) 1;
}

/* Royal Card Elevation & Border */
.royal-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.royal-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(15, 23, 42, 0.08);
  border-color: #D4AF37;
}

/* Watermark Crest Background */
.watermark-crest {
  position: relative;
  overflow: hidden;
}

.watermark-crest::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 380px;
  background: url('../images/mysverse-crest.svg') no-repeat center center;
  background-size: contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

/* Official Seal Animation */
.seal-spin {
  animation: gentlePulse 4s ease-in-out infinite alternate;
}

@keyframes gentlePulse {
  0% { transform: scale(1); filter: drop-shadow(0 4px 6px rgba(212, 175, 55, 0.2)); }
  100% { transform: scale(1.02); filter: drop-shadow(0 8px 16px rgba(212, 175, 55, 0.4)); }
}

/* Certificate Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #printableCertificate, #printableCertificate * {
    visibility: visible;
  }
  #printableCertificate {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: white !important;
    box-shadow: none !important;
    border: 3px double #D4AF37 !important;
  }
  .no-print {
    display: none !important;
  }
}
