/* =========================================================
   GURU SANMAAN 2026 - ROYAL DIGITAL INVITATION DESIGN SYSTEM
   Theme: Majestic Indian Heritage (Royal Maroon & Polished Gold)
   ========================================================= */

:root {
  --primary-maroon: #38040e;
  --dark-maroon: #220107;
  --deep-crimson: #520919;
  --velvet-red: #670d22;
  --royal-gold: #d4af37;
  --bright-gold: #ffd700;
  --light-gold: #fbf5b7;
  --antique-gold: #996515;
  --cream-bg: #fffdf5;
  --parchment: #fdf8eb;
  --gold-foil-grad: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
  --gold-text-grad: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa771c 100%);
  --royal-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
  --border-gold: 2px solid #d4af37;
  --border-radius-lg: 20px;
  --border-radius-md: 12px;
  --font-serif-royal: 'Cinzel', serif;
  --font-serif-decor: 'Cinzel Decorative', cursive;
  --font-devanagari: 'Noto Sans Devanagari', 'Rozha One', 'Yatra One', serif;
  --font-elegant: 'Marcellus', serif;
  --font-body: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: #120104;
  color: #333;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Texture Subtle Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(212, 175, 55, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Background Video */
.video-bg-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 1;
  filter: contrast(1.03) saturate(1.06);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.08) 0%, rgba(20, 2, 6, 0.38) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Canvas for floating marigold petals & gold dust */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* Floating Controls */
.floating-controls {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.control-btn {
  background: linear-gradient(135deg, #2b030b 0%, #4f0817 100%);
  border: 1.5px solid var(--royal-gold);
  color: var(--light-gold);
  padding: 10px 16px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 10px rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-elegant);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(8px);
}

.control-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background: var(--gold-foil-grad);
  color: var(--dark-maroon);
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.6);
}

.control-btn i {
  font-size: 1rem;
}

.control-btn.active {
  background: var(--gold-foil-grad);
  color: var(--dark-maroon);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* Cinematic Drone Video View Mode */
body.cinematic-mode .invitation-wrapper {
  opacity: 0.12;
  filter: blur(5px);
  transform: scale(0.98);
  pointer-events: none;
}

body.cinematic-mode .envelope-overlay {
  opacity: 0.08;
  pointer-events: none;
}

body.cinematic-mode .floating-controls {
  z-index: 1002;
}

body.cinematic-mode .video-overlay {
  background: transparent;
}

/* =========================================================
   CEREMONIAL ENVELOPE OVERLAY
   ========================================================= */
.envelope-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(30, 2, 7, 0.58) 0%, rgba(12, 1, 4, 0.8) 100%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.envelope-overlay.opened {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  pointer-events: none;
}

.envelope-scene {
  perspective: 1200px;
  width: 100%;
  max-width: 620px;
}

.envelope-box {
  background: linear-gradient(145deg, rgba(72, 6, 20, 0.92) 0%, rgba(35, 1, 8, 0.96) 100%);
  border: 3px solid #d4af37;
  border-radius: 18px;
  padding: 35px 28px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 45px rgba(212, 175, 55, 0.4);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.envelope-box::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  pointer-events: none;
}

.envelope-brand-top {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px 20px;
  border: 2px solid #d4af37;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  margin: 0 auto 20px;
  max-width: 520px;
  width: 100%;
}

.envelope-brand-logo {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.envelope-crest {
  margin-bottom: 20px;
}

.crest-ganesha {
  width: 75px;
  height: 75px;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
  animation: floatSoft 3s ease-in-out infinite;
}

.envelope-shloka {
  font-family: var(--font-devanagari);
  font-size: 1.35rem;
  color: var(--light-gold);
  margin-top: 8px;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.envelope-badge {
  margin: 20px 0 35px;
}

.badge-sub {
  font-family: var(--font-elegant);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e5c065;
  display: block;
}

.badge-title {
  font-family: var(--font-serif-decor);
  font-size: 2.2rem;
  background: var(--gold-foil-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 8px 0;
  letter-spacing: 1.5px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.badge-college {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #f1dfb8;
  max-width: 440px;
  margin: 0 auto;
}

/* Wax Seal Interaction */
.wax-seal-wrapper {
  position: relative;
  display: inline-block;
  margin: 10px 0 15px;
}

.wax-seal-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e63946 0%, #b5172b 45%, #72091c 85%, #47030e 100%);
  border: 3px solid #ffd700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 2px 4px rgba(255, 255, 255, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 215, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 2;
}

.wax-seal-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.8);
}

.seal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff4d1;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.seal-icon {
  font-size: 1.4rem;
  color: #ffd700;
  margin-bottom: 2px;
}

.seal-text {
  font-family: var(--font-serif-royal);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.seal-sub {
  font-family: var(--font-devanagari);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.seal-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 115px;
  height: 115px;
  border-radius: 50%;
  border: 2px solid rgba(255, 215, 0, 0.5);
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  pointer-events: none;
}

.tap-hint {
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  color: var(--light-gold);
  letter-spacing: 1px;
  animation: breathe 2.5s infinite ease-in-out;
}

/* =========================================================
   MAIN INVITATION CARD
   ========================================================= */
.invitation-wrapper {
  max-width: 980px;
  margin: 35px auto 70px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s ease;
}

.royal-card-container {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-image: 
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.09) 0%, transparent 60%),
    radial-gradient(circle at bottom left, rgba(163, 22, 50, 0.05) 0%, transparent 60%);
  border: 3px solid #d4af37;
  outline: 4px solid rgba(82, 9, 25, 0.9);
  outline-offset: 4px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), 0 0 45px rgba(212, 175, 55, 0.35);
  padding: 45px 42px;
  position: relative;
  overflow: hidden;
}

/* Ornate Corners */
.corner-ornament {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  z-index: 3;
}

.corner-ornament::before,
.corner-ornament::after {
  content: '';
  position: absolute;
  background: #caa038;
}

.corner-ornament.top-left {
  top: 15px;
  left: 15px;
  border-top: 3px solid #caa038;
  border-left: 3px solid #caa038;
}

.corner-ornament.top-right {
  top: 15px;
  right: 15px;
  border-top: 3px solid #caa038;
  border-right: 3px solid #caa038;
}

.corner-ornament.bottom-left {
  bottom: 15px;
  left: 15px;
  border-bottom: 3px solid #caa038;
  border-left: 3px solid #caa038;
}

.corner-ornament.bottom-right {
  bottom: 15px;
  right: 15px;
  border-bottom: 3px solid #caa038;
  border-right: 3px solid #caa038;
}

/* =========================================================
   SACRED INVOCATION HEADER
   ========================================================= */
.sacred-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
  position: relative;
}

.diya-glow {
  flex: 0 0 65px;
  display: flex;
  justify-content: center;
}

.diya-img {
  width: 65px;
  height: 65px;
  filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.6));
}

.pulse-glow {
  animation: flickerDiya 2.5s infinite alternate ease-in-out;
}

.ganesha-center {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 15px;
}

.mandala-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  opacity: 0.18;
  pointer-events: none;
}

.mandala-rotate {
  width: 100%;
  height: 100%;
  animation: rotateMandala 50s linear infinite;
}

.ganesha-main-icon {
  width: 85px;
  height: 85px;
  filter: drop-shadow(0 4px 10px rgba(184, 134, 11, 0.4));
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.sacred-chants {
  position: relative;
  z-index: 2;
}

.chant-primary {
  font-family: var(--font-devanagari);
  font-size: 1.55rem;
  color: #7a1528;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(212, 175, 55, 0.4);
  margin-bottom: 12px;
}

.sacred-sloka-card {
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.95) 0%, rgba(255, 243, 214, 0.9) 100%);
  border: 1px solid #e0c57c;
  border-radius: 12px;
  padding: 16px 24px;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(184, 134, 11, 0.12);
  position: relative;
}

.quote-mark {
  font-family: var(--font-serif-royal);
  font-size: 2.2rem;
  color: #b58927;
  position: absolute;
  top: -6px;
  left: 12px;
  opacity: 0.4;
  line-height: 1;
}

.quote-mark.right {
  top: auto;
  bottom: -18px;
  left: auto;
  right: 12px;
}

.sloka-devanagari {
  font-family: var(--font-devanagari);
  font-size: 1.3rem;
  font-weight: 600;
  color: #4a0c1a;
  line-height: 1.8;
  margin-bottom: 6px;
}

.sloka-meaning {
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  font-style: italic;
  color: #633910;
  line-height: 1.4;
}

/* =========================================================
   INSTITUTION BRANDING
   ========================================================= */
.institution-branding {
  text-align: center;
  margin: 25px 0;
  padding: 10px 0;
}

.college-logo-container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto 18px;
  background: #ffffff;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14), 0 0 25px rgba(212, 175, 55, 0.4);
  border: 3px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.college-logo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18), 0 0 32px rgba(212, 175, 55, 0.6);
}

.college-logo {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.institution-name {
  font-family: var(--font-serif-royal);
  font-size: 1.45rem;
  font-weight: 800;
  color: #2b020a;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.institution-sub {
  font-family: var(--font-elegant);
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 12px;
}

.accreditation-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.badge-chip {
  background: linear-gradient(135deg, #fbf2db 0%, #fae6b8 100%);
  border: 1px solid #cfab51;
  color: #592e07;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.badge-chip i {
  color: #a46d14;
}

.council-credit {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: #4a0c1a;
  letter-spacing: 1px;
}

.glow-gold {
  color: #7b1328;
  font-weight: 800;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 1px;
}

/* =========================================================
   DIVIDERS
   ========================================================= */
.ornamental-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
  max-width: 540px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #caa038, transparent);
}

.divider-icon {
  color: #caa038;
  font-size: 1.1rem;
}

/* =========================================================
   WELCOME PROCLAMATION & GRAND EVENT TITLE
   ========================================================= */
.welcome-proclamation {
  text-align: center;
  margin-bottom: 35px;
}

.proclamation-prefix {
  font-family: var(--font-elegant);
  font-size: 1.05rem;
  color: #5d3516;
  font-style: italic;
  margin-bottom: 12px;
}

.grand-event-title {
  margin: 15px 0;
}

.title-sub {
  display: block;
  font-family: var(--font-elegant);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: #8c283d;
  font-weight: 600;
  margin-bottom: 6px;
}

.title-main {
  display: block;
  font-family: var(--font-serif-decor);
  font-size: 3.2rem;
  font-weight: 900;
  color: #550719;
  letter-spacing: 2px;
  line-height: 1.15;
  text-shadow: 2px 2px 4px rgba(212, 175, 55, 0.35);
  margin-bottom: 8px;
}

.title-marathi {
  display: block;
  font-family: var(--font-devanagari);
  font-size: 1.6rem;
  color: #885c0c;
  letter-spacing: 1px;
  margin-top: 4px;
}

.proclamation-message {
  font-family: var(--font-elegant);
  font-size: 1.08rem;
  color: #3b3a36;
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.6;
}

/* =========================================================
   CHIEF GUEST SECTION - NITIN GADKARI
   ========================================================= */
.chief-guest-section {
  margin: 40px 0;
  position: relative;
}

.chief-guest-card {
  background: linear-gradient(145deg, #3d0511 0%, #1f0107 100%);
  border: 2.5px solid #d4af37;
  border-radius: var(--border-radius-lg);
  padding: 35px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(212, 175, 55, 0.25);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 35px;
  align-items: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.chief-guest-card::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  pointer-events: none;
}

.gold-arch-frame {
  position: relative;
  text-align: center;
}

.arch-top-ornament {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: #caa038;
  color: #240107;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  z-index: 4;
}

.portrait-wrapper {
  width: 230px;
  height: 290px;
  margin: 0 auto;
  border-radius: 115px 115px 16px 16px; /* Indian Jharokha Arch shape */
  border: 4px solid #caa038;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.4);
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #f5f0e3 0%, #e8dcc8 100%);
}

.guest-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.portrait-wrapper:hover .guest-real-photo {
  transform: scale(1.05);
}

.portrait-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.guest-tag-ribbon {
  background: var(--gold-foil-grad);
  color: #2b020a;
  font-family: var(--font-serif-royal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.guest-details {
  display: flex;
  flex-direction: column;
}

.guest-honorific {
  font-family: var(--font-elegant);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: #f7d788;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.guest-name {
  font-family: var(--font-serif-royal);
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gold-foil-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.guest-designation {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: #fffaee;
  line-height: 1.5;
  margin-bottom: 10px;
}

.guest-designation strong {
  color: #ffd666;
}

.guest-credentials {
  font-family: var(--font-elegant);
  font-size: 0.95rem;
  color: #dfcaa0;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.guest-quote-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 3px solid #caa038;
  border-radius: 0 8px 8px 0;
  padding: 12px 18px;
  font-family: var(--font-elegant);
  font-size: 0.98rem;
  font-style: italic;
  color: #fcf4e4;
  position: relative;
}

.quote-icon-small {
  color: #caa038;
  font-size: 1rem;
  margin-bottom: 4px;
  display: block;
}

/* =========================================================
   EVENT COORDINATES GRID (DATE, TIME, VENUE)
   ========================================================= */
.event-coordinates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 35px 0;
}

.coordinate-card {
  background: #ffffff;
  border: 1.5px solid #d4af37;
  border-radius: var(--border-radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.coordinate-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-foil-grad);
}

.coordinate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(184, 134, 11, 0.22);
}

.card-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #4f0817 0%, #29020a 100%);
  color: var(--light-gold);
  border: 1.5px solid #d4af37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.coord-label {
  display: block;
  font-family: var(--font-elegant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #925f18;
  margin-bottom: 4px;
}

.coord-value {
  font-family: var(--font-serif-royal);
  font-size: 1.35rem;
  font-weight: 800;
  color: #38040e;
  margin-bottom: 6px;
  line-height: 1.25;
}

.coord-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: #666;
}

/* =========================================================
   LIVE COUNTDOWN TIMER
   ========================================================= */
.countdown-section {
  background: linear-gradient(135deg, #2b020a 0%, #440614 100%);
  border: 2px solid #caa038;
  border-radius: var(--border-radius-md);
  padding: 25px 20px;
  text-align: center;
  margin: 35px 0;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.countdown-heading {
  font-family: var(--font-serif-royal);
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #f7d788;
  margin-bottom: 18px;
}

.countdown-heading i {
  color: #caa038;
  margin-right: 6px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timer-unit {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 75px;
}

.unit-val {
  display: block;
  font-family: var(--font-serif-royal);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gold-foil-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.unit-name {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: #dedede;
  margin-top: 4px;
}

.timer-separator {
  font-family: var(--font-serif-royal);
  font-size: 1.8rem;
  color: #caa038;
  font-weight: 700;
}

.countdown-note {
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  color: #e5cb93;
  margin-top: 14px;
  font-style: italic;
}

/* =========================================================
   ITINERARY SECTION (MINUTE-TO-MINUTE)
   ========================================================= */
.itinerary-section {
  margin: 45px 0;
}

.itinerary-header-area {
  text-align: center;
  margin-bottom: 28px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #4f0817 0%, #29020a 100%);
  color: var(--light-gold);
  border: 1px solid #d4af37;
  font-family: var(--font-elegant);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.section-title {
  text-align: center;
  font-family: var(--font-serif-royal);
  font-size: 1.65rem;
  font-weight: 800;
  color: #38040e;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.section-title i {
  color: #caa038;
  margin-right: 8px;
}

.itinerary-subtitle {
  font-family: var(--font-elegant);
  font-size: 1rem;
  color: #6d3a14;
  margin-bottom: 20px;
  font-style: italic;
}

/* View Switcher Tabs */
.itinerary-tabs {
  display: inline-flex;
  background: #f0e6cf;
  border: 1.5px solid #d4af37;
  border-radius: 30px;
  padding: 4px;
  gap: 6px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  font-weight: 700;
  color: #552709;
  padding: 8px 22px;
  border-radius: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #4a0715 0%, #240107 100%);
  color: #ffd700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
  color: #2b020a;
}

/* Timeline Container */
.timeline-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding-left: 55px;
  transition: opacity 0.3s ease;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 15px;
  bottom: 25px;
  width: 2px;
  background: linear-gradient(180deg, #d4af37 0%, #7b1328 50%, #caa038 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-badge {
  position: absolute;
  left: -55px;
  top: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3d0511;
  border: 2px solid #caa038;
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.timeline-content {
  background: #ffffff;
  border: 1px solid #ebd9a9;
  border-radius: 12px;
  padding: 16px 22px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.timeline-item:hover .timeline-content {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(184, 134, 11, 0.15);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.timeline-time {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: #8c283d;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.timeline-duration {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  background: #f6ebd0;
  color: #72400b;
  border: 1px solid #dfc384;
  padding: 2px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.timeline-title {
  font-family: var(--font-serif-royal);
  font-size: 1.18rem;
  font-weight: 700;
  color: #2b020a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #4a4a4a;
  line-height: 1.55;
}

/* Chief Guest Highlight in Timeline */
.timeline-item.highlight .timeline-content {
  background: linear-gradient(135deg, #fffdf5 0%, #fff6d9 100%);
  border: 2.5px solid #caa038;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.timeline-item.highlight .timeline-badge {
  background: #6e0d22;
  border-color: #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  font-size: 1.2rem;
}

.keynote-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold-foil-grad);
  color: #2b020a;
  font-family: var(--font-serif-royal);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.highlight-gold {
  color: #59091b;
  font-weight: 800;
  font-size: 0.92rem;
}

.duration-highlight {
  background: #ffd700;
  color: #38040e;
  border-color: #caa038;
  font-weight: 800;
}

.keynote-title {
  font-size: 1.32rem;
  color: #4b0816;
}

/* Stage Flow Table View */
.schedule-table-container {
  max-width: 860px;
  margin: 0 auto;
  transition: opacity 0.3s ease;
}

.table-responsive-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border: 2px solid #d4af37;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.stage-flow-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.stage-flow-table thead {
  background: linear-gradient(135deg, #38040e 0%, #200107 100%);
  color: #ffd700;
}

.stage-flow-table th {
  font-family: var(--font-serif-royal);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 16px;
  border-bottom: 2px solid #d4af37;
}

.stage-flow-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0e2be;
  vertical-align: top;
  line-height: 1.5;
  color: #333;
}

.stage-flow-table tbody tr:nth-child(even) {
  background-color: #fdfaf2;
}

.stage-flow-table tbody tr:hover {
  background-color: #fff8e8;
}

.cell-time {
  font-family: var(--font-body);
  font-weight: 700;
  color: #7b1328;
  white-space: nowrap;
}

.dur-chip {
  background: #f4ebd2;
  border: 1px solid #dcc07f;
  color: #63390c;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-block;
}

.cell-segment {
  font-family: var(--font-serif-royal);
  font-weight: 700;
  color: #2b020a;
}

.table-keynote-row {
  background: linear-gradient(135deg, #fffcf0 0%, #fff2cc 100%) !important;
  border-top: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
}

.table-keynote-row td {
  border-bottom-color: #d4af37;
}

.gold-chip {
  background: var(--gold-foil-grad);
  color: #2b020a;
  border-color: #caa038;
  font-weight: 800;
}

.table-star {
  color: #b8860b;
  margin-left: 4px;
}

.hidden {
  display: none !important;
}

/* =========================================================
   PATRONS SECTION
   ========================================================= */
.patrons-section {
  background: #fbf7ee;
  border: 1px solid #ebd9a9;
  border-radius: var(--border-radius-md);
  padding: 25px 20px;
  margin: 35px 0;
  text-align: center;
}

.patrons-heading {
  font-family: var(--font-serif-royal);
  font-size: 1.05rem;
  letter-spacing: 2px;
  color: #7b1328;
  margin-bottom: 20px;
}

.patrons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.patron-box {
  background: #ffffff;
  border: 1px solid #dfc791;
  border-radius: 8px;
  padding: 14px 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.patron-box h4 {
  font-family: var(--font-serif-royal);
  font-size: 0.95rem;
  font-weight: 700;
  color: #2b020a;
  margin-bottom: 4px;
}

.patron-box p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #666;
}

/* =========================================================
   VENUE SPOTLIGHT & MAP NAVIGATION
   ========================================================= */
.venue-spotlight-section {
  margin: 35px 0;
}

.venue-box {
  background: linear-gradient(135deg, #2e030c 0%, #4a0715 100%);
  border: 2px solid #caa038;
  border-radius: var(--border-radius-md);
  padding: 30px;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.venue-badge {
  display: inline-block;
  font-family: var(--font-elegant);
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #ffd700;
  margin-bottom: 8px;
}

.venue-title {
  font-family: var(--font-serif-royal);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gold-foil-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.venue-address {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: #f5eedb;
  margin-bottom: 20px;
  line-height: 1.5;
}

.venue-features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 24px;
  font-family: var(--font-elegant);
  font-size: 0.88rem;
  color: #ecd79c;
}

.venue-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.venue-features i {
  color: #ffd700;
}

.btn-primary-gold {
  background: var(--gold-foil-grad);
  color: #2b020a;
  border: 1px solid #fff;
  font-family: var(--font-serif-royal);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 12px 28px;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-primary-gold:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.6);
}

/* =========================================================
   ACTION CENTER SECTION
   ========================================================= */
.action-center-section {
  margin: 45px 0 35px;
  text-align: center;
}

.action-heading {
  font-family: var(--font-serif-royal);
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: #7b1328;
  margin-bottom: 25px;
}

.action-buttons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-btn {
  background: #ffffff;
  border: 1.5px solid #d4af37;
  border-radius: 12px;
  padding: 18px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.action-btn:hover {
  transform: translateY(-4px);
  border-color: #7b1328;
  box-shadow: 0 10px 22px rgba(123, 19, 40, 0.15);
}

.action-btn.rsvp-highlight {
  background: linear-gradient(145deg, #fffaf0 0%, #fff1d6 100%);
  border: 2px solid #caa038;
}

.btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a0715 0%, #2b020a 100%);
  color: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-icon.whatsapp-color {
  background: #25d366;
  color: #fff;
}

.action-btn:hover .btn-icon {
  transform: scale(1.12);
}

.btn-labels {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.main-label {
  font-family: var(--font-serif-royal);
  font-size: 0.92rem;
  font-weight: 700;
  color: #2b020a;
}

.sub-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: #777;
  margin-top: 2px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.invitation-footer {
  text-align: center;
  padding: 35px 20px 10px;
  border-top: 1px dashed #caa038;
  margin-top: 30px;
  position: relative;
}

.footer-seal {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  opacity: 0.4;
}

.footer-mandala {
  width: 100%;
  height: 100%;
}

.cordial-regards {
  font-family: var(--font-devanagari);
  font-size: 1.25rem;
  color: #7b1328;
  margin-bottom: 6px;
}

.council-signature {
  font-family: var(--font-serif-royal);
  font-size: 1.4rem;
  font-weight: 800;
  color: #2b020a;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.footer-college {
  font-family: var(--font-elegant);
  font-size: 0.95rem;
  color: #664119;
  margin-bottom: 12px;
}

.contact-info {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
}

.copyright-note {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #999;
}

/* =========================================================
   RSVP & DIGITAL PASS MODAL
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 0, 4, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border: 2.5px solid #d4af37;
  border-radius: var(--border-radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #7b1328;
}

.modal-header {
  text-align: center;
  margin-bottom: 25px;
}

.modal-ganesha {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-serif-royal);
  font-size: 1.45rem;
  font-weight: 800;
  color: #38040e;
}

.modal-sub {
  font-family: var(--font-elegant);
  font-size: 0.9rem;
  color: #885c0c;
}

.rsvp-form .form-group {
  margin-bottom: 18px;
}

.rsvp-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.rsvp-form input,
.rsvp-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #cfab51;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.rsvp-form input:focus,
.rsvp-form select:focus {
  border-color: #7b1328;
  box-shadow: 0 0 0 3px rgba(123, 19, 40, 0.1);
}

.btn-submit-pass {
  width: 100%;
  background: linear-gradient(135deg, #4a0715 0%, #2b020a 100%);
  color: #ffd700;
  border: 1.5px solid #d4af37;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--font-serif-royal);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.btn-submit-pass:hover {
  background: var(--gold-foil-grad);
  color: #2b020a;
}

/* Digital Pass Preview Card */
.hidden {
  display: none !important;
}

.success-banner {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 10px 15px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.digital-pass-card {
  background: linear-gradient(135deg, #fffcf5 0%, #fff4db 100%);
  border: 2px solid #caa038;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  position: relative;
}

.digital-pass-card::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px dashed #cfab51;
  border-radius: 8px;
  pointer-events: none;
}

.pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e0ca97;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.pass-logo-text {
  font-family: var(--font-serif-royal);
  font-size: 0.78rem;
  font-weight: 800;
  color: #38040e;
  letter-spacing: 0.5px;
}

.pass-type-badge {
  background: #38040e;
  color: #ffd700;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.pass-event {
  text-align: center;
  margin-bottom: 14px;
}

.pass-event h4 {
  font-family: var(--font-serif-decor);
  font-size: 1.3rem;
  color: #4a0715;
}

.pass-event p {
  font-family: var(--font-elegant);
  font-size: 0.85rem;
  color: #8c5d14;
}

.pass-user-info {
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.pass-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dotted #edd59b;
}

.p-label {
  color: #666;
  font-weight: 600;
  font-size: 0.78rem;
}

.p-val {
  color: #222;
  font-weight: 600;
  text-align: right;
}

.pass-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #e0ca97;
  padding-top: 10px;
}

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

.qr-mock i {
  font-size: 2.8rem;
  color: #2b020a;
  display: block;
}

.qr-mock span {
  font-size: 0.65rem;
  color: #666;
  font-weight: bold;
}

.pass-note {
  font-size: 0.72rem;
  color: #777;
  line-height: 1.3;
}

.pass-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.btn-print-pass,
.btn-reset-pass {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-print-pass {
  background: #38040e;
  color: #ffd700;
  border: 1px solid #caa038;
}

.btn-reset-pass {
  background: #f1f1f1;
  color: #444;
  border: 1px solid #ddd;
}

/* =========================================================
   ANIMATIONS & KEYFRAMES
   ========================================================= */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

@keyframes breathe {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes rotateMandala {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes flickerDiya {
  0% { transform: scale(1); filter: drop-shadow(0 0 8px rgba(255, 153, 0, 0.6)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 16px rgba(255, 180, 0, 0.8)); }
  100% { transform: scale(0.98); filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.7)); }
}

/* =========================================================
   RESPONSIVE DESIGN (TABLETS & PHONES)
   ========================================================= */
@media (max-width: 900px) {
  .chief-guest-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 28px 20px;
  }

  .portrait-wrapper {
    margin: 0 auto;
  }

  .guest-details {
    align-items: center;
  }

  .event-coordinates-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 600px) {
  .college-logo-container {
    padding: 8px 12px;
  }

  .college-logo {
    max-height: 140px;
  }

  .envelope-brand-top {
    padding: 8px 12px;
    margin-bottom: 12px;
  }

  .envelope-brand-logo {
    max-height: 75px;
  }

  .royal-card-container {
    padding: 30px 18px;
    outline-width: 4px;
    border-radius: 14px;
  }

  .sacred-header {
    flex-direction: column;
    gap: 15px;
  }

  .diya-glow {
    display: inline-block;
  }

  .title-main {
    font-size: 2.2rem;
  }

  .title-marathi {
    font-size: 1.25rem;
  }

  .sloka-devanagari {
    font-size: 1.1rem;
  }

  .chant-primary {
    font-size: 1.2rem;
  }

  .countdown-timer {
    gap: 6px;
  }

  .timer-unit {
    min-width: 60px;
    padding: 8px 10px;
  }

  .unit-val {
    font-size: 1.45rem;
  }

  .timeline-container {
    padding-left: 45px;
  }

  .timeline-badge {
    width: 38px;
    height: 38px;
    left: -45px;
    font-size: 0.85rem;
  }

  .patrons-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons-grid {
    grid-template-columns: 1fr;
  }

  .floating-controls {
    bottom: 15px;
    right: 15px;
  }

  .control-text {
    display: none;
  }

  .control-btn {
    padding: 10px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    justify-content: center;
  }
}

/* =========================================================
   PRINT / EXPORT INVITATION CARD STYLESHEET
   ========================================================= */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .floating-controls,
  .envelope-overlay,
  #particleCanvas,
  .video-bg-wrapper,
  .modal-backdrop,
  .countdown-section,
  .action-center-section,
  .venue-actions {
    display: none !important;
  }

  .invitation-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }

  .royal-card-container {
    border: 2px solid #caa038 !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 20px !important;
    background: #ffffff !important;
  }

  .chief-guest-card {
    background: #2b020a !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .badge-chip {
    border: 1px solid #caa038 !important;
  }
}
