/* ============================================
   Wedding Palmira Garden - Elegant Styles
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
   :root {
    /* Accent Colors */
    --color-accent-primary: #124734;
    --color-accent-secondary: #96694C;
    --color-accent-gold: #C9A96E;
    --color-accent-cream: #F5EFE6;
    
    /* Text Colors */
    --color-heading: #1a1a1a;
    --color-text: #4a4a4a;
    --color-text-light: #8a8a8a;
    --color-text-muted: #b0b0b0;
    
    /* Button Colors */
    --color-button-bg: #124734;
    --color-button-text: #ffffff;
    
    /* Background Colors */
    --color-bg: #FEFCF9;
    --color-bg-light: #F8F5F0;
    --color-bg-cream: #FAF8F5;
    --color-bg-dark: #0f2e22;
    --color-bg-card: #ffffff;
    
    /* Border Colors */
    --color-border: #E8E2D9;
    --color-border-light: #F0EBE3;
    
    /* Status Colors */
    --color-success: #2E7D32;
    --color-warning: #E65100;
    --color-danger: #C62828;
    --color-info: #0277BD;
    
    /* Border Radius */
    --radius-image: 16px;
    --radius-button: 55px;
    --radius-card: 20px;
    --radius-input: 10px;
    --radius-full: 9999px;
    
    /* Fonts */
    --font-heading: 'Arkhip', 'Playfair Display', Georgia, serif;
    --font-text: 'Geometria', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 72px;
    --spacing-4xl: 96px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(18, 71, 52, 0.04);
    --shadow-md: 0 8px 24px rgba(18, 71, 52, 0.08);
    --shadow-lg: 0 16px 48px rgba(18, 71, 52, 0.12);
    --shadow-glow: 0 0 40px rgba(150, 105, 76, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  /* ============================================
     Font Faces
     ============================================ */
  @font-face {
    font-family: 'Arkhip';
    src: url('../fonts/Arkhip-Regular.woff2') format('woff2'),
         url('../fonts/Arkhip-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Geometria';
    src: url('../fonts/Geometria-Regular.woff2') format('woff2'),
         url('../fonts/Geometria-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'Geometria';
    src: url('../fonts/Geometria-Medium.woff2') format('woff2'),
         url('../fonts/Geometria-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
  
  /* ============================================
     Reset & Base
     ============================================ */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .main {
    flex: 1;
  }
  
  /* ============================================
     Typography
     ============================================ */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.02em;
  }
  
  h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--spacing-lg); }
  h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: var(--spacing-md); }
  h3 { font-size: 1.5rem; margin-bottom: var(--spacing-md); }
  h4 { font-size: 1.25rem; margin-bottom: var(--spacing-sm); }
  
  p { margin-bottom: var(--spacing-md); }
  
  a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  a:hover {
    color: var(--color-accent-secondary);
  }
  
  /* ============================================
     Container
     ============================================ */
  .container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
  }
  
  .container-narrow {
    max-width: 720px;
  }
  
  /* ============================================
     Header
     ============================================ */
  .header {
    background: rgba(254, 252, 249, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border-light);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .logo-img {
    height: 40px;
    width: auto;
    transition: opacity var(--transition-fast);
  }
  
  .logo:hover .logo-img {
    opacity: 0.8;
  }
  
  .logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-heading);
    font-weight: 400;
    letter-spacing: 0.02em;
  }
  
  .nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
  }
  
  .nav-link {
    font-size: 0.9375rem;
    color: var(--color-text);
    transition: color var(--transition-fast);
    position: relative;
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-secondary);
    transition: width var(--transition-fast);
  }
  
  .nav-link:hover {
    color: var(--color-accent-primary);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  .nav-btn {
    margin-left: var(--spacing-sm);
  }
  
  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
  }
  
  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-heading);
    transition: var(--transition-fast);
  }
  
  /* ============================================
     Footer
     ============================================ */
  .footer {
    background: var(--color-bg-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    margin-top: auto;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }
  
  .footer-links {
    display: flex;
    gap: var(--spacing-lg);
  }
  
  .footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
  }
  
  .footer-links a:hover {
    color: rgba(255, 255, 255, 1);
  }
  
  .footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
  }
  
  /* ============================================
     Buttons
     ============================================ */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 14px 28px;
    font-family: var(--font-text);
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-button);
    cursor: pointer;
    transition: all var(--transition-fast);
    letter-spacing: 0.02em;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--color-button-bg) 0%, #1a5c45 100%);
    color: var(--color-button-text);
    box-shadow: 0 4px 16px rgba(18, 71, 52, 0.25);
    position: relative;
    overflow: hidden;
  }
  
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 71, 52, 0.35);
    color: var(--color-button-text);
  }
  
  .btn-primary:hover::before {
    left: 100%;
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--color-button-bg);
    border: 2px solid var(--color-button-bg);
  }
  
  .btn-secondary:hover {
    background-color: var(--color-button-bg);
    color: var(--color-button-text);
  }
  
  .btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
    border-radius: var(--radius-full);
  }
  
  .btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
  }
  
  .btn-telegram {
    background: linear-gradient(135deg, #0088cc 0%, #0077b5 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.3);
  }
  
  .btn-telegram:hover {
    background: linear-gradient(135deg, #0077b5 0%, #006699 100%);
    color: white;
    transform: translateY(-2px);
  }
  
  .btn-telegram svg {
    width: 20px;
    height: 20px;
  }
  
  /* ============================================
     Hero Section - Minimal Design
     ============================================ */
  .hero-minimal {
    position: relative;
    padding: var(--spacing-4xl) 0 var(--spacing-3xl);
    text-align: center;
    background: var(--color-bg);
    overflow: hidden;
  }
  
  .hero-minimal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/img/wedding-main.webp') center/cover no-repeat;
    z-index: 0;
  }
  
  .hero-minimal::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
      rgba(254, 252, 249, 0.85) 0%, 
      rgba(254, 252, 249, 0.88) 50%,
      rgba(254, 252, 249, 0.95) 100%
    );
    z-index: 1;
  }
  
  .hero-minimal__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
  }
  
  /* Status badge */
  .hero-minimal__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-light);
    background: var(--color-bg-light);
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-lg);
  }
  
  .hero-minimal__status--active {
    color: var(--color-accent-primary);
    background: rgba(18, 71, 52, 0.08);
  }
  
  .hero-minimal__status--winner {
    color: var(--color-accent-gold);
    background: rgba(201, 169, 110, 0.12);
  }
  
  .hero-minimal__status-dot {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
  }
  
  @keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  
  /* Title */
  .hero-minimal__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--color-heading);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
  }
  
  /* Venue */
  .hero-minimal__venue {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-xl);
  }
  
  /* Timeline */
  .hero-minimal__timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg) 0;
    flex-wrap: wrap;
  }
  
  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 var(--spacing-sm);
    min-width: 100px;
  }
  
  .timeline-item__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
  }
  
  .timeline-item__date {
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 500;
    white-space: nowrap;
  }
  
  .timeline-item--active .timeline-item__label {
    color: var(--color-accent-primary);
  }
  
  .timeline-item--active .timeline-item__date {
    color: var(--color-heading);
  }
  
  .timeline-divider {
    width: 32px;
    height: 1px;
    background: var(--color-border);
    flex-shrink: 0;
  }
  
  /* Timeline Mobile */
  @media (max-width: 540px) {
    .hero-minimal__timeline {
      flex-direction: column;
      gap: var(--spacing-sm);
      align-items: stretch;
      max-width: 220px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .timeline-item {
      flex-direction: row;
      justify-content: space-between;
      padding: var(--spacing-xs) 0;
      min-width: auto;
      border-bottom: 1px solid var(--color-border-light);
    }
    
    .timeline-item:last-child {
      border-bottom: none;
    }
    
    .timeline-divider {
      display: none;
    }
  }
  
  /* Actions */
  .hero-minimal__actions {
    margin-top: var(--spacing-md);
  }
  
  .hero-minimal__hint {
    font-size: 0.9375rem;
    color: var(--color-text);
    margin: 0;
  }
  
  /* Animations */
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Legacy hero support (keep for other pages) */
  .hero {
    position: relative;
    padding: var(--spacing-3xl) 0 var(--spacing-2xl);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFDFB 0%, #FDF8F3 30%, #FAF5EF 70%, #F5EDE4 100%);
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-xl);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-out;
    box-shadow: 0 4px 20px rgba(150, 105, 76, 0.1);
    font-weight: 500;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-heading);
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-2xl);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
  }
  
  .hero-note {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 1s ease-out 0.8s both;
    font-style: italic;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    animation: fadeInUp 1s ease-out 0.9s both;
  }
  
  .hero-cta .btn {
    padding: 18px 48px;
    font-size: 1rem;
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
  }
  
  /* ============================================
     Contest Dates - Timeline Style
     ============================================ */
  .contest-dates {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
    margin: var(--spacing-2xl) auto var(--spacing-xl);
    max-width: 900px;
    position: relative;
    animation: fadeInUp 1s ease-out 0.7s both;
  }
  
  .date-item {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-card);
    box-shadow: 0 4px 24px rgba(150, 105, 76, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.15);
    position: relative;
    transition: all var(--transition-normal);
    z-index: 1;
  }
  
  .date-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(150, 105, 76, 0.12);
    border-color: var(--color-accent-gold);
    background: rgba(255, 255, 255, 0.9);
  }
  
  /* Номер этапа */
  .date-item::before {
    content: attr(data-step);
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #D4AF37 100%);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
  }
  
  .date-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 500;
  }
  
  .date-value {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-heading);
    line-height: 1.5;
  }
  
  /* ============================================
     Section
     ============================================ */
  .section {
    padding: var(--spacing-3xl) 0;
  }
  
  .participants-section {
    background: var(--color-bg-cream);
  }
  
  .prizes-section {
    background: var(--color-bg-card);
    position: relative;
  }

  .prizes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--spacing-xl);
    align-items: stretch;
  }

  .prize-card {
    position: relative;
    border-radius: var(--radius-card);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #ffffff 0%, #faf5ee 100%);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .prize-card--first {
    border: 1px solid rgba(201, 169, 110, 0.5);
    box-shadow: var(--shadow-md), 0 0 40px rgba(201, 169, 110, 0.25);
  }

  .prize-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    background: rgba(18, 71, 52, 0.06);
    color: var(--color-accent-primary);
  }

  .prize-card--first .prize-card-badge {
    background: linear-gradient(135deg, var(--color-accent-gold), #d4af37);
    color: #fff;
  }

  .prize-card-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-md);
  }

  .prize-card-list {
    list-style: none;
    display: grid;
    gap: 8px;
    padding-left: 0;
  }

  .prize-card-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.975rem;
    color: var(--color-text);
  }

  .prize-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.9em;
    width: 10px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-accent-secondary);
    transform: translateY(-50%);
  }

  /* Prizes Grid - Responsive */
  @media (max-width: 768px) {
    .prizes-grid {
      grid-template-columns: 1fr;
      gap: var(--spacing-lg);
    }
    
    .prize-card {
      padding: var(--spacing-lg);
    }
    
    .prize-card-title {
      font-size: 1.25rem;
    }
    
    .prize-card-list li {
      font-size: 0.9375rem;
    }
  }
  
  @media (max-width: 480px) {
    .prizes-grid {
      gap: var(--spacing-md);
    }
    
    .prize-card {
      padding: var(--spacing-md);
      border-radius: 16px;
    }
    
    .prize-card-badge {
      font-size: 0.8125rem;
      padding: 5px 14px;
    }
    
    .prize-card-title {
      font-size: 1.125rem;
      margin-bottom: var(--spacing-sm);
    }
    
    .prize-card-list {
      gap: 6px;
    }
    
    .prize-card-list li {
      font-size: 0.875rem;
      padding-left: 20px;
    }
    
    .prize-card-list li::before {
      width: 8px;
    }
  }
  
  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
  }
  
  .section-title {
    margin-bottom: 0;
    position: relative;
    display: inline-block;
  }
  
  
  /* ============================================
     Sort Controls
     ============================================ */
  .sort-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--color-bg-card);
    padding: 6px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
  }
  
  .sort-label {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    padding: 0 var(--spacing-sm);
  }
  
  .sort-btn {
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--color-text);
    background: transparent;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
  }
  
  .sort-btn:hover {
    color: var(--color-accent-primary);
  }
  
  .sort-btn.active {
    background: var(--color-accent-primary);
    color: white;
    box-shadow: 0 2px 8px rgba(18, 71, 52, 0.2);
  }
  
  /* ============================================
     Wedding Grid - Modern Cards
     ============================================ */
  .wedding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-xl);
  }
  
  .wedding-card {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    background: var(--color-bg-card);
  }
  
  .wedding-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-12px);
  }
  
  .wedding-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  
  .wedding-card-image {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
  }
  
  .wedding-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .wedding-card:hover .wedding-card-image img {
    transform: scale(1.1);
  }
  
  /* Градиент поверх фото */
  .wedding-card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 30%,
      rgba(0, 0, 0, 0) 60%
    );
    z-index: 1;
    transition: opacity var(--transition-fast);
  }
  
  /* Декоративная рамка при наведении */
  .wedding-card-image::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: calc(var(--radius-card) - 8px);
    z-index: 2;
    opacity: 0;
    transition: all var(--transition-normal);
  }
  
  .wedding-card:hover .wedding-card-image::after {
    opacity: 1;
    inset: 16px;
  }
  
  /* Контент поверх фото */
  .wedding-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    z-index: 3;
    color: white;
  }
  
  .wedding-card-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-xs);
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
  }
  
  .wedding-card-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
  }
  
  .wedding-card-date svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
  }
  
  .wedding-card-votes {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    margin-top: var(--spacing-sm);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .wedding-card-votes svg {
    width: 16px;
    height: 16px;
    fill: #ff6b6b;
  }
  
  .votes-count {
    font-weight: 600;
    font-size: 1rem;
  }
  
  /* Бейдж рейтинга */
  .wedding-card-rank {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    min-width: 44px;
    height: 44px;
    padding: 0 var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, #D4AF37 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: white;
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.4);
    z-index: 4;
    transition: all var(--transition-fast);
  }
  
  .wedding-card:hover .wedding-card-rank {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.5);
  }
  
  /* Кнопка "Смотреть" при наведении */
  .wedding-card-action {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-heading);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    z-index: 5;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .wedding-card-action svg {
    width: 16px;
    height: 16px;
  }
  
  .wedding-card:hover .wedding-card-action {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  
  /* ============================================
     Pagination
     ============================================ */
  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-2xl);
  }
  
  .pagination-link {
    padding: 12px 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-full);
    color: var(--color-text);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
  }
  
  .pagination-link:hover {
    background: var(--color-accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }
  
  .pagination-info {
    font-size: 0.875rem;
    color: var(--color-text-light);
    padding: 0 var(--spacing-md);
  }
  
  /* ============================================
     Wedding Page - Hero Section
     ============================================ */
  .wedding-hero {
    position: relative;
    min-height: 32vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
  }
  
  .wedding-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }
  
  .wedding-hero__bg img {
    width: 100%;
      height: 100%;
      object-fit: cover;
      filter: blur(10px);
      transform: scale(1.1);
  }
  
  .wedding-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
  }
  
  .wedding-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: var(--spacing-3xl) 0;
    color: white;
    text-align: center;
  }
  
  .wedding-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  }
  
  .wedding-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
  }
  
  .wedding-hero__date {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0;
  }
  
  .wedding-hero__date svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
  }
  
  .wedding-hero__venue {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .wedding-hero__venue svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
  }
  
  .wedding-hero__votes {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .wedding-hero__votes-count {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    font-weight: 500;
  }
  
  .wedding-hero__votes-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* ============================================
     Wedding Hero Description
     ============================================ */
  .wedding-hero__description {
    max-width: 600px;
    margin: var(--spacing-lg) auto 0;
    text-align: center;
  }
  
  .wedding-hero__description p {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  /* ============================================
     Wedding Gallery Section
     ============================================ */
  .wedding-gallery-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-cream);
  }
  
  .wedding-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
  }
  
  .wedding-gallery--few {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .wedding-gallery__item {
    aspect-ratio: 5/6;
    border-radius: var(--radius-image);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
  }
  
  .wedding-gallery__item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
  }
  
  .wedding-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  
  .wedding-gallery__item:hover img {
    transform: scale(1.08);
  }
  
  .wedding-gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-fast);
    color: white;
  }
  
  .wedding-gallery__item:hover .wedding-gallery__item-overlay {
    opacity: 1;
  }
  
  /* ============================================
     Wedding Actions Section
     ============================================ */
  .wedding-actions-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg);
  }
  
  /* Vote Card */
  .vote-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    padding: var(--spacing-2xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
  }
  
  .vote-card__header {
    margin-bottom: 16px;
  }
  
  .vote-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .vote-card__subtitle {
    color: var(--color-text-light);
    margin-bottom: 0;
  }
  
  .vote-card__step {
    animation: fadeIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .vote-card__btn {
    width: 100%;
    max-width: 400px;
    line-height: 1.2em;
    padding: 14px 24px;
  }
  
  .vote-card--closed {
    background: var(--color-bg-light);
  }
  
  .vote-card__closed-text {
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
  }
  
  .vote-card__closed-dates {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0;
  }
  
  /* Vote Code */
  .vote-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-bg-light);
    border-radius: var(--radius-card);
  }
  
  .vote-code__label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  
  .vote-code__value {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent-primary);
    letter-spacing: 0.3em;
    font-weight: 500;
  }
  
  .vote-card__instruction {
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    text-align: center;
    max-width: 100%;
  }
  
  .vote-timer {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-lg);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-light);
    border-radius: var(--radius-full);
  }
  
  /* Vote Success */
  .vote-success {
    padding: var(--spacing-xl);
  }
  
  .vote-success__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--color-success) 0%, #43a047 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
  }
  
  .vote-success__title {
    font-size: 1.5rem;
    color: var(--color-success);
    margin-bottom: var(--spacing-xs);
  }
  
  .vote-success__text {
    color: var(--color-text);
    margin-bottom: 0;
  }
  
  .vote-error {
    color: var(--color-danger);
    background: rgba(198, 40, 40, 0.1);
    padding: var(--spacing-md);
    border-radius: var(--radius-button);
    margin-top: var(--spacing-md);
  }
  
  /* Share Card */
  .share-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    padding: var(--spacing-xl);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--color-border-light);
  }
  
  .share-card__title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
  }
  
  .share-card__text {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
  }
  
  .share-card__buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
  }
  
  .share-card__buttons .btn {
    min-width: 180px;
  }
  
  /* ============================================
     Wedding Status Page
     ============================================ */
  .wedding-status-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-cream);
  }
  
  .status-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    padding: var(--spacing-2xl) var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
  }
  
  .status-card__icon {
    width: 100px;
    height: 100px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .status-card--pending .status-card__icon {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #f57c00;
  }
  
  .status-card--warning .status-card__icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
  }
  
  .status-card--rejected .status-card__icon {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
  }
  
  .status-card__title {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
  }
  
  .status-card__text {
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
  }
  
  .status-card__hint {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text-light);
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-button);
  }
  
  .status-card__comment {
    background: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-button);
    margin: var(--spacing-lg) 0;
    text-align: left;
    border-left: 4px solid var(--color-accent-secondary);
  }
  
  .status-card__comment--danger {
    border-left-color: var(--color-danger);
    background: rgba(198, 40, 40, 0.05);
  }
  
  .status-card__comment-label {
    font-size: 0.75rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
  }
  
  .status-card__comment p {
    margin-bottom: 0;
    color: var(--color-text);
  }
  
  .status-card__error {
    color: var(--color-danger);
    font-weight: 500;
  }
  
  .status-actions {
    text-align: center;
    margin-top: var(--spacing-xl);
  }
  
  .update-form {
    margin-top: var(--spacing-lg);
    text-align: left;
  }
  
  /* Legacy status styles for compatibility */
  .status-pending {
    background: linear-gradient(135deg, #fff8e1 0%, #fff 100%);
    border: 1px solid #ffe082;
  }
  
  .status-warning {
    background: linear-gradient(135deg, #fff3e0 0%, #fff 100%);
    border: 1px solid #ffcc80;
  }
  
  .status-danger {
    background: linear-gradient(135deg, #ffebee 0%, #fff 100%);
    border: 1px solid #ef9a9a;
  }
  
  .manager-comment,
  .reject-reason {
    background: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-button);
    margin: var(--spacing-md) 0;
    text-align: left;
    box-shadow: var(--shadow-sm);
  }
  
  .status-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
  }
  
  .status-error {
    color: var(--color-danger);
  }
  
  /* ============================================
     Forms
     ============================================ */
  .form-group {
    margin-bottom: var(--spacing-lg);
  }
  
  .form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
    color: var(--color-heading);
  }
  
  .form-input,
  .form-select {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-text);
    font-size: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-input);
    transition: all var(--transition-fast);
    background: var(--color-bg-card);
  }
  
  .form-input:focus,
  .form-select:focus {
    outline: none;
    border-color: var(--color-accent-primary);
    box-shadow: 0 0 0 4px rgba(18, 71, 52, 0.1);
  }
  
  .form-hint {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    margin-top: var(--spacing-xs);
  }
  
  .form-error {
    color: var(--color-danger);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
  }
  
  .form-error-global {
    background: linear-gradient(135deg, #ffebee 0%, #fff 100%);
    color: var(--color-danger);
    padding: var(--spacing-md);
    border-radius: var(--radius-button);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(198, 40, 40, 0.2);
  }
  
  .required {
    color: var(--color-danger);
  }
  
  .optional {
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 0.875rem;
  }
  
  /* File Upload */
  .file-upload {
    position: relative;
  }
  
  .file-input {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
  }
  
  .file-upload-area {
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-card);
    padding: var(--spacing-2xl);
    text-align: center;
    transition: all var(--transition-fast);
    background: var(--color-bg-card);
  }
  
  .file-upload:hover .file-upload-area,
  .file-upload-area.dragover {
    border-color: var(--color-accent-primary);
    background: rgba(18, 71, 52, 0.02);
  }
  
  .file-upload-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
  }
  
  .file-upload-text {
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
  }
  
  .file-upload-link {
    color: var(--color-accent-primary);
    font-weight: 500;
  }
  
  .file-upload-hint {
    font-size: 0.8125rem;
    color: var(--color-text-light);
  }
  
  /* File Preview */
  .file-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
  }
  
  .file-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }
  
  .file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .file-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: background var(--transition-fast);
  }
  
  .file-preview-remove:hover {
    background: var(--color-danger);
  }
  
  .file-preview-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4px 6px;
    background: rgba(0,0,0,0.7);
    color: white;
    font-size: 0.6875rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Checkbox */
  .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    cursor: pointer;
  }
  
  .checkbox-label input {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    accent-color: var(--color-accent-primary);
    flex-shrink: 0;
  }
  
  .checkbox-text {
    font-size: 0.9375rem;
  }
  
  /* ============================================
     Modal
     ============================================ */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
  }
  
  .modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-card);
    padding: var(--spacing-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.4s ease-out;
  }
  
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .modal-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
  }
  
  .modal-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--color-success) 0%, #43a047 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.3);
  }
  
  .personal-link {
    display: flex;
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
  }
  
  .personal-link input {
    flex: 1;
    font-size: 0.875rem;
  }
  
  .modal-info {
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-button);
    margin: var(--spacing-md) 0;
  }
  
  .modal-info p {
    margin-bottom: var(--spacing-xs);
    font-size: 0.875rem;
  }
  
  .modal-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-lg);
  }
  
  /* ============================================
     Lightbox
     ============================================ */
  .lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
  }
  
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: var(--spacing-md);
    opacity: 0.7;
    transition: all var(--transition-fast);
  }
  
  .lightbox-close:hover,
  .lightbox-prev:hover,
  .lightbox-next:hover {
    opacity: 1;
    transform: scale(1.1);
  }
  
  .lightbox-close {
    top: var(--spacing-md);
    right: var(--spacing-md);
  }
  
  .lightbox-prev {
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
  }
  
  .lightbox-prev:hover {
    transform: translateY(-50%) scale(1.1);
  }
  
  .lightbox-next {
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
  }
  
  .lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
  }
  
  .lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
  }
  
  .lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-image);
  }
  
  .lightbox-counter {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.875rem;
    background: rgba(0,0,0,0.5);
    padding: 8px 16px;
    border-radius: var(--radius-full);
  }
  
  /* ============================================
     Pages
     ============================================ */
  .page-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
  }
  
  /* Rules Page */
  .rules-content {
    background: var(--color-bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
  }
  
  .rules-content h2 {
    margin-top: var(--spacing-xl);
    color: var(--color-accent-primary);
    font-size: 1.25rem;
  }
  
  .rules-content h2:first-child {
    margin-top: 0;
  }
  
  .rules-content ul,
  .rules-content ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
  }
  
  .rules-content li {
    margin-bottom: var(--spacing-sm);
  }
  
  .rules-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
  }
  
  /* ============================================
     Winner Page
     ============================================ */
  .wn-page {
    padding-bottom: var(--spacing-2xl);
  }

  .winner-pending {
    text-align: center;
    padding: var(--spacing-3xl) 0;
  }

  .winner-icon {
    font-size: 5rem;
    margin-bottom: var(--spacing-md);
  }

  .winner-date {
    font-size: 1.75rem;
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-xl);
    font-family: var(--font-heading);
  }

  .winner-note {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
  }

  .winner-cta {
    text-align: center;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
  }

  /* --- Hero Banner --- */
  .wn-hero-banner {
    background: linear-gradient(160deg, var(--color-bg-dark) 0%, #1a3d2e 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
    position: relative;
    overflow: hidden;
  }

  .wn-hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
    pointer-events: none;
  }

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

  .wn-hero-banner__eyebrow {
    color: var(--color-accent-gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
  }

  .wn-hero-banner__title {
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
  }

  .wn-hero-banner__line {
    width: 60px;
    height: 2px;
    background: var(--color-accent-gold);
    margin: 0 auto var(--spacing-md);
  }

  .wn-hero-banner__sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* =========================================
     1-Е МЕСТО — GOLD
     ========================================= */
  .wn-gold {
    margin-bottom: var(--spacing-2xl);
  }

  .wn-gold__inner {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 20px rgba(201, 169, 110, 0.08);
    padding: var(--spacing-md);
    position: relative;
  }

  /* Главное фото */
  .wn-gold__photo {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    position: relative;
    flex-shrink: 0;
  }

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

  .wn-gold__photo:hover img {
    transform: scale(1.02);
  }

  .wn-gold__place {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.95), rgba(180, 145, 80, 0.95));
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  /* Центр — инфо */
  .wn-gold__center {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .wn-gold__label {
    display: block;
    color: var(--color-accent-gold);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
  }

  .wn-gold__name {
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
  }

  .wn-gold__name a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .wn-gold__name a:hover {
    color: var(--color-accent-primary);
  }

  .wn-gold__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--spacing-md);
  }

  .wn-gold__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-light);
    font-size: 0.9rem;
  }

  .wn-gold__meta-item svg {
    opacity: 0.5;
    flex-shrink: 0;
  }

  .wn-gold__divider {
    width: 40px;
    height: 2px;
    background: var(--color-accent-gold);
    margin-bottom: var(--spacing-md);
    opacity: 0.6;
  }

  .wn-gold__votes {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: var(--spacing-md);
  }

  .wn-gold__votes-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-secondary);
    font-family: var(--font-heading);
    line-height: 1;
  }

  .wn-gold__votes-text {
    color: var(--color-text-light);
    font-size: 0.95rem;
  }

  .wn-gold__btn {
    align-self: flex-start;
  }

  /* Мозаика */
  .wn-gold__mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    border-radius: 14px;
    overflow: hidden;
  }

  .wn-gold__mosaic-tall {
    display: block;
    grid-row: span 2;
    border-radius: 12px;
    overflow: hidden;
  }

  .wn-gold__mosaic-tall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
  }

  .wn-gold__mosaic-tall:hover img {
    transform: scale(1.03);
  }

  .wn-gold__mosaic-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .wn-gold__mosaic-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    position: relative;
  }

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

  .wn-gold__mosaic-item:hover img {
    transform: scale(1.03);
  }

  .wn-gold__mosaic-last {
    position: relative;
  }

  .wn-gold__mosaic-count {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    backdrop-filter: blur(2px);
    transition: background var(--transition-fast);
  }

  .wn-gold__mosaic-last:hover .wn-gold__mosaic-count {
    background: rgba(0, 0, 0, 0.55);
  }

  /* =========================================
     2-Е И 3-Е МЕСТО — RUNNERS
     ========================================= */
  .wn-runners {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
  }

  .wn-runner {
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  }

  .wn-runner:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  /* Фото */
  .wn-runner__photo {
    display: block;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }

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

  .wn-runner__photo:hover img {
    transform: scale(1.03);
  }

  .wn-runner__place {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: var(--color-heading);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  /* Инфо */
  .wn-runner__body {
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .wn-runner__name {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 4px;
  }

  .wn-runner__name a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .wn-runner__name a:hover {
    color: var(--color-accent-primary);
  }

  .wn-runner__date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--color-text-light);
    font-size: 0.85rem;
  }

  .wn-runner__date svg {
    opacity: 0.5;
  }

  .wn-runner__votes {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: var(--spacing-sm);
  }

  .wn-runner__votes-num {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-accent-secondary);
    font-family: var(--font-heading);
    line-height: 1;
  }

  .wn-runner__votes-text {
    color: var(--color-text-light);
    font-size: 0.85rem;
  }

  /* Мини-галерея */
  .wn-runner__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0 var(--spacing-lg);
  }

  .wn-runner__thumb {
    display: block;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
  }

  .wn-runner__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
  }

  .wn-runner__thumb:hover img {
    transform: scale(1.08);
  }

  /* Ссылка */
  .wn-runner__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: var(--spacing-md) var(--spacing-lg);
    color: var(--color-accent-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border-top: 1px solid var(--color-border-light);
    margin-top: var(--spacing-md);
    transition: color var(--transition-fast), gap var(--transition-fast);
  }

  .wn-runner__link:hover {
    color: var(--color-accent-secondary);
    gap: 10px;
  }

  .wn-runner__link svg {
    transition: transform var(--transition-fast);
  }

  .wn-runner__link:hover svg {
    transform: translateX(3px);
  }

  /* Призы */
  .wn-prizes-section {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--color-border-light);
  }

  .wn-prizes-section__title {
    text-align: center;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    margin-bottom: var(--spacing-xl);
  }

  /* =========================================
     TABLET — 640px+
     ========================================= */
  @media (min-width: 640px) {
    .wn-runners {
      flex-direction: row;
    }

    .wn-runner {
      flex: 1;
      min-width: 0;
    }

    .wn-runner__photo {
      aspect-ratio: 3 / 4;
    }
  }

  /* =========================================
     DESKTOP — 768px+
     ========================================= */
  @media (min-width: 768px) {
    .wn-gold__inner {
      flex-direction: row;
      padding: var(--spacing-lg);
      gap: var(--spacing-xl);
    }

    .wn-gold__photo {
      width: 34%;
      aspect-ratio: 3 / 4;
    }

    .wn-gold__center {
      flex: 1;
      padding: var(--spacing-sm) 0;
    }

    .wn-gold__mosaic {
      width: 28%;
      min-height: 280px;
    }

    .wn-runner__name {
      font-size: 1.15rem;
    }
  }

  /* =========================================
     LARGE DESKTOP — 1024px+
     ========================================= */
  @media (min-width: 1024px) {
    .wn-gold__inner {
      padding: var(--spacing-xl);
      gap: var(--spacing-2xl);
    }

    .wn-gold__photo {
      width: 30%;
    }

    .wn-gold__mosaic {
      width: 30%;
    }

    .wn-gold__name {
      font-size: 2.2rem;
    }

    .wn-gold__votes-num {
      font-size: 3rem;
    }

    .wn-runners {
      gap: var(--spacing-xl);
    }

    .wn-runner__name {
      font-size: 1.3rem;
    }

    .wn-runner__thumbs {
      gap: 6px;
    }
  }

  /* =========================================
     WIDE DESKTOP — 1280px+
     ========================================= */
  @media (min-width: 1280px) {
    .wn-gold__inner {
      padding: var(--spacing-2xl);
    }
  }
  
  /* Submit Page - Hero */
  .submit-hero {
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, #1a5c45 100%);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    color: white;
  }
  
  .submit-hero__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: var(--spacing-sm);
  }
  
  .submit-hero__subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
  }
  
  /* Submit Page - Layout */
  .submit-page {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-cream);
  }
  
  .submit-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
  }
  
  /* Sidebar */
  .submit-sidebar {
    position: sticky;
    top: 100px;
  }
  
  .sidebar-block {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-card);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-border-light);
  }
  
  .sidebar-block--highlight {
    background: var(--color-accent-cream);
    border-color: rgba(201, 169, 110, 0.3);
  }
  
  .sidebar-block__title {
    font-size: 1rem;
    color: var(--color-heading);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .sidebar-block__icon {
    font-size: 1.25rem;
  }
  
  .sidebar-block__text {
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
  }
  
  .sidebar-block__note {
    font-size: 0.875rem;
    color: var(--color-accent-secondary);
    margin: 0;
    font-weight: 500;
  }
  
  .sidebar-block__link {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    text-align: center;
  }
  
  .sidebar-block__link a {
    color: var(--color-accent-primary);
    font-weight: 500;
  }
  
  .sidebar-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
  }
  
  .sidebar-steps li {
    position: relative;
    padding-left: 32px;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--color-text);
    line-height: 1.5;
    counter-increment: step;
  }
  
  .sidebar-steps li:last-child {
    margin-bottom: 0;
  }
  
  .sidebar-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    background: var(--color-accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Main Form Area */
  .submit-main {
    background: white;
    border-radius: var(--radius-card);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
  }
  
  .submit-form {
    /* Reset old styles */
  }
  
  /* Form Sections */
  .form-section {
    border: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
  }
  
  .form-section__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--color-heading);
    padding: 0 0 var(--spacing-md) 0;
    margin-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--color-border-light);
  }
  
  .form-row {
    margin-bottom: var(--spacing-md);
  }
  
  .form-row:last-child {
    margin-bottom: 0;
  }
  
  .form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }
  
  /* Form Consents */
  .form-consents {
    background: var(--color-bg-light);
    padding: var(--spacing-lg);
    border-radius: 16px;
    margin-bottom: var(--spacing-lg);
  }
  
  .form-consents .form-group {
    margin-bottom: var(--spacing-sm);
  }
  
  .form-consents .form-group:last-child {
    margin-bottom: 0;
  }
  
  /* Submit Button */
  .btn-submit {
    width: 100%;
    padding: 18px 32px;
  }
  
  .form-actions {
    margin-top: var(--spacing-xl);
  }
  
  /* File Upload Update */
  .file-upload-area {
    padding: var(--spacing-2xl) var(--spacing-xl);
  }
  
  .file-upload-icon {
    color: var(--color-accent-secondary);
    margin-bottom: var(--spacing-md);
  }
  
  .file-upload-icon svg {
    width: 48px;
    height: 48px;
  }
  
  /* Responsive - Tablet Landscape */
  @media (max-width: 1024px) {
    .submit-layout {
      grid-template-columns: 260px 1fr;
      gap: var(--spacing-xl);
    }
    
    .sidebar-block {
      padding: var(--spacing-md);
    }
    
    .sidebar-block__title {
      font-size: 0.9375rem;
    }
    
    .sidebar-steps li {
      font-size: 0.8125rem;
      padding-left: 28px;
    }
    
    .sidebar-steps li::before {
      width: 20px;
      height: 20px;
      font-size: 0.6875rem;
    }
    
    .submit-main {
      padding: var(--spacing-xl);
    }
  }
  
  /* Responsive - Tablet Portrait */
  @media (max-width: 900px) {
    .submit-layout {
      grid-template-columns: 1fr;
      gap: var(--spacing-lg);
    }
    
    .submit-sidebar {
      position: static;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--spacing-md);
      order: 2;
    }
    
    .submit-main {
      order: 1;
    }
    
    .sidebar-block {
      margin-bottom: 0;
    }
    
    .sidebar-block:nth-child(3),
    .sidebar-block:nth-child(4) {
      grid-column: span 1;
    }
  }
  
  /* Responsive - Mobile Large */
  @media (max-width: 680px) {
    .submit-hero {
      padding: var(--spacing-xl) 0;
    }
    
    .submit-hero__title {
      font-size: 1.5rem;
    }
    
    .submit-hero__subtitle {
      font-size: 0.9375rem;
    }
    
    .submit-page {
      padding: var(--spacing-lg) 0;
    }
    
    .submit-sidebar {
      grid-template-columns: 1fr;
    }
    
    .submit-main {
      padding: var(--spacing-lg);
      border-radius: 12px;
    }
  
    .vote-card {
      padding: var(--spacing-lg);
      margin-bottom: var(--spacing-lg);
    }
    
    .vote-card__header {
      margin-bottom: var(--spacing-md);
    }
    
    .vote-card__title {
      font-size: 1.25rem;
      margin-bottom: var(--spacing-xs);
    }
    
    .vote-card__subtitle {
      font-size: 0.875rem;
    }
    
    .vote-card__btn {
      max-width: 100%;
      padding: 16px 20px;
      font-size: 0.9375rem;
      white-space: normal;
      word-wrap: break-word;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: var(--spacing-xs);
      text-align: center;
    }
    
    .vote-card__btn svg {
      width: 20px;
      height: 20px;
      flex-shrink: 0;
    }
    
    .vote-card__step {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    .vote-card__instruction {
      font-size: 0.9375rem;
      line-height: 1.5;
      margin-bottom: var(--spacing-md);
      padding: 0 var(--spacing-xs);
    }
    
    .vote-timer {
      font-size: 0.8125rem;
      padding: var(--spacing-xs) var(--spacing-sm);
      margin-top: var(--spacing-md);
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .vote-timer svg {
      width: 14px;
      height: 14px;
    }
    
    .vote-success {
      padding: var(--spacing-lg);
    }
    
    .vote-success__icon {
      width: 64px;
      height: 64px;
      margin-bottom: var(--spacing-sm);
    }
    
    .vote-success__icon svg {
      width: 36px;
      height: 36px;
    }
    
    .vote-success__title {
      font-size: 1.25rem;
    }
    
    .vote-success__text {
      font-size: 0.9375rem;
    }
    
    .vote-error {
      font-size: 0.875rem;
      padding: var(--spacing-sm) var(--spacing-md);
      margin-top: var(--spacing-md);
    }
    
    .form-row--half {
      grid-template-columns: 1fr;
      gap: var(--spacing-md);
    }
    
    .form-section {
      margin-bottom: var(--spacing-lg);
    }
    
    .form-section__title {
      font-size: 1rem;
      margin-bottom: var(--spacing-md);
      padding-bottom: var(--spacing-sm);
    }
    
    .form-consents {
      padding: var(--spacing-md);
    }
    
    .file-upload-area {
      padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .file-upload-icon svg {
      width: 40px;
      height: 40px;
    }
    
    .file-upload-text {
      font-size: 0.9375rem;
    }
    
    .file-upload-hint {
      font-size: 0.75rem;
    }
  }
  
  /* Responsive - Mobile Small */
  @media (max-width: 400px) {
    .vote-card {
      padding: var(--spacing-md);
      border-radius: var(--radius-button);
    }
    
    .vote-card__title {
      font-size: 1.125rem;
    }
    
    .vote-card__subtitle {
      font-size: 0.8125rem;
    }
    
    .vote-card__btn {
      padding: 14px 16px;
      font-size: 0.875rem;
      line-height: 1.4;
    }
    
    .vote-card__btn svg {
      width: 18px;
      height: 18px;
    }
    
    .vote-card__instruction {
      font-size: 0.875rem;
      padding: 0;
    }
    
    .vote-timer {
      font-size: 0.75rem;
      padding: 8px 12px;
      text-align: center;
    }
    
    .vote-success__icon {
      width: 56px;
      height: 56px;
    }
    
    .vote-success__icon svg {
      width: 32px;
      height: 32px;
    }
    
    .vote-success__title {
      font-size: 1.125rem;
    }
    
    .submit-hero {
      padding: var(--spacing-lg) 0;
    }
    
    .submit-hero__title {
      font-size: 1.375rem;
    }
    
    .submit-page .container {
      padding-left: var(--spacing-md);
      padding-right: var(--spacing-md);
    }
    
    .submit-main {
      padding: var(--spacing-md);
    }
    
    .sidebar-block {
      padding: var(--spacing-md);
    }
    
    .sidebar-block__title {
      font-size: 0.875rem;
    }
    
    .sidebar-block__text,
    .sidebar-block__note,
    .sidebar-steps li {
      font-size: 0.8125rem;
    }
    
    .form-label {
      font-size: 0.875rem;
    }
    
    .form-input {
      padding: 12px 14px;
      font-size: 1rem; /* Prevent zoom on iOS */
    }
    
    .btn-submit {
      padding: 16px 24px;
      font-size: 0.9375rem;
    }
    
    .checkbox-text {
      font-size: 0.8125rem;
    }
    
    .file-preview {
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
  }
  
  /* Restore Page */
  .restore-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
  }
  
  .restore-form {
    background: var(--color-bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-xl);
    border: 1px solid var(--color-border-light);
  }
  
  .restore-results {
    background: var(--color-bg-card);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
  }
  
  .restore-item {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-border-light);
  }
  
  .restore-item:last-child {
    border-bottom: none;
  }
  
  .restore-item-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
  }
  
  .restore-item-status {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
  }
  
  .restore-item-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
  }
  
  .restore-item-link {
    display: flex;
    gap: var(--spacing-sm);
  }
  
  .restore-note {
    text-align: center;
    margin-top: var(--spacing-xl);
    color: var(--color-text-light);
  }
  
  /* Error Page */
  .error-page {
    text-align: center;
    padding: var(--spacing-3xl) 0;
  }
  
  /* Empty State */
  .empty-state {
    text-align: center;
    padding: var(--spacing-3xl);
    color: var(--color-text-light);
    background: var(--color-bg-card);
    border-radius: var(--radius-card);
    border: 2px dashed var(--color-border);
  }
  
  .empty-state-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.5;
  }
  
  /* Closed Notice */
  .closed-notice {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-bg-light);
    border-radius: var(--radius-card);
    border: 1px solid var(--color-border-light);
  }
  
  /* Back Link */
  .back-link {
    margin-top: var(--spacing-xl);
  }
  
  /* ============================================
     Status Badges
     ============================================ */
  .status-pending { background: #fff8e1; color: #f57c00; }
  .status-warning { background: #fff3e0; color: #e65100; }
  .status-success { background: #e8f5e9; color: #2e7d32; }
  .status-danger { background: #ffebee; color: #c62828; }
  
  /* ============================================
     Responsive
     ============================================ */
  @media (max-width: 768px) {
    .nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--color-bg);
      flex-direction: column;
      padding: var(--spacing-md);
      border-top: 1px solid var(--color-border-light);
      box-shadow: var(--shadow-md);
    }
    
    .nav.active {
      display: flex;
    }
    
    .nav-toggle {
      display: flex;
    }
    
    /* Minimal Hero - Mobile */
    .hero-minimal {
      padding: var(--spacing-xl) 0;
    }
    
    .hero-minimal__title {
      font-size: 1.5rem;
    }
    
    .hero-minimal__venue {
      font-size: 0.75rem;
      margin-bottom: var(--spacing-lg);
    }
    
    .hero-minimal__hint {
      font-size: 0.875rem;
    }
    
    /* Legacy Hero - Mobile */
    .hero {
      padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .hero {
      min-height: auto;
      padding: var(--spacing-2xl) 0;
    }
    
    .hero::after,
    .hero-decor-right {
      display: none;
    }
    
    .hero-title br {
      display: none;
    }
    
    .contest-dates {
      flex-direction: column;
      gap: var(--spacing-xl);
      align-items: center;
    }
    
    .date-item {
      width: 100%;
      max-width: 280px;
    }
    
    .section-header {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .wedding-grid {
      grid-template-columns: 1fr;
      gap: var(--spacing-lg);
    }
    
    .wedding-card-image {
      aspect-ratio: 4/5;
    }
    
    .wedding-card-action {
      display: none;
    }
    
    .wedding-card-title {
      font-size: 1.25rem;
    }
    
    .footer-inner {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-links {
      flex-direction: column;
      gap: var(--spacing-sm);
    }
    
    .share-buttons {
      flex-direction: column;
    }
    
    .modal-content {
      padding: var(--spacing-lg);
    }
    
    .sort-controls {
      width: 100%;
      justify-content: center;
    }
    
    /* Wedding Page Mobile */
    .wedding-hero {
      min-height: 50vh;
    }
    
    .wedding-hero__title {
      font-size: 2rem;
    }
    
    .wedding-hero__meta {
      gap: var(--spacing-sm);
    }
    
    .wedding-hero__date,
    .wedding-hero__venue,
    .wedding-hero__votes {
      font-size: 0.875rem;
      padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    .wedding-hero__description {
      margin-top: var(--spacing-md);
    }
    
    .wedding-hero__description p {
      font-size: 0.9375rem;
    }
    
    .wedding-hero__votes-count {
      font-size: 1rem;
    }
    
    .wedding-gallery {
      grid-template-columns: 1fr;
    }
    
    .vote-code__value {
      font-size: 2rem;
      letter-spacing: 0.2em;
    }
    
    .share-card__buttons {
      flex-direction: column;
    }
    
    .share-card__buttons .btn {
      width: 100%;
    }
    
    .status-card {
      padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .status-card__icon {
      width: 80px;
      height: 80px;
    }
    
    .status-card__icon svg {
      width: 48px;
      height: 48px;
    }
  }
  
  /* ============================================
     Animations & Effects
     ============================================ */
  @media (prefers-reduced-motion: no-preference) {
    .wedding-card {
      animation: fadeInUp 0.5s ease-out both;
    }
    
    .wedding-grid .wedding-card:nth-child(1) { animation-delay: 0.1s; }
    .wedding-grid .wedding-card:nth-child(2) { animation-delay: 0.15s; }
    .wedding-grid .wedding-card:nth-child(3) { animation-delay: 0.2s; }
    .wedding-grid .wedding-card:nth-child(4) { animation-delay: 0.25s; }
    .wedding-grid .wedding-card:nth-child(5) { animation-delay: 0.3s; }
    .wedding-grid .wedding-card:nth-child(6) { animation-delay: 0.35s; }
    .wedding-grid .wedding-card:nth-child(7) { animation-delay: 0.4s; }
    .wedding-grid .wedding-card:nth-child(8) { animation-delay: 0.45s; }
    .wedding-grid .wedding-card:nth-child(9) { animation-delay: 0.5s; }
  }
  
  /* Smooth scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s ease-in-out infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
  }
  