body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle, #f8f8f8, #e0e0e0);
    color: #333;
    text-align: center;
}

/* .container {
    padding-top: 60px;
} */

h2 {
    margin-bottom: 30px;
    font-size: 24px;
    color: #444;
}

/* .wheel-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto;
} */

/* #wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    background: conic-gradient(
        #FFEB3B 0deg 60deg,
        #4CAF50 60deg 120deg,
        #F44336 120deg 180deg,
        #2196F3 180deg 240deg,
        #FF9800 240deg 300deg,
        #9C27B0 300deg 360deg
    );
    transition: transform 4s ease-out;
} */

.rotate {
    animation: rotate 4s ease-out forwards;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(1440deg); }
}

/* .pointer {
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 30px solid #FF5722;
    position: absolute;
    top: -30px;
    left: calc(50% - 20px);
    z-index: 2;
} */
/* Formulaire */
/* .form-style {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
} */

/* input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    width: 100%;
} */

/* button {
    padding: 12px;
    font-size: 16px;
    background: #2196F3;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
} */

/* button:hover {
    background: #1976D2;
} */

.result-message {
    font-size: 22px;
    margin-top: 30px;
}

.result-message .won {
    color: #4CAF50;
    font-weight: bold;
}

.result-message .lost {
    color: #F44336;
    font-weight: bold;
}

/* .button-link {
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    background: #2196F3;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    transition: background 0.3s;
} */

/* .button-link:hover {
    background: #1976D2;
} */

.wheel-wrapper {
    position: relative;
    width: 500px; /* Increased size */
    height: 500px; /* Increased size */
    margin: 0 auto;
}

#wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 12px solid #333; /* Thicker border */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
    background: conic-gradient(
        #FFEB3B 0deg 60deg,
        #4CAF50 60deg 120deg,
        #F44336 120deg 180deg,
        #2196F3 180deg 240deg,
        #FF9800 240deg 300deg,
        #FF9800 240deg 300deg,
        #00ff6a 240deg 300deg,
        #d8b887 240deg 300deg,
        #9C27B0 300deg 360deg
    );
    transition: transform 4s ease-out;
}

.pointer {
    width: 0; 
    height: 0; 
    border-left: 30px solid transparent; /* Larger pointer */
    border-right: 30px solid transparent; /* Larger pointer */
    border-bottom: 40px solid #FF5722; /* Larger pointer */
    position: absolute;
    top: -30px; /* Adjusted position */
    left: calc(50% - 30px); /* Adjusted position */
    z-index: 2;
    rotate: 180deg;
}
.inscription-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.inscription-table th,
.inscription-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.inscription-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.css-background {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('img/1.png') no-repeat center center fixed; /* Set the background image */
    background-size: cover; /* Ensure the image covers the entire background */
    color: #333;
    text-align: center;
    display: flex; /* Enable flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}

.css-background .container {
    padding: 80px;
    width: 100%;
    max-width: 700px;
    background: url(img/2.png) no-repeat center center;
    background-size: contain;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
    position: relative;
    z-index: 1;
}
.form-control::placeholder {
    font-family: 'Heavitas';
    font-weight: normal;
    font-size: 40px;
    text-align: left;
    color: #fff;
padding: 10px;    
}
.content {
    text-align: center;
}

.form-style {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-control {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 20px;
    font-size: 18px;
    transition: background 0.3s ease;
    height: 70px;
    padding-top: 30px;
}

.form-control:focus {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 20px;
    font-size: 40px;
    transition: background 0.3s ease;
    height: 70px;
    padding-top: 30px;
}



.btn-secondary {
    background-color: #ffff; /* Yellow background */
    color: black; /* Black text */
}



/* Table styling */
.inscription-table {
    width: 100%;
    margin-top: 20px;
}

.inscription-table th,
.inscription-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.inscription-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
/* Custom button styles */
.btn-play {
    background: #f44336; /* Deep red color */
    background: -webkit-linear-gradient(#f44336, #ff9800); /* Chrome 10+, Safari 5.1+ */
    background: -o-linear-gradient(#f44336, #ff9800); /* Opera 11.10+ */
    background: -moz-linear-gradient(#f44336, #ff9800); /* Firefox 3.6+ */
    background: linear-gradient(#f44336, #ff9800); /* Standard syntax */

    color: white;
    border: none;
    border-radius: 5px; /* Rounded corners */
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3); /* Shadow */
    transition: all 0.3s ease;
    border: 10px solid #ff5722;
	margin-top:-10px; 
}

.btn-play:hover {
    background: #f44336 !important; /* Darker orange on hover */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4); /* Enhanced shadow on hover */
    border: 10px solid #ff5722 !important;

}

.btn-play:active {
    background: #f44336 !important; /* Darker orange on hover */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4); /* Enhanced shadow on hover */
    border: 10px solid #ff5722 !important;
}

body.won-background {
    background: url('img/3.png') no-repeat center center fixed; /* Set the background image for winning */
    background-size: cover; /* Ensure the image covers the entire background */
}

body.lost-background {
    background: url('img/4.png') no-repeat center center fixed; /* Set the background image for losing */
    background-size: cover; /* Ensure the image covers the entire background */
}

.result-css {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.result-container {
    display: flex
;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    flex-direction: column;
}



.result-image {
    width: 100%;
    height: 100%;
    margin-right: 20px;
}

.result-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.result-message {
    backdrop-filter: blur(30px);
    --webkit-backdrop-filter: blur(30px);
    background-color: rgb(203 9 9);
    padding: 20px;
    border-radius: 50px;
    color: #fff;
    font-size: 30px;
}

.result-message .won {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
}

.result-message .lost {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
}

.replay-button {
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
    font-size: 40px;
    font-weight: bold;
    align-self: center;
}

.replay-button:hover {
    background: #d32f2f; /* Darker red on hover */
}

.replay-button:active {
    background: #b71c1c; /* Even darker red on active */
}


.wheel-page {
    background: url('img/1.png') no-repeat center center fixed; /* Set the background image */
    background-size: cover; /* Ensure the image covers the entire background */
    display: flex; /* Enable flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: 100vh; /* Full viewport height */
}
.wheel-page h2 {
    margin-bottom: 20px;
    background-color: rgb(203 9 9);
    padding: 30px;
    border-radius: 80px;
    color: #fff;
    font-size: 30px;
}
.text-danger {
    color: #fff !important;
    font-size: 30px;
}
.gift-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center;
    font-size: 40px;
    color: white;
}
.img-png img{
    width: 100%;
}
.btn-play {
    background: #f44336;
    background: -webkit-linear-gradient(#f44336, #ff9800);
    background: -o-linear-gradient(#f44336, #ff9800);
    background: -moz-linear-gradient(#f44336, #ff9800);
    background: linear-gradient(#f44336, #ff9800);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 100px;
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
margin-top: 50px;}

.btn-play:hover {
    background: #d32f2f; /* Darker red on hover */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.4); /* Enhanced shadow on hover */
}
