/* Animation System for Page Content and Confetti */

/*
 * PURE CSS KEYFRAME ANIMATIONS - No JavaScript Required
 *
 * Pages using pure CSS animations:
 * - Home (home-summary, info-block-card, paragraph-fade-in, table-fade-in)
 * - Contact (contact-card, contact-section)
 * - Login (login-wrapper, login-title, login-summary, login-field, login-button, openlogin-wrapper, openlogin-card)
 * - FAQ (faq-wrapper, faq-title, faq-search, faq-expand-button, faq-group, faq-accordion-item)
 * - ImportantDates (dates-card, dates-header, dates-table, date-row)
 * - CourtDocuments (documents-card, documents-header, document-item)
 *
 * ACCESSIBILITY (WCAG 2.3.3 / prefers-reduced-motion):
 * A single @media (prefers-reduced-motion: reduce) block at the end of each
 * section sets opacity: 1, transform: none, animation: none so content is
 * immediately visible with no motion. The block is placed AFTER the normal
 * animation rules so CSS cascade ensures it wins.
 */

/* ============================================
   KEYFRAME DEFINITIONS
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpSmall {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpMedium {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpMinimal {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUpDocument {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   HOME PAGE ANIMATIONS
   ============================================ */

.home-summary {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 1s ease-out forwards;
  animation-delay: 0.1s;
}

.info-block-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.6s ease-out forwards;
}

.info-block-card:nth-of-type(1) {
  animation-delay: 0.3s;
}

.info-block-card:nth-of-type(2) {
  animation-delay: 0.5s;
}

.info-block-card:nth-of-type(3) {
  animation-delay: 0.7s;
}

.info-block-card:nth-of-type(4) {
  animation-delay: 0.9s;
}

.info-block-card:nth-of-type(5) {
  animation-delay: 1.1s;
}

.paragraph-fade-in {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUpMinimal 0.4s ease-out forwards;
}

.paragraph-fade-in:nth-of-type(1) {
  animation-delay: 0.1s;
}

.paragraph-fade-in:nth-of-type(2) {
  animation-delay: 0.15s;
}

.paragraph-fade-in:nth-of-type(3) {
  animation-delay: 0.2s;
}

.paragraph-fade-in:nth-of-type(4) {
  animation-delay: 0.25s;
}

.paragraph-fade-in:nth-of-type(5) {
  animation-delay: 0.3s;
}

.table-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.5s ease-out forwards;
  animation-delay: 0.2s;
}

/* ============================================
   CONTACT PAGE ANIMATIONS
   ============================================ */

.contact-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.contact-section {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
}

.contact-section:nth-of-type(1) {
  animation-delay: 0.3s;
}

.contact-section:nth-of-type(2) {
  animation-delay: 0.45s;
}

.contact-section:nth-of-type(3) {
  animation-delay: 0.6s;
}

.contact-section:nth-of-type(4) {
  animation-delay: 0.75s;
}

.contact-section:nth-of-type(5) {
  animation-delay: 0.9s;
}

.contact-section:nth-of-type(6) {
  animation-delay: 1.05s;
}

.contact-content {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUpMinimal 0.5s ease-out forwards;
}

.contact-section:nth-of-type(2) .contact-content {
  animation-delay: 0.5s;
}

.contact-section:nth-of-type(4) .contact-content {
  animation-delay: 0.8s;
}

.contact-section:nth-of-type(6) .contact-content {
  animation-delay: 1.1s;
}

.contact-section:nth-of-type(6) .contact-content h6:nth-of-type(1) {
  animation-delay: 1.1s;
}

.contact-section:nth-of-type(6) .contact-content h6:nth-of-type(2) {
  animation-delay: 1.2s;
}

.contact-section:nth-of-type(6) .contact-content h6:nth-of-type(3) {
  animation-delay: 1.3s;
}

.contact-section:nth-of-type(6) .contact-content h6:nth-of-type(4) {
  animation-delay: 1.4s;
}

/* ============================================
   LOGIN PAGE ANIMATIONS
   ============================================ */

.login-wrapper {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.login-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.login-summary {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

.login-field {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUpMinimal 0.5s ease-out forwards;
}

.login-field:nth-of-type(1) {
  animation-delay: 0.4s;
}

.login-field:nth-of-type(2) {
  animation-delay: 0.5s;
}

.login-button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.6s;
}

/* Open Login Overlay */
.openlogin-wrapper {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.openlogin-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.openlogin-question {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

.openlogin-buttons {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

/* ============================================
   FAQ PAGE ANIMATIONS
   ============================================ */

.faq-wrapper {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.faq-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.2s;
}

.faq-search {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.3s;
}

.faq-expand-button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
  animation-delay: 0.4s;
}

.faq-group {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease-out forwards;
}

.faq-group:nth-of-type(1) {
  animation-delay: 0.5s;
}

.faq-group:nth-of-type(2) {
  animation-delay: 0.6s;
}

.faq-group:nth-of-type(3) {
  animation-delay: 0.7s;
}

.faq-group:nth-of-type(4) {
  animation-delay: 0.8s;
}

.faq-group:nth-of-type(5) {
  animation-delay: 0.9s;
}

.faq-group-title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.5s ease-out forwards;
  animation-delay: 0.1s;
}

.faq-group-description {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUpMinimal 0.4s ease-out forwards;
  animation-delay: 0.2s;
}

.faq-accordion-item {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUpMinimal 0.4s ease-out forwards;
}

.faq-group .faq-accordion-item:nth-child(1) {
  animation-delay: 0.3s;
}

.faq-group .faq-accordion-item:nth-child(2) {
  animation-delay: 0.4s;
}

.faq-group .faq-accordion-item:nth-child(3) {
  animation-delay: 0.5s;
}

.faq-group .faq-accordion-item:nth-child(4) {
  animation-delay: 0.6s;
}

.faq-group .faq-accordion-item:nth-child(5) {
  animation-delay: 0.7s;
}

.faq-group .faq-accordion-item:nth-child(6) {
  animation-delay: 0.8s;
}

.faq-group .faq-accordion-item:nth-child(7) {
  animation-delay: 0.9s;
}

.faq-group .faq-accordion-item:nth-child(8) {
  animation-delay: 1s;
}

.faq-group .faq-accordion-item:nth-child(9) {
  animation-delay: 1.1s;
}

.faq-group .faq-accordion-item:nth-child(10) {
  animation-delay: 1.2s;
}

.faq-wrapper > .faq-accordion-item:nth-child(1) {
  animation-delay: 0.5s;
}

.faq-wrapper > .faq-accordion-item:nth-child(2) {
  animation-delay: 0.6s;
}

.faq-wrapper > .faq-accordion-item:nth-child(3) {
  animation-delay: 0.7s;
}

.faq-wrapper > .faq-accordion-item:nth-child(4) {
  animation-delay: 0.8s;
}

.faq-wrapper > .faq-accordion-item:nth-child(5) {
  animation-delay: 0.9s;
}

/* ============================================
   UTILITY ANIMATION CLASSES
   ============================================ */

.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

/* ============================================
   IMPORTANT DATES ANIMATIONS
   ============================================ */

.dates-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.dates-header {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
}

.dates-card > h3.dates-header {
  animation-delay: 0.2s;
}

.dates-card > p.dates-header {
  animation-delay: 0.3s;
}

.dates-table {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s ease-out forwards;
  animation-delay: 0.4s;
}

.date-row {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUpMinimal 0.4s ease-out forwards;
}

.date-row:nth-child(2) {
  animation-delay: 0.5s;
}

.date-row:nth-child(3) {
  animation-delay: 0.6s;
}

.date-row:nth-child(4) {
  animation-delay: 0.7s;
}

.date-row:nth-child(5) {
  animation-delay: 0.8s;
}

.date-row:nth-child(6) {
  animation-delay: 0.9s;
}

.date-row:nth-child(7) {
  animation-delay: 1s;
}

.date-row:nth-child(8) {
  animation-delay: 1.1s;
}

.date-row:nth-child(9) {
  animation-delay: 1.2s;
}

.date-row:nth-child(10) {
  animation-delay: 1.3s;
}

.date-row:nth-child(11) {
  animation-delay: 1.4s;
}

/* ============================================
   COURT DOCUMENTS ANIMATIONS
   ============================================ */

.documents-card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUpMedium 0.8s ease-out forwards;
  animation-delay: 0.1s;
}

.documents-header {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUpSmall 0.6s ease-out forwards;
}

.documents-card > h3.documents-header {
  animation-delay: 0.2s;
}

.documents-card > p.documents-header {
  animation-delay: 0.3s;
}

.document-item {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUpDocument 0.5s ease-out forwards;
}

.document-item:nth-child(1) {
  animation-delay: 0.4s;
}

.document-item:nth-child(2) {
  animation-delay: 0.5s;
}

.document-item:nth-child(3) {
  animation-delay: 0.6s;
}

.document-item:nth-child(4) {
  animation-delay: 0.7s;
}

.document-item:nth-child(5) {
  animation-delay: 0.8s;
}

.document-item:nth-child(6) {
  animation-delay: 0.9s;
}

.document-item:nth-child(7) {
  animation-delay: 1s;
}

.document-item:nth-child(8) {
  animation-delay: 1.1s;
}

.document-item:nth-child(9) {
  animation-delay: 1.2s;
}

.document-item:nth-child(10) {
  animation-delay: 1.3s;
}

/* ============================================
   REDUCED MOTION - PAGE CONTENT (WCAG 2.3.3)
   
   When the user has prefers-reduced-motion enabled,
   all page content is shown immediately with no animation
   or transform. This block MUST come after the normal
   animation rules so CSS cascade ensures it wins.
   ============================================ */
@media screen and (prefers-reduced-motion: reduce) {
  .animate-fade-in,
  .fade-in-up,
  .home-summary,
  .info-block-card,
  .paragraph-fade-in,
  .table-fade-in,
  .contact-card,
  .contact-section,
  .contact-content,
  .login-wrapper,
  .login-title,
  .login-summary,
  .login-field,
  .login-button,
  .openlogin-wrapper,
  .openlogin-card,
  .openlogin-question,
  .openlogin-buttons,
  .faq-wrapper,
  .faq-title,
  .faq-search,
  .faq-expand-button,
  .faq-group,
  .faq-group-title,
  .faq-group-description,
  .faq-accordion-item,
  .dates-card,
  .dates-header,
  .dates-table,
  .date-row,
  .documents-card,
  .documents-header,
  .document-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* GPU hint for animation performance (normal motion only) */
.animate-fade-in,
.fade-in-up,
.home-summary,
.info-block-card,
.paragraph-fade-in,
.table-fade-in,
.contact-card,
.contact-section,
.contact-content,
.login-wrapper,
.login-title,
.login-summary,
.login-field,
.login-button,
.openlogin-wrapper,
.openlogin-card,
.openlogin-question,
.openlogin-buttons,
.faq-wrapper,
.faq-title,
.faq-search,
.faq-expand-button,
.faq-group,
.faq-group-title,
.faq-group-description,
.faq-accordion-item,
.dates-card,
.dates-header,
.dates-table,
.date-row,
.documents-card,
.documents-header,
.document-item {
  will-change: opacity, transform;
}

/* Force visibility for debugging */
.debug-animations .animate-fade-in,
.debug-animations .fade-in-up,
.debug-animations .home-summary,
.debug-animations .info-block-card,
.debug-animations .paragraph-fade-in,
.debug-animations .table-fade-in,
.debug-animations .contact-card,
.debug-animations .contact-section,
.debug-animations .contact-content,
.debug-animations .login-wrapper,
.debug-animations .login-title,
.debug-animations .login-summary,
.debug-animations .login-field,
.debug-animations .login-button,
.debug-animations .openlogin-wrapper,
.debug-animations .openlogin-card,
.debug-animations .openlogin-question,
.debug-animations .openlogin-buttons,
.debug-animations .faq-wrapper,
.debug-animations .faq-title,
.debug-animations .faq-search,
.debug-animations .faq-expand-button,
.debug-animations .faq-group,
.debug-animations .faq-group-title,
.debug-animations .faq-group-description,
.debug-animations .faq-accordion-item,
.debug-animations .dates-card,
.debug-animations .dates-header,
.debug-animations .dates-table,
.debug-animations .date-row,
.debug-animations .documents-card,
.debug-animations .documents-header,
.debug-animations .document-item {
  opacity: 1 !important;
  transform: none !important;
}

/* ============================================
   CONFETTI EFFECT - CSS Only
   Shoots from bottom-left and bottom-right corners
   2 loops (4 seconds total), 2 second duration per loop
   Confetti cannon effect with spread trajectories
   ============================================ */

.confetti-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
  overflow: hidden;
}

.confetti-left-wrapper,
.confetti-right-wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.confetti-left-wrapper {
  left: 0;
}

.confetti-right-wrapper {
  right: 0;
}

/* Left-side confetti particles */
.confetti-left {
  position: absolute;
  bottom: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #ff6b6b;
  opacity: 0;
}

.confetti-left-wrapper .confetti-left:nth-child(1) {
  background-color: #ff6b6b;
  animation: confetti-left-1 2s ease-out 2;
  width: 8px;
  height: 8px;
}

.confetti-left-wrapper .confetti-left:nth-child(2) {
  background-color: #4ecdc4;
  animation: confetti-left-2 2s ease-out 2 0.1s;
  width: 12px;
  height: 12px;
}

.confetti-left-wrapper .confetti-left:nth-child(3) {
  background-color: #ffe66d;
  animation: confetti-left-3 2s ease-out 2 0.2s;
  width: 10px;
  height: 10px;
}

.confetti-left-wrapper .confetti-left:nth-child(4) {
  background-color: #95e1d3;
  animation: confetti-left-4 2s ease-out 2 0.3s;
  width: 9px;
  height: 9px;
}

.confetti-left-wrapper .confetti-left:nth-child(5) {
  background-color: #f38181;
  animation: confetti-left-5 2s ease-out 2 0.4s;
  width: 11px;
  height: 11px;
}

.confetti-left-wrapper .confetti-left:nth-child(6) {
  background-color: #aa96da;
  animation: confetti-left-6 2s ease-out 2 0.5s;
  width: 8px;
  height: 8px;
}

.confetti-left:nth-of-type(7) {
  background-color: #fcbad3;
  animation: confetti-left-7 2s ease-out 2 0.6s;
  width: 10px;
  height: 10px;
}

.confetti-left-wrapper .confetti-left:nth-child(8) {
  background-color: #ffd93d;
  animation: confetti-left-8 2s ease-out 2 0.7s;
  width: 9px;
  height: 9px;
}

.confetti-left:nth-of-type(9) {
  background-color: #6bcf7f;
  animation: confetti-left-9 2s ease-out 2 0.8s;
  width: 12px;
  height: 12px;
}

.confetti-left-wrapper .confetti-left:nth-child(10) {
  background-color: #ff8a80;
  animation: confetti-left-10 2s ease-out 2 0.9s;
  width: 8px;
  height: 8px;
}

.confetti-left:nth-of-type(11) {
  background-color: #ff6b6b;
  animation: confetti-left-11 2s ease-out 2 1s;
  width: 10px;
  height: 10px;
}

.confetti-left-wrapper .confetti-left:nth-child(12) {
  background-color: #4ecdc4;
  animation: confetti-left-12 2s ease-out 2 1.1s;
  width: 9px;
  height: 9px;
}

.confetti-left:nth-of-type(13) {
  background-color: #ffe66d;
  animation: confetti-left-13 2s ease-out 2 1.2s;
  width: 11px;
  height: 11px;
}

.confetti-left-wrapper .confetti-left:nth-child(14) {
  background-color: #95e1d3;
  animation: confetti-left-14 2s ease-out 2 1.3s;
  width: 8px;
  height: 8px;
}

.confetti-left:nth-of-type(15) {
  background-color: #f38181;
  animation: confetti-left-15 2s ease-out 2 1.4s;
  width: 10px;
  height: 10px;
}

/* Right-side confetti particles */
.confetti-right {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background-color: #ff6b6b;
  opacity: 0;
}

.confetti-right-wrapper .confetti-right:nth-child(1) {
  background-color: #4ecdc4;
  animation: confetti-right-1 2s ease-out 2;
  width: 9px;
  height: 9px;
}

.confetti-right-wrapper .confetti-right:nth-child(2) {
  background-color: #ffe66d;
  animation: confetti-right-2 2s ease-out 2 0.1s;
  width: 11px;
  height: 11px;
}

.confetti-right-wrapper .confetti-right:nth-child(3) {
  background-color: #ff6b6b;
  animation: confetti-right-3 2s ease-out 2 0.2s;
  width: 8px;
  height: 8px;
}

.confetti-right-wrapper .confetti-right:nth-child(4) {
  background-color: #95e1d3;
  animation: confetti-right-4 2s ease-out 2 0.3s;
  width: 12px;
  height: 12px;
}

.confetti-right-wrapper .confetti-right:nth-child(5) {
  background-color: #aa96da;
  animation: confetti-right-5 2s ease-out 2 0.4s;
  width: 10px;
  height: 10px;
}

.confetti-right-wrapper .confetti-right:nth-child(6) {
  background-color: #f38181;
  animation: confetti-right-6 2s ease-out 2 0.5s;
  width: 9px;
  height: 9px;
}

.confetti-right-wrapper .confetti-right:nth-child(7) {
  background-color: #ffd93d;
  animation: confetti-right-7 2s ease-out 2 0.6s;
  width: 8px;
  height: 8px;
}

.confetti-right-wrapper .confetti-right:nth-child(8) {
  background-color: #fcbad3;
  animation: confetti-right-8 2s ease-out 2 0.7s;
  width: 11px;
  height: 11px;
}

.confetti-right-wrapper .confetti-right:nth-child(9) {
  background-color: #6bcf7f;
  animation: confetti-right-9 2s ease-out 2 0.8s;
  width: 10px;
  height: 10px;
}

.confetti-right-wrapper .confetti-right:nth-child(10) {
  background-color: #ff8a80;
  animation: confetti-right-10 2s ease-out 2 0.9s;
  width: 9px;
  height: 9px;
}

.confetti-right-wrapper .confetti-right:nth-child(11) {
  background-color: #4ecdc4;
  animation: confetti-right-11 2s ease-out 2 1s;
  width: 12px;
  height: 12px;
}

.confetti-right-wrapper .confetti-right:nth-child(12) {
  background-color: #ffe66d;
  animation: confetti-right-12 2s ease-out 2 1.1s;
  width: 8px;
  height: 8px;
}

.confetti-right-wrapper .confetti-right:nth-child(13) {
  background-color: #ff6b6b;
  animation: confetti-right-13 2s ease-out 2 1.2s;
  width: 10px;
  height: 10px;
}

.confetti-right-wrapper .confetti-right:nth-child(14) {
  background-color: #95e1d3;
  animation: confetti-right-14 2s ease-out 2 1.3s;
  width: 11px;
  height: 11px;
}

.confetti-right-wrapper .confetti-right:nth-child(15) {
  background-color: #f38181;
  animation: confetti-right-15 2s ease-out 2 1.4s;
  width: 9px;
  height: 9px;
}

/* Confetti keyframes - left side */
@keyframes confetti-left-1 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(200px, -900px) rotate(720deg); opacity: 0; }
}

@keyframes confetti-left-2 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(350px, -850px) rotate(-540deg); opacity: 0; }
}

@keyframes confetti-left-3 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(280px, -950px) rotate(900deg); opacity: 0; }
}

@keyframes confetti-left-4 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(150px, -800px) rotate(-360deg); opacity: 0; }
}

@keyframes confetti-left-5 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(400px, -880px) rotate(1080deg); opacity: 0; }
}

@keyframes confetti-left-6 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(250px, -920px) rotate(-720deg); opacity: 0; }
}

@keyframes confetti-left-7 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(320px, -860px) rotate(540deg); opacity: 0; }
}

@keyframes confetti-left-8 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(180px, -940px) rotate(-900deg); opacity: 0; }
}

@keyframes confetti-left-9 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(380px, -820px) rotate(630deg); opacity: 0; }
}

@keyframes confetti-left-10 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(220px, -960px) rotate(-810deg); opacity: 0; }
}

@keyframes confetti-left-11 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(300px, -840px) rotate(750deg); opacity: 0; }
}

@keyframes confetti-left-12 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(160px, -910px) rotate(-450deg); opacity: 0; }
}

@keyframes confetti-left-13 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(420px, -870px) rotate(990deg); opacity: 0; }
}

@keyframes confetti-left-14 {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(270px, -930px) rotate(-630deg); opacity: 0; }
}

@keyframes confetti-left-15 {
  0% { transform: translate(-5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(340px, -890px) rotate(810deg); opacity: 0; }
}

/* Confetti keyframes - right side */
@keyframes confetti-right-1 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-200px, -900px) rotate(-720deg); opacity: 0; }
}

@keyframes confetti-right-2 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-350px, -850px) rotate(540deg); opacity: 0; }
}

@keyframes confetti-right-3 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-280px, -950px) rotate(-900deg); opacity: 0; }
}

@keyframes confetti-right-4 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-150px, -800px) rotate(360deg); opacity: 0; }
}

@keyframes confetti-right-5 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-400px, -880px) rotate(-1080deg); opacity: 0; }
}

@keyframes confetti-right-6 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-250px, -920px) rotate(720deg); opacity: 0; }
}

@keyframes confetti-right-7 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-320px, -860px) rotate(-540deg); opacity: 0; }
}

@keyframes confetti-right-8 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-180px, -940px) rotate(900deg); opacity: 0; }
}

@keyframes confetti-right-9 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-380px, -820px) rotate(-630deg); opacity: 0; }
}

@keyframes confetti-right-10 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-220px, -960px) rotate(810deg); opacity: 0; }
}

@keyframes confetti-right-11 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-300px, -840px) rotate(-750deg); opacity: 0; }
}

@keyframes confetti-right-12 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-160px, -910px) rotate(450deg); opacity: 0; }
}

@keyframes confetti-right-13 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-420px, -870px) rotate(-990deg); opacity: 0; }
}

@keyframes confetti-right-14 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-270px, -930px) rotate(630deg); opacity: 0; }
}

@keyframes confetti-right-15 {
  0% { transform: translate(5px, 5px) rotate(0deg); opacity: 1; }
  100% { transform: translate(-340px, -890px) rotate(-810deg); opacity: 0; }
}

/* ============================================
   REDUCED MOTION - CONFETTI (WCAG 2.3.3)

   Confetti is purely decorative. When the user has
   reduced motion enabled, hide the entire container.
   ============================================ */
@media screen and (prefers-reduced-motion: reduce) {
  .confetti-container {
    display: none !important;
  }
}
