/* ... existing styles ... */

.wheel-container {
    position: relative;
    width: min(400px, 100%);
    height: min(400px, 100vw);
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 255, 0.2);
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 8px solid #2a2a4a;
    transition: transform 5s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    background: #1a1a2e;
}

.wheel-section {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    transform-origin: left center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 10px;
    overflow: hidden;
}

/* Cores da roleta */
.wheel-section:nth-child(1) {
    transform: rotate(0deg);
    background: linear-gradient(45deg, #2196F3, #673AB7);
}

.wheel-section:nth-child(2) {
    transform: rotate(180deg);
    background: linear-gradient(45deg, #673AB7, #2196F3);
}

.price-value {
    position: relative;
    z-index: 3;
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    transform: rotate(-90deg);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 20px;
}

.price-value img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    transform: rotate(90deg);
}

.wheel-section::before,
.wheel-section::after {
    display: none;
}

.wheel-pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Removendo a base circular do ponteiro */
.wheel-pointer::after {
    display: none;
}

/* Botão Girar Roleta */
#spin-button {
    background: linear-gradient(45deg, #2196F3, #673AB7);
    color: white;
    border: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#spin-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

#spin-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#resultado-sorteio {
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    padding: 20px;
    border-radius: 15px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
}

#resultado-sorteio.show {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

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

/* Estilos do Modal de Créditos */
.credits-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    animation: fadeIn 0.3s ease-in-out;
}

.credits-modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #333;
}

.credits-modal h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.credits-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

/* Cards de opções */
.credit-option {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.credit-option:hover {
    border-color: #2196F3;
    transform: translateY(-2px);
}

.credit-option .amount {
    color: #333;
    font-size: 20px;
    font-weight: bold;
}

/* Botões do Modal */
.add-credit-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.add-credit-btn:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

.custom-amount {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.custom-amount label {
    display: block;
    margin-bottom: 10px;
    color: #666;
}

.custom-amount-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.currency-symbol {
    font-size: 18px;
    color: #333;
}

#custom-credit-amount {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 16px;
}

#custom-credit-amount:focus {
    border-color: #2196F3;
    outline: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 480px) {
    .credits-modal-content {
        margin: 5% auto;
        padding: 20px;
    }

    .credits-options {
        grid-template-columns: 1fr;
    }
}

/* Loader styles */
#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2196F3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Destaque do card selecionado */
.credit-option.highlight {
    border-color: #2196F3;
    background: #f0f7ff;
    order: -1;
}

.credit-option.highlight .amount {
    color: #2196F3;
    font-size: 24px;
}

.credit-option.highlight .option-description {
    color: #666;
}

.credit-option.highlight .required-amount {
    font-weight: 800;
}

.option-description {
    font-size: 14px;
    color: #666;
    margin: -5px 0 5px;
}

.required-amount {
    font-weight: 700;
}

/* Novo estilo para o switch de odds */
.odds-switch-container {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.odds-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Tabela de odds */
.odds-table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: #666;
}

.odds-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    background: #f8f9fa;
    font-weight: bold;
    border-bottom: 2px solid #e9ecef;
}

.odds-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    border-bottom: 1px solid #e9ecef;
}

.odds-cell {
    padding: 12px 16px;
    display: flex;
    align-items: center;
}

.odds-row:last-child {
    border-bottom: none;
}

.odds-row:hover {
    background: #f8f9fa;
}

/* Switch personalizado */
.switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.switch-label {
    font-size: 0.875rem;
    color: #666;
    user-select: none;
}

.switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 20px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .switch-slider {
    background-color: #2196F3;
}

input:checked + .switch-slider:before {
    transform: translateX(16px);
}

/* Remover estilos antigos do switch */
.odds-switch-container,
.odds-switch,
.odds-label,
.slider {
    display: none;
}

/* Ajustes no container principal do produto */
.product-container {
    gap: 2rem;
    min-height: auto;
    padding-bottom: 2rem;
}

/* Ajustes no container da roleta */
.wheel-container {
    position: relative;
    width: min(400px, 100%);
    height: min(400px, 100vw);
    margin: 0 auto;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 255, 0.2);
}

/* Ajustes na área de detalhes do produto */
.product-details {
    min-height: auto !important;
    height: auto !important;
    padding: 1rem;
}

/* Media queries para responsividade */
@media (max-width: 1024px) {
    .product-container {
        flex-direction: column;
        align-items: center;
    }

    .product-data {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        padding: 1rem;
    }

    .wheel-container {
        margin-bottom: 2rem;
    }

    .product-details {
        width: 100% !important;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .wheel-container {
        width: 300px;
        height: 300px;
        padding: 15px;
    }

    .price-value {
        font-size: 14px;
    }

    .price-value img {
        width: 40px;
        height: 40px;
    }
}