*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
background:#ececec;
}

/* HERO */

.hero{
background:linear-gradient(135deg,#7d2253,#65428f);
padding:70px 15px;
text-align:center;
color:#fff;
}

.hero h1{
font-size:60px;
margin-bottom:20px;
font-weight:700;
}

.hero p{
max-width:800px;
margin:0 auto;
font-size:24px;
line-height:1.6;
}

/* LIVE BOX */

.live-box{
max-width:550px;
margin:40px auto 0;
overflow:hidden;
border-radius:8px;
box-shadow:0 4px 15px rgba(0,0,0,.2);
}

.live-header{
background:#ffe600;
color:#000;
font-size:22px;
font-weight:bold;
padding:12px;
}

.live-body{
background:red;
padding:30px;
}

.live-title{
color:#ffff00;
font-size:42px;
font-weight:bold;
}

.live-result{
color:#fff;
font-size:48px;
margin:15px 0;
font-weight:bold;
}

.refresh-btn{
background:#ff8fc3;
border:none;
padding:12px 30px;
color:#fff;
cursor:pointer;
border-radius:4px;
}

.refresh-btn:hover{
opacity:.9;
}

/* PANEL CHART */

.chart-section{
padding:50px 15px;
background:#ececec;
}

.chart-title{
text-align:center;
color:red;
font-size:50px;
text-decoration:underline;
margin-bottom:30px;
}

.table-wrapper{
width:100%;
overflow-x:auto;
}

.result-table{
width:100%;
min-width:900px;
border-collapse:collapse;
background:#fff;
}

.result-table th{
background:#f3f3f3;
}

.result-table th,
.result-table td{
border:1px solid #888;
padding:10px;
text-align:center;
vertical-align:middle;
}

.panel{
display:block;
font-size:22px;
font-weight:bold;
}

.digit{
display:block;
font-size:42px;
font-weight:900;
color:red;
}

.date-col{
    font-weight:bold;
}

/* Sunday Date Only */

.date-col.sunday-row{
    background:red !important;
    color:#fff !important;
    font-weight:bold;
}

/* SUNDAY */

.sunday-row{
background:red !important;
color:#fff !important;
font-weight:bold;
}

/* CLOSED RESULT */

.closed-cell{
background:red;
color:#fff;
font-weight:bold;
padding:8px;
border-radius:4px;
display:block;
}

/* MOBILE */

@media(max-width:768px){

.hero h1{
font-size:42px;
}

.hero p{
font-size:18px;
}

.live-title{
font-size:32px;
}

.live-result{
font-size:36px;
}

.chart-title{
font-size:34px;
}

.panel{
font-size:16px;
}

.digit{
font-size:28px;
}

.refresh-btn{
width:100%;
}

}

@media(max-width:480px){

.hero{
padding:50px 15px;
}

.hero h1{
font-size:32px;
}

.hero p{
font-size:15px;
}

.live-header{
font-size:18px;
}

.live-title{
font-size:26px;
}

.live-result{
font-size:28px;
}

.chart-title{
font-size:28px;
}

}

/* FOOTER */

.footer{
    width:100%;
    background:#000;
    padding:20px 10px;
    text-align:center;
}

.footer p{
    margin:0;
    color:#fff;
    font-size:14px;
    font-weight:600;
    text-align:center;
    display:block;
}

/* Mobile */

@media(max-width:768px){

.footer p{
    font-size:12px;
}

}
/* Animated MAIN TTM */

.live-title{
    font-size:42px;
    font-weight:bold;
    animation: colorChange 3s infinite;
}

@keyframes colorChange{

    0%{
        color:#ffff00; /* Yellow */
    }

    20%{
        color:#ffffff; /* White */
    }

    40%{
        color:#00ff00; /* Green */
    }

    60%{
        color:#00ffff; /* Cyan */
    }

    80%{
        color:#ff00ff; /* Pink */
    }

    100%{
        color:#ffff00; /* Yellow */
    }

}

/* NOTICE BOX */

.notice-box{
    max-width:900px;
    margin:25px auto 0;
    background:#f8f8f8;
    border:1px solid #ff0000;
    padding:14px 20px;
    text-align:center;
    color:#c00000;
    font-size:22px;
    font-weight:600;
    border-radius:2px;
}

.notice-icon{
    font-size:24px;
    margin-right:10px;
    vertical-align:middle;
}

.notice-text{
    vertical-align:middle;
}

/* Mobile */

@media(max-width:768px){

.notice-box{
    font-size:16px;
    padding:12px;
    margin:20px 10px 0;
}

.notice-icon{
    font-size:18px;
}

}
