body {
    margin: 0;
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #ffe6f0, #ffd6e8, #fff0f6);
    min-height: 100vh;
    overflow-x: hidden;
}

.wheel-container {
    position: relative;
    display: inline-block;
}

.wheel-container::before {
    content: "";
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(255, 100, 150, 0.3), transparent 70%);
    top: -5%;
    left: -5%;
    border-radius: 50%;
    z-index: -1;
}

#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
}
.love-wheel-container {
    text-align: center;
    margin-top: 40px;
}

.title {
    font-size: 36px;
    color: #c1121f;
}

.wheel-wrapper {
    position: relative;
    width: 360px;
    height: 360px;
    margin: 30px auto;
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 12px solid #e63946;
    position: relative;
    transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
    transform: rotate(-90deg);   /* IMPORTANT FIX */
}

#labels {
    position: absolute;
    width: 100%;
    height: 100%;
}

.label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform-origin: 0 0;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 90px;           /* limit width */
    line-height: 1.2;
    white-space: normal;   /* allow wrap */
}

.center-circle {
    position: absolute;
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    border: 5px solid #c1121f;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.pointer {
    position: absolute;
    top:-30px;   /* Move inside wheel */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #c1121f;
    z-index: 10;
}

.spin-btn {
    padding: 10px 20px;
    background: #e63946;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.result {
    margin-top: 20px;
    font-size: 22px;
    font-weight: bold;
    color: #c1121f;
}

@keyframes floatHearts {
    0% { transform: translateY(0) scale(1); opacity: 0.7; }
    100% { transform: translateY(-800px) scale(1.5); opacity: 0; }
}

.heart {
    position: fixed;
    bottom: -20px;
    font-size: 20px;
    animation: floatHearts 8s linear infinite;
    color: #ff4d6d;
}