:root {
    --primary-color: #CCFF00; /* Lime Green */
    --bg-color: #000000;      /* Black */
    --text-color: #ffffff;
    --dull-bg: #f5f5f5;
    --dull-border: #cccccc;
}

body {
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    background-image:
        radial-gradient(circle at 50% 50%, #1a1a1a 0%, #000000 100%),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Inter', sans-serif;
    color: white;
}

.video-container {
    width: 90vw;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background-color: var(--bg-color);
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 120px rgba(204, 255, 0, 0.15);
    border: 1px solid #444;
    
    /* Enable Container Queries */
    container-type: inline-size;
}

.scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    color: var(--text-color);
}

.scene.active {
    display: flex;
    animation: fadeInScene 0.5s ease;
}

@keyframes fadeInScene {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Split Screen */
.split-screen {
    display: flex;
    width: 100%;
    height: 100%;
}

.split-left, .split-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2cqi; /* 20px */
}

.split-left {
    background-color: #e0e0e0;
    background-image: repeating-linear-gradient(45deg, #e5e5e5 0px, #e5e5e5 1px, transparent 1px, transparent 10px);
    border-right: 2px solid #333;
    color: #333;
}

.split-right {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(204, 255, 0, 0.05) 0%, transparent 40%),
        linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
        linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111);
    background-size: 100% 100%, 20px 20px, 20px 20px;
    background-position: 0 0, 0 0, 10px 10px;
}

/* Browser Frame */
.browser-frame {
    width: 80%;
    background: #dcdcdc;
    border-radius: 0.8cqi 0.8cqi 0 0; /* 8px */
    padding: 0.8cqi 1.2cqi; /* 8px 12px */
    display: flex;
    align-items: center;
    border: 1px solid #bbb;
    border-bottom: none;
}

.browser-dots span {
    display: inline-block;
    width: 1cqi; /* 10px */
    height: 1cqi;
    background: #bbb;
    border-radius: 50%;
    margin-right: 0.5cqi; /* 5px */
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-address {
    flex: 1;
    background: white;
    margin-left: 1cqi; /* 10px */
    border-radius: 0.4cqi; /* 4px */
    font-size: 0.7cqi; /* 0.7rem */
    padding: 0.4cqi 0.8cqi; /* 4px 8px */
    color: #666;
}

.dull-form {
    width: 80%;
    background: white;
    padding: 2cqi; /* 20px */
    border: 1px solid #bbb;
    box-shadow: 0 0.5cqi 1.5cqi rgba(0,0,0,0.1);
    font-family: 'Times New Roman', serif;
    border-radius: 0 0 0.8cqi 0.8cqi; /* 8px */
}

.dull-form h3 { margin-top: 0; color: #444; font-size: 1.5cqi; }

.form-group { margin-bottom: 1cqi; text-align: left; }
.form-group label { display: block; font-size: 0.8cqi; color: #666; margin-bottom: 0.3cqi; }
.form-group input, .form-group textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 0.5cqi;
    background: #f9f9f9;
    box-sizing: border-box;
    font-size: 1cqi;
}

.dull-form button {
    background: #888;
    color: white;
    border: 1px solid #666;
    padding: 0.5cqi 1.5cqi;
    margin-top: 1cqi;
    cursor: default;
    font-family: sans-serif;
    font-size: 1cqi;
}

/* Phone Frame for Quotify */
.phone-frame {
    width: 24cqi; /* 240px */
    height: 48cqi; /* 480px */
    background: #000;
    border: 0.4cqi solid #333; /* 4px */
    border-radius: 3cqi; /* 30px */
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 2cqi rgba(204, 255, 0, 0.2);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10cqi; /* 100px */
    height: 2cqi; /* 20px */
    background: #333;
    border-radius: 0 0 1cqi 1cqi; /* 10px */
    z-index: 10;
}

.quotify-app {
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
}

.app-header {
    padding: 2cqi 1.5cqi 1cqi; /* 20px 15px 10px */
    background: #000;
    border-bottom: 1px solid #222;
    text-align: center;
}

.logo-img-small {
    height: 3cqi; /* 30px */
    width: auto;
    object-fit: contain;
}

.chat-area {
    flex: 1;
    padding: 1.5cqi; /* 15px */
    display: flex;
    flex-direction: column;
    gap: 1cqi; /* 10px */
}

.chat-bubble {
    padding: 1cqi 1.5cqi; /* 10px 15px */
    border-radius: 1.8cqi; /* 18px */
    font-size: 0.9cqi; /* 0.9rem */
    max-width: 80%;
    line-height: 1.4;
}

.chat-bubble.bot {
    background: #222;
    color: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 0.4cqi;
    border: 1px solid #333;
}

.chat-bubble.user {
    background: var(--primary-color);
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 0.4cqi;
    font-weight: 600;
}

.options {
    display: flex;
    gap: 0.8cqi; /* 8px */
    margin-top: 0.5cqi;
}

.option {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.6cqi 1.2cqi; /* 6px 12px */
    border-radius: 2cqi; /* 20px */
    font-size: 0.8cqi;
    cursor: pointer;
}

/* Animations */
@keyframes msgIn {
    from { opacity: 0; transform: translateY(1cqi); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scene 2 Interaction */
.dull-form-interaction .close-btn {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: red;
    color: white;
    width: 4cqi; /* 40px */
    height: 4cqi;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    font-size: 2cqi;
    animation: clickClose 1s 1s forwards;
    opacity: 0;
    box-shadow: 0 0.4cqi 1cqi rgba(0,0,0,0.3);
    z-index: 10;
}

.dull-form-interaction .black-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeToBlack 0.5s 2s forwards;
    z-index: 5;
}

.leak-text {
    color: #ff3333;
    font-weight: 900;
    font-size: 3cqi; /* 3rem */
    border: 0.5cqi solid #ff3333; /* 5px */
    padding: 2cqi;
    transform: rotate(-15deg) scale(0.8);
    opacity: 0;
    animation: stampLeak 0.3s 2.2s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes stampLeak {
    to { opacity: 1; transform: rotate(-15deg) scale(1); }
}

.quotify-interaction .cursor {
    width: 2cqi; /* 20px */
    height: 2cqi;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="%23CCFF00" viewBox="0 0 24 24"><path d="M7 2l12 11.2-5.8.5 3.3 7.3-2.2.9-3.2-7.4-4.4 4V2z" stroke="black" stroke-width="1"/></svg>') no-repeat center center;
    background-size: contain;
    position: absolute;
    bottom: 2cqi;
    right: 2cqi;
    z-index: 20;
    animation: cursorDemo 4s infinite;
}

@keyframes cursorDemo {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-8cqi, -20cqi); } /* -80px, -200px */
    25% { transform: translate(-8cqi, -20cqi) scale(0.9); }
    30% { transform: translate(-8cqi, -20cqi) scale(1); }
    40% { transform: translate(-8cqi, -15cqi); } /* -150px */
    45% { transform: translate(-8cqi, -15cqi) scale(0.9); }
    50% { transform: translate(-8cqi, -15cqi) scale(1); }
    100% { transform: translate(0, 0); }
}

/* Scene 3 Success */
.success-visual {
    display: flex;
    gap: 4cqi; /* 40px */
    align-items: center;
    /* Add subtle pattern to success background */
    width: 100%;
    height: 100%;
    justify-content: center;
    background-image: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
}

.homeowner-card {
    background: white;
    padding: 2cqi; /* 20px */
    border-radius: 1.2cqi; /* 12px */
    text-align: center;
    width: 20cqi; /* 200px */
    color: #333;
    box-shadow: 0 1cqi 3cqi rgba(0,0,0,0.5);
    position: relative;
}

.homeowner-card .avatar { 
    font-size: 3cqi; /* 3rem */ 
    margin-bottom: 1cqi; 
    background: #eee; 
    width: 6cqi; /* 60px */ 
    height: 6cqi; 
    border-radius: 50%; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
}
.homeowner-card h4 { margin: 0; color: #333; font-size: 1.2cqi; }
.homeowner-card p { font-size: 0.8cqi; color: #666; }
.btn-book { 
    background: var(--primary-color); 
    color: black; 
    border: none; 
    padding: 0.8cqi 1.6cqi; /* 8px 16px */
    border-radius: 0.4cqi; 
    font-weight: bold; 
    margin-top: 1cqi; 
    cursor: pointer;
    font-size: 1cqi;
}

.smile-icon {
    position: absolute;
    top: -2cqi;
    right: -2cqi;
    font-size: 3cqi;
    animation: bounce 2s infinite;
}

.arrow-connector { font-size: 3cqi; color: var(--primary-color); }

.contractor-dashboard-ui {
    width: 30cqi; /* 300px */
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 0.8cqi;
    display: flex;
    overflow: hidden;
    box-shadow: 0 1cqi 3cqi rgba(0,0,0,0.5);
}

.dash-sidebar { 
    width: 5cqi; /* 50px */
    background: #000; 
    border-right: 1px solid #333; 
    padding-top: 2cqi; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1.5cqi; 
}
.dash-icon { width: 2cqi; height: 2cqi; background: #333; border-radius: 0.4cqi; }
.dash-icon:first-child { background: var(--primary-color); }

.dash-main { flex: 1; padding: 2cqi; }
.dash-header { font-size: 0.9cqi; color: #888; margin-bottom: 1.5cqi; border-bottom: 1px solid #333; padding-bottom: 1cqi; }

.stat-card { background: #222; padding: 1.5cqi; border-radius: 0.8cqi; border-left: 0.3cqi solid var(--primary-color); }
.stat-title { font-size: 0.8cqi; color: #aaa; }
.stat-value { font-size: 2cqi; margin: 0.5cqi 0; }
.stat-desc { font-size: 0.7cqi; color: var(--primary-color); }

/* Scene 4 CTA */
.cta-screen {
    text-align: center;
    background: #000;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(204, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.final-logo { margin-bottom: 4cqi; /* 40px */ }
.logo-img-large {
    width: 40cqi; /* 400px */
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

.cta-buttons { display: flex; gap: 2cqi; /* 20px */ }

.btn-primary {
    background: var(--primary-color);
    color: black;
    padding: 1.5cqi 4cqi; /* 15px 40px */
    border: none;
    border-radius: 5cqi; /* 50px */
    font-weight: 800;
    font-size: 1.2cqi; /* 1.2rem */
    cursor: pointer;
    transition: transform 0.2s;
    text-transform: uppercase;
}

.btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 2cqi rgba(204, 255, 0, 0.4); }

.btn-secondary {
    background: transparent;
    border: 0.2cqi solid white; /* 2px */
    color: white;
    padding: 1.5cqi 4cqi;
    border-radius: 5cqi;
    font-weight: bold;
    font-size: 1.2cqi;
    cursor: pointer;
}

/* Controls */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8cqi; /* 80px */
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
    display: flex;
    align-items: center;
    padding: 0 3cqi 1cqi; /* 0 30px 10px */
    box-sizing: border-box;
    z-index: 100;
}

.progress-bar-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.4cqi; /* 4px */
    background: #333;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 1cqi var(--primary-color);
}

.subtitle-area {
    flex: 1;
    text-align: center;
    color: white;
    font-size: clamp(12px, 2cqi, 24px);
    padding: 0 4cqi;
    margin-bottom: 0.5cqi;
    text-shadow: 0 0.2cqi 0.4cqi rgba(0,0,0,0.8);
}

.time-display {
    color: #aaa;
    font-size: clamp(10px, 1.2cqi, 14px);
    margin-left: 2cqi;
    font-family: monospace;
    min-width: 8cqi;
    text-align: right;
}

#play-pause-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.6cqi 1.4cqi; /* 6px 14px */
    cursor: pointer;
    border-radius: 0.4cqi;
    font-size: clamp(10px, 1.2cqi, 14px);
    margin-left: 1.5cqi;
    transition: all 0.2s;
}

#play-pause-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.label {
    margin-top: 1.5cqi;
    font-size: clamp(10px, 1cqi, 16px);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.2cqi;
}

.overlay-text {
    position: absolute;
    bottom: 8cqi; /* 80px */
    width: 100%;
    text-align: center;
    font-size: clamp(16px, 3cqi, 40px);
    font-weight: bold;
    color: white;
    text-shadow: 0 0.2cqi 1cqi rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.6);
    padding: 1.5cqi 0;
    backdrop-filter: blur(5px);
}

.overlay-text-right {
    position: absolute;
    bottom: 20%;
    right: 10%;
    background: var(--primary-color);
    color: black;
    padding: 1cqi 2cqi;
    font-weight: bold;
    border-radius: 0.8cqi;
    transform: rotate(-5deg);
    box-shadow: 0 0.5cqi 1.5cqi rgba(0,0,0,0.3);
    font-size: 1.5cqi;
}

/* Animations Keyframes */
@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes clickClose {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes fadeToBlack {
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-1cqi); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Renovation Theme for Scene 1 */
.renovation-theme {
    background: #fff; /* White background as per image */
    color: #333;
    font-family: 'Inter', sans-serif;
}

.reno-header {
    background: #fff;
    padding: 3.5cqi 1cqi 0.5cqi; /* Increased top padding to clear notch */
    border-bottom: 1px solid #eee;
    text-align: center;
}

.reno-logo {
    height: 2.5cqi;
    width: auto;
    margin-bottom: 0.5cqi;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.reno-title {
    font-size: 1cqi;
    font-weight: 700;
    margin-bottom: 1cqi;
}

.reno-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5cqi;
}

.reno-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.reno-progress .circle {
    width: 1.8cqi;
    height: 1.8cqi;
    background: #eee;
    color: #888;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8cqi;
    font-weight: bold;
}

.reno-progress .step.active .circle {
    background: #27c93f; /* Green for active step */
    color: white;
}

.reno-progress .line {
    width: 2cqi;
    height: 0.2cqi;
    background: #eee;
    margin: 0 0.2cqi;
}

.reno-progress .line.active {
    background: #27c93f;
}

.reno-content {
    padding: 1cqi;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1cqi;
    overflow-y: auto;
}

.section-title {
    font-size: 0.9cqi;
    font-weight: 600;
    color: #444;
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8cqi;
}

.area-card {
    border: 1px solid #eee;
    border-radius: 0.8cqi;
    padding: 1cqi;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #f9f9f9;
    transition: all 0.2s;
}

.area-card.selected {
    border: 1px solid #4a90e2; /* Blue border */
    background: #eef6fc;
}

.area-card .icon {
    font-size: 1.5cqi;
    margin-bottom: 0.5cqi;
}

.area-card .name {
    font-size: 0.7cqi;
    font-weight: 600;
}

.config-panel {
    border: 1px solid #eee;
    border-radius: 0.8cqi;
    padding: 1cqi;
    background: #fff;
    box-shadow: 0 0.5cqi 1cqi rgba(0,0,0,0.05);
}

.config-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8cqi;
    font-size: 0.8cqi;
    font-weight: 600;
}

.qty-badge {
    background: #4a90e2;
    color: white;
    width: 1.2cqi;
    height: 1.2cqi;
    border-radius: 0.3cqi;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7cqi;
}

.config-row {
    margin-bottom: 0.5cqi;
}

.config-row label {
    display: block;
    font-size: 0.6cqi;
    color: #888;
    margin-bottom: 0.2cqi;
}

.fake-input {
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 0.4cqi;
    border-radius: 0.4cqi;
    font-size: 0.8cqi;
    box-sizing: border-box;
}

.reno-btn-cta {
    background: #0056b3; /* Strong Blue */
    color: white;
    border: none;
    padding: 1cqi;
    border-radius: 0.6cqi;
    font-weight: bold;
    font-size: 1cqi;
    margin-top: auto;
    width: 100%;
    cursor: pointer;
}


/* Scene 1 Interaction Animations */

.cursor-scene1 {
    width: 2cqi;
    height: 2cqi;
    background: url('data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' fill=\'%23CCFF00\' viewBox=\'0 0 24 24\'><path d=\'M7 2l12 11.2-5.8.5 3.3 7.3-2.2.9-3.2-7.4-4.4 4V2z\' stroke=\'black\' stroke-width=\'1\'/></svg>') no-repeat center center;
    background-size: contain;
    position: absolute;
    bottom: -10cqi; /* Start off screen */
    right: -10cqi;
    z-index: 100;
    pointer-events: none;
    animation: cursorSequence 4.5s ease-in-out forwards;
}

@keyframes cursorSequence {
    0% { transform: translate(0, 0); bottom: -10%; right: -10%; opacity: 1; }
    20% { transform: translate(0, 0); bottom: 50%; right: 60%; } /* Move to Bath card */
    25% { transform: scale(0.8); bottom: 50%; right: 60%; } /* Click down */
    30% { transform: scale(1); bottom: 50%; right: 60%; } /* Click up */
    50% { transform: translate(0, 0); bottom: 10%; right: 20%; } /* Move to CTA */
    60% { transform: scale(0.8); bottom: 10%; right: 20%; } /* Click down */
    65% { transform: scale(1); bottom: 10%; right: 20%; } /* Click up */
    80% { opacity: 0; }
    100% { opacity: 0; }
}

/* Simulated State Changes */

#area-bath {
    animation: selectTile 0.1s 1.5s forwards; /* Match click timing at 30% of 5s = 1.5s */
}

@keyframes selectTile {
    to {
        border-color: #4a90e2;
        background: #eef6fc;
    }
}

#config-panel {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
    border: none;
    animation: expandConfig 0.5s 1.6s forwards;
}

@keyframes expandConfig {
    to {
        opacity: 1;
        max-height: 15cqi;
        padding: 1cqi;
        border: 1px solid #eee;
        margin-bottom: 1cqi;
    }
}

#reno-line {
    animation: fillProgress 0.5s 1.6s forwards;
}

@keyframes fillProgress {
    to { background: #27c93f; }
}

#reno-step2 .circle {
    animation: activateStepCircle 0.1s 2.1s forwards;
}

@keyframes activateStepCircle {
    to { background: #27c93f; color: white; }
}

.reno-btn-cta {
    position: relative;
    overflow: hidden;
}

.reno-btn-cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.5s 3s; /* Match 2nd click */
}

@keyframes rippleEffect {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 20cqi; height: 20cqi; opacity: 0; }
}


/* Confetti Animation for Scene 3 */
.stat-value {
    position: relative;
    display: inline-block;
}

.confetti-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 10;
}

.confetti {
    position: absolute;
    width: 0.5cqi;
    height: 0.5cqi;
    top: 0;
    left: 0;
    border-radius: 20%;
    opacity: 0;
}

.c1 { background: #CCFF00; animation: pop1 1.5s infinite ease-out; }
.c2 { background: #FF3366; animation: pop2 1.5s 0.2s infinite ease-out; }
.c3 { background: #33CCFF; animation: pop3 1.5s 0.1s infinite ease-out; }
.c4 { background: #FFFF00; animation: pop4 1.5s 0.3s infinite ease-out; }
.c5 { background: #CCFF00; animation: pop5 1.5s 0.15s infinite ease-out; }
.c6 { background: #FF9900; animation: pop6 1.5s 0.25s infinite ease-out; }

@keyframes pop1 {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(-3cqi, -4cqi) rotate(120deg) scale(1); opacity: 0; }
}

@keyframes pop2 {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(3cqi, -4cqi) rotate(-120deg) scale(1); opacity: 0; }
}

@keyframes pop3 {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(-4cqi, 0cqi) rotate(90deg) scale(1); opacity: 0; }
}

@keyframes pop4 {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(4cqi, 0cqi) rotate(-90deg) scale(1); opacity: 0; }
}

@keyframes pop5 {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(-2cqi, 3cqi) rotate(45deg) scale(1); opacity: 0; }
}

@keyframes pop6 {
    0% { transform: translate(0,0) scale(0); opacity: 1; }
    100% { transform: translate(2cqi, 3cqi) rotate(-45deg) scale(1); opacity: 0; }
}

