.peg,
.wheelSVG {
    visibility: hidden;
}


body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.centerCircle,
.valueContainer,
.wheelOutline,
.wheelText {
    pointer-events: none;
}
input#newPrizeLabel {
    border-color: theme('colors.red.500'); /* Tailwind's way to reference its colors */
    /* Or simply: border-color: #ef4444; (for red-500) */
}
body,
html {
    text-align: center;
}


button {
    position: relative;
    background-color: #E81D62;
}

body {
    background-color: #201D51;
    overflow-x: hidden;
    overflow-y: visible;
}

body,
html {
    margin: 0;
    padding: 0;
}

#container {
	width: 100vw;
	margin-top: 2rem;

}

 .wheelContainer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0;
    width: 100vw
    height: 100vh;

}

.wheelSVG {
   position: relative;
    overflow: visible;
    height: 75vh;
}

.wheelText {
    text-anchor: start;
    font-family: Montserrat, sans-serif;
    -webkit-user-select: none;
    user-select: none;
}

.wheelText tspan {
    text-anchor: middle;
    letter-spacing: 2px;
}

.toast {
    border-radius: 12px;
    opacity: 0;
    background-color: #E81D62;
    position: absolute;
    overflow: hidden;
    color: #FFF;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    width: 50vw;
    padding: 20px 40px;
    
    max-width: 1000px;
}

.toast p {
    clear: both;
    font-family: Montserrat, Arial, sand-serif;
    margin: 23px;
    font-size: 30px;
    color: #ededed;
    letter-spacing: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 32px;
    -webkit-transition: line-height .2s ease;
    transition: line-height .2s ease;
}

button {
    position: relative;
    width: 60vw;
    /* top: 20px; */
    max-width: 400px;
    padding: 20px;
    font-weight: 700;
    font-size: 2rem;
    color: #ededed;
    border-radius: 6px;
    border: none;
    box-shadow: 0 2px 0 #D71559;
    cursor: pointer;
    font-family: Montserrat, sans-serif;
}

@media only screen and (max-width: 480px) {

 
    button {
        font-size: 1rem;
        padding: 10px;
        width: 60vw;
    }   
    .toast {
		padding: 0;
    }
    .toast p,
    .toast span {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

@media only screen and (min-width: 481px) and (max-width: 800px) {

    .toast {
		padding: 0;
    }    
    .toast p,
    .toast span {
        font-size: 1.8rem;
        line-height: 2rem;
    }
}

@media only screen and (min-width: 801px) {

    .toast p,
    .toast span {
        font-size: 3rem;
        line-height: 3.5rem;
    }
}

@media only screen and (max-height: 480px) {

    .toast p,
    .toast span {
        font-size: 33px;
        line-height: 35px;
    }

    button {
        font-size: 22px;
        padding: 10px;
        width: 90%;
    }

  
}

button:focus {
    outline: 0;
}

a:link { color:#F1DC16; }
a:visited { color:#F1DC16; }
a:hover { color:#F1DC16; }
a:active { color:#F1DC16;}

.wheel-container {
  width: 100%;
  height: auto;
  max-width: 600px; /* Maximum width for larger screens */
  margin: 0 auto;
}
.slice-text {
  font-family: Arial, sans-serif;  /* Font family for slice text */
  font-size: 16px;  /* Default font size */
  text-anchor: middle;  /* Center the text horizontally */
  fill: #fff;  /* Text color */
  white-space: normal;  /* Allow wrapping */
  text-overflow: ellipsis;
}










/* Add this improved CSS to your page */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.modal {
  background-color: white;
  border-radius: 12px;
  max-width: 100%;
  width: 450px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
  animation: modalFadeIn 0.3s ease-out;
  position: relative;
}

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

.modal h2 {
  color: #222;
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.modal h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0091ea, #00c853);
  border-radius: 3px;
}

.modal h3 {
  color: #444;
  font-size: 20px;
  margin: 20px 0 15px 0;
  font-weight: 600;
}

.prize-won {
  font-size: 20px;
  text-align: center;
  margin: 20px 0;
  color: #333;
}

.prize-won strong {
  color: #d500f9;
  font-weight: 700;
}

.form-container, 
.feedback-container,
.summary-container {
  margin-top: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
  font-size: 16px;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f9f9f9;
}

.form-group input:focus {
  outline: none;
  border-color: #0091ea;
  box-shadow: 0 0 0 3px rgba(0, 145, 234, 0.2);
  background-color: #fff;
}

.submit-btn, .continue-btn, .finish-btn {
  background: linear-gradient(to right, #0091ea, #00b0ff);
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  display: block;
  margin: 25px auto 0;
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 145, 234, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover, .continue-btn:hover, .finish-btn:hover {
  background: linear-gradient(to right, #0075bb, #0091ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 145, 234, 0.4);
}

.submit-btn:active, .continue-btn:active, .finish-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(0, 145, 234, 0.4);
}

.skip-btn {
  background-color: transparent;
  color: #666;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  display: block;
  margin: 15px auto 0;
  transition: color 0.2s;
  text-decoration: underline;
}

.skip-btn:hover {
  color: #333;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.options-list {
  margin: 20px 0;
}

.feedback-option {
  margin: 15px 0;
  display: flex;
  align-items: center;
}

.feedback-option input[type="checkbox"] {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.feedback-option label {
  font-size: 16px;
  cursor: pointer;
  flex: 1;
  padding-top: 2px;
}

.prizes-won {
  background-color: #f5f8ff;
  border-radius: 10px;
  padding: 15px 20px;
  margin: 20px 0;
  border-left: 4px solid #0091ea;
}

.prizes-won h3 {
  margin-top: 0;
  font-size: 18px;
  color: #444;
  margin-bottom: 12px;
}

.prizes-won ul, .prizes-summary {
  padding-left: 25px;
  margin: 15px 0;
  list-style-type: none;
}

.prizes-won ul li, .prizes-summary li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
  line-height: 1.4;
}

.prizes-won ul li:before, .prizes-summary li:before {
  content: '??';
  position: absolute;
  left: 0;
  font-size: 18px;
}

.prizes-summary li {
  font-size: 18px;
}

.prize-number {
  font-weight: 600;
  color: #555;
}

.contact-info {
  background-color: #f0f0f0;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  color: #555;
  font-size: 15px;
}

/* Responsive adjustments */
@media (max-width: 500px) {
  .modal {
    padding: 20px;
    width: 100%;
  }
  
  .modal h2 {
    font-size: 24px;
  }
  
  .prize-won {
    font-size: 18px;
  }
  
  .submit-btn, .continue-btn, .finish-btn {
    padding: 12px 25px;
    font-size: 16px;
  }
  
  .prizes-summary li {
    font-size: 16px;
  }
}

/* Ensure iOS scroll behavior */
@supports (-webkit-touch-callout: none) {
  .modal {
    -webkit-overflow-scrolling: touch;
  }
}

/* Add these styles to your existing CSS */

/* Feedback options styling */
.feedback-options {
  margin: 20px 0;
  text-align: left;
}

.feedback-option {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
  transition: background-color 0.2s;
}

.feedback-option:hover {
  background-color: #e0e0e0;
}

.feedback-option input[type="radio"] {
  margin-right: 10px;
}

.feedback-option label {
  cursor: pointer;
  font-size: 16px;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.submit-btn, .skip-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.submit-btn {
  background-color: #4CAF50;
  color: white;
}

.submit-btn:hover {
  background-color: #45a049;
}

.skip-btn {
  background-color: #f5f5f5;
  color: #333;
}

.skip-btn:hover {
  background-color: #e0e0e0;
}

/* Prize notification modal */
.prizes-won {
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
  text-align: left;
}

.prizes-won h3 {
  margin-bottom: 10px;
  color: #333;
}

.prizes-won ul {
  margin-left: 20px;
}

.prizes-won li {
  margin-bottom: 5px;
}

.prize-number {
  font-weight: bold;
  color: #4CAF50;
}

/* Summary modal */
.summary-container {
  padding: 15px;
}

.prizes-summary {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.prizes-summary li {
  padding: 8px 12px;
  margin-bottom: 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
  border-left: 4px solid #4CAF50;
}

.contact-info {
  margin-top: 20px;
  font-style: italic;
}

.finish-btn {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.finish-btn:hover {
  background-color: #45a049;
}


/**
 * Custom styles for Wheel of Fortune Game
 */

/* Main container */
#container {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
  overflow: visible;
}

/* SVG styles */
.wheelSVG {
  width: 100%;
  height: 100%;
}

/* Wheel container */
.wheelContainer {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Spin button */
.spinBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.spinBtn:hover {
  background-color: #45a049;
}

.spinBtn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

/* Hide toast messages completely */
.toast {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* Modal overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  max-width: 90%;
  width: 450px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.modal p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #555;
}

.modal button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.modal button:hover {
  background-color: #45a049;
}

.modal button:disabled {
  background-color: #cccccc;
  cursor: wait;
}

/* Blur effect for background */
.blur-bg {
  filter: blur(5px);
  transition: filter 0.3s;
}

/* Prize notification styles */
.prize-won {
  font-size: 18px;
  margin-bottom: 12px;
}

.prizes-won h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.prizes-won ul {
  list-style-type: none;
  padding-left: 0;
}

.prizes-won li {
  padding: 8px;
  margin-bottom: 5px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* Feedback options styling */
.feedback-options {
  margin: 20px 0;
  text-align: left;
}

.feedback-option {
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 4px;
  background-color: #f5f5f5;
  transition: background-color 0.2s;
}

.feedback-option:hover {
  background-color: #e0e0e0;
}

.feedback-option input[type="checkbox"] {
  margin-right: 10px;
}

.feedback-option label {
  cursor: pointer;
  font-size: 16px;
}

.button-group {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.submit-btn, .skip-btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s;
}

.submit-btn {
  background-color: #4CAF50;
  color: white;
}

.submit-btn:hover {
  background-color: #45a049;
}

.skip-btn {
  background-color: #f5f5f5;
  color: #333;
}

.skip-btn:hover {
  background-color: #e0e0e0;
}

/* Form styles */
.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Summary styles */
.summary-container {
  text-align: left;
}

.prizes-summary {
  list-style-type: none;
  padding-left: 0;
  margin: 20px 0;
}

.prizes-summary li {
  padding: 10px;
  margin-bottom: 8px;
  background-color: #f5f5f5;
  border-radius: 4px;
  border-left: 4px solid #4CAF50;
}

.prize-number {
  font-weight: bold;
  color: #4CAF50;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #container {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .wheelSVG {
    width: 100%;
    height: auto;
  }
  
  .spinBtn {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
  
  .modal {
    width: 90%;
    padding: 16px;
  }
}

/* Ensure the wheel is visible */
.wheel, .wheelSVG {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

/* Fix for GSAP animation issues */
svg.wheelSVG {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Make sure the center circle is visible */
.centerCircle {
  opacity: 1;
  visibility: visible;
}