* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, #00d632 0%, #00b828 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
}

/* Money Background */
.money-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.money-emoji {
    position: absolute;
    font-size: 30px;
    opacity: 0.1;
    animation: fall linear infinite;
}

@keyframes fall {
    to { transform: translateY(100vh) rotate(360deg); }
}

/* Live Notification */
.live-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.5s ease;
}

.live-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #00d632;
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    padding: 20px 0;
}

.cashapp-logo {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.cashapp-icon {
    font-size: 50px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.amount-display {
    font-size: 72px;
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 0 40px rgba(255,255,255,0.5);
    animation: pulse-amount 2s infinite;
}

@keyframes pulse-amount {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.card-section {
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    margin: 20px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Scratch Card */
.scratch-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 4/3;
}

#scratchCanvas {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    cursor: crosshair;
    touch-action: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.prize-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #333;
    z-index: -1;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.05);
}

.reveal-amount {
    font-size: 56px;
    font-weight: 800;
    color: #00d632;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.reveal-text {
    font-size: 18px;
    color: #666;
    font-weight: 600;
    margin-top: 10px;
}

.reveal-subtext {
    font-size: 14px;
    color: #999;
    margin-top: 5px;
}

.instruction {
    text-align: center;
    margin: 25px 0;
    font-size: 20px;
    font-weight: 700;
    animation: bounce-text 1.5s infinite;
}

@keyframes bounce-text {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.progress-section {
    margin: 25px 0;
}

.progress-bar {
    background: rgba(255,255,255,0.2);
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(90deg, #fff 0%, #a8ff00 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s;
    border-radius: 6px;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 25px 0;
}

.stat-box {
    background: rgba(255,255,255,0.15);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.stat-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

/* Urgency */
.urgency-notice {
    background: rgba(255,255,255,0.95);
    color: #d32f2f;
    padding: 20px;
    border-radius: 16px;
    margin: 25px 0;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.urgency-title {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.urgency-timer {
    font-size: 36px;
    font-family: 'Courier New', monospace;
    color: #d32f2f;
}

/* Claim Section */
.claim-section {
    display: none;
    animation: fadeInUp 0.6s;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.success-box {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    color: #333;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d632 0%, #00b828 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 20px;
    animation: scale-in 0.5s;
}

@keyframes scale-in {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

.success-title {
    font-size: 24px;
    font-weight: 800;
    color: #00d632;
    margin-bottom: 10px;
}

.success-amount {
    font-size: 48px;
    font-weight: 800;
    color: #333;
    margin: 15px 0;
}

/* Steps */
.steps-container {
    background: rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.step-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    width: 35px;
    height: 35px;
    background: #fff;
    color: #00d632;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

.step-desc {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

/* CTA Button */
.cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #00d632;
    text-decoration: none;
    padding: 22px;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
    animation: pulse-white 2s infinite;
    border: none;
    cursor: pointer;
}

@keyframes pulse-white {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
    50% { box-shadow: 0 15px 40px rgba(0,0,0,0.3); }
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    opacity: 0.8;
}

.badge {
    text-align: center;
    font-size: 12px;
}

.badge span {
    font-size: 24px;
    display: block;
    margin-bottom: 5px;
}

/* Testimonials */
.testimonials {
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
}

.testimonials-title {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.review {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.review:last-child { margin-bottom: 0; }

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.review-meta {
    flex: 1;
}

.review-name {
    font-weight: 700;
    font-size: 15px;
}

.review-verified {
    font-size: 12px;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-text {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
}

.review-amount {
    color: #a8ff00;
    font-weight: 700;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 11px;
    opacity: 0.8;
}

.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: underline;
}

.footer-links span {
    opacity: 0.5;
}

/* Exit Popup */
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.exit-popup.show {
    opacity: 1;
    visibility: visible;
}

.exit-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.exit-popup-content {
    position: relative;
    background: #fff;
    color: #333;
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.exit-popup.show .exit-popup-content {
    transform: scale(1);
}

.exit-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
}

.exit-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.exit-title {
    font-size: 24px;
    font-weight: 800;
    color: #00d632;
    margin-bottom: 15px;
}

.exit-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.exit-text strong {
    color: #d32f2f;
}

.exit-timer {
    font-size: 32px;
    font-weight: 800;
    color: #d32f2f;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
}

.exit-cta {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00d632 0%, #00b828 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 20px;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: #fff;
    color: #333;
    border-radius: 20px;
    max-width: 450px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-content h2 {
    padding: 25px 25px 0;
    font-size: 22px;
    font-weight: 800;
    color: #00d632;
}

.modal-body {
    padding: 20px 25px 25px;
}

.modal-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-body strong {
    color: #333;
}

/* Responsive */
@media (max-width: 480px) {
    h1 { font-size: 26px; }
    .amount-display { font-size: 56px; }
    .reveal-amount { font-size: 42px; }
    .stats-grid { grid-template-columns: 1fr; }
    .container { padding: 15px; }
}

.pulse {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
