body {
    font-family: 'Arial', sans-serif;
    background-color: #098f18;
    color: #000000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: none;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: transparent;
    padding: 0 20px;
    box-sizing: border-box;
}

.title-with-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-radius: 5px;
    border: 5px solid #c6a514;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.roulette-title {
    color: #196909;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
    font-size: 2em;
    text-align: center;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    height: calc(100vh - 120px);
    flex-wrap: wrap;
    box-sizing: border-box;
}

.roulette-wrapper {
    width: 450px;
    height: 450px;
    position: relative;
    flex-shrink: 0;
}

#rouletteCanvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid #ffffff;
    background-color: #c6a514;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.pointer {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #000000;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.form-container {
    background-color: #ffffff;
    padding: 30px;
    border: 2px solid #2E8B57;
    border-radius: 10px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
}

.form-container h2 {
    color: #2E8B57;
    margin-top: 0;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #000000;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="tel"] {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#spinButton {
    background-color: #2E8B57;
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid #000000;
    margin-top: 10px;
}

#spinButton:hover:not(:disabled) {
    background-color: #256d45;
}

#spinButton:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    border-color: #999999;
}

#prizeResult {
    margin-top: 20px;
    background-color: #2E8B57;
    color: #ffffff;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    display: none;
    border: 2px solid #000000;
    text-align: center;
    padding: 10px 15px;
    width: 100%;
    max-width: 400px;
}

.error-message {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

/* ✅ Responsive: cambia a columna en pantallas pequeñas */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        height: auto;
        padding-bottom: 30px;
    }

    .roulette-wrapper,
    .form-container {
        margin-bottom: 20px;
    }

    .form-container {
        max-width: 100%;
    }
}
