:root {
  --primary: #0F2854;
  --secondary: #1C4D8D;
  --accent: #4988C4;
  --tertiary: #BDE8F5;
  --white: #ffffff;
  --gold: #c9a96e;
  --gold-light: #e8d5a3;
  --text-light: rgba(255,255,255,0.85);
  --text-muted: rgba(255,255,255,0.5);
  --card-bg: rgba(28,77,141,0.25);
  --border: rgba(189,232,245,0.18);
  --shadow: 0 20px 60px rgba(15,40,84,0.4);
  --green: #4ade80;
  --red: #f87171;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: var(--primary); color: var(--white); overflow-x: hidden; line-height: 1.6; }

.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; border-radius: 50%; background: var(--tertiary); opacity: 0; animation: float-particle linear infinite; }
@keyframes float-particle {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.22; }
  90%  { opacity: 0.07; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

nav.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 500;
  padding: 1.2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s, padding 0.3s;
}
nav.nav.scrolled {
  background: rgba(15,40,84,0.96);
  backdrop-filter: blur(12px);
  padding: 0.8rem 3rem;
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-family: 'Dancing Script', cursive; font-size: 2rem; color: var(--tertiary); letter-spacing: 2px; }
.nav-links { display: flex; list-style: none; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-size: 0.72rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--tertiary); transition: width 0.3s; }
.nav-links a:hover { color: var(--tertiary); }
.nav-links a:hover::after { width: 100%; }
.nav-rsvp { background: var(--accent) !important; color: var(--white) !important; padding: 0.45rem 1.2rem !important; border-radius: 50px; }
.nav-rsvp::after { display: none !important; }
.nav-rsvp:hover { background: var(--secondary) !important; }
.hamburger { display: none; background: none; border: 1px solid var(--border); color: var(--white); padding: 0.4rem 0.75rem; border-radius: 6px; cursor: pointer; font-size: 1.3rem; line-height: 1; }

.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(73,136,196,0.14) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(28,77,141,0.28) 0%, transparent 60%),
              linear-gradient(160deg, var(--primary) 0%, #0a1e3f 50%, #071429 100%);
}
.hero-bg-circles { position: absolute; inset: 0; pointer-events: none; }
.circle { position: absolute; border-radius: 50%; border: 1px solid rgba(189,232,245,0.09); animation: pulse-circle 6s ease-in-out infinite; }
.c1 { width: 620px; height: 620px; top: -220px; right: -200px; animation-delay: 0s; }
.c2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation-delay: 2s; }
.c3 { width: 240px; height: 240px; top: 30%; left: 8%; animation-delay: 4s; }
@keyframes pulse-circle { 0%, 100% { opacity: 0.4; transform: scale(1); } 50% { opacity: 0.75; transform: scale(1.05); } }

.hero-content {
  text-align: center; position: relative; z-index: 2;
  padding: 7rem 2rem 9rem;
  max-width: 900px;
}
.hero-sub { font-size: 0.72rem; letter-spacing: 4px; text-transform: uppercase; color: var(--tertiary); margin-bottom: 1rem; font-weight: 300; }
.hero-title { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 1.5rem; }
.script-text { font-family: 'Dancing Script', cursive; font-size: clamp(2rem, 5vw, 3.5rem); color: var(--gold-light); font-weight: 600; }
.name-text { font-family: 'Cormorant Garamond', serif; font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 300; letter-spacing: 8px; color: var(--white); line-height: 1; text-shadow: 0 0 80px rgba(189,232,245,0.25); }

.crown-divider { display: flex; align-items: center; gap: 1.2rem; justify-content: center; margin: 1.2rem 0; }
.crown-divider .line { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.crown-icon { font-size: 1.8rem; color: var(--gold); display: inline-flex; align-items: center; }

.hero-eighteen { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text-light); font-style: italic; letter-spacing: 2px; margin-bottom: 2rem; }

.hero-date { display: flex; gap: 2rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.date-sep { width: 1px; height: 36px; background: var(--border); }
.date-block { display: flex; flex-direction: column; gap: 0.25rem; }
.date-label { font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 0.3rem; }
.date-label i { font-size: 0.75rem; }
.date-value { font-size: 0.92rem; font-weight: 500; color: var(--white); }

.countdown { display: flex; gap: 0.8rem; justify-content: center; align-items: center; margin-bottom: 2.5rem; }
.cd-item { display: flex; flex-direction: column; align-items: center; background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.4rem; min-width: 78px; backdrop-filter: blur(8px); }
.cd-item span { font-family: 'Cormorant Garamond', serif; font-size: 2.4rem; font-weight: 600; color: var(--tertiary); line-height: 1; }
.cd-item label { font-size: 0.53rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: 0.3rem; }
.cd-sep { font-size: 2rem; color: var(--accent); margin-top: -0.8rem; }

.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2.8rem; background: transparent; border: 1px solid var(--tertiary); color: var(--tertiary); text-decoration: none; font-size: 0.72rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; border-radius: 50px; transition: background 0.3s, color 0.3s, transform 0.2s; }
.hero-cta i { font-size: 0.9rem; }
.hero-cta:hover { background: var(--tertiary); color: var(--primary); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.62rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
  z-index: 3;
}
.scroll-arrow { width: 1px; height: 36px; background: linear-gradient(to bottom, var(--accent), transparent); }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

.fade-in-up { opacity: 0; transform: translateY(30px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.5s; } .delay-3 { animation-delay: 0.8s; } .delay-4 { animation-delay: 1.1s; } .delay-5 { animation-delay: 1.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

section { position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 4rem; padding: 0 1.5rem; }
.section-eyebrow { font-size: 0.63rem; letter-spacing: 5px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.8rem; }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; letter-spacing: 4px; color: var(--white); }
.divider-ornament { margin-top: 1rem; display: flex; justify-content: center; gap: 0.6rem; }
.divider-ornament i { color: var(--gold); font-size: 0.55rem; }

.program-section { padding: 8rem 2rem; background: linear-gradient(180deg, var(--primary) 0%, #0d2248 100%); }
.program-timeline { max-width: 920px; margin: 0 auto; position: relative; }
.program-timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--accent), transparent); transform: translateX(-50%); }

.timeline-item { display: flex; gap: 3rem; align-items: flex-start; margin-bottom: 3rem; position: relative; }
.timeline-item.right { flex-direction: row-reverse; }
.timeline-time { width: calc(50% - 2.2rem); text-align: right; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--accent); font-weight: 600; padding-top: 0.6rem; }
.timeline-item.right .timeline-time { text-align: left; }
.timeline-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary); border: 2px solid var(--accent); flex-shrink: 0; display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; box-shadow: 0 0 20px rgba(73,136,196,0.45); }
.timeline-dot i { font-size: 1rem; color: var(--tertiary); }
.timeline-content { width: calc(50% - 2.2rem); background: var(--card-bg); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.8rem; backdrop-filter: blur(8px); transition: transform 0.3s, border-color 0.3s; }
.timeline-content:hover { transform: translateY(-3px); border-color: rgba(73,136,196,0.45); }
.timeline-content h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--tertiary); margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }

.eighteen-section { padding: 8rem 2rem; background: linear-gradient(180deg, #0d2248 0%, var(--secondary) 50%, var(--primary) 100%); }
.groups-tabs { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.tab-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: transparent; border: 1px solid var(--border); color: var(--text-muted); padding: 0.7rem 1.5rem; border-radius: 50px; cursor: pointer; font-size: 0.8rem; font-weight: 500; letter-spacing: 1px; font-family: 'Montserrat', sans-serif; transition: all 0.3s; }
.tab-btn i { font-size: 1rem; }
.tab-btn.active, .tab-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.tab-content { display: none; max-width: 1100px; margin: 0 auto; }
.tab-content.active { display: block; animation: fadeInTab 0.45s ease; }
@keyframes fadeInTab { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.group-desc { text-align: center; max-width: 600px; margin: 0 auto 3rem; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-style: italic; color: var(--text-light); line-height: 1.8; }
.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.member-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.3rem 1.4rem 1.3rem 4.2rem; position: relative; backdrop-filter: blur(8px); transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s; overflow: hidden; }
.member-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--accent), var(--tertiary)); border-radius: 4px 0 0 4px; }
.member-card:hover { transform: translateY(-4px); border-color: rgba(73,136,196,0.5); box-shadow: 0 12px 36px rgba(15,40,84,0.5); }
.member-number { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); font-family: 'Cormorant Garamond', serif; font-size: 1.7rem; font-weight: 300; color: rgba(73,136,196,0.38); line-height: 1; }
.member-name { font-size: 0.84rem; font-weight: 600; color: var(--white); line-height: 1.4; }

.venue-section { padding: 8rem 2rem; background: linear-gradient(180deg, var(--primary) 0%, #07182e 100%); }
.venue-container { display: grid; grid-template-columns: 360px 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; align-items: start; }
.venue-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; backdrop-filter: blur(12px); text-align: center; }
.venue-icon-wrap { width: 64px; height: 64px; border-radius: 50%; background: rgba(73,136,196,0.15); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.venue-pin-icon { font-size: 1.8rem; color: var(--accent); }
.venue-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--tertiary); margin-bottom: 0.4rem; }
.venue-address { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.8rem; }
.venue-details { margin-bottom: 1.2rem; }
.detail-row { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-size: 0.82rem; color: var(--text-light); }
.detail-row:last-child { border-bottom: none; }
.detail-icon { font-size: 1rem; color: var(--accent); flex-shrink: 0; }

.location-status { display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-size: 0.72rem; color: var(--text-muted); margin-bottom: 1.2rem; padding: 0.5rem 1rem; background: rgba(73,136,196,0.08); border-radius: 50px; border: 1px solid var(--border); }
.location-status i { color: var(--accent); }
.location-status.located { color: var(--green); border-color: rgba(74,222,128,0.3); }
.location-status.located i { color: var(--green); }

.directions-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; background: var(--accent); color: var(--white); text-decoration: none; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; transition: background 0.3s, transform 0.2s; width: 100%; justify-content: center; }
.directions-btn i { font-size: 1rem; }
.directions-btn:hover { background: var(--secondary); transform: translateY(-2px); }

.map-wrapper { border-radius: 20px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; }
.map-blue-overlay { position: absolute; inset: 0; background: rgba(15,60,130,0.18); z-index: 1; pointer-events: none; border-radius: 20px; mix-blend-mode: multiply; }
.venue-map { width: 100%; height: 480px; border: none; display: block; filter: hue-rotate(195deg) saturate(1.7) brightness(0.88); }

.guestlist-section { padding: 8rem 2rem; background: linear-gradient(180deg, #07182e 0%, var(--primary) 100%); }
.guestlist-container { max-width: 1000px; margin: 0 auto; }
.import-area { background: var(--card-bg); border: 2px dashed var(--border); border-radius: 20px; padding: 4rem 2rem; text-align: center; backdrop-filter: blur(8px); transition: border-color 0.3s; }
.import-area:hover { border-color: var(--accent); }
.import-icon-wrap { width: 80px; height: 80px; border-radius: 50%; background: rgba(73,136,196,0.12); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.import-icon { font-size: 2.2rem; color: var(--accent); }
.import-area h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--tertiary); }
.import-area p { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.import-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2.2rem; background: var(--accent); color: var(--white); border-radius: 50px; cursor: pointer; font-size: 0.8rem; font-weight: 600; font-family: 'Montserrat', sans-serif; transition: background 0.3s, transform 0.2s; }
.import-btn:hover { background: var(--secondary); transform: translateY(-2px); }
.import-hint { margin-top: 1rem !important; font-size: 0.7rem !important; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.import-hint i { font-size: 0.75rem; color: var(--accent); }

.gl-toolbar { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.gl-search { position: relative; display: flex; align-items: center; }
.gl-search-icon { position: absolute; left: 0.9rem; font-size: 0.85rem; color: var(--text-muted); pointer-events: none; }
.gl-search input { background: var(--card-bg); border: 1px solid var(--border); color: var(--white); padding: 0.6rem 1.2rem 0.6rem 2.4rem; border-radius: 50px; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; width: 220px; transition: border-color 0.3s; }
.gl-search input:focus { outline: none; border-color: var(--accent); }
.gl-search input::placeholder { color: var(--text-muted); }
.gl-filter { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.gl-filter select { background: var(--card-bg); border: 1px solid var(--border); color: var(--white); padding: 0.6rem 1rem; border-radius: 50px; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; cursor: pointer; }
.gl-filter select:focus { outline: none; border-color: var(--accent); }
.gl-filter select option { background: var(--primary); }
.gl-stats { margin-left: auto; display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; }
.stat-badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.7rem; padding: 0.32rem 0.85rem; border-radius: 50px; border: 1px solid; font-weight: 600; }
.stat-badge i { font-size: 0.75rem; }
.stat-badge.confirmed { border-color: var(--green); color: var(--green); }
.stat-badge.pending   { border-color: var(--gold); color: var(--gold); }
.stat-badge.declined  { border-color: var(--red); color: var(--red); }

.gl-table-wrap { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; backdrop-filter: blur(8px); }
.gl-table { width: 100%; border-collapse: collapse; }
.gl-table thead tr { background: rgba(73,136,196,0.18); }
.gl-table th { padding: 1rem 1.2rem; font-size: 0.67rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); text-align: left; }
.gl-table td { padding: 0.85rem 1.2rem; font-size: 0.82rem; border-bottom: 1px solid var(--border); color: var(--text-light); }
.gl-table tbody tr:last-child td { border-bottom: none; }
.gl-table tbody tr:hover { background: rgba(73,136,196,0.07); }
.group-pill { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 500; }
.group-pill i { font-size: 0.9rem; color: var(--accent); }
.status-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.22rem 0.75rem; border-radius: 50px; font-size: 0.68rem; font-weight: 600; }
.status-pill i { font-size: 0.8rem; }
.status-Confirmed { background: rgba(74,222,128,0.12); color: var(--green); border: 1px solid rgba(74,222,128,0.28); }
.status-Pending   { background: rgba(201,169,110,0.12); color: var(--gold); border: 1px solid rgba(201,169,110,0.28); }
.status-Declined  { background: rgba(248,113,113,0.12); color: var(--red); border: 1px solid rgba(248,113,113,0.28); }
.status-select { background: transparent; border: 1px solid var(--border); color: var(--white); padding: 0.3rem 0.65rem; border-radius: 6px; font-size: 0.75rem; cursor: pointer; font-family: 'Montserrat', sans-serif; }
.status-select:focus { outline: none; border-color: var(--accent); }
.status-select option { background: var(--primary); }

.gl-actions { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.5rem; background: transparent; border: 1px solid var(--border); color: var(--text-light); border-radius: 50px; cursor: pointer; font-size: 0.78rem; font-weight: 500; font-family: 'Montserrat', sans-serif; transition: border-color 0.3s, color 0.3s, transform 0.2s; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.rsvp-section { padding: 8rem 2rem; background: linear-gradient(180deg, var(--primary) 0%, #0d2248 100%); }
.rsvp-container { max-width: 750px; margin: 0 auto; }
.rsvp-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: 24px; padding: 3rem; backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full-width { margin-bottom: 1.5rem; }
.form-group label { font-size: 0.7rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); font-weight: 600; display: flex; align-items: center; gap: 0.35rem; }
.form-group label i { font-size: 0.85rem; }
.req { color: var(--gold); }
.form-group input, .form-group select, .form-group textarea { background: rgba(15,40,84,0.5); border: 1px solid var(--border); color: var(--white); padding: 0.85rem 1.2rem; border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.85rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.radio-group { display: flex; gap: 2rem; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; font-size: 0.85rem; color: var(--text-light); font-family: 'Montserrat', sans-serif; font-weight: 400; letter-spacing: normal; text-transform: none; }
.radio-label input[type="radio"] { display: none; }
.radio-custom { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; transition: border-color 0.3s; flex-shrink: 0; }
.radio-custom::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); opacity: 0; transition: opacity 0.3s; }
.radio-label input[type="radio"]:checked + .radio-custom { border-color: var(--accent); }
.radio-label input[type="radio"]:checked + .radio-custom::after { opacity: 1; }
.error-msg { font-size: 0.7rem; color: var(--red); min-height: 1rem; }
.rsvp-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; width: 100%; padding: 1rem 2rem; background: linear-gradient(135deg, var(--accent), var(--secondary)); color: var(--white); border: none; border-radius: 50px; font-family: 'Montserrat', sans-serif; font-size: 0.82rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; cursor: pointer; transition: transform 0.2s, box-shadow 0.3s; margin-top: 0.5rem; }
.rsvp-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(73,136,196,0.38); }

.modal-overlay { position: fixed; inset: 0; background: rgba(15,40,84,0.82); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal-card { background: linear-gradient(135deg, var(--secondary), var(--primary)); border: 1px solid var(--border); border-radius: 24px; padding: 3rem; text-align: center; max-width: 420px; width: 90%; transform: scale(0.9); transition: transform 0.3s; }
.modal-overlay.active .modal-card { transform: scale(1); }
.modal-icon { width: 68px; height: 68px; border-radius: 50%; background: rgba(73,136,196,0.18); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.modal-icon i { font-size: 2rem; color: var(--tertiary); }
.modal-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--tertiary); margin-bottom: 0.8rem; }
.modal-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; margin-bottom: 2rem; }
.modal-close { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.7rem 2rem; background: var(--accent); color: var(--white); border: none; border-radius: 50px; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600; transition: background 0.3s; }
.modal-close:hover { background: var(--secondary); }

.footer { background: #060f22; padding: 4rem 2rem; text-align: center; border-top: 1px solid var(--border); }
.footer-crown { font-size: 2.8rem; color: var(--gold); margin-bottom: 1rem; }
.footer-name { font-family: 'Dancing Script', cursive; font-size: 2.6rem; color: var(--tertiary); margin-bottom: 0.3rem; }
.footer-tagline { font-family: 'Cormorant Garamond', serif; font-size: 1rem; color: var(--text-muted); font-style: italic; margin-bottom: 1.5rem; }
.footer-copy { font-size: 0.68rem; color: rgba(255,255,255,0.25); letter-spacing: 2px; }

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.admin-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.admin-overlay.open {
  display: flex;
  opacity: 1;
}

.admin-login-screen {
  position: absolute; inset: 0;
  background: rgba(7,18,46,0.96);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
}
.admin-login-box {
  background: linear-gradient(135deg, rgba(28,77,141,0.6), rgba(15,40,84,0.8));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.admin-login-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(73,136,196,0.15);
  border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.admin-login-icon i { font-size: 2rem; color: var(--accent); }
.admin-login-box h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--tertiary); margin-bottom: 0.4rem; }
.admin-login-box > p { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2rem; }

.pin-field-wrap { margin-bottom: 1.5rem; }
.pin-boxes { display: flex; gap: 0.6rem; justify-content: center; margin-bottom: 0.7rem; }
.pin-box {
  width: 46px; height: 56px;
  background: rgba(15,40,84,0.6);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-text-security: disc;
}
.pin-box:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 12px rgba(73,136,196,0.35); }
.pin-box.filled { border-color: var(--accent); }
.pin-box.error { border-color: var(--red); animation: shake 0.4s; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-5px)} 40%,80%{transform:translateX(5px)} }
.pin-error { font-size: 0.75rem; color: var(--red); min-height: 1.1rem; }

.admin-login-submit {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 2.4rem;
  background: var(--accent);
  color: var(--white);
  border: none; border-radius: 50px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 1px;
  transition: background 0.3s, transform 0.2s;
  width: 100%; justify-content: center;
  margin-bottom: 0.8rem;
}
.admin-login-submit:hover { background: var(--secondary); transform: translateY(-1px); }
.admin-cancel-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.6rem 1.5rem;
  border-radius: 50px; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 0.78rem;
  transition: border-color 0.3s, color 0.3s;
  width: 100%; justify-content: center;
}
.admin-cancel-btn:hover { border-color: var(--accent); color: var(--accent); }

.admin-dashboard-screen {
  display: none;
  width: 100%; height: 100%;
  background: #050e1f;
}
.admin-dashboard-screen.visible {
  display: flex;
}

.admin-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #0a1e3f 0%, #060f22 100%);
  border-right: 1px solid rgba(189,232,245,0.08);
  display: flex; flex-direction: column;
  padding: 1.5rem 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-header {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.5rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(189,232,245,0.08);
  margin-bottom: 1rem;
}
.admin-sidebar-header > i { font-size: 1.6rem; color: var(--gold); flex-shrink: 0; }
.admin-sidebar-title { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.admin-sidebar-sub { font-size: 0.65rem; color: var(--text-muted); }

.admin-nav { padding: 0 0.75rem; flex: 1; }
.admin-nav-btn {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; padding: 0.85rem 1rem;
  background: transparent; border: none; border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem; font-weight: 500;
  margin-bottom: 0.25rem;
  transition: background 0.25s, color 0.25s;
  text-align: left;
}
.admin-nav-btn i { font-size: 1rem; flex-shrink: 0; }
.admin-nav-btn span:first-of-type { flex: 1; }
.admin-nav-btn:hover { background: rgba(73,136,196,0.12); color: var(--white); }
.admin-nav-btn.active { background: rgba(73,136,196,0.2); color: var(--tertiary); border: 1px solid rgba(73,136,196,0.2); }
.admin-nav-count { background: rgba(189,232,245,0.12); color: var(--tertiary); font-size: 0.65rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 50px; }
.admin-nav-badge { background: var(--red); color: var(--white); font-size: 0.62rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 50px; min-width: 20px; text-align: center; }

.admin-sidebar-footer { padding: 1rem 0.75rem 0; border-top: 1px solid rgba(189,232,245,0.08); margin-top: auto; }
.admin-close-btn { display: flex; align-items: center; gap: 0.6rem; width: 100%; padding: 0.75rem 1rem; background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.2); color: var(--red); border-radius: 10px; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 500; margin-bottom: 0.7rem; transition: background 0.25s; }
.admin-close-btn:hover { background: rgba(248,113,113,0.15); }
.admin-hint { font-size: 0.6rem; color: rgba(255,255,255,0.2); letter-spacing: 1px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.admin-hint i { font-size: 0.7rem; }

.admin-main { flex: 1; overflow-y: auto; padding: 2rem; height: 100vh; background: #071120; }
.admin-pane { display: none; }
.admin-pane.active { display: block; animation: fadeInTab 0.3s ease; }
.admin-pane-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid rgba(189,232,245,0.08); }
.admin-pane-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--tertiary); display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.3rem; }
.admin-pane-header h2 i { font-size: 1.4rem; color: var(--accent); }
.admin-pane-header p { font-size: 0.78rem; color: var(--text-muted); }

.admin-stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { background: rgba(28,77,141,0.2); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.admin-stat-card .stat-num { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600; line-height: 1; margin-bottom: 0.3rem; }
.admin-stat-card .stat-label { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); display: flex; align-items: center; gap: 0.3rem; }
.admin-stat-card .stat-label i { font-size: 0.8rem; }
.stat-total .stat-num { color: var(--tertiary); }
.stat-confirmed .stat-num { color: var(--green); }
.stat-pending .stat-num { color: var(--gold); }
.stat-declined .stat-num { color: var(--red); }

.admin-group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.8rem; margin-bottom: 2rem; }
.admin-group-card { background: rgba(28,77,141,0.15); border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1.2rem; }
.admin-group-card .gc-name { font-size: 0.75rem; font-weight: 600; color: var(--tertiary); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.admin-group-card .gc-name i { font-size: 0.9rem; color: var(--accent); }
.admin-group-card .gc-bar { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; margin-bottom: 0.4rem; }
.admin-group-card .gc-fill { height: 100%; background: linear-gradient(to right, var(--accent), var(--tertiary)); border-radius: 3px; transition: width 0.5s ease; }
.admin-group-card .gc-counts { font-size: 0.65rem; color: var(--text-muted); }
.admin-group-card .gc-counts span { color: var(--green); font-weight: 600; }

.admin-section-label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.4rem; }
.admin-recent-list { display: flex; flex-direction: column; gap: 0.6rem; max-height: 240px; overflow-y: auto; }
.admin-recent-item { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 1rem; background: rgba(28,77,141,0.15); border: 1px solid var(--border); border-radius: 10px; font-size: 0.78rem; }
.admin-recent-item i { font-size: 0.9rem; flex-shrink: 0; }
.admin-recent-item .ri-name { flex: 1; color: var(--white); font-weight: 500; }
.admin-recent-item .ri-status { padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.65rem; font-weight: 600; }
.ri-status.Confirmed { background: rgba(74,222,128,0.12); color: var(--green); }
.ri-status.Declined  { background: rgba(248,113,113,0.12); color: var(--red); }
.admin-recent-item .ri-time { font-size: 0.65rem; color: var(--text-muted); flex-shrink: 0; }

.admin-toolbar { display: flex; gap: 0.8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.admin-search-wrap { position: relative; display: flex; align-items: center; }
.admin-search-wrap i { position: absolute; left: 0.8rem; color: var(--text-muted); font-size: 0.85rem; pointer-events: none; }
.admin-search-wrap input { background: rgba(15,40,84,0.5); border: 1px solid var(--border); color: var(--white); padding: 0.6rem 1rem 0.6rem 2.3rem; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; width: 240px; }
.admin-search-wrap input:focus { outline: none; border-color: var(--accent); }
.admin-search-wrap input::placeholder { color: var(--text-muted); }
.admin-toolbar select { background: rgba(15,40,84,0.5); border: 1px solid var(--border); color: var(--white); padding: 0.6rem 1rem; border-radius: 8px; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; cursor: pointer; }
.admin-toolbar select:focus { outline: none; border-color: var(--accent); }
.admin-toolbar select option { background: var(--primary); }

.admin-table-wrap { background: rgba(15,40,84,0.3); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table thead tr { background: rgba(73,136,196,0.15); }
.admin-table th { padding: 0.9rem 1rem; font-size: 0.65rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); text-align: left; }
.admin-table td { padding: 0.75rem 1rem; font-size: 0.8rem; border-bottom: 1px solid rgba(189,232,245,0.06); color: var(--text-light); }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(73,136,196,0.06); }

.admin-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.admin-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1.4rem; border-radius: 8px; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.5px; border: none; transition: all 0.25s; }
.admin-btn i { font-size: 0.9rem; }
.admin-btn.primary { background: var(--accent); color: var(--white); }
.admin-btn.primary:hover { background: var(--secondary); transform: translateY(-1px); }
.admin-btn.secondary { background: rgba(73,136,196,0.12); color: var(--accent); border: 1px solid rgba(73,136,196,0.25); }
.admin-btn.secondary:hover { background: rgba(73,136,196,0.2); }
.admin-btn.small { padding: 0.5rem 1rem; font-size: 0.72rem; }

.admin-import-drop {
  background: rgba(28,77,141,0.15);
  border: 2px dashed rgba(189,232,245,0.2);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s;
}
.admin-import-drop:hover { border-color: var(--accent); }
.admin-import-big-icon { font-size: 3rem; color: var(--accent); display: block; margin-bottom: 1rem; }
.admin-import-drop h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--tertiary); margin-bottom: 0.4rem; }
.admin-import-drop p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.admin-import-label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 2rem; background: var(--accent); color: var(--white); border-radius: 8px; cursor: pointer; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: 600; transition: background 0.3s; }
.admin-import-label:hover { background: var(--secondary); }
.admin-import-note { margin-top: 1rem; font-size: 0.7rem; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.admin-import-result { margin-top: 1.5rem; padding: 1.2rem 1.5rem; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.2); border-radius: 10px; font-size: 0.82rem; color: var(--green); }
.admin-import-result.error { background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.2); color: var(--red); }

.admin-notif-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.notif-count-text { font-size: 0.78rem; color: var(--text-muted); }
.admin-notif-list { display: flex; flex-direction: column; gap: 0.8rem; }
.admin-notif-item {
  background: rgba(28,77,141,0.2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  transition: border-color 0.2s;
}
.admin-notif-item.confirmed { border-left-color: var(--green); }
.admin-notif-item.declined  { border-left-color: var(--red); }
.admin-notif-item.unread    { background: rgba(73,136,196,0.1); }
.admin-notif-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.admin-notif-name { font-size: 0.9rem; font-weight: 600; color: var(--white); display: flex; align-items: center; gap: 0.5rem; }
.admin-notif-name i { font-size: 0.9rem; color: var(--accent); }
.admin-notif-time { font-size: 0.68rem; color: var(--text-muted); }
.admin-notif-details { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; color: var(--text-muted); }
.admin-notif-details span { display: flex; align-items: center; gap: 0.3rem; }
.admin-notif-details i { font-size: 0.8rem; color: var(--accent); }
.admin-notif-msg { margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-light); font-style: italic; padding: 0.5rem 0.8rem; background: rgba(255,255,255,0.04); border-radius: 6px; }
.admin-notif-empty { text-align: center; padding: 4rem 2rem; color: var(--text-muted); }
.admin-notif-empty i { font-size: 3rem; display: block; margin-bottom: 1rem; opacity: 0.4; }
.admin-notif-empty p { font-size: 0.82rem; }

@media (max-width: 900px) {
  .program-timeline::before { left: 20px; }
  .timeline-item, .timeline-item.right { flex-direction: column; padding-left: 60px; }
  .timeline-time, .timeline-item.right .timeline-time { width: 100%; text-align: left; position: absolute; left: 60px; top: 0; font-size: 0.9rem; }
  .timeline-dot { position: absolute; left: 0; top: 0; }
  .timeline-content { width: 100%; margin-top: 2rem; }
  .timeline-item { position: relative; }
  .venue-container { grid-template-columns: 1fr; }
  .venue-map { height: 300px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-sidebar { width: 210px; }
}
@media (max-width: 768px) {
  nav.nav { padding: 1rem 1.5rem; }
  nav.nav.scrolled { padding: 0.7rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(15,40,84,0.98); align-items: center; justify-content: center; gap: 2rem; z-index: 999; }
  .nav-links.open a { font-size: 1.1rem; letter-spacing: 3px; }
  .hero-date { gap: 1rem; }
  .date-sep { display: none; }
  .countdown { gap: 0.5rem; }
  .cd-item { min-width: 62px; padding: 0.75rem 0.9rem; }
  .cd-item span { font-size: 1.9rem; }
  .rsvp-form { padding: 2rem 1.5rem; }
  .admin-sidebar { display: none; }
  .admin-main { padding: 1rem; }
}
@media (max-width: 480px) {
  .members-grid { grid-template-columns: 1fr 1fr; }
  .member-card { padding: 1rem 1rem 1rem 3.4rem; }
  .member-name { font-size: 0.75rem; }
  .pin-box { width: 40px; height: 50px; }
}