/* ==========================================================
   AUPA Alumni Portal - Style System
   Department of Physics, CEG Anna University
   Under the Patronage of Prof. Dr. R. Asokamani
   ========================================================== */

:root {
  --navy-deep: #060d17;
  --navy-dark: #0a192f;
  --navy-primary: #0f2744;
  --navy-card: #132e50;
  --navy-card-border: rgba(229, 169, 59, 0.22);
  --navy-hover: #1b3d66;

  --gold-primary: #f59e0b;
  --gold-light: #fbbf24;
  --gold-amber: #d97706;
  --gold-glow: rgba(245, 158, 11, 0.35);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-light-navy: #cbd5e1;

  --accent-teal: #06b6d4;
  --accent-emerald: #10b981;
  --accent-crimson: #ef4444;

  --bg-gradient: radial-gradient(circle at 20% 15%, #132e50 0%, #0a192f 50%, #060d17 100%);
  --card-bg: rgba(19, 46, 80, 0.7);
  --card-border: 1px solid rgba(255, 255, 255, 0.08);

  --font-heading: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.4);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy-deep);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #ffffff;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
  position: relative;
}

.text-center {
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #ffffff 40%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #060d17;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-outline:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--gold-light);
  color: #ffffff;
}

.btn-gold {
  background: #fbbf24;
  color: #0a192f;
  font-weight: 700;
}

.btn-gold:hover {
  background: #f59e0b;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 1.15rem 2.4rem;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, #132e50, #1e3a5f, #132e50);
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.55rem 0;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  text-align: center;
}

.announcement-content .badge {
  background: var(--gold-amber);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pulse {
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.announcement-link {
  color: var(--gold-light);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.announcement-link:hover {
  text-decoration: underline;
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b 0%, #b45309 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #060d17;
  font-size: 1.35rem;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
  animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
  100% { transform: rotate(360deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-acronym {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.03em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-link {
  color: var(--text-light-navy);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5.5rem 0 4.5rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-particle-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.05) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.05) 0, transparent 40%);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  display: inline-block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
  line-height: 1.15;
  background: linear-gradient(135deg, #ffffff 40%, #e5a93b 85%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  background: rgba(15, 39, 68, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  backdrop-filter: blur(12px);
  max-width: 850px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* Patron's Message Section */
.patron-section {
  background: rgba(10, 25, 47, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.patron-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  background: var(--card-bg);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.patron-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.patron-profile-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding-right: 2rem;
}

.patron-avatar-frame {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #0a192f);
  border: 3px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--gold-light);
}

.patron-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(245, 158, 11, 0.4);
  animation: spin-slow 30s linear infinite;
}

.patron-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.patron-designation {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.95rem;
}

.patron-dept, .patron-inst {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.patron-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
}

.pill-tag {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  color: var(--text-light-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.patron-signature-box {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.signature-text {
  font-family: 'Cinzel', serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

.signature-caption {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Patron Letter Column */
.patron-letter-col {
  display: flex;
  flex-direction: column;
}

.letter-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.letter-salutation {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  font-style: italic;
  line-height: 1.4;
}

.vintage-stamp {
  border: 2px dashed rgba(245, 158, 11, 0.4);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transform: rotate(-3deg);
}

.letter-body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.85;
  color: #e2e8f0;
}

.letter-body p {
  margin-bottom: 1.15rem;
}

.letter-quote {
  border-left: 3px solid var(--gold-primary);
  background: rgba(245, 158, 11, 0.06);
  padding: 1rem 1.4rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.4rem 0;
  font-style: italic;
  color: #fef3c7;
  font-size: 1.05rem;
}

.patron-bullet-points {
  list-style: none;
  margin: 1.2rem 0;
  padding-left: 0;
}

.patron-bullet-points li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.patron-bullet-points li i {
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--gold-primary);
}

.letter-footer {
  margin-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
}

.warm-regards {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.2rem;
}

.signed-by {
  font-size: 1.1rem;
  color: var(--gold-light);
}

.signed-title {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Purpose Banner */
.purpose-banner {
  padding: 3rem 0;
  background: rgba(15, 39, 68, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.purpose-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.purpose-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}

.purpose-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.purpose-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.purpose-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Registration Form Section */
.register-section {
  background: radial-gradient(circle at top, rgba(20, 50, 85, 0.6) 0%, rgba(6, 13, 23, 0.95) 100%);
}

.registration-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.registration-form {
  background: var(--card-bg);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.form-fieldset {
  margin-bottom: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-fieldset:last-child {
  border-bottom: none;
  margin-bottom: 1.5rem;
  padding-bottom: 0;
}

.fieldset-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #060d17;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.fieldset-title h3 {
  font-size: 1.25rem;
  margin-bottom: 0.15rem;
}

.fieldset-title p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row {
  display: grid;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.form-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.col-span-2 {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: #f87171;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10, 25, 47, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: rgba(15, 39, 68, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #64748b;
  font-size: 0.9rem;
}

.form-group select option {
  background: #0a192f;
  color: #ffffff;
}

.checkbox-group-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(10, 25, 47, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}

.custom-checkbox:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #ffffff;
}

.custom-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

.form-submit-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Success Alert */
.success-alert {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 2rem;
  animation: slide-up 0.4s ease;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.success-icon {
  font-size: 2.5rem;
  color: var(--accent-emerald);
}

.success-body h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.success-body p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.success-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.hidden {
  display: none !important;
}

/* Alumni Directory Section */
.directory-section {
  background: rgba(10, 25, 47, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.directory-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.directory-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.filter-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.search-bar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--gold-light);
  font-size: 1.1rem;
}

.search-bar-wrap input {
  width: 100%;
  background: rgba(10, 25, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem 0.9rem 2.8rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.search-bar-wrap input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.clear-search-btn {
  position: absolute;
  right: 1.1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.filter-dropdowns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.filter-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.filter-group select {
  width: 100%;
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  color: #ffffff;
  font-size: 0.88rem;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.filter-group select option {
  background: #0a192f;
  color: #ffffff;
}

.directory-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.active-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Alumni Grid & Cards */
.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.alumni-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.alumni-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.alumni-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.alumni-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #0f2744);
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.alumni-header-meta {
  flex: 1;
  min-width: 0;
}

.alumni-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.alumni-batch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.alumni-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.2rem;
}

.alumni-org {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.alumni-degree-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-light-navy);
  margin-bottom: 0.9rem;
}

.alumni-location {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.alumni-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  margin-bottom: 1.2rem;
}

.mini-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.mini-badge.mentor {
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.3);
}

.alumni-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.9rem;
  margin-top: 0.5rem;
}

.alumni-social-btn {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.2s;
  padding: 0.3rem;
}

.alumni-social-btn:hover {
  color: var(--gold-light);
}

.view-details-link {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.view-details-link:hover {
  text-decoration: underline;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.empty-icon {
  font-size: 3.5rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.empty-state h3 {
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 450px;
  margin: 0 auto 1.5rem auto;
}

/* Batches & Chronicle Section */
.batches-section {
  background: rgba(6, 13, 23, 0.8);
}

.batch-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  scrollbar-width: thin;
}

.batch-tab {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-light-navy);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.batch-tab:hover, .batch-tab.active {
  background: var(--gold-primary);
  color: #060d17;
  font-weight: 700;
  border-color: var(--gold-primary);
}

.batch-table-container {
  overflow-x: auto;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  margin-bottom: 2.5rem;
}

.batch-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.batch-table th {
  background: rgba(10, 25, 47, 0.95);
  color: var(--gold-light);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.batch-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

.batch-table tr:hover td {
  background: rgba(245, 158, 11, 0.04);
}

.badge-era {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.78rem;
}

.coordinator-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(15, 39, 68, 0.8));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  flex-wrap: wrap;
}

.callout-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #060d17;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-content {
  flex: 1;
  min-width: 250px;
}

.callout-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.callout-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* Memory Wall Section */
.memories-section {
  background: rgba(10, 25, 47, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.add-memory-card {
  background: var(--card-bg);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 850px;
  margin: 0 auto 3rem auto;
  box-shadow: var(--shadow-md);
}

.memory-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.memory-card-header i {
  font-size: 1.4rem;
  color: var(--gold-primary);
}

.memory-card-header h4 {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.memory-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.memory-form input,
.memory-form textarea {
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}

.memory-form input:focus,
.memory-form textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.memories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.memory-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
}

.memory-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.3);
}

.memory-quote-icon {
  color: rgba(245, 158, 11, 0.25);
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.memory-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.2rem;
}

.memory-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.8rem;
  font-size: 0.8rem;
}

.memory-author {
  font-weight: 700;
  color: var(--gold-light);
}

.memory-batch {
  color: var(--text-dim);
}

/* Mentorship Section */
.mentorship-section {
  background: rgba(15, 39, 68, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mentorship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mentor-track-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all 0.25s ease;
}

.mentor-track-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: var(--shadow-md);
}

.track-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.mentor-track-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.mentor-track-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
  line-height: 1.6;
}

.track-list {
  list-style: none;
}

.track-list li {
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.track-list li i {
  color: var(--accent-emerald);
  font-size: 0.8rem;
}

/* Heritage Section */
.heritage-section {
  background: radial-gradient(circle at center, rgba(19, 46, 80, 0.8) 0%, rgba(6, 13, 23, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 0;
}

.heritage-box {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.heritage-label {
  font-size: 0.82rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.heritage-text h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.heritage-text p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.heritage-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.h-card {
  background: rgba(10, 25, 47, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  text-align: center;
}

.h-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.35rem;
}

.h-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer */
.site-footer {
  background: #04080e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-brand {
  margin-bottom: 1.2rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--gold-primary);
  color: #060d17;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.4rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 25px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a, .footer-links span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 0.25rem;
}

.campus-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-patron-credit {
  background: rgba(245, 158, 11, 0.08);
  border-left: 2px solid var(--gold-primary);
  padding: 0.6rem 0.9rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: #e2e8f0;
}

.footer-patron-credit small {
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.4rem 0;
  background: #020508;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.heart-text strong {
  color: var(--gold-light);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-dialog {
  background: var(--navy-dark);
  border: 1px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  padding: 2.2rem;
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold-light);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .patron-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .patron-profile-col {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0;
    padding-bottom: 2rem;
  }
  .heritage-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.5rem;
  }
  .stat-divider {
    width: 60px;
    height: 1px;
  }
  .form-row-2, .form-row-3 {
    grid-template-columns: 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0a192f;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
    gap: 0.8rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================
   Progressive Web App (PWA) Styling - Desktop & Mobile Install
   ========================================================== */

/* Offline Status Notification Banner */
#offline-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: linear-gradient(90deg, #d97706, #b45309);
  color: #ffffff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  animation: pwaSlideDown 0.3s ease-out;
}

#offline-indicator.hidden {
  display: none !important;
}

@keyframes pwaSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* Navbar Install App Button */
.btn-install-app {
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid var(--gold-primary);
  color: #fbbf24;
  border-radius: var(--radius-full);
  padding: 0.45rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-install-app:hover {
  background: var(--gold-primary);
  color: #060d17;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
  transform: translateY(-1px);
}

.btn-install-app.btn-installed {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #34d399;
  cursor: default;
}

.btn-install-app.btn-installed:hover {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  box-shadow: none;
  transform: none;
}

/* Floating PWA Install Prompt Banner */
#pwa-install-banner {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 1500;
  max-width: 440px;
  width: calc(100% - 3.5rem);
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(245, 158, 11, 0.15);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: pwaSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#pwa-install-banner.hidden {
  display: none !important;
}

@keyframes pwaSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.banner-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  position: relative;
}

.banner-app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.banner-title-area {
  flex: 1;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}

.banner-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.banner-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s;
}

.banner-close-btn:hover {
  color: #ffffff;
}

.banner-perks {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.perk-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light-navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.perk-pill i {
  color: var(--gold-light);
}

.banner-actions {
  display: flex;
  gap: 0.65rem;
}

.banner-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  font-size: 0.88rem;
  padding: 0.6rem 0.9rem;
}

/* iOS Installation Instructions Modal */
.ios-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(6, 13, 23, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: pwaFadeIn 0.25s ease-out;
}

.ios-modal-backdrop.hidden {
  display: none !important;
}

@keyframes pwaFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.ios-modal-card {
  background: #0a192f;
  border: 1.5px solid var(--navy-card-border);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.ios-app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ios-app-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.ios-modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
}

.ios-steps {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
  background: rgba(19, 46, 80, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.ios-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-amber);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-desc {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.step-desc strong {
  color: var(--gold-light);
}

.step-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  font-size: 0.85rem;
  margin: 0 0.2rem;
}

/* Toast Notifications */
#pwa-toast-container {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 90%;
  max-width: 480px;
  pointer-events: none;
}

.pwa-toast {
  pointer-events: auto;
  background: #0f2744;
  border: 1px solid var(--navy-card-border);
  color: #f1f5f9;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.9rem;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s, transform 0.3s;
}

.pwa-toast.toast-fade-out {
  opacity: 0;
  transform: translateY(15px);
}

.pwa-toast i {
  color: var(--gold-light);
  font-size: 1.1rem;
}

.pwa-toast-update {
  border-color: var(--gold-primary);
  background: #132e50;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  #pwa-install-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    width: auto;
  }
  .btn-install-app {
    width: 100%;
    justify-content: center;
  }
}
