body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    background-color: #ffdf80;
    margin: 0;
    padding: 20px;
    background-image: url('https://www.transparenttextures.com/patterns/golden-spirals.png');
}

h1 {
    font-size: 2.5em;
    color: #D32F2F;
    margin-top: 20px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px #FFEB3B;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #ffcc80;
    margin: auto;
    padding: 20px;
    border: 2px solid #ff9800;
    width: 50%;
    border-radius: 20px;
    position: relative;
    box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #ff5722;
    text-decoration: none;
    cursor: pointer;
}

/* Spinner layout */
.spinner-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

.circle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Center spin button */
.spin-button {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    background-color: #D32F2F;
    color: white;
    border: none;
    cursor: pointer;
    padding: 16px;
    border-radius: 50%;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
    font-size: 1.5em;
}
.offer-close{
    margin-top: 10px;
}

.hare-krishna img{
    width: 25%;
}

.spin-button:hover {
    background-color: #C62828;
}

/* List items around the button */
.square-segment {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #FFC107;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 90px;
    width: 90px;
}

.square-segment img {
    max-width: 75px;
    max-height: 75px;
}

/* Highlight the selected item */
.highlight {
    border: 5px solid red;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

/* Result */
.result {
    margin-top: 20px;
    font-size: 2em;
    color: #E65100;
    font-weight: bold;
}

/* Diya theme for the button */
.diya-container {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.diya-container img {
    width: 50px;
    height: 50px;
}

/* Mobile number input box */
.mobile-input, .customer-input{
    margin-bottom: 20px;
    font-size: 1.2em;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ff9800;
}

.form-submit {
    background-color: #ff9800;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 5px;
}
.error_message {
    font-size: 16px;
    color: #ff0000;
    margin-bottom: 10px;
}


/* Adjustments for responsiveness */
@media only screen and (min-width: 320px) and (max-width: 399px) {
    .modal-content{
        width: 90%;
    }
    .circle {
        width: 95%;
        height: 95%;
        left: -21px;
    }
    .spin-button{
        padding: 25px;
        font-size: 1.2em;
    }
    .hare-krishna img{
        width: 75%;
    }
}
@media only screen and (min-width: 400px) and (max-width: 767px) {
    .modal-content{
        width: 85%;
    }
    .circle {
        width: 95%;
        height: 95%;
        left: -21px;
    }
    .spin-button{
        padding: 30px;
        font-size: 1.2em;;
    }
    .hare-krishna img{
        width: 75%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .spin-button{
        padding: 20px;
        font-size: 1.2em;
    }
    .hare-krishna img{
        width: 35%;
    }
}