/* ===================================
   SATTA KING - MODERN UI STYLES
   Enhanced Design with Same Colors
   =================================== */

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: 'Segoe UI', 'Open Sans', Tahoma, Geneva, Verdana, sans-serif;*/
    font-size: 16px;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    min-height: 100vh;
}

.full-width {
    width: 100%;
    float: left;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    /*display: flex;*/
    flex-wrap: wrap;
    margin: 0 -15px;
}

/*[class*="col-"] {*/
/*    padding: 0px;*/
/*}*/

/*.dnp {*/
/*    padding: 0 !important;*/
/*}*/

/* === HEADER SECTION === */
.header {
    background: linear-gradient(135deg, #903 0%, #b04 100%);
    padding: 20px 0;
    box-shadow: 0 4px 15px rgba(153, 0, 51, 0.4);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.logo h1,
.logo h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

/* === MENU SECTION === */
.menu-section {
    background: linear-gradient(135deg, #f7e246 0%, #ffd700 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.menu {
    padding: 10px 0;
    text-align: center;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /*display: flex;*/
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
}

.menu ul li {
    display: inline-block;
}

.menu ul li a {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(0, 0, 0, 0.1);
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu ul li a:hover,
.menu ul li a.active {
    background: #333;
    color: #f7e246;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* === LIVE RESULTS SECTION === */
.latest-update {
    background: linear-gradient(135deg, #903 0%, #b04 100%);
    padding: 30px 0;
    position: relative;
}

.latest-update::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.latest-update .container {
    position: relative;
    z-index: 1;
}

.latest-update p.heading {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin: 0 0 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.latest-update p {
    font-size: 20px;
    text-align: center;
    margin: 5px 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.latest-update p:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.latest-update p span.highlight {
    font-size: 16px;
    font-weight: 700;
    padding: 0px 0px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: inline-block;
    margin: 0 10px;
}

.latest-update p span.lview_btn a {
    display: inline-block;
    padding: 0px 3px;
    background: #f7e246;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-left: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.latest-update p span.lview_btn a:hover {
    background: #ffd700;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.latest-update p.small {
    font-size: 16px;
    margin-top: 20px;
    background: transparent;
    border: none;
}

/* === MARQUEE SECTION === */
.msg3 {
    background: linear-gradient(135deg, #11417b 0%, #1a5a9e 100%);
    padding: 15px 0;
}

.msg3-inner {
    padding: 10px 0;
}

.msg3 marquee span {
    color: #f7e246;
    font-size: 15px;
    font-weight: 500;
}

/* === MAIN CONTENT SECTION === */
.main-section {
    background: linear-gradient(135deg, #f7e246 0%, #ffd700 100%);
    padding: 2px 0;
    position: relative;
}

.page-content h1 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin: 0 0 30px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* === GAME RESULT BOXES === */
.hm-result-box {
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}


.hm-result-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.hm-result-box:hover::before {
    left: 100%;
}

.hm-result-box p.game-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hm-result-box p.game-name a {
    color: #f7e246;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hm-result-box p.game-name a:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(247, 226, 70, 0.5);
}

.hm-result-box p.game-name span.update-time {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.hm-result-box p.number {
    font-size: 18px;
    text-align: center;
    color: #fff;
    /*display: flex;*/
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.hm-result-box p.number span.old-number,
.hm-result-box p.number span.new-number {
    font-size: 24px;
    font-weight: 700;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    min-width: 80px;
    display: inline-block;
}

.hm-result-box p.number span.new-number {
    background: rgba(255, 255, 255, 0.2);
    animation: newResult 1s ease;
}

@keyframes newResult {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.hm-result-box p.number img {
    vertical-align: middle;
}

/* === ABOUT SECTION === */
.page-content {
    padding: 0px 0;
}

.page-content h2 {
    font-size: 26px;
    color: #333;
    margin: 0 0 20px;
    font-weight: 700;
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #903;
}

/* === CHART LINKS SECTION === */
.gmenu {
    background: linear-gradient(135deg, #730773 0%, #9b0a9b 100%);
    padding: 40px 0;
}

.gmenu h2 {
    color: #fff;
    font-size: 24px;
    text-align: center;
    margin: 0 0 30px;
    font-weight: 700;
}

.gmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.gmenu ul li {
    flex: 0 0 calc(25% - 15px);
}

.gmenu ul li a {
    display: block;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.gmenu ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #f7e246;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* === GUESSING FORUM CTA === */
.guessing_msg {
    padding: 30px 0;
}

.guessing_msg a {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(255, 153, 0, 0.4);
    transition: all 0.3s ease;
}

.guessing_msg a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 153, 0, 0.6);
}

/* === FOOTER === */
.copyright {
    background: #1a1a1a;
    padding: 30px 0 60px;
    border-top: 3px solid #903;
}

.copyright p {
    color: #fff;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.copyright p.list_btn {
    text-align: center;
    margin-bottom: 20px;
}

.copyright p.list_btn a {
    display: inline-block;
    padding: 8px 15px;
    margin: 5px;
    background: rgba(247, 226, 70, 0.1);
    color: #f7e246;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #f7e246;
    font-size: 13px;
    transition: all 0.3s ease;
}

.copyright p.list_btn a:hover {
    background: #f7e246;
    color: #333;
}

/* === REFRESH BUTTON === */
.btn-ref-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, #22a010 0%, #1a8008 100%);
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(34, 160, 16, 0.4);
    transition: all 0.3s ease;
}

.btn-ref-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 160, 16, 0.6);
}

/* === TABLE STYLES === */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.table {
    width: 100%;
    margin-bottom: 0;
    background: #fff;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead {
    background: linear-gradient(135deg, #5FAA66 0%, #4a9956 100%);
}

.table thead th {
    padding: 15px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    border: none;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table thead tr:first-child th:first-child {
    border-top-left-radius: 10px;
}

.table thead tr:first-child th:last-child {
    border-top-right-radius: 10px;
}

.table tbody tr {
    transition: all 0.3s ease;
    background: #fff;
}

.table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.table tbody tr:hover {
    background: rgba(95, 170, 102, 0.1);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table tbody td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: #333;
    font-size: 15px;
}

.table tbody td strong {
    color: #5FAA66;
    font-size: 18px;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table-bordered {
    border: none;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Table background classes */
.bg-primary {
    background: linear-gradient(135deg, #5FAA66 0%, #4a9956 100%) !important;
}

.bg-success {
    background: #fff !important;
}

.bg-success:hover {
    background: rgba(95, 170, 102, 0.05) !important;
}


/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .gmenu ul li {
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (max-width: 768px) {

    .logo h1,
    .logo h2 {
        font-size: 24px;
    }

    .latest-update p.heading {
        font-size: 22px;
    }

    .latest-update p {
        font-size: 16px;
    }

    .page-content h1 {
        font-size: 24px;
    }

    .gmenu ul li {
        flex: 0 0 calc(50% - 15px);
    }

    .hm-result-box {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .menu ul {
        flex-direction: column;
        align-items: center;
    }

    .menu ul li a {
        padding: 10px 12px;
    }

    .latest-update p {
        font-size: 14px;
        padding: 10px;
    }

    .gmenu ul li {
        flex: 0 0 100%;
    }

    .hm-result-box p.number {
        flex-direction: column;
        gap: 10px;
    }

    .btn-ref-float {
        bottom: 10px;
        right: 10px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt10 {
    margin-top: 10px;
}

.mt15 {
    margin-top: 15px;
}

.mt20 {
    margin-top: 20px;
}

.mt30 {
    margin-top: 30px;
}

.mb10 {
    margin-bottom: 10px;
}

.mb15 {
    margin-bottom: 15px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.pt10 {
    padding-top: 10px;
}

.pt15 {
    padding-top: 15px;
}

.pb10 {
    padding-bottom: 10px;
}

.pb15 {
    padding-bottom: 15px;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

/* === LOADING ANIMATION === */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

/*@keyframes spin {*/
/*    to {*/
/*        transform: rotate(360deg);*/
/*    }*/
/*}*/