.bg-repeat::before {
    /* background-image: url('../img/background.png'); */
    background-size: contain;
    background-position: center;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(5px);
    /* opacity: 0.5; */
    z-index: -1;
}

.bg-repeat {
    position: relative;
}

.logo {
    margin: 0 auto;
    text-align: center;
}

.logo img {
    max-width: 100%;
    /* height: 400px; */
    position: relative;
}


.live-button {
    background-color: #fcc524;
    color: red;
    font-size: 30px;
    font-weight: 700;
    padding: 5px;
    margin: 0 auto 30px;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    padding: 30px;
}

.container-fluid {
    text-align: center;
}

.yellow {
    text-align: center;
    text-transform: uppercase;
    color: #fcc524 !important;
    font-weight: 700;
}

.neon {
    color: #fff;
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #C41E3A,
        0 0 30px #C41E3A,
        0 0 40px #C41E3A;

}

.white {
    text-align: center;
    color: #fff;
    font-weight: 700;
}


.col-results {
    margin-top: 20px;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, .1) !important;
    border-radius: 30px;
    padding: 10px;
}

hr {
    border-top: 3px solid #fff;
}

.result-main {
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, .1) !important;
    border-radius: 30px;
    padding: 10px;
}

.col-results {
    margin-top: 20px;
    border: 2px solid #fff;
    background-color: rgba(255, 255, 255, .1) !important;
    border-radius: 30px;
    padding: 10px;
}

.result-main {
    border: 1px solid #fff;
    background-color: rgba(255, 255, 255, .1) !important;
    border-radius: 30px;
    padding: 10px;
}

.ballBig {
    width: 60px;
}

.ballVeryBig {
    width: 60px;
    margin-left: 10px;
}

.ballSmol {
    width: 30px;
    margin-top: 27px;
}

.pickLogo {
    width: 110px;
    margin-top: 20px;
}

.pickLogoBig {
    width: 150px;
}

.bg-drawing {
    background-image: url('../img/bg2.jpg');
    min-height: 100vh;
    background-size: cover;
}

.end-line {
    border-left: solid #fcc524;
}

.times {
    font-size: 47px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 35px;
}

.times-big {
    font-size: 72px;
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 35px;
}

.red {
    color: red;
}

.green {
    color: rgb(0, 184, 63);
    font-weight: 700;
}

.yellow-line {
    width: 80%;
    border-color: #fcc524;
}

.smol {
    margin-right: -15px !important;
}

.top-space {
    margin-top: 70px;
}

.count-down {
    text-align: center;
    color: #fff;
    font-weight: 900;
    line-height: 120px;
    font-size: 140px;
    font-family: Montserrat !important;
}

.ball {
    width: 80px;
}

.winning .ballBig {
    margin-top: 10px !important;
    width: 80px;
}

.winning .pickLogo {
    width: 160px;
    margin: 0;
}

.no-top {
    margin-top: 0;
}

.white.h3 {
    vertical-align: text-top;
}

.left {
    text-align: left !important;
}

.right {
    text-align: right !important;
}

h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}

@media screen and (max-width: 550px) {
    .count-down {
        text-align: center;
        color: #fff;
        font-weight: 900;
        line-height: 100px;
        font-size: 84px !important;
    }
}

@media screen and (max-width: 1600px) {

    .col-results .col-lg-2,
    .col-results .col-lg-10 {
        width: 100% !important;
    }
}

.col-results.next-draw {
    min-height: 750px;
}

.h1-big {
    font-size: 5.8em;
}

.h4 {
    font-weight: bold !important;
}

.next-drawing {
    font-size: 75px;
    line-height: 80px;
}

.next-drawing.tittle {
    top: 210px;
    position: absolute;
    right: 79px;
}

#ended {
    width: 100%;
    height: 100vh;
    background-image: url('../img/ended.png');
    background-size: cover;
    display: none;
    text-align: center;
}

.ballHuge {
    width: 110px;
}

#ended .logo {
    margin-top: 20px;
    width: 720px;
}

#ended .winning {
    font-size: 130px;
    line-height: 100px;
    margin-top: 80px;
}

#ended .date {
    font-size: 90px;
    margin-top: 40px;
}

#ended .pick {
    margin-top: 40px;
    width: 210px;
}

#ended .ball {
    width: 140px;
}

.video-main {
    transform-origin: left top;
    background-color: black;
    padding: 1%;
}

.wordart {
    font-family: Arial, sans-serif;
    font-size: 4em;
    font-weight: bold;
    position: relative;
    z-index: 1;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-top: 20px;
    margin-bottom: 20px;
}

.wordart.orange .text {
    letter-spacing: -0.01em;
    font-family: Impact;
    background: #fff;
    -webkit-text-stroke: 0.01em #fc2700;
    filter: progid:DXImageTransform.Microsoft.Glow(Color=#fc2700, Strength=1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.white-button {
    background-color: #B00A0C;
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    margin: 0 auto 30px;
    border-radius: 5px;
    text-align: center;
    display: block;
    width: 40%;
    cursor: pointer;
    padding: 15px;
}

@media screen and (max-width: 800px) {
    .white-button {
        width: 97%;
        font-size: 25px;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .logo-result {
        width: 350px;
    }
}

.float-up {
    position: absolute;
    top: 2px;
    left: 2px;
    background-color: black;
    color: #FFF;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
    padding: 3px;
    text-decoration: none;
}

.external-logo {
    width: 100%;
}

.ny-logo {
    width: 80%;
}

.emoji-lotto {
    font-size: 2.5em;
    writing-mode: vertical-rl;
}

.container-ratio {
    background-color: black;
    width: 100%;
    padding-top: 56%;
    /* 1:1 Aspect Ratio */
    position: relative;
    /* If you want text inside of it */
    margin-bottom: 1em;
    overflow: hidden;
}

@media screen and (max-width: 600px) {
    .wordart {
        font-size: 1.5em;
    }

    .ballSmol {
        width: 30px;
    }

    .emoji-lotto {
        font-size: 2em;
        writing-mode: vertical-rl;
    }

    .pickLogoAbsolute {
        width: 80%;
        position: absolute;
        left: 0;
        margin-top: 60px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.pulsating-button {
    animation: pulse 2s infinite;
    display: inline-block;
}

/* Base style for all screens */
.logo-winning {
    width: 200px;
}

.external-left-button {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    font-size: 15px;
    width: 200px;
    height: 28px;
    position: fixed;
    top: 45vh;
    left: -88px;
    transform: rotate(90deg);
    z-index: 4;
    background: #059669;
    border: 1px solid #059669;
    color: white;
}

/* For tablets and larger screens */
@media (min-width: 768px) {
    .logo-winning {
        width: 300px;
    }

    .external-left-button {
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        font-size: 15px;
        width: 200px;
        height: 28px;
        position: fixed;
        top: 50vh;
        left: -88px;
        transform: rotate(90deg);
        z-index: 4;
        background: #059669;
        border: 1px solid #059669;
        color: white;
    }

    .title-live {
        margin: 0 200px 0;
    }
}

.cd-main-content {
    text-align: center;
}

.cd-main-content h1 {
    font-size: 20px;
    font-size: 8.25rem;
    color: #636D7E;
    padding: 1em 0;
    font-family: teko;
    text-transform: uppercase;
    text-shadow: rgba(0, 0, 0, 0.03) 2px 2px, rgba(0, 0, 0, 0.0285) 4px 4px, rgba(0, 0, 0, 0.027) 6px 6px, rgba(0, 0, 0, 0.0255) 8px 8px, rgba(0, 0, 0, 0.024) 10px 10px, rgba(0, 0, 0, 0.0225) 12px 12px, rgba(0, 0, 0, 0.021) 14px 14px, rgba(0, 0, 0, 0.0195) 16px 16px, rgba(0, 0, 0, 0.018) 18px 18px, rgba(0, 0, 0, 0.0165) 20px 20px, rgba(0, 0, 0, 0.015) 22px 22px, rgba(0, 0, 0, 0.0135) 24px 24px, rgba(0, 0, 0, 0.012) 26px 26px, rgba(0, 0, 0, 0.0105) 28px 28px, rgba(0, 0, 0, 0.009) 30px 30px, rgba(0, 0, 0, 0.0075) 32px 32px, rgba(0, 0, 0, 0.006) 34px 34px, rgba(0, 0, 0, 0.0045) 36px 36px, rgba(0, 0, 0, 0.003) 38px 38px, rgba(0, 0, 0, 0.0015) 40px 40px;
}

.cd-main-content .cd-btn {
    position: relative;
    display: inline-block;
    padding: .6em 1em;
    background-color: #CCC;
    color: #565E64;
    font-weight: bold;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
    border: 1px solid rgba(54, 54, 54, 0.16);
    font-family: teko;
    font-size: 2rem;
    font-weight: 400;
}

.cd-main-content .cd-btn:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 12px rgba(0, 0, 0, 0.3);

}



@media only screen and (min-width: 1170px) {
    .cd-main-content h1 {
        font-size: 32px;
        font-size: 5rem;
    }
}

.cd-panel {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    -webkit-transition: visibility 0s 0.6s;
    -moz-transition: visibility 0s 0.6s;
    transition: visibility 0s 0.6s;
    z-index: 2;
}

.cd-panel::after {
    /* overlay layer */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    cursor: pointer;
    -webkit-transition: background 0.3s 0.3s;
    -moz-transition: background 0.3s 0.3s;
    transition: background 0.3s 0.3s;
}

.cd-panel.is-visible {
    visibility: visible;
    -webkit-transition: visibility 0s 0s;
    -moz-transition: visibility 0s 0s;
    transition: visibility 0s 0s;
}

.cd-panel.is-visible::after {
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: background 0.3s 0s;
    -moz-transition: background 0.3s 0s;
    transition: background 0.3s 0s;
}

.cd-panel.is-visible .cd-panel-close::before {
    -webkit-animation: cd-close-1 0.6s 0.3s;
    -moz-animation: cd-close-1 0.6s 0.3s;
    animation: cd-close-1 0.6s 0.3s;
}

.cd-panel.is-visible .cd-panel-close::after {
    -webkit-animation: cd-close-2 0.6s 0.3s;
    -moz-animation: cd-close-2 0.6s 0.3s;
    animation: cd-close-2 0.6s 0.3s;
}

@-webkit-keyframes cd-close-1 {

    0%,
    50% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@-moz-keyframes cd-close-1 {

    0%,
    50% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(45deg);
    }
}

@keyframes cd-close-1 {

    0%,
    50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

@-webkit-keyframes cd-close-2 {

    0%,
    50% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-45deg);
    }
}

@-moz-keyframes cd-close-2 {

    0%,
    50% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(-45deg);
    }
}

@keyframes cd-close-2 {

    0%,
    50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

.cd-panel-header {
    position: fixed;
    width: 60%;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.96);
    z-index: 2;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    -webkit-transition: top 0.3s 0s;
    -moz-transition: top 0.3s 0s;
    transition: top 0.3s 0s;
}

.cd-panel-header h3 {
    font-weight: bold;
    color: #89ba2c;
    padding-left: 5%;
}

.from-right .cd-panel-header,
.from-left .cd-panel-header {
    top: -50px;
}

.from-right .cd-panel-header {
    right: 0;
}

.from-left .cd-panel-header {
    left: 0;
}

.is-visible .cd-panel-header {
    top: 0;
    -webkit-transition: top 0.3s 0.3s;
    -moz-transition: top 0.3s 0.3s;
    transition: top 0.3s 0.3s;
}

@media only screen and (min-width: 768px) {
    .cd-panel-header {
        width: 50%;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-panel-header {
        width: 40%;
    }
}

.cd-panel-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    /* image replacement */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

.cd-panel-close::before,
.cd-panel-close::after {
    /* close icon created in CSS */
    position: absolute;
    top: 22px;
    left: 20px;
    height: 3px;
    width: 20px;
    background-color: #424f5c;
    /* this fixes a bug where pseudo elements are slighty off position */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.cd-panel-close::before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.cd-panel-close::after {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.no-touch .cd-panel-close:hover {
    background-color: #424f5c;
}

.no-touch .cd-panel-close:hover::before,
.no-touch .cd-panel-close:hover::after {
    background-color: #ffffff;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.no-touch .cd-panel-close:hover::before {
    -webkit-transform: rotate(220deg);
    -moz-transform: rotate(220deg);
    -ms-transform: rotate(220deg);
    -o-transform: rotate(220deg);
    transform: rotate(220deg);
}

.no-touch .cd-panel-close:hover::after {
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

.cd-panel-container {
    position: fixed;
    width: 60%;
    height: 100%;
    top: 0;
    background: #dbe2e9;
    z-index: 1;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.from-right .cd-panel-container {
    right: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.from-left .cd-panel-container {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.is-visible .cd-panel-container {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
}

@media only screen and (min-width: 768px) {
    .cd-panel-container {
        width: 50%;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-panel-container {
        width: 40%;
    }
}

.cd-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 70px 5%;
    overflow: auto;
    /* smooth scrolling on touch devices */
    -webkit-overflow-scrolling: touch;
    z-index: 1;
}

.cd-panel-content p {
    font-size: 14px;
    font-size: 0.875rem;
    color: #424f5c;
    line-height: 1.4;
    margin: 2em 0;
}

.cd-panel-content p:first-of-type {
    margin-top: 0;
}

@media only screen and (min-width: 768px) {
    .cd-panel-content p {
        font-size: 16px;
        font-size: 1rem;
        line-height: 1.6;
    }
}

.last-winning {
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    border-radius: 5px;
    text-align: center;
    display: block;
    cursor: pointer;
    padding: 15px;
}

/* Important styles */
#toggle {
    display: block;
    width: 28px;
    height: 30px;
    margin: 30px auto 10px;
}

#toggle span:after,
#toggle span:before {
    content: "";
    position: absolute;
    left: 0;
    top: -9px;
}

#toggle span:after {
    top: 9px;
}

#toggle span {
    position: relative;
    display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
    width: 100%;
    height: 5px;
    background-color: white;
    transition: all 0.3s;
    backface-visibility: hidden;
    border-radius: 2px;
}

/* on activation */
#toggle.on span {
    background-color: transparent;
}

#toggle.on span:before {
    transform: rotate(45deg) translate(5px, 5px);
}

#toggle.on span:after {
    transform: rotate(-45deg) translate(7px, -8px);
}

#toggle.on+#menu-mobile {
    opacity: 1;
    visibility: visible;
}

/* menu appearance*/
#menu-mobile {
    position: absolute;
    color: black;
    width: 200px;
    padding: 10px;
    margin: auto;
    text-align: center;
    border-radius: 4px;
    background: white;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
    /* just for this demo */
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s;
    z-index: 1;
}

#menu-mobile:after {
    position: absolute;
    top: -15px;
    left: 95px;
    content: "";
    display: block;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 20px solid white;
}

#menu-mobile ul,
#menu-mobile li,
#menu-mobile li a {
    list-style: none;
    display: block;
    margin: 0;
    padding: 0;
}

#menu-mobile li a {
    padding: 5px;
    color: black;
    text-decoration: none;
    transition: all .2s;
}

#menu-mobile li a:hover,
#menu-mobile li a:focus {
    background: #1ABC9C;
    color: #fff;
}

#menu-mobile p,
#menu-mobile li a {
    font-size: 12px;
    text-align: center;
    color: black;
}

.dropdown {
    width: 200px;
}

.row-ex-results {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.ex-logo {
    max-width: 200px;
    width: 80%;
    max-height: 200px;
    object-fit: contain;
}

.ex-numbers {
    display: flex;
    flex-direction: column;
}

.ex-pick {
    max-width: 70px;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.number-ball {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Existing shadow */
    position: relative;
    /* Required for positioning the pseudo-element */
}

.number-ball::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20%;
    background-color: rgba(0, 0, 0, 0.2);
    /* Shadow color */
    border-radius: 50%;
    filter: blur(5px);
    /* Adjust blur as needed */
}

.container-balls {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: fit-content;
}

.container-balls-dm {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .number-ball {
        font-size: 18px;
        width: 30px;
        height: 30px;
    }

    .container-balls-dm h3 {
        font-size: 20px;
    }

}

.container-balls-dm div {
    margin: 2px;
}

.container-balls-dm h3 {
    font-weight: bold;
    color: #000000;
}

.tab-content .tab-pane {
    display: none;
}

.tab-content .tab-pane.active {
    display: block;
}

/* Glowing Button */
.glowing-button {
    background-color: #1ABC9C;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px #ffffff, 0 0 40px #ffffff, 0 0 80px #1ABC9C;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    font-weight: 900;
}

.glowing-button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #1ABC9C,
        0 0 60px #1ABC9C,
        0 0 100px #1ABC9C;
}

/* Zoom In Button */
.zoom-in-button {
    background-color: #1ABC9C;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 5px;
    transform: scale(1);
    transition: transform 0.3s ease;
    font-weight: 900;
    margin: 10px;
    font-size: 25px;
}

.zoom-in-button:hover {
    transform: scale(1.1);
}

.row-pick-generator {
    display: flexbox;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.number-generated-ball {
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #000000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Existing shadow */
    position: relative;
    /* Required for positioning the pseudo-element */
}

.number-generated-ball::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20%;
    background-color: rgba(0, 0, 0, 0.2);
    /* Shadow color */
    border-radius: 50%;
    filter: blur(5px);
    /* Adjust blur as needed */
}

.ticker {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.7);
}

.ticker-content {
    display: inline-flex;
    align-items: flex-start;
    margin-top: -10px;
}

@keyframes scroll-right {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ticker-spacing {
    padding: 10px;
}

.ticker-lottery-spacing {
    margin-left: 40px;
}

.ex-logo-ticker img {
    width: 130px;
    height: 110px;
    object-fit: contain;
}

.left .ballVeryBig {
    width: 70px;
}

.left .pickLogoBig {
    width: 145px
}

/* --- Fuentes y Reseteo Básico --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');
/* Ejemplo de fuente */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#main {
    font-family: 'Roboto', sans-serif;
    color: #f0f0f0;
    /* Texto claro */
    /* background-image: url('../img/background.jpg'); */
    background-position: center;

    /* Fondo oscuro base */
    min-height: 100vh;
    display: flex;
    justify-content: center;

    /* Centra el contenedor principal si es más pequeño que la ventana */
    background-size: cover;
}

.dashboard-container {
    height: calc(100vh - 80px);
    /* Altura fija para no solaparse con el ticker */
    width: 100vw;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    
}

/* --- Estilos del Header --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Línea divisoria sutil */
}

.clock {
    font-size: 2.5em;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px 10px;
    border-radius: 5px;
    text-align: center;
}

.drawings-nav {
    text-align: center;
    display: flex;
    align-items: center;
    min-width: 100px !important;
    font-weight: bold;
}

.drawings-nav span {
    font-size: 1.9em;
    color: white;
    /* Color grisáceo para la etiqueta */
    margin-bottom: 30px;
}

.drawings-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    align-items: center;
}

.drawings-nav a {
    text-decoration: none;
    color: #FFD700;
    background-color: rgba(0, 40, 104, 0.8);
    /* Azul royal semi-transparente */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    font-size: x-large;
}

.drawings-nav a.with-pulse {
    animation: pulse 2s infinite;
}


.drawings-nav a:hover {
    background-color: rgba(196, 30, 58, 0.9);
    /* Rojo carmesí al pasar el ratón */
}

/* --- Estilos del Contenido Principal --- */
.main-content {
    flex-grow: 1;
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.column {
    padding: 15px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 400px;
}

/* --- Columna Izquierda: Premios --- */
.prizes-column {
    flex: 0 0 20%;
    justify-content: flex-start;
    /* Ancho fijo para la columna de premios */
}

.prizes-column h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 2.1em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.prizes-column table {
    width: 100%;
    border-collapse: collapse;
    /* Sin bordes entre celdas */
    flex-grow: 1;
    /* Esto forzará llenar todo el alto que sobra */
    display: flex;
    flex-direction: column;
}

.prizes-column tbody {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-evenly;
}

.prizes-column tr {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    /* Mueve el borde al tr */
}

.prizes-column tr:last-child {
    border-bottom: none;
}

.prizes-column td {
    padding: 43px 20px;
    font-size: 2.8em;
    font-weight: bold;
    border-bottom: none;
}

.prizes-column img {
    width: 200px !important;
    position: absolute;
    object-fit: fill;
    margin-top: -36px;
}

.prizes-column td:last-child {
    text-align: right;
    font-weight: bold;
    color: #FFD700;
    /* text-shadow: 0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #C41E3A,
        0 0 30px #C41E3A,
        0 0 40px #C41E3A; */
}

/* --- Columna Central: Logo y Timer --- */
.center-column {
    flex: 0 0 25%;
    /* Ancho fijo para la columna central */
    align-items: center;
    /* Centra horizontalmente */
    justify-content: space-evenly;
    /* Centra verticalmente */
    gap: 30px;
    /* Espacio entre logo y timer */
}

.timer-box {
    text-align: center;
    /* background-color: rgba(0, 0, 0, 0.4); */
    padding: 10px;
    border-radius: 8px;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    margin-top: 0px;
}

.timer-icon {
    font-size: 2.5em;
    /* Tamaño del icono de reloj */
    color: #aaa;
    margin-bottom: 10px;
}

.timer-box h3 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 5px;
    font-weight: bold;
    margin-bottom: 35px;
}

#countdown {
    font-size: 4em;
    font-weight: bold;
    color: #FFD700;
    letter-spacing: 2px;
    /* Espaciado entre caracteres */
}

/* --- Columna Derecha: Resultados --- */
.results-column {
    flex: 1;
    /* Ocupa el espacio restante */
    overflow: hidden;
    /* Esconde el overflow */
    width: 950px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Dos columnas iguales */
    grid-template-rows: repeat(2, auto);
    /* Dos filas de altura automática */
    gap: 15px;
    /* Espacio entre cajas de resultados */
    height: 100%;
    /* Ocupa toda la altura de la columna */
    /* width: 100%; */
}

.result-box {
    /* background-color: rgba(40, 40, 60, 0.7); */
    /* Fondo ligeramente diferente para las cajas */
    padding: 10px;
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* Espacio entre elementos dentro de la caja */
    /* min-width: 485px; */
}

.result-box h4 {
    font-size: 2.1em;
    color: #FFD700;
    text-align: center;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
    padding-bottom: 5px;
    margin-bottom: 2px;
    font-weight: bold;
}

.result-box .date {
    font-size: 2.5em;
    color: white;
    text-align: center;
    font-weight: bolder;
}

.winning-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 5px 0;
}

.winning-numbers span {
    font-size: 2em;
    line-height: normal;
    white-space: nowrap;
}

.winning-numbers .num {
    background-color: #C41E3A;
    /* Rojo carmesí del logo */
    color: white;
    border-radius: 50%;
    /* Círculo */
    min-width: 60px;
    height: 60px;
    padding: 0 10px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2em;
    font-weight: bold;
    line-height: 1;
    /* reset line height to prevent pushing down */
    border: 2px solid #FFD700;
    box-shadow: 0 2px 8px rgba(196, 30, 58, 0.5);
}

.pick-results {
    text-align: center;
    font-size: 0.9em;
    color: #ddd;
    margin-top: 5px;
}

.pick-results div {
    margin-bottom: 4px;
}

.pick-results .pick-num {
    display: flex;
    justify-content: center;
    gap: 5px;
    flex-wrap: nowrap;
    border-radius: 3px;
    font-weight: bold;
    color: #fff;
    padding-top: 5px;
}

.pick-results .pick-num span {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    text-align: center;
    line-height: 38px;
    font-size: 2.6em;
}

.main-result-big .pick-num img {
    width: 100px !important;
    height: 100px !important;
}

.last-winning {
    font-size: 1.8em;
    color: yellow;
    text-align: center;
    margin-top: auto;
    /* Empuja hacia abajo */
    padding-top: 5px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

/* --- Scrollbar (Opcional, para Webkit) --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(196, 30, 58, 0.5);
    /* Rojo carmesí semi-transparente */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 30, 58, 0.8);
}

#main .logo {
    /* max-width: 100%; */
    /* Ajusta tamaño del logo */
    /* height: auto; */
    /* padding: 10px; */
    /* border-radius: 5px; */
    position: absolute;
    width: 623px;
    top: 46px;
}

.pick-results .pickLogo {
    margin: 0 auto;
    vertical-align: top;
}

.pick-num {
    display: flex;
    gap: 5px;
}

.pick-num::before,
.pick-num::after {
    content: none;
}

.pick-num span {
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    background: radial-gradient(circle at 30% 30%, #fff, #d3d3d3);
    border: 2px solid #000;
    border-radius: 50%;
    font-size: 3em;
    font-weight: bold;
    color: #000;
    position: relative;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    line-height: 41px;
}

.pick-num span::before,
.pick-num span::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 5px;
    height: 5px;
}

.pick-num span::before {
    top: 3px;
    left: 3px;
}

.pick-num span::after {
    bottom: 3px;
    right: 3px;
}

.neon-border {
    border: 2px solid #FFD700;
    border-radius: 5px;
    box-shadow:
        0 0 2px #FFD700,
        0 0 4px #FFD700,
        0 0 8px #C41E3A,
        0 0 12px #C41E3A,
        0 0 16px #C41E3A;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        box-shadow:
            0 0 2px #FFD700,
            0 0 4px #FFD700,
            0 0 8px #C41E3A,
            0 0 12px #C41E3A,
            0 0 16px #C41E3A;
    }

    50% {
        box-shadow:
            0 0 4px #FFD700,
            0 0 8px #FFD700,
            0 0 12px #C41E3A,
            0 0 16px #C41E3A,
            0 0 20px #002868;
    }

    100% {
        box-shadow:
            0 0 1px #FFD700,
            0 0 2px #FFD700,
            0 0 4px #C41E3A,
            0 0 8px #C41E3A,
            0 0 12px #C41E3A;
    }
}

.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    font-family: Arial, sans-serif;
    margin: 0;
    overflow: hidden;
}

.flipping {
    text-align: center;
    perspective: 50px;
    margin: 5px auto;
}

.flipping__piece {
    display: inline-block;
    margin: 0 2px;
    position: relative;
}

.flipping__slot {
    font-size: 0.7vw;
    color: #fff;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.flipping__card {
    display: block;
    position: relative;
    padding-bottom: 0.72em;
    font-size: 2.8vw;
    line-height: 1.4;
    color: #fff;
}

.flipping__top,
.flipping__bottom,
.flipping__back::before,
.flipping__back::after {
    display: block;
    height: 0.72em;
    color: #ccc;
    background: #222;
    padding: 0.08em;
    border-radius: 0.07em 0.07em 0 0;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    width: 1.8em;
    text-align: center;
    box-sizing: border-box;
}

.flipping__bottom {
    color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    border-top: solid 1px #000;
    background: #393939;
    border-radius: 0 0 0.07em 0.07em;
    pointer-events: none;
    overflow: hidden;
}

.flipping__bottom::after {
    display: block;
    margin-top: -0.72em;
    content: attr(data-value);
}

.flipping__back {
    position: absolute;
    top: 0;
    height: 100%;
    left: 0;
    pointer-events: none;
}

.flipping__back::before {
    position: relative;
    z-index: -1;
    overflow: hidden;
    content: attr(data-value);
}

.flipping .flipping__piece.flip .flipping__back::before {
    animation: flipTop 0.3s cubic-bezier(.37, .01, .94, .35);
    animation-fill-mode: both;
    transform-origin: center bottom;
}

.flipping .flipping__piece.flip .flipping__back .flipping__bottom {
    transform-origin: center top;
    animation: flipBottom 0.6s cubic-bezier(.15, .45, .28, 1);
    animation-fill-mode: both;
}

@keyframes flipTop {
    0% {
        transform: rotateX(0deg);
        z-index: 2;
    }

    99% {
        opacity: 0.99;
    }

    100% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
}

@keyframes flipBottom {

    0%,
    50% {
        z-index: -1;
        transform: rotateX(90deg);
        opacity: 0;
    }

    51% {
        opacity: 0.99;
    }

    100% {
        opacity: 0.99;
        transform: rotateX(0deg);
        z-index: 5;
    }
}

.flipping__ampm {
    font-size: 0.9vw;
    color: #fff;
    margin-left: 3px;
    display: inline-block;
    vertical-align: bottom;
}

@media (max-width: 600px) {
    .flipping__card {
        font-size: 3.5vw;
    }

    .flipping__slot {
        font-size: 0.9vw;
    }

    .flipping__ampm {
        font-size: 1.3vw;
    }
}

#burst-error {
    display: none !important;
}

/* --- Main Result Big (Center blinking result) --- */
.main-result-big {
    width: 100%;
    height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 20px;
}

.main-result-big .pick-num {
    margin-left: 20px;
}

.main-result-big h2 {
    flex-shrink: 0;
}

.main-result-big .result-box {
    width: 95%;
    max-width: 750px;
    flex: 1;
}

/* Fecha más grande en el resultado central */
.main-result-big .result-box .date {
    font-size: 3.5em !important;
    letter-spacing: 4px;
}

/* Números ganadores más grandes */
.main-result-big .result-box .winning-numbers span {
    font-size: 3em;
}

.main-result-big .result-box .winning-numbers .num {
    min-width: 90px;
    height: 90px;
    font-size: 3em;
}

/* Pick logos más grandes */
.main-result-big .result-box .pickLogo {
    width: 200px !important;
}

/* Contenedor del pick logo más ancho para evitar solapamiento */
.main-result-big .result-box .pick-results>div {
    gap: 20px !important;
    padding-left: 200px !important;
}

.main-result-big .result-box .pick-results>div>div{
    width: 140px !important;
    min-width: 140px;
    flex-shrink: 0;
}

/* Pick numbers más grandes */
.main-result-big .result-box .pick-num span {
    width: 65px !important;
    height: 65px !important;
    min-width: 65px !important;
    font-size: 3.5em !important;
    line-height: 55px !important;
}

/* --- Left column: last 3 results stacked --- */
.last-results-column {
    min-width: 280px;
}

.last-results-column .result-box {
    flex: 1;
}

/* Estilos para el resaltado del horario */
.draw-time {
    color: white;
    transition: color 0.3s ease;
    font-size: 30px;
    line-height: 30px;
}
.draw-time.active-draw {
    color: #1bb444; /* Verde brillante */
    text-shadow: 0 0 10px rgba(27, 180, 68, 0.5);
    animation: blink-green 1s infinite alternate;
}
@keyframes blink-green {
    from {
        opacity: 1;
        text-shadow: 0 0 10px rgba(27, 180, 68, 0.5);
    }
    to {
        opacity: 0.4;
        text-shadow: 0 0 20px rgba(27, 180, 68, 0.8);
    }
}

@keyframes blink-red {
    from {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    }
    to {
        opacity: 0.4;
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
}
.tan {
    font-size: 49px !important;
    line-height: 50px;
}
.desen {
    font-size: 49px !important;
    line-height: 50px;
}
