/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 50%, #16213e 100%);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* ===== SNOWFLAKES ===== */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    animation: snowfall linear infinite;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.snowflake:nth-child(1) {
    left: 5%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 1rem;
}

.snowflake:nth-child(2) {
    left: 15%;
    animation-duration: 12s;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.snowflake:nth-child(3) {
    left: 25%;
    animation-duration: 8s;
    animation-delay: 4s;
    font-size: 1.2rem;
}

.snowflake:nth-child(4) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.snowflake:nth-child(5) {
    left: 45%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 1rem;
}

.snowflake:nth-child(6) {
    left: 55%;
    animation-duration: 9s;
    animation-delay: 5s;
    font-size: 1.4rem;
}

.snowflake:nth-child(7) {
    left: 65%;
    animation-duration: 13s;
    animation-delay: 0.5s;
    font-size: 1.6rem;
}

.snowflake:nth-child(8) {
    left: 75%;
    animation-duration: 10s;
    animation-delay: 2.5s;
    font-size: 1.1rem;
}

.snowflake:nth-child(9) {
    left: 85%;
    animation-duration: 15s;
    animation-delay: 4.5s;
    font-size: 1.3rem;
}

.snowflake:nth-child(10) {
    left: 95%;
    animation-duration: 7s;
    animation-delay: 1.5s;
    font-size: 1.7rem;
}

@keyframes snowfall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* ===== ELECTRIC SIGN ===== */
.electric-sign {
    margin-bottom: 30px;
    z-index: 10;
}

.sign-frame {
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a2e 100%);
    border: 4px solid #ff0000;
    border-radius: 20px;
    padding: 15px 40px;
    position: relative;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.bulbs {
    display: flex;
    justify-content: space-around;
    padding: 5px 0;
}

.bulb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700;
    animation: bulbFlicker 0.5s ease-in-out infinite alternate;
}

.bulb:nth-child(odd) {
    animation-delay: 0.25s;
}

.bulb:nth-child(3n) {
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
}

@keyframes bulbFlicker {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.9);
        filter: brightness(0.8);
    }

    33% {
        opacity: 0.8;
        filter: brightness(1.2);
    }

    66% {
        opacity: 1;
        transform: scale(1.1);
        filter: brightness(1.5);
    }
}

.sign-content {
    padding: 10px 20px;
}

.neon-text {
    font-family: 'Russo One', sans-serif;
    font-size: 2.5rem;
    color: #ff0000;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #ff0000,
        0 0 20px #ff0000,
        0 0 40px #ff0000,
        0 0 80px #ff0000;
    animation: neonPulse 2s ease-in-out infinite;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.neon-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: signScan 3s linear infinite;
}

@keyframes signScan {
    0% {
        left: -100%;
    }

    20% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

@keyframes neonPulse {

    0%,
    100% {
        text-shadow:
            0 0 5px #fff,
            0 0 10px #ff0000,
            0 0 20px #ff0000,
            0 0 40px #ff0000,
            0 0 80px #ff0000;
    }

    50% {
        text-shadow:
            0 0 2px #fff,
            0 0 5px #ff0000,
            0 0 10px #ff0000,
            0 0 20px #ff0000,
            0 0 40px #ff0000;
    }
}

/* ===== STATS ===== */
.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    z-index: 10;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.3);
    text-align: center;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    color: #ff0000;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* ===== ROULETTE AREA ===== */
.roulette-area {
    display: flex;
    align-items: center;
    gap: 60px;
    z-index: 10;
    margin-top: 50px;
    position: relative;
    padding: 40px;
    border-radius: 50%;
}

.roulette-area::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: areaGlow 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes areaGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ===== WHEEL ===== */
.wheel-container {
    position: relative;
}

.pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    filter: drop-shadow(0 5px 15px rgba(255, 0, 0, 0.6));
    transform-origin: center 10%;
    transition: transform 0.1s ease;
}

.wheel.is-spinning~.pointer {
    animation: pointerTick 0.2s ease infinite;
}

@keyframes pointerTick {

    0%,
    100% {
        transform: translateX(-50%) rotate(0deg);
    }

    50% {
        transform: translateX(-50%) rotate(-15deg);
    }
}

.gear-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg,
            #ffd700 0deg 4deg,
            #1a1a2e 4deg 9deg);
    z-index: 5;
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.wheel {
    position: relative;
    width: 400px;
    height: 400px;
    z-index: 10;
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.wheel svg {
    display: block;
}

/* Wheel Icons Overlay */
.wheel-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wheel-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:
        translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--distance)));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.8rem;
}

.wheel-icon span {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wheel-icon.yellow-icon {
    color: #333;
}

/* Animations for spinning */
.wheel.is-spinning .wheel-icon {
    animation: iconVibrate 0.1s linear infinite;
}

@keyframes iconVibrate {
    0% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--distance))) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--distance))) scale(1.05);
    }

    100% {
        transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--distance))) scale(1);
    }
}



/* ===== LEVER ===== */
.lever-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.lever-machine {
    background: linear-gradient(180deg, #2a2a4a 0%, #1a1a2e 100%);
    border: 3px solid #ff0000;
    border-radius: 15px;
    padding: 20px;
    box-shadow:
        0 0 20px rgba(255, 0, 0, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
}

.lever-slot {
    background: #111;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #333;
}

.slot-lights {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.slot-light {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ff0000;
    box-shadow: 0 0 15px #ff0000;
    animation: slotLightPulse 1s ease-in-out infinite;
}

.slot-light:nth-child(2) {
    animation-delay: 0.33s;
    background: #ffd700;
    box-shadow: 0 0 15px #ffd700;
}

.slot-light:nth-child(3) {
    animation-delay: 0.66s;
    background: #00ff00;
    box-shadow: 0 0 15px #00ff00;
}

@keyframes slotLightPulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.lever-track {
    background: linear-gradient(90deg, #222 0%, #444 50%, #222 100%);
    border-radius: 30px;
    padding: 10px;
    width: 80px;
    margin: 0 auto;
    border: 2px solid #555;
}

.lever {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    user-select: none;
}

.lever.pulled {
    transform: translateY(40px);
}

.lever.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.lever-handle {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lever-ball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5555 0%, #ff0000 50%, #cc0000 100%);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 -5px 15px rgba(0, 0, 0, 0.3),
        inset 0 5px 15px rgba(255, 255, 255, 0.2);
    position: relative;
}

.lever-ball::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 15px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.lever-rod {
    width: 16px;
    height: 60px;
    background: linear-gradient(90deg, #666 0%, #999 50%, #666 100%);
    border-radius: 0 0 5px 5px;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.3);
}

.lever-base-plate {
    height: 15px;
    background: linear-gradient(180deg, #444 0%, #222 100%);
    border-radius: 5px;
    margin-top: 10px;
    border: 2px solid #555;
}

/* Spin Button */
.spin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    font-size: 1.4rem;
    font-weight: 900;
    font-family: 'Russo One', sans-serif;
    color: #fff;
    background: linear-gradient(135deg, #ff3333 0%, #ff0000 50%, #cc0000 100%);
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 20px rgba(255, 0, 0, 0.5),
        0 0 40px rgba(255, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.spin-button::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: buttonShine 2s ease-in-out infinite;
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }

    50%,
    100% {
        left: 100%;
    }
}

.spin-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 30px rgba(255, 0, 0, 0.6),
        0 0 60px rgba(255, 0, 0, 0.4);
}

.spin-button:active {
    transform: translateY(0) scale(0.98);
}

.spin-button.disabled {
    cursor: not-allowed;
    opacity: 0.5;
    animation: none;
}

.spin-button.disabled::before {
    animation: none;
}

.spin-button i {
    font-size: 1.2rem;
}

/* ===== RESET BUTTON ===== */
.reset-btn {
    margin-top: 30px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff1744 0%, #d50000 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 23, 68, 0.6);
}

/* ===== MASTER RESET BUTTON (Bottom-Right) ===== */
.master-reset-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.master-reset-btn:hover {
    background: rgba(255, 23, 68, 0.2);
    border-color: #ff1744;
    color: #ff1744;
    transform: rotate(-180deg) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 23, 68, 0.3);
}

.master-reset-btn i {
    font-size: 1.2rem;
}

/* ===== MODAL ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 3px solid #ffd700;
    border-radius: 25px;
    padding: 50px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: modalPop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow:
        0 0 60px rgba(255, 215, 0, 0.4),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
}

@keyframes modalPop {
    0% {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: iconBounce 0.6s ease infinite;
    color: #ffd700;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

.result-title {
    font-family: 'Russo One', sans-serif;
    font-size: 2.2rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.result-image-container {
    margin: 25px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 400px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.result-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-text {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 30px;
    max-width: 450px;
    line-height: 1.5;
}

.close-btn {
    padding: 15px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

/* Empty prize styling */
.modal-content.empty {
    border-color: #ff4444;
    box-shadow:
        0 0 60px rgba(255, 68, 68, 0.4),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.modal-content.empty .result-icon {
    animation: shake 0.5s ease-in-out;
    color: #ff4444;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-10px);
    }

    75% {
        transform: translateX(10px);
    }
}

.modal-content.empty .result-title {
    color: #ff4444;
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
}

.modal-content.empty .result-image-container {
    border: 2px solid #ff4444;
}

/* Winner styling */
.modal-content.winner {
    border-color: #00ff88;
    box-shadow:
        0 0 60px rgba(0, 255, 136, 0.4),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.modal-content.winner .result-title {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.modal-content.winner .result-icon {
    color: #00ff88;
}

/* Special Day Off styling */
.modal-content.day-off {
    border-color: #ff6b6b;
    background:
        linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(26, 26, 46, 1) 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow:
        0 0 80px rgba(255, 107, 107, 0.5),
        0 0 120px rgba(255, 107, 107, 0.3),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.modal-content.day-off .result-title {
    color: #ff6b6b;
    font-size: 2.5rem;
    text-shadow:
        0 0 20px rgba(255, 107, 107, 0.8),
        0 0 40px rgba(255, 107, 107, 0.5);
    animation: dayOffGlow 1.5s ease-in-out infinite;
}

@keyframes dayOffGlow {

    0%,
    100% {
        text-shadow:
            0 0 20px rgba(255, 107, 107, 0.8),
            0 0 40px rgba(255, 107, 107, 0.5);
    }

    50% {
        text-shadow:
            0 0 30px rgba(255, 107, 107, 1),
            0 0 60px rgba(255, 107, 107, 0.8),
            0 0 80px rgba(255, 107, 107, 0.4);
    }
}

.modal-content.day-off .result-icon {
    color: #ff6b6b;
    animation: dayOffIcon 0.5s ease infinite;
}

@keyframes dayOffIcon {

    0%,
    100% {
        transform: rotate(-5deg) scale(1);
    }

    50% {
        transform: rotate(5deg) scale(1.1);
    }
}

.modal-content.day-off .result-image-container {
    border: 3px solid #ff6b6b;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 107, 107, 0.3);
}

/* Special CSAT styling */
.modal-content.csat {
    border-color: #4fc3f7;
    background:
        linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(26, 26, 46, 1) 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    box-shadow:
        0 0 80px rgba(79, 195, 247, 0.4),
        0 0 120px rgba(79, 195, 247, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.modal-content.csat .result-title {
    color: #4fc3f7;
    font-size: 2rem;
    text-shadow:
        0 0 20px rgba(79, 195, 247, 0.8),
        0 0 40px rgba(79, 195, 247, 0.5);
}

.modal-content.csat .result-icon {
    color: #4fc3f7;
}

.modal-content.csat .result-image-container {
    border: 3px solid #4fc3f7;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(79, 195, 247, 0.3);
}

/* Confetti container */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        scale: 1.2;
    }

    100% {
        transform: translateY(600px) translateX(var(--tx, 100px)) rotate(720deg) scale(1);
        opacity: 0;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .roulette-area {
        flex-direction: column;
        gap: 40px;
    }

    .wheel {
        width: 320px;
        height: 320px;
    }

    .gear-ring {
        width: 350px;
        height: 350px;
    }

    .wheel-icon {
        font-size: 1.4rem;
        --distance: 95px !important;
    }

    .neon-text {
        font-size: 1.8rem;
    }

    .stats {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 500px) {
    .wheel {
        width: 280px;
        height: 280px;
    }

    .gear-ring {
        width: 310px;
        height: 310px;
    }

    .wheel-icon {
        font-size: 1.2rem;
        --distance: 85px !important;
    }

    .wheel-icon span {
        font-size: 0.6rem;
    }

    .neon-text {
        font-size: 1.4rem;
    }

    .sign-frame {
        padding: 10px 20px;
    }

    .result-text {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 35px 25px;
        margin: 20px;
    }

    .spin-button {
        padding: 15px 35px;
        font-size: 1.1rem;
    }

    .result-image-container {
        width: 100%;
        height: 180px;
    }
}