body {
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.sections-wrapper {
    max-width: 1280px;
    margin: 1rem auto;
    margin-top: 90px;
    width: 100%;
}

.game-container {
    background: var(--window-bg);
    border: var(--window-border);
    box-shadow: var(--btn-shadow);
    width: 100%;
    margin: 0;
}

.game-content {
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    min-height: 600px;
    padding-bottom: 2rem;
    max-width: 100%;
    margin: 0 auto;
}

.game-right {
    width: 100%;
    max-width: 800px;
    position: relative;
    margin-top: 2rem;
    padding: 1.5rem;
    padding-top: 3rem;
    border: var(--window-border);
    box-shadow: var(--window-shadow);
    background: #fff2fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.game-description {
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.game-description h2 {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    color: var(--pink-primary);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.1);
}

.game-steps {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 1rem;
    font-family: var(--font-main);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Wheel container and base */
.wheel-container {
    width: 250px;
    height: 250px;
    position: relative;
    margin: 1rem auto;
    padding: 11px;
    background: transparent;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 7px rgb(0 0 0);
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;

    overflow: hidden;
    transition: transform 8s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
}

.wheel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Wheel sections */
.wheel-section {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: center;
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 50%);
}

.wheel-section.red {
    background: #ff3366;
    transform: rotate(0deg);
}

.wheel-section.blue {
    background: #3366ff;
    transform: rotate(90deg);
}

.wheel-section.green {
    background: #33cc33;
    transform: rotate(180deg);
}

.wheel-section.yellow {
    background: #ffcc00;
    transform: rotate(270deg);
}

.wheel-center {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    /* border: 2px solid rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3), inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Pointer */
.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 30px;
    height: 30px;
    background: var(--pink-primary);
    clip-path: polygon(50% 0%, 0 100%, 100% 100%);
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Spinning animation */
.wheel.spinning {
    animation: spin 8s cubic-bezier(0.17, 0.67, 0.12, 0.99) forwards;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(var(--final-rotation)); }
}

/* Game controls */
.game-controls {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.choice-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    max-width: 500px;
    margin: 0 auto;
}

.choice-btn {
    padding: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.choice-btn[data-color="red"] {
    border-color: #ff3366;
    color: #ff3366;
}

.choice-btn[data-color="blue"] {
    border-color: #3366ff;
    color: #3366ff;
}

.choice-btn[data-color="green"] {
    border-color: #33cc33;
    color: #33cc33;
}

.choice-btn[data-color="yellow"] {
    border-color: #ffcc00;
    color: #ffcc00;
}

.choice-btn.selected {
    background: var(--pink-primary);
    color: white;
    border-color: var(--pink-primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .game-steps {
        white-space: normal;
        font-size: 1.2rem;
        max-width: 100%;
        padding: 1rem 2rem;
    }

    .wheel-container {
        width: 250px;
        height: 250px;
    }

    .choice-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
} 

/* Modal Styles */
.result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--window-bg);
    border: var(--window-border);
    box-shadow: var(--window-shadow);
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal-header {
    background: var(--window-header);
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.modal-body {
    padding: 2rem;
    text-align: center;
}

.result-title {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--pink-primary);
}

.result-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.play-again-btn {
    font-size: 1rem;
    padding: 0.8rem 1rem;
} 

/* Bet Controls - Match Coin Flip Style */
.bet-controls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    padding-bottom: 0;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

/* Bet Slider */
.bet-slider-container {
    width: 100%;
    position: relative;
    margin: 0.5rem 0;
}

.bet-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: var(--pink-light);
    outline: none;
    margin: 1rem 0;
}

.bet-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--pink-primary);
    border: 1px solid white;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.bet-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--pink-primary);
    border: 1px solid white;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.bet-value {
    text-align: center;
    font-family: var(--font-logo);
    font-size: 0.9rem;
    color: var(--pink-primary);
    margin-top: 1.5rem;
    letter-spacing: 1px;
}
#bet-amount {
    width: 100%;
    padding: 0.5rem;
    text-align: center;
    font-family: var(--font-main);
    font-size: 1.2rem;
    border: var(--window-border);
    background: white;
    border-radius: 4px;
}
.bet-controls label {
    font-family: var(--font-logo);
    font-size: 0.9rem;
    color: var(--pink-primary);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: 1px;
}

.spin-btn {
    height: 36px;
    font-size: 0.8rem;
    background: var(--pink-gradient);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    letter-spacing: 1px;
    position: relative;
    margin: 0 auto;
    display: block;
}

/* Stats Design */
.game-stats {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.stat-label {
    color: #888;
    font-family: var(--font-logo);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-bets {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: var(--font-main);
    font-size: 1.15rem;
    width: 100%;
}

.bet-entry {
    animation: fadeIn 0.3s ease-in-out;
    padding: 0.2rem;
}

.wallet-address {
    color: var(--pink-primary);
}

.bet-result.won {
    color: #4CAF50;
}

.bet-result.lost {
    color: #f44336;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .game-stats {
        font-size: 0.7rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}