.peg,
.wheelSVG {
    visibility: hidden;
}


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

.centerCircle,
.valueContainer,
.wheelOutline,
.wheelText {
    pointer-events: none;
}

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;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

/* Logo Container Styles */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.company-logo {
    max-width: 500px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

 .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;
    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;
    margin: 0;
}

@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;}

/* Winner Display Styles */
.winner-display {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(32, 29, 81, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.winner-display.show {
    opacity: 1;
    visibility: visible;
}


.winner-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.winner-logo {
    width: 300px;
    max-height: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.winner-content {
    text-align: center;
    background: linear-gradient(135deg, #E81D62, #D71559);
    padding: 3.6rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.5);
    transition: transform 0.5s ease;
    max-width: 90vw;
    width: 600px;
}

.winner-display.show .winner-content {
    transform: scale(1);
}

.winner-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2.5rem;
    color: #FFF;
    margin: 0 0 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.winner-name {
    font-family: 'Fjalla One', sans-serif;
    font-size: 3rem;
    color: #F1DC16;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.winner-details {
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    color: #FFF;
    margin-top: 1rem;
    opacity: 0.9;
}

.winner-note {
    font-family: Montserrat, sans-serif;
    font-size: 1rem;
    color: #F1DC16;
    margin-top: 1.5rem;
    opacity: 0.8;
    font-style: italic;
    border-top: 1px solid rgba(241, 220, 22, 0.3);
    padding-top: 1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hidden {
    display: none !important;
}

/* Scrolling Display Styles */
.scrolling-display {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(32, 29, 81, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scrolling-display.show {
    opacity: 1;
    visibility: visible;
}

.scrolling-content {
    text-align: center;
    background: linear-gradient(135deg, #201D51, #2A2563);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid #E81D62;
    max-width: 90vw;
    width: 600px;
}

.scrolling-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    color: #F1DC16;
    margin: 0 0 2rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.scrolling-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 2rem;
    margin: 1rem 0;
    border: 2px solid #E81D62;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.scrolling-names {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.scrolling-name {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2.5rem;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0.5rem 0;
    opacity: 0.7;
    transition: all 0.1s ease;
    white-space: nowrap;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scrolling-name.highlight {
    color: #F1DC16;
    opacity: 1;
    transform: scale(1.2);
    text-shadow: 0 0 20px #F1DC16;
}

.scrolling-name.winner {
    color: #E81D62;
    opacity: 1;
    transform: scale(1.5);
    text-shadow: 0 0 30px #E81D62;
    animation: winnerPulse 0.5s ease-in-out infinite alternate;
}

.scrolling-indicator {
    margin-top: 1rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(232, 29, 98, 0.3);
    border-top: 4px solid #E81D62;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes glow {
    from { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 10px #F1DC16; }
    to { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px #F1DC16, 0 0 30px #F1DC16; }
}

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

@keyframes winnerPulse {
    0% { 
        transform: scale(1.5);
        text-shadow: 0 0 30px #E81D62;
    }
    100% { 
        transform: scale(1.8);
        text-shadow: 0 0 50px #E81D62, 0 0 70px #F1DC16;
    }
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
    .company-logo {
        max-width: 150px;
        max-height: 60px;
    }
    
    .winner-logo {
        width: 250px;
        max-height: 80px;
    }
    
    .winner-content {
        padding: 2.4rem;
        margin: 1rem;
    }
    
    .winner-title {
        font-size: 2rem;
    }
    
    .winner-name {
        font-size: 2.2rem;
    }
    
    .winner-details {
        font-size: 1rem;
    }
    
    .scrolling-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .scrolling-title {
        font-size: 1.5rem;
    }
    
    .scrolling-name {
        font-size: 1.8rem;
    }
    
    .scrolling-container {
        height: 150px;
        padding: 1rem;
    }
}

@media only screen and (max-width: 480px) {
    .company-logo {
        max-width: 120px;
        max-height: 50px;
    }
    
    .winner-logo {
        width: 200px;
        max-height: 60px;
    }
    
    .winner-content {
        padding: 1.8rem;
        margin: 0.5rem;
    }
    
    .winner-title {
        font-size: 1.5rem;
    }
    
    .winner-name {
        font-size: 1.8rem;
    }
    
    .winner-details {
        font-size: 0.9rem;
    }
    
    .scrolling-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .scrolling-title {
        font-size: 1.2rem;
    }
    
    .scrolling-name {
        font-size: 1.4rem;
    }
    
    .scrolling-container {
        height: 120px;
        padding: 0.8rem;
    }
}

/* Countdown Display Styles */
.countdown-display {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(32, 29, 81, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.countdown-display.show {
    opacity: 1;
    visibility: visible;
}


.countdown-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.countdown-logo {
    width: 300px;
    max-height: 120px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.countdown-content {
    text-align: center;
    background: linear-gradient(135deg, #E81D62, #D71559);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 3px solid #F1DC16;
    max-width: 90vw;
    width: 500px;
    transform: scale(0.5);
    transition: transform 0.5s ease;
}

.countdown-display.show .countdown-content {
    transform: scale(1);
}

.countdown-title {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    color: #FFF;
    margin: 0 0 2rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

.countdown-number {
    font-family: 'Fjalla One', sans-serif;
    font-size: 8rem;
    color: #F1DC16;
    margin: 1rem 0;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5);
    animation: countdownPulse 1s ease-in-out infinite alternate;
    line-height: 1;
}

.countdown-winner-name {
    font-family: 'Fjalla One', sans-serif;
    font-size: 2rem;
    color: #FFF;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

@keyframes countdownPulse {
    0% { 
        transform: scale(1);
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), 0 0 20px #F1DC16;
    }
    100% { 
        transform: scale(1.1);
        text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), 0 0 40px #F1DC16, 0 0 60px #F1DC16;
    }
}

/* Mobile Responsive for Countdown */
@media only screen and (max-width: 768px) {
    .countdown-logo {
        width: 250px;
        max-height: 80px;
    }
    
    .countdown-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .countdown-title {
        font-size: 1.5rem;
    }
    
    .countdown-number {
        font-size: 5rem;
    }
    
    .countdown-winner-name {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 480px) {
    .countdown-logo {
        width: 200px;
        max-height: 60px;
    }
    
    .countdown-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .countdown-title {
        font-size: 1.2rem;
    }
    
    .countdown-number {
        font-size: 4rem;
    }
    
    .countdown-winner-name {
        font-size: 1.2rem;
    }
}
