/* Animation System for Important Dates and Court Documents */
/* Pure CSS Keyframe Animations - No JavaScript Required */
/*
 * ALL PAGE ANIMATIONS NOW USE PURE CSS KEYFRAMES
 * 
 * These animations auto-trigger on page load - no JavaScript needed!
 * The animations.js file has been removed - all animations are now CSS-only.
 * 
 * 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)
 * 
 * Keyframes:
 * - fadeInUp: Standard fade up (30px)
 * - fadeInUpSmall: Small fade up (20px) 
 * - fadeInUpMedium: Medium fade up (40px)
 * - fadeInUpMinimal: Minimal fade up (15px)
 * - fadeInUpDocument: Document fade up (25px)
 * 
 * Staggered animations use nth-child/nth-of-type selectors for sequential delays.
 * 
 * Benefits:
 * - No DOM load dependency - animations start immediately
 * - No JavaScript required - works even if JS fails
 * - Better performance - hardware-accelerated
 * - Reusable keyframes - easy to apply to other pages
 * - Consistent timing - same approach across all pages
 */

/* 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 - Pure CSS Keyframe Animations */
/* Auto-triggers on page load - no JavaScript needed */
.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;
}

/* Stagger info block cards */
.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;
}

/* Info Block Content - Paragraphs and Tables */
.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 - Pure CSS Keyframe Animations */
/* Auto-triggers on page load - no JavaScript needed */
.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;
}

/* Stagger contact sections */
.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 (email, phone, address text) - additional animation for visibility */
.contact-content {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUpMinimal 0.5s ease-out forwards;
}

/* Stagger contact content to appear slightly after their section headers */
.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;
}

/* Stagger mail address lines (6th contact-section has multiple h6 elements) */
.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 - Pure CSS Keyframe Animations */
/* Auto-triggers on page load - no JavaScript needed */
.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;
}

/* Stagger login form fields */
.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 - Pure CSS Keyframe Animations */
.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 - Pure CSS Keyframe Animations */
/* Auto-triggers on page load - no JavaScript needed */
.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;
}

/* Stagger FAQ groups */
.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;
}

/* Stagger accordion items within FAQ groups */
.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: 1.0s;
}

.faq-group .faq-accordion-item:nth-child(9) {
    animation-delay: 1.1s;
}

.faq-group .faq-accordion-item:nth-child(10) {
    animation-delay: 1.2s;
}

/* Stagger accordion items that are direct children of faq-wrapper (not in groups) */
.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;
}

/* Base animation classes - Still using transitions for backward compatibility (if needed elsewhere) */
.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 - Pure CSS Keyframe Animations */
/* Auto-triggers on page load - no JavaScript needed */
.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;
}

/* Stagger header animations - headers are direct children of dates-card */
.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;
}

/* Stagger date row animations */
/* Note: First tr in table is header (no date-row class), so date-rows start at nth-child(2) */
.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: 1.0s;
}

.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 - Pure CSS Keyframe Animations */
/* Auto-triggers on page load - no JavaScript needed */
.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;
}

/* Stagger header animations - headers are direct children of documents-card */
.documents-card > h3.documents-header {
    animation-delay: 0.2s;
}

.documents-card > p.documents-header {
    animation-delay: 0.3s;
}

/* Stagger document item animations */
.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: 1.0s;
}

.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;
}

/* Fallback for when animations don't work */
.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 {
    /* Ensure content is visible even without animations */
    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;
}

/* Wrapper containers for left and right confetti */
.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;
}

/* Confetti particles shooting from bottom-left */
.confetti-left {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: #ff6b6b;
    opacity: 0;
    /* Hidden at rest, positioned slightly off-screen */
}

/* Left side particles with varied trajectories */
.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-wrapper .confetti-left:nth-child(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-wrapper .confetti-left:nth-child(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-wrapper .confetti-left:nth-child(11) {
    background-color: #ff6b6b;
    animation: confetti-left-11 2s ease-out 2 1.0s;
    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-wrapper .confetti-left:nth-child(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-wrapper .confetti-left:nth-child(15) {
    background-color: #f38181;
    animation: confetti-left-15 2s ease-out 2 1.4s;
    width: 10px;
    height: 10px;
}

/* Confetti particles shooting from bottom-right */
.confetti-right {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background-color: #ff6b6b;
    opacity: 0;
    /* Hidden at rest, positioned slightly off-screen */
}

/* Right side particles with varied trajectories */
.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 1.0s;
    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;
}

/* Keyframe animations for left side - varied trajectories for confetti cannon effect */
@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(-5px, 5px) 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(-5px, 5px) 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; }
}

/* Keyframe animations for right side - varied trajectories for confetti cannon effect */
@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; }
}
