/* ============================================
   Wedding Website - Styles
   Color Scheme: Gold, White, Green
   ============================================ */

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
  /* Colors - Gold, White, Green Palette */
  --color-gold: #D4AF37;
  --color-gold-light: #F4E4B0;
  --color-gold-dark: #B8941E;
  --color-white: #FFFFFF;
  --color-off-white: #FAFAF8;
  --color-cream: #F5F3ED;
  --color-green: #2D5016;
  --color-green-light: #799c62;
  --color-green-sage: #8B9D83;
  --color-green-soft: #C8D5C0;

  /* Neutral Colors */
  --color-black: #1A1A1A;
  --color-gray-dark: #4A4A4A;
  --color-gray: #808080;
  --color-gray-light: #D3D3D3;
  --color-gray-lighter: #F0F0F0;

  /* Semantic Colors */
  --color-success: var(--color-green);
  --color-error: #C41E3A;
  --color-warning: var(--color-gold);

  /* Gold Alpha Variations */
  --color-gold-alpha: rgba(212, 175, 55, 0.3);
  --color-gold-alpha-50: rgba(212, 175, 55, 0.5);
  --color-gold-alpha-40: rgba(212, 175, 55, 0.4);
  --color-gold-alpha-30: rgba(212, 175, 55, 0.3);
  --color-gold-alpha-25: rgba(212, 175, 55, 0.25);
  --color-gold-alpha-20: rgba(212, 175, 55, 0.2);
  --color-gold-alpha-15: rgba(212, 175, 55, 0.15);
  --color-gold-alpha-10: rgba(212, 175, 55, 0.1);
  --color-gold-alpha-05: rgba(212, 175, 55, 0.05);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-tooltip: 1060;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-black);
  background-color: var(--color-off-white);
  line-height: 1.6;
  overflow-x: hidden;
  /* Add padding for fixed navbar - prevents content from being hidden behind navbar */
  padding-top: 72px;
}

/* When navbar is hidden (in editor), remove padding */
body.navbar-hidden {
  padding-top: 0;
}

/* For mobile - ensure content is not hidden */
@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-green);
}

h1 {
  font-size: var(--text-5xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
  border: none;
  background: none;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-xl) 0;
}

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

.hidden {
  display: none !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gold accent line */
.gold-accent {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--color-gold) 50%,
      transparent 100%);
  margin: var(--space-lg) auto;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  z-index: var(--z-sticky);
  transition: transform var(--transition-base);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-green);
  font-weight: 700;
}

.navbar-brand span {
  color: var(--color-gold);
}

.navbar-menu {
  display: flex;
  gap: var(--space-md);
  list-style: none;
  align-items: center;
}

/* Medium screens - smaller gaps */
@media (max-width: 1100px) and (min-width: 769px) {
  .navbar-menu {
    gap: var(--space-sm);
  }

  .navbar-menu a {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.9rem;
  }

  .nav-login-btn {
    padding: 4px 12px !important;
    font-size: 0.85rem !important;
  }
}

.navbar-menu a {
  color: var(--color-green);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-align: center;
}

.navbar-menu a:hover {
  background: var(--color-cream);
  color: var(--color-gold-dark);
}

.login-btn {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
}

.logout-btn {
  background: var(--color-green);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
}

.logout-btn:hover {
  background: var(--color-green-light);
  transform: translateY(-2px);
}

.nav-login-btn {
  background: var(--color-gold) !important;
  color: var(--color-white) !important;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  transition: all var(--transition-base) !important;
  white-space: nowrap;
}

.nav-login-btn:hover {
  background: var(--color-gold-dark) !important;
  color: var(--color-white) !important;
  transform: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-green);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.9), rgba(74, 124, 44, 0.8)),
    url('assets/hero-bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-md) var(--space-2xl) var(--space-2xl);
}

.hero-subtitle {
  font-size: var(--text-xl);
  color: var(--color-gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .ampersand {
  color: var(--color-gold);
  font-style: italic;
}

.hero-date {
  font-size: var(--text-2xl);
  color: var(--color-gold-light);
  margin-bottom: var(--space-xl);
  font-family: var(--font-heading);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-sm);
  border-radius: var(--radius-md);
  border: 2px solid var(--color-gold-alpha, rgba(212, 175, 55, 0.3));
}

.countdown-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
}

.countdown-label {
  font-size: 1rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator::before {
  content: '↓';
  font-size: var(--text-3xl);
  color: var(--color-gold);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-title {
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.section-subtitle {
  color: var(--color-gray-dark);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Story Timeline
   ============================================ */
.story-timeline {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

/* Dynamiczna złota linia czasu - osobny element */
.timeline-track {
  position: absolute;
  display: flex;
  z-index: 1;
  pointer-events: none;
}

.timeline-segment {
  height: 5px;
  transition: all 0.4s ease;
  margin-right: -3px;
  flex-shrink: 0;
  position: relative;
}

/* Blend segments smoothly - overlap with fade */
.timeline-segment::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: inherit;
}

.timeline-segment.segment-past {
  background: var(--color-gold);
}

.timeline-segment.segment-future-gradient {
  background: linear-gradient(90deg,
      var(--color-gold) 0%,
      var(--color-gold-alpha-50, rgba(212, 175, 55, 0.5)) 60%,
      var(--color-gold-alpha-25, rgba(212, 175, 55, 0.25)) 100%);
}

.timeline-segment.segment-future-light {
  background: var(--color-gold-alpha-25, rgba(212, 175, 55, 0.25));
}

/* Kreska pionowa łącząca linię z kafelkiem */
.timeline-marker {
  position: absolute;
  width: 3px;
  border-radius: 1.5px;
  background: linear-gradient(180deg,
      transparent 0%,
      var(--color-gold) 20%,
      var(--color-gold) 80%,
      transparent 100%);
  z-index: 2;
  transition: all 0.4s ease;
}

.timeline-marker.marker-future {
  background: linear-gradient(180deg,
      transparent 0%,
      var(--color-gold-alpha-50, rgba(212, 175, 55, 0.5)) 20%,
      var(--color-gold-alpha-50, rgba(212, 175, 55, 0.5)) 80%,
      transparent 100%);
  opacity: 0.6;
}

/* Desktop: Horizontal Timeline */
@media (min-width: 769px) {
  .story-timeline-wrapper {
    position: relative;
    overflow: hidden;
    /* Inherit background from parent section for seamless fade */
    background: inherit;
  }

  .story-timeline-wrapper::before,
  .story-timeline-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    pointer-events: none;
    z-index: 10;
  }

  /* Use inherited background color for seamless blend */
  .story-timeline-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-off-white) 0%, transparent 100%);
  }

  .story-timeline-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--color-off-white) 0%, transparent 100%);
  }

  .story-timeline {
    display: flex;
    overflow-x: auto;
    gap: var(--space-3xl);
    padding: var(--space-3xl) var(--space-xl);
    padding-top: 100px;
    scroll-snap-type: x mandatory;
    /* Hide scrollbar but keep functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .story-timeline::-webkit-scrollbar {
    display: none;
  }

  .timeline-track {
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: row;
  }

  .timeline-item {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    position: relative;
    scroll-snap-align: center;
  }

  .timeline-content {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: var(--space-md) 0 0 0;
    position: relative;
    transition: all var(--transition-base);
  }

  .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow:
      var(--shadow-xl),
      0 0 0 2px var(--color-gold),
      0 0 15px var(--color-gold-alpha-30, rgba(212, 175, 55, 0.3));
  }

  /* Strzałka na kafelku wskazująca W GÓRĘ - łączy się z markerem */
  .timeline-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--color-white);
    filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.08));
  }
}

/* Mobile: Vertical Timeline */
@media (max-width: 768px) {
  .story-timeline-wrapper {
    overflow: hidden;
  }

  .timeline-track {
    left: 20px;
    top: 0;
    flex-direction: column;
    width: 5px;
  }

  .timeline-segment {
    width: 5px;
    height: auto;
    margin-bottom: -3px;
    position: relative;
  }

  /* Blend segments smoothly */
  .timeline-segment::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: inherit;
  }

  .timeline-segment.segment-past {
    background: var(--color-gold);
  }

  .timeline-segment.segment-future-gradient {
    background: linear-gradient(180deg,
        var(--color-gold) 0%,
        var(--color-gold-alpha-50, rgba(212, 175, 55, 0.5)) 60%,
        var(--color-gold-alpha-25, rgba(212, 175, 55, 0.25)) 100%);
  }

  .timeline-segment.segment-future-light {
    background: var(--color-gold-alpha-25, rgba(212, 175, 55, 0.25));
  }

  .timeline-marker {
    height: 2px !important;
    left: 10px !important;
    width: 30px !important;
    border-radius: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-gold) 20%,
        var(--color-gold) 80%,
        transparent 100%) !important;
    box-shadow: 0 0 4px rgba(212, 175, 55, 0.4);
    z-index: 5;
  }

  .timeline-marker.marker-future {
    background: linear-gradient(90deg,
        var(--color-gold) 0%,
        var(--color-gold-alpha-50, rgba(212, 175, 55, 0.5)) 60%,
        transparent 100%);
  }

  .timeline-item {
    display: flex;
    margin-bottom: var(--space-3xl);
    position: relative;
    flex-direction: row;
  }

  .timeline-content {
    flex: 1;
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-left: 50px;
    position: relative;
    transition: all var(--transition-base);
  }

  .timeline-content:hover {
    transform: translateY(-5px);
    box-shadow:
      var(--shadow-xl),
      0 0 0 2px var(--color-gold),
      0 0 15px var(--color-gold-alpha-30, rgba(212, 175, 55, 0.3));
  }

  /* Brak strzałki na mobile */
  .timeline-content::before {
    display: none;
  }
}

.timeline-date {
  font-family: var(--font-heading);
  color: var(--color-gold-dark);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.timeline-title {
  color: var(--color-green);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.timeline-description {
  color: var(--color-gray-dark);
  line-height: 1.8;
}

/* Przyszłe wydarzenia - zanikający efekt TYLKO na linii i markerach */
/* Kartki pozostają bez zmian - tylko timeline elements zanikają */

/* ============================================
   Photo Gallery
   ============================================ */
.countdown-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-2xl);
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-card-active {}

.gallery-card-active:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
}

.gallery-card-locked {
  border: 2px solid var(--color-gray-light);
  background: linear-gradient(135deg, var(--color-white), var(--color-cream));
}

.gallery-card-lock-overlay {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 10;
}

.gallery-card-lock-icon {
  font-size: var(--text-4xl);
  opacity: 0.3;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.5;
  }
}

.gallery-card-icon {
  font-size: 5rem;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.gallery-card-icon-muted {
  opacity: 0.5;
  filter: grayscale(50%);
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.gallery-card-description {
  color: var(--color-gray-dark);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 500px;
}

.gallery-card-features {
  width: 100%;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.gallery-card-features-muted {
  opacity: 0.6;
}

.gallery-feature {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-cream);
  border-radius: var(--radius-md);
  text-align: left;
}

.gallery-feature-icon {
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: bold;
  flex-shrink: 0;
}

.gallery-card-button {
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  transition: all var(--transition-base);
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
}

.gallery-card-button-active {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.gallery-card-button-active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
}

.gallery-card-button-locked {
  background: var(--color-gray-light);
  color: var(--color-gray);
  cursor: not-allowed;
  opacity: 0.6;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.upload-section {
  background: linear-gradient(135deg, var(--color-cream), var(--color-white));
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  text-align: center;
  border: 3px dashed var(--color-gold-light);
  transition: all var(--transition-base);
}

.upload-section:hover {
  border-color: var(--color-gold);
  background: var(--color-white);
}

.upload-area {
  padding: var(--space-2xl);
  cursor: pointer;
}

.upload-icon {
  font-size: var(--text-6xl);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.upload-text {
  font-size: var(--text-xl);
  color: var(--color-green);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.upload-subtext {
  color: var(--color-gray);
  font-size: var(--text-sm);
}

.file-input {
  display: none;
}

.upload-btn {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
}


/* ============================================
   Venue Cards
   ============================================ */
.venue-row {
  display: flex;
  gap: var(--space-2xl);
  align-items: stretch;
  margin-bottom: var(--space-2xl);
  min-height: 400px;
}

.venue-image-card {
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.venue-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-green-dark, rgba(45, 80, 22, 0.85)), var(--color-green, rgba(74, 124, 44, 0.75)));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-3xl);
  color: var(--color-white);
  transition: all var(--transition-base);
}



.venue-map {
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.venue-icon {
  font-size: var(--text-5xl);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.venue-title {
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  font-size: var(--text-3xl);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.venue-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.venue-name {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-gold-light);
}

.venue-address {
  font-size: var(--text-lg);
  color: var(--color-white);
  opacity: 0.95;
}

.venue-time {
  font-size: var(--text-xl);
  color: var(--color-gold);
  font-weight: 600;
  margin-top: var(--space-sm);
}

/* Mobile: Stack vertically */
@media (max-width: 768px) {
  .venue-row {
    flex-direction: column;
    min-height: auto;
  }

  .venue-image-card {
    flex: 1;
    min-height: 350px;
  }

  .venue-overlay {
    padding: var(--space-2xl);
  }

  .venue-map {
    min-height: 300px;
  }
}

/* ============================================
   Venue Compact Grid - Side by Side
   ============================================ */
.venue-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2xl);
}

.venue-compact-item {
  display: flex;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 450px;
  border: 3px solid transparent;
  transition: all var(--transition-base);
}

.venue-compact-item:hover {
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px var(--color-gold-alpha-30, rgba(212, 175, 55, 0.3)), var(--shadow-xl);
  transform: translateY(-8px);
}

.venue-compact-item .venue-image-card {
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: none;
  border-radius: 0;
}

.venue-compact-item .venue-overlay {
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.88), rgba(74, 124, 44, 0.78));
  padding: var(--space-xl);
}

.venue-compact-item .venue-icon {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-sm);
}

.venue-compact-item .venue-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-md);
}

.venue-compact-item .venue-name {
  font-size: var(--text-lg);
}

.venue-compact-item .venue-address {
  font-size: var(--text-sm);
}

.venue-compact-item .venue-time {
  font-size: var(--text-base);
}

.venue-nav-btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-white);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-top: var(--space-lg);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-gold, 0 2px 8px rgba(212, 175, 55, 0.3));
}

.venue-nav-btn:hover {
  background: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
}

.venue-map-compact {
  flex: 1;
  position: relative;
}

.venue-map-compact iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* Mobile: Stack vertically for compact grid */
@media (max-width: 768px) {
  .venue-compact-grid {
    grid-template-columns: 1fr;
  }

  .venue-compact-item {
    flex-direction: column;
    min-height: auto;
  }

  .venue-compact-item .venue-image-card {
    flex: 1;
    min-height: 350px;
  }

  .venue-compact-item .venue-overlay {
    padding: var(--space-lg) var(--space-md) var(--space-xl) var(--space-md);
  }

  .venue-map-compact {
    min-height: 250px;
  }
}

/* ============================================
   Seating Chart
   ============================================ */
.seating-search {
  max-width: 500px;
  margin: 0 auto var(--space-3xl);
}

.search-input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  border: 2px solid var(--color-gold-light);
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.tables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.table-card {
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-gold);
  transition: all var(--transition-base);
}

.table-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.table-card.user-table {
  background: linear-gradient(135deg, var(--color-gold-alpha-10, rgba(212, 175, 55, 0.1)), var(--color-gold-alpha-05, rgba(212, 175, 55, 0.05)));
  border: 3px solid var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: scale(1.02);
}

.table-card.user-table .table-number {
  color: var(--color-gold-dark);
  font-size: var(--text-4xl);
}

.table-number {
  font-size: var(--text-3xl);
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.table-name {
  color: var(--color-green);
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
}

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

.guest-list li {
  padding: var(--space-sm) 0;
  color: var(--color-gray-dark);
  border-bottom: 1px solid var(--color-gray-lighter);
}

.guest-list li:last-child {
  border-bottom: none;
}

.guest-highlight {
  background: var(--color-gold-light);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-green);
}

/* ============================================
   RSVP Form
   ============================================ */
.rsvp-section {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  color: var(--color-white);
}

.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-size: var(--text-lg);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 2px solid var(--color-gray-light);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-alpha-10, rgba(212, 175, 55, 0.1));
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.radio-group {
  display: flex;
  gap: var(--space-xl);
}

.radio-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  color: var(--color-gray-dark);
  font-weight: 500;
}

.radio-label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--color-gold);
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--text-xl);
  font-weight: 700;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-required-message {
  text-align: center;
  padding: var(--space-3xl);
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  max-width: 600px;
  margin: 0 auto;
}

.login-required-message h3 {
  color: var(--color-green);
  margin-bottom: var(--space-lg);
}

.login-required-message p {
  color: var(--color-gray-dark);
  font-size: var(--text-lg);
  margin-bottom: var(--space-xl);
}

/* ============================================
   Schedule Timeline
   ============================================ */
.schedule-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.schedule-item::before {
  content: '';
  position: absolute;
  left: 60px;
  top: 50px;
  bottom: calc(-1 * var(--space-2xl) - 10px);
  width: 2px;
  background: var(--color-gold-light);
}

.schedule-item:last-child::before {
  display: none;
}

.schedule-time {
  flex-shrink: 0;
  width: 120px;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-gold-dark);
  font-weight: 600;
}

.schedule-content {
  flex: 1;
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-gold);
}

.schedule-title {
  color: var(--color-green);
  margin-bottom: var(--space-sm);
}

.schedule-description {
  color: var(--color-gray-dark);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.contact-icon {
  font-size: var(--text-5xl);
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.contact-title {
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.contact-name {
  font-size: var(--text-lg);
  color: var(--color-gray-dark);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.contact-phone,
.contact-email {
  display: block;
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: var(--text-base);
  margin-bottom: var(--space-xs);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-phone:hover,
.contact-email:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* Legacy support */
.contact-info {
  color: var(--color-gray-dark);
  font-size: var(--text-lg);
}

.contact-link {
  color: var(--color-gold-dark);
  font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--color-green);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-sm);
  text-align: center;
}

.footer-content {
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-gold);
  margin-bottom: 0;
}

.footer-text {
  color: var(--color-green-soft);
  font-size: var(--text-base);
  margin-bottom: 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-gold);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  color: var(--color-green-soft);
}

/* ============================================
   Login Modal
   ============================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: var(--z-modal-backdrop);
  animation: fadeIn var(--transition-base);
}

.modal-backdrop.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp var(--transition-base);
  position: relative;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
  color: var(--color-white);
  padding: var(--space-2xl);
  text-align: center;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-title {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.modal-subtitle {
  color: var(--color-gold-light);
  font-size: var(--text-sm);
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: var(--text-2xl);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.modal-body {
  padding: var(--space-3xl);
}

.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--text-sm);
}

.alert-error {
  background: #FEE;
  color: var(--color-error);
  border: 1px solid var(--color-error);
}

.alert-success {
  background: #EFE;
  color: var(--color-success);
  border: 1px solid var(--color-success);
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  font-size: var(--text-2xl);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: rotate(90deg);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }

  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
  }

  .navbar-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .countdown-item {
    min-width: 0;
    padding: var(--space-md);
    border-width: 2px;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
  }

  .countdown-number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
  }

  .countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .story-timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }

  .timeline-content {
    margin-left: var(--space-2xl);
    margin-right: 0;
  }

  .timeline-content::before {
    left: -30px !important;
    border-right-color: var(--color-white) !important;
    border-left-color: transparent !important;
  }

  .timeline-marker {
    left: 20px;
    transform: translateX(0);
  }

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

  .schedule-item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .schedule-item::before {
    display: none;
  }

  .schedule-time {
    width: auto;
  }

  /* Blur notice mobile adjustments */
  .schedule-partial-notice {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: var(--space-md);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .gallery-card {
    padding: var(--space-xl);
  }

  .gallery-card-icon {
    font-size: 4rem;
  }

  .gallery-card-title {
    font-size: var(--text-xl);
  }


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

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .modal {
    width: 95%;
  }

  .modal-body {
    padding: var(--space-xl);
  }

  .rsvp-form {
    padding: var(--space-xl);
  }
}

/* ============================================
   Gallery Modal
   ============================================ */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  animation: fadeIn var(--transition-base);
}

.gallery-modal.active {
  display: flex;
}

.gallery-modal-content {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: slideUp var(--transition-base);
  position: relative;
}

.gallery-modal-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.gallery-modal-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-green);
  margin-bottom: var(--space-lg);
}

.gallery-modal-message {
  color: var(--color-gray-dark);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.gallery-modal-button {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: var(--space-md) var(--space-3xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
  cursor: pointer;
}

.gallery-modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {

  .navbar,
  .scroll-indicator,
  .upload-section,
  .modal-backdrop,
  .lightbox,
  .gallery-modal {
    display: none !important;
  }

  .section {
    page-break-inside: avoid;
  }
}

/* ============================================
   Protected Gallery Overlay
   ============================================ */
.gallery-protected-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-protected-content {
  text-align: center;
  padding: var(--space-3xl);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 400px;
}

.gallery-protected-icon {
  font-size: 4rem;
  margin-bottom: var(--space-lg);
}

.gallery-protected-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-green);
  margin-bottom: var(--space-md);
}

.gallery-protected-text {
  color: var(--color-gray-dark);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.gallery-protected-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
}

.gallery-protected-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
  color: var(--color-white);
}

/* ============================================
   Guest Login Button
   ============================================ */
.guest-login-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: var(--space-md) var(--space-2xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-lg);
  text-decoration: none;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base);
}

.guest-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--color-gold-alpha-40, rgba(212, 175, 55, 0.4));
  color: var(--color-white);
}

.guest-login-btn small {
  display: block;
  font-size: var(--text-sm);
  font-weight: 400;
  opacity: 0.8;
}

/* ============================================
   Protected Schedule Overlay
   ============================================ */
.schedule-protected-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 253, 250, 0.95) 0%, rgba(248, 245, 240, 0.98) 100%);
  backdrop-filter: blur(8px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-protected-content {
  flex: 1;
  max-width: 500px;
  text-align: left;
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: var(--space-xl);
  border-left: 4px solid var(--color-gold);
}

.schedule-protected-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.schedule-protected-title {
  color: var(--color-green);
  margin-bottom: var(--space-sm);
}

.schedule-protected-text {
  color: var(--color-gray-dark);
  margin: 0;
}

/* Schedule item per-tile blur */
.schedule-item.tile-blurred {
  position: relative;
}

/* Blur all direct children except the notice */
.schedule-item.tile-blurred>*:not(.schedule-partial-notice) {
  filter: blur(8px);
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
}

/* Blur the golden connecting line when event is blurred */
.schedule-item.tile-blurred::before {
  filter: blur(8px);
  opacity: 0.4;
}

/* Notice inside blurred tile should NOT be blurred */
.schedule-item.tile-blurred .schedule-partial-notice {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 20;
}

/* Schedule timeline container for partial blur overlay positioning */
.schedule-timeline {
  position: relative;
}

/* Partial blur overlay - now fills entire parent event */
.schedule-partial-notice {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-gold);
  z-index: 20;
  overflow: hidden;
  text-align: center;
}

.schedule-partial-notice .notice-icon {
  font-size: 2rem;
}

.schedule-partial-notice .notice-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.schedule-partial-notice .notice-text {
  color: var(--color-green);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.schedule-partial-notice .notice-description {
  color: var(--color-gray-dark);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin: 0;
}