/* Lucky Wheel - Modern UI - FIXED VERSION */

/* Reset potential conflicts */
* {
    box-sizing: border-box;
}

/* Main Container */
.wheel-game-wrapper {
    margin: 40px 0;
    padding: 0;
}

.wheel-game-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.wheel-game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Left Section - Wheel */
.wheel-section {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.wheel-header {
    text-align: center;
    width: 100%;
}

.wheel-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.wheel-description {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin: 0;
}

/* Wheel Display */
.wheel-display {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

/* LED Rim */
.led-rim {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.led-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FFD700;
    border-radius: 50%;
    box-shadow: 0 0 8px #FFD700, 0 0 16px #FFD700;
    top: 50%;
    left: 50%;
    animation: led-blink 1.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.075s);
}

.led-dot:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-240px);
}

.led-dot:nth-child(2) {
    transform: translate(-50%, -50%) rotate(18deg) translateY(-240px);
}

.led-dot:nth-child(3) {
    transform: translate(-50%, -50%) rotate(36deg) translateY(-240px);
}

.led-dot:nth-child(4) {
    transform: translate(-50%, -50%) rotate(54deg) translateY(-240px);
}

.led-dot:nth-child(5) {
    transform: translate(-50%, -50%) rotate(72deg) translateY(-240px);
}

.led-dot:nth-child(6) {
    transform: translate(-50%, -50%) rotate(90deg) translateY(-240px);
}

.led-dot:nth-child(7) {
    transform: translate(-50%, -50%) rotate(108deg) translateY(-240px);
}

.led-dot:nth-child(8) {
    transform: translate(-50%, -50%) rotate(126deg) translateY(-240px);
}

.led-dot:nth-child(9) {
    transform: translate(-50%, -50%) rotate(144deg) translateY(-240px);
}

.led-dot:nth-child(10) {
    transform: translate(-50%, -50%) rotate(162deg) translateY(-240px);
}

.led-dot:nth-child(11) {
    transform: translate(-50%, -50%) rotate(180deg) translateY(-240px);
}

.led-dot:nth-child(12) {
    transform: translate(-50%, -50%) rotate(198deg) translateY(-240px);
}

.led-dot:nth-child(13) {
    transform: translate(-50%, -50%) rotate(216deg) translateY(-240px);
}

.led-dot:nth-child(14) {
    transform: translate(-50%, -50%) rotate(234deg) translateY(-240px);
}

.led-dot:nth-child(15) {
    transform: translate(-50%, -50%) rotate(252deg) translateY(-240px);
}

.led-dot:nth-child(16) {
    transform: translate(-50%, -50%) rotate(270deg) translateY(-240px);
}

.led-dot:nth-child(17) {
    transform: translate(-50%, -50%) rotate(288deg) translateY(-240px);
}

.led-dot:nth-child(18) {
    transform: translate(-50%, -50%) rotate(306deg) translateY(-240px);
}

.led-dot:nth-child(19) {
    transform: translate(-50%, -50%) rotate(324deg) translateY(-240px);
}

.led-dot:nth-child(20) {
    transform: translate(-50%, -50%) rotate(342deg) translateY(-240px);
}

@keyframes led-blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 5px #FFD700;
    }
}

.wheel-canvas-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.wheel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 5s cubic-bezier(0.2, 0.8, 0.3, 1);
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
    position: relative;
    z-index: 2;
}

.wheel-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.wheel-pointer::before {
    content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 26px solid white;
    filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.15));
}

.wheel-pointer i {
    font-size: 2.2rem;
    color: #667eea;
    z-index: 1;
}

/* Controls */
.wheel-controls-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.wheel-price-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.price-label {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.4rem;
    font-weight: 600;
}

.price-value {
    color: #FFD700;
    font-size: 1.7rem;
    font-weight: 800;
}

/* Discount Code Section */
.discount-code-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.discount-code-input {
    flex: 1;
    min-width: 200px;
    height: 44px;
    padding: 0 16px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s;
}

.discount-code-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.discount-code-input:focus {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
}

.discount-code-btn {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 11px 24px;
    height: 44px;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
    white-space: nowrap;
}

.discount-code-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.discount-code-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.discount-message {
    width: 100%;
    font-size: 1.7rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 8px;
    display: none;
}

.discount-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.discount-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.wheel-controls {
    display: flex;
    gap: 12px;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
}

.spin-count {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.25);
    height: 46px;
}

.spin-count-btn {
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spin-count-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.25);
}

.spin-count-btn:active {
    transform: scale(0.95);
}

.spin-count-input {
    width: 52px;
    height: 42px;
    border: none;
    background: transparent;
    color: white;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    outline: none;
}

.spin-count-input::-webkit-inner-spin-button,
.spin-count-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.spin-count-input::-moz-appearance {
    -moz-appearance: textfield;
}

.wheel-spin-btn {
    background: linear-gradient(135deg, #FF6B6B, #FF5252);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 11px 32px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.45);
    transition: all 0.3s;
    animation: pulse-btn 2.5s ease-in-out infinite;
    white-space: nowrap;
    height: 46px;
}

.wheel-spin-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 82, 82, 0.55);
}

.wheel-spin-btn:active {
    transform: translateY(0);
}

.wheel-spin-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    animation: none;
}

.wheel-spin-btn.spinning i {
    animation: spin-rotate 1s linear infinite;
}

.wheel-spin-btn i {
    font-size: 1.7rem;
}

/* Test Spin Button - Attractive Blue Design */
.wheel-test-btn {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 11px 28px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
    white-space: nowrap;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.wheel-test-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.55);
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
}

.wheel-test-btn:active {
    transform: translateY(0);
}

.wheel-test-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Icon in test button should NOT spin - keep it fixed */
.wheel-test-btn.spinning i {
    animation: none;
}

.wheel-test-btn i {
    font-size: 1.6rem;
}

@keyframes pulse-btn {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(255, 82, 82, 0.45);
    }

    50% {
        box-shadow: 0 8px 30px rgba(255, 82, 82, 0.65);
    }
}

@keyframes spin-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Right Section - Leaderboard */
.leaderboard-section {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 650px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.leaderboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.leaderboard-header i {
    font-size: 3rem;
    color: white;
    animation: trophy-shine 2s ease-in-out infinite;
}

.leaderboard-header h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes trophy-shine {

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

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

.leaderboard-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.leaderboard-list::-webkit-scrollbar {
    width: 6px;
}

.leaderboard-list::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.leaderboard-list::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.2s;
}

.leaderboard-item:hover {
    background: #e9ecef;
    transform: translateX(3px);
}

.rank-badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: white;
    box-shadow: 0 3px 10px rgba(192, 192, 192, 0.4);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32, #B87333);
    color: white;
    box-shadow: 0 3px 10px rgba(205, 127, 50, 0.4);
}

.rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
    background: #e9ecef;
    color: #6c757d;
    font-weight: 600;
}

.player-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-prize {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-time {
    font-size: 1.1rem;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

.leaderboard-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    color: #999;
}

.leaderboard-empty i {
    font-size: 4rem;
    margin-bottom: 12px;
    opacity: 0.25;
}

.leaderboard-empty p {
    font-size: 1.5rem;
    margin: 0;
}

/* Rules Section */
.rules-section {
    margin: 50px 0;
}

.rules-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.rules-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.rules-content {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.rules-list {
    padding-left: 24px;
    margin: 0;
}

.rules-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #555;
    font-size: 1.5rem;
}

/* Result Modal */
.result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.result-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    padding: 36px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.result-modal.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.4rem;
}

.modal-close:hover {
    background: #667eea;
    color: white;
}

.result-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 3.6rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
}

.result-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #333;
}

.result-desc {
    color: #666;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.result-reward {
    font-size: 2.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 28px;
    padding: 18px;
    border-radius: 14px;
    background: #f8f9fa;
}

.btn {
    padding: 13px 34px;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn--primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102, 126, 234, 0.45);
}

/* Responsive - Tablet */
@media (max-width: 1200px) {
    .wheel-game-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px;
    }

    .leaderboard-section {
        max-height: 400px;
    }

    .wheel-title {
        font-size: 2.4rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .wheel-game-wrapper {
        margin: 20px 0;
    }

    .wheel-game-container {
        padding: 24px 20px;
        min-height: auto;
    }

    .wheel-title {
        font-size: 2rem;
    }

    .wheel-description {
        font-size: 1.3rem;
    }

    .wheel-display {
        max-width: 340px;
    }

    .led-rim {
        display: block;
    }

    .led-dot {
        width: 8px;
        height: 8px;
    }

    .led-dot:nth-child(1) {
        transform: translate(-50%, -50%) rotate(0deg) translateY(-170px);
    }

    .led-dot:nth-child(2) {
        transform: translate(-50%, -50%) rotate(18deg) translateY(-170px);
    }

    .led-dot:nth-child(3) {
        transform: translate(-50%, -50%) rotate(36deg) translateY(-170px);
    }

    .led-dot:nth-child(4) {
        transform: translate(-50%, -50%) rotate(54deg) translateY(-170px);
    }

    .led-dot:nth-child(5) {
        transform: translate(-50%, -50%) rotate(72deg) translateY(-170px);
    }

    .led-dot:nth-child(6) {
        transform: translate(-50%, -50%) rotate(90deg) translateY(-170px);
    }

    .led-dot:nth-child(7) {
        transform: translate(-50%, -50%) rotate(108deg) translateY(-170px);
    }

    .led-dot:nth-child(8) {
        transform: translate(-50%, -50%) rotate(126deg) translateY(-170px);
    }

    .led-dot:nth-child(9) {
        transform: translate(-50%, -50%) rotate(144deg) translateY(-170px);
    }

    .led-dot:nth-child(10) {
        transform: translate(-50%, -50%) rotate(162deg) translateY(-170px);
    }

    .led-dot:nth-child(11) {
        transform: translate(-50%, -50%) rotate(180deg) translateY(-170px);
    }

    .led-dot:nth-child(12) {
        transform: translate(-50%, -50%) rotate(198deg) translateY(-170px);
    }

    .led-dot:nth-child(13) {
        transform: translate(-50%, -50%) rotate(216deg) translateY(-170px);
    }

    .led-dot:nth-child(14) {
        transform: translate(-50%, -50%) rotate(234deg) translateY(-170px);
    }

    .led-dot:nth-child(15) {
        transform: translate(-50%, -50%) rotate(252deg) translateY(-170px);
    }

    .led-dot:nth-child(16) {
        transform: translate(-50%, -50%) rotate(270deg) translateY(-170px);
    }

    .led-dot:nth-child(17) {
        transform: translate(-50%, -50%) rotate(288deg) translateY(-170px);
    }

    .led-dot:nth-child(18) {
        transform: translate(-50%, -50%) rotate(306deg) translateY(-170px);
    }

    .led-dot:nth-child(19) {
        transform: translate(-50%, -50%) rotate(324deg) translateY(-170px);
    }

    .led-dot:nth-child(20) {
        transform: translate(-50%, -50%) rotate(342deg) translateY(-170px);
    }

    .wheel-canvas-container {
        max-width: 300px;
    }

    .wheel-pointer {
        width: 48px;
        height: 48px;
    }

    .wheel-pointer::before {
        top: -18px;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-bottom: 22px solid white;
    }

    .wheel-pointer i {
        font-size: 1.9rem;
    }

    .leaderboard-section {
        display: none;
    }

    .wheel-controls {
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .wheel-spin-btn {
        flex: 1;
        max-width: 200px;
        font-size: 1.5rem;
        padding: 10px 24px;
    }

    .rules-section {
        margin: 30px 0;
    }

    .rules-title {
        font-size: 2rem;
    }

    .rules-content {
        padding: 20px;
    }

    .modal-content {
        padding: 28px 24px;
    }
}

@media (max-width: 480px) {
    .wheel-title {
        font-size: 1.8rem;
    }

    .wheel-display {
        max-width: 280px;
    }

    .wheel-canvas-container {
        max-width: 260px;
    }

    .wheel-controls {
        flex-wrap: wrap;
        gap: 10px;
    }

    .wheel-spin-btn {
        max-width: 100%;
        font-size: 1.4rem;
    }
}