* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #ff6b81;
    --dark-pink: #ff4757;
    --light-pink: #ffe6e9;
    --revenge-red: #ee5a6f;
    --revenge-dark: #c44569;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --success-green: #00b894;
    --shadow-soft: rgba(255, 107, 129, 0.2);
    --shadow-strong: rgba(255, 107, 129, 0.4);
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    width: 100%;
    max-width: 600px;
    padding: 20px;
    z-index: 1;
}

.screen.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 60px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.content-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 129, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ============================================ */
/* COLLAPSIBLE STATS TOGGLE BUTTON */
/* ============================================ */
.stats-toggle-btn {
    width: 100%;
    padding: 15px 25px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 2.5vw, 16px);
    font-weight: 600;
    border: 2px solid var(--primary-pink);
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: var(--primary-pink);
    box-shadow: 0 4px 15px var(--shadow-soft);
    transition: all 0.3s ease;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.stats-toggle-btn:hover {
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

/* ============================================ */
/* STATS CONTAINER - COLLAPSIBLE */
/* ============================================ */
.stats-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-pink);
    position: relative;
    z-index: 2;
    max-height: 600px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stats-container.collapsed {
    max-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    border-width: 0;
}

.stats-container.expanded {
    max-height: 600px;
    opacity: 1;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 600px;
        opacity: 1;
    }
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.live-indicator {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: live-pulse 2s infinite;
    box-shadow: 0 4px 15px rgba(255, 107, 129, 0.3);
}

@keyframes live-pulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(255, 107, 129, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 4px 25px rgba(255, 107, 129, 0.6);
        transform: scale(1.05);
    }
}

.stats-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stats-close-btn:hover {
    background: rgba(255, 107, 129, 0.1);
    color: var(--primary-pink);
    transform: rotate(90deg);
}

.stat-item {
    margin-bottom: 18px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 107, 129, 0.05);
    transform: translateX(5px);
}

.stat-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.stat-emoji {
    font-size: 1.3rem;
}

.stat-bar-container {
    position: relative;
    height: 28px;
    background: #e9ecef;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 8px;
}

.stat-bar {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    transition: width 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: bar-shimmer 2s infinite;
}

@keyframes bar-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-bar-single {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.stat-percent {
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.stat-count-small {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    text-align: right;
}
/* ============================================ */
/* SHARE BUTTONS STYLES */
/* ============================================ */
.share-section,
.product-share-section,
.exit-share-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e9ecef;
}

.share-text {
    text-align: center;
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.twitter-btn {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ============================================ */
/* FUNNY ATTACHMENT MESSAGES */
/* ============================================ */
.funny-attachment {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe5a1 100%);
    border-left: 4px solid #ffc107;
    border-radius: 12px;
    padding: 15px;
    margin-top: 20px;
}

.revenge-attachment {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid #dc3545;
}

.combo-attachment {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
}

.attachment-text {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.attachment-subtext {
    font-size: clamp(12px, 1.8vw, 14px);
    color: var(--text-light);
    font-style: italic;
    font-weight: 500;
}

/* ============================================ */
/* REST OF ORIGINAL STYLES */
/* ============================================ */
.emoji-float {
    font-size: 80px;
    text-align: center;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.main-question {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(24px, 5vw, 36px);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.3;
}

.sub-text {
    font-size: clamp(16px, 3vw, 20px);
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.choice-btn {
    width: 100%;
    padding: 18px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    color: white;
    box-shadow: 0 4px 15px var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.choice-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.choice-btn:hover::before {
    width: 300px;
    height: 300px;
}

.choice-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-strong);
}

.choice-btn:active {
    transform: translateY(-2px);
}

.sad-btn {
    background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
}

.guilt-btn {
    background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%);
    animation: guilt-pulse 2s infinite;
}

@keyframes guilt-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(253, 203, 110, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(253, 203, 110, 0.6); }
}

.revenge-btn {
    background: linear-gradient(135deg, var(--revenge-red) 0%, var(--revenge-dark) 100%);
}

.special-btn {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    animation: special-glow 2s infinite;
}

@keyframes special-glow {
    0%, 100% { box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 184, 148, 0.7); }
}

.product-screen {
    padding: 50px 35px;
}

.emotion-trigger {
    font-size: clamp(14px, 2.5vw, 18px);
    color: var(--text-light);
    text-align: center;
    margin-bottom: 35px;
    font-weight: 500;
}

.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--light-pink);
    position: relative;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px var(--shadow-soft);
}

.revenge-card {
    border-color: var(--revenge-red);
}

.revenge-badge {
    background: linear-gradient(135deg, var(--revenge-red) 0%, var(--revenge-dark) 100%);
}

.product-name {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.product-desc {
    font-size: clamp(14px, 2.5vw, 16px);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.urgency-text {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    animation: urgency-pulse 1.5s infinite;
}

@keyframes urgency-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.buy-btn {
    display: block;
    width: 100%;
    padding: 20px 30px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 3vw, 20px);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-pink) 0%, var(--dark-pink) 100%);
    color: white;
    box-shadow: 0 6px 20px var(--shadow-strong);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-strong);
}

.revenge-buy {
    background: linear-gradient(135deg, var(--revenge-red) 0%, var(--revenge-dark) 100%);
    box-shadow: 0 6px 20px rgba(238, 90, 111, 0.4);
}

.pulse-animation {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 6px 20px var(--shadow-strong); }
    50% { box-shadow: 0 8px 35px var(--shadow-strong); }
}

.guarantee-text {
    text-align: center;
    font-size: clamp(12px, 2vw, 14px);
    color: var(--success-green);
    margin-top: 20px;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.product-name-small {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 3vw, 22px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.product-desc-small {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--text-light);
    margin-bottom: 20px;
}

.buy-btn-small {
    padding: 15px 20px;
    font-size: clamp(14px, 2.5vw, 16px);
}

.combo-offer {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    margin-top: 25px;
    box-shadow: 0 10px 25px rgba(0, 184, 148, 0.3);
}

.combo-text {
    color: white;
    font-size: clamp(18px, 3.5vw, 24px);
    font-weight: 700;
    margin-bottom: 20px;
}

.combo-btn {
    background: white;
    color: #00b894;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.combo-btn:hover {
    background: #f8f9fa;
}
/* Heart Loader */
.cssload-main {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.cssload-main.active {
    display: block;
}

.cssload-main * {
    font-size: 62px;
}

.cssload-heart {
    animation: cssload-heart 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
    position: relative;
}

.cssload-heartL,
.cssload-heartR,
.cssload-square {
    position: absolute;
    display: block;
    content: "";
}

.cssload-heartL,
.cssload-heartR {
    width: 1em;
    height: 1em;
    border: 1px solid #ff0000;
    background-color: #ff0000;
    border-radius: 100%;
}

.cssload-heartL {
    transform: translate(-28px, -27px);
    animation: cssload-heartL 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
}

.cssload-heartR {
    transform: translate(28px, -27px);
    animation: cssload-heartR 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
}

.cssload-square {
    width: 1em;
    height: 1em;
    border: 1px solid #ff0000;
    background-color: #ff0000;
    transform: scale(1) rotate(-45deg);
    animation: cssload-square 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
}

.cssload-shadow {
    position: absolute;
    bottom: -0.5em;
    left: 50%;
    transform: translateX(-50%);
    width: 1em;
    height: 0.24em;
    background-color: rgb(215, 215, 215);
    border: 1px solid rgb(215, 215, 215);
    border-radius: 50%;
    animation: cssload-shadow 2.88s cubic-bezier(0.75, 0, 0.5, 1) infinite normal;
}

@keyframes cssload-square {
    50% {
        border-radius: 100%;
        transform: scale(0.5) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
    }
}

@keyframes cssload-heart {
    50% { transform: rotate(360deg); }
    100% { transform: rotate(720deg); }
}

@keyframes cssload-heartL {
    60% { transform: scale(0.4); }
}

@keyframes cssload-heartR {
    40% { transform: scale(0.4); }
}

@keyframes cssload-shadow {
    50% {
        transform: translateX(-50%) scale(0.5);
        border-color: rgb(228, 228, 228);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 40px 25px;
    }
    
    .emoji-float {
        font-size: 60px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .screen {
        padding: 15px;
    }
    
    .content-wrapper {
        padding: 35px 20px;
        border-radius: 20px;
    }
    
    .button-group {
        gap: 12px;
    }
    
    .choice-btn {
        padding: 15px 20px;
    }
    
    .stats-toggle-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}

@media (max-height: 700px) {
    .content-wrapper {
        max-height: 90vh;
        overflow-y: auto;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2d3436 0%, #000000 100%);
    }
    
    .content-wrapper {
        background: rgba(45, 52, 54, 0.95);
    }
    
    .main-question {
        color: #ffffff;
    }
    
    .sub-text {
        color: #b2bec3;
    }
}

.choice-btn:focus,
.buy-btn:focus {
    outline: 3px solid var(--primary-pink);
    outline-offset: 3px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
