*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* ==========================================
   STYLE THE NAVIGATION MENU (TOPNAV - EXACT 567 SLOTS)
   ========================================== */
topnav{ 
    position: relative;  
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: block;
}

/* Style the active link (or home/logo) */
.active{
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%);
    color: white;
    font-size: 1rem;
    padding: 10px 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.active img{
    width: 35px;
    height: 35px;
    border-radius: 8px;
    object-fit: cover;
}

.name{
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 5px;
}

.name h1{
    font-size: 1.35rem;
    color: #fff;
    white-space: nowrap;
    padding-left: 0;
}

.name img{
    width: auto;
    height: 35px;
    padding-left: 0;
}

/* Style the hamburger menu (≡ Menu) */
topnav a.icon {
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
} 

#hamburger{
    font-size: 1.2rem;
    padding-top: 0;
}

/* Hide the links inside the navigation menu (6-Button Grid) */
topnav #myLinks {
    display: none;
    background: linear-gradient(to top, #d3d3d3 0, #d3d3d3 1%, #e0e0e0 26%, #efefef 48%, #d9d9d9 75%, #bcbcbc 100%);
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.linkdiv{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
}

#myLinks a{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 0;
    position: relative;
    color: #fff;
    background: linear-gradient(to bottom, #35b54a, #0a7a22);
    border-radius: 8px;
    padding: 10px 4px;
    font-size: clamp(10px, 2.5vw, 13px);
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

#myLinks a:hover{
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%);
}

.icon{
    font-size: 1.5rem;
    background-color: transparent;
}

/* ==========================================
   STYLING THE NAV (Fixed Proportional Strip)
   ========================================== */
nav {
    background: #f4f5f7;
    border-top: 1px solid #000;
    border-bottom: 1px solid #dcdfe4;
    width: 100%;
    overflow: hidden;
}

nav ul{
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul a{
    display: flex;
    text-decoration: none;
    color: #000;
    margin: 0;
    padding: 0;
    cursor: pointer;
    min-width: 0;
}

/* Proportional auto space allocation */
nav ul a:nth-child(1) { flex: 0.72; } /* Home */
nav ul a:nth-child(2) { flex: 0.82; } /* About */
nav ul a:nth-child(3) { flex: 1.15; } /* Contact Us */
nav ul a:nth-child(4) { flex: 1.15; } /* Disclaimer */
nav ul a:nth-child(5) { flex: 1.25; } /* Join Telegram */

nav ul button{
    width: 100%;
    background: #f4f5f7;
    border: none;
    border-right: 1px solid #dcdfe4;
    color: #000;
    cursor: pointer;
    padding: 7px clamp(1px, 0.4vw, 5px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    outline: none;
    transition: background 0.2s ease, color 0.2s ease;
}

nav ul a:last-child button {
    border-right: none;
}

nav ul li{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1px, 0.4vw, 4px);
    font-size: clamp(10px, 2.1vw, 12px);
    font-weight: bold;
    list-style: none;
    margin: 0;
    padding: 0;
    color: inherit;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

nav ul #icon{
    font-size: clamp(10.5px, 2.2vw, 13px);
    padding: 0 1px;
    color: inherit;
    display: flex;
    align-items: center;
}

/* Hover Effects */
nav ul button:hover{
    color: #fff !important;
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%) !important;
}

nav ul button:hover li,
nav ul button:hover #icon {
    color: #fff !important;
}

nav ul a:hover{
    color: #fff;
}

/* Active Ribbon Tab */
.active2{
    color: #fff !important;
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%) !important;
    border-right: 1px solid #0b5e27 !important;
}

.active2 li,
.active2 #icon {
    color: #fff !important;
}

#active2{
    color: #fff;
}

a{
    text-decoration: none;
    color: #000;
}

/* ==========================================
   HEADER & APP SELECTOR
   ========================================== */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
}
.header img{
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
}

.selector{
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 1%;
    cursor: pointer;
    margin-bottom: 15px;
}
.selector a{
    width: 100%;
    border: 1px transparent;
    padding: .9rem;
    margin: .2%;
    background-color: #ccc;
    text-decoration: none;
}
.selector a button{
    background-color: transparent;
    border: transparent;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
}
.active3{
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%) !important;
}
#active3{
    color: #fff;
}

/* ==========================================
   STYLING APP CARDS
   ========================================= */
.cards{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1%;
    padding: .5% 1%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 5px 0px;
    background: #ffffff;
}
.cards .element1{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 100%;
}
.cards .element2 h2{
    font-size: 1.8rem;
    margin-left: 8%;
    width: 100%;
}
.cards .element1 img{
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.cards .element2{
    padding: 2%;
}
.cards .element2 p{
    color: red;
    font-weight: bold;
    font-size: .75rem;
    margin-top: 5%;
    margin-left: 5%;
    width: 100%;
}
.cards .element3{
    margin-right: 7%;
}
.cards .element3 a button{
    border: 2px solid #000;
    border-radius: 5px;
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%);
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, rgba(58, 65, 111, .5) 0 -3px 0 inset;
    color: #fff;
    padding: 15%;
    cursor: pointer;
    font-size: .8rem;
    font-weight: bolder;
    width: max-content;
}
#bank-icon{
    color: green;
}

/* ==========================================
   DIWA GAMES OVERVIEW SECTION
   ========================================== */
.diwa-overview-section {
    background: #ffffff;
    margin: 24px 14px;
    padding: 28px 20px;
    border-radius: 18px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.diwa-container {
    max-width: 900px;
    margin: 0 auto;
}

.diwa-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #6366f1;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.diwa-main-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.diwa-article-body p {
    font-size: 0.92rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 14px;
}

.diwa-lead-text strong {
    color: #111827;
}

.diwa-stats-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 36px;
    margin: 26px 0 34px 0;
    padding: 16px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.diwa-stat-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.1;
}

.diwa-stat-card p {
    font-size: 0.72rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-top: 4px;
}

.diwa-features-wrap {
    margin-top: 20px;
}

.diwa-features-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #111827;
    margin-bottom: 22px;
}

.diwa-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.diwa-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f8fafc;
}

.diwa-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-num {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: 400;
    color: #d1d5db;
    line-height: 1;
    min-width: 40px;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 0.86rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ==========================================
   INFO & NOTICE
   ========================================== */
.info {
    margin-top: 3%;
    margin-bottom: 3%;
    margin-left: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notice{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    border: 2px solid red;
    background-color: #fff7f7;
    margin: 3%;
    border-radius: 3px;
    padding: 3% 3%;
    line-gap-override: 8px;
}
.notice h2{
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.notice p{
    margin-top: 2%;
    font-size: .7rem;
}

/* ==========================================
   FIXED FLOATING ICONS (ALWAYS VERTICALLY CENTERED)
   ========================================== */
.fixed-icon{
    position: fixed;
    top: 50%;
    transform: translateY(-50%); /* Bilkul center mein rakhega */
    right: 8px;
    left: auto;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 9999;
}

.fixed-icon img{
    height: 46px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.tg{
    padding: 0%;
    padding-top: 5%;
    padding-bottom: 3%;
    margin: .1%;
}
.address{
    border: 3px solid #3fae4a;
    background-color: #F0F8FF;
    height: 3rem;
    padding: 2%; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0088cc;
    border-radius: 3px;
    font-size: 1rem;
}
.address a{
    background-color: #0088cc;
    margin-left: 5%;
    border-radius: 3px;
    padding: 2%;
    color: #fff;
    text-decoration: none;
}  

/* ==========================================
   FOOTER
   ========================================== */
.footer-menu{
    margin-top: 3%;
    padding: 3%;
    background: linear-gradient(to top, #0b5e27 0, #3fae4a 100%);
    color: #fff;
}
.footer-menu ul{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.footer-menu ul li{
    list-style: none;
    text-decoration: underline;
    font-weight: bold;
    padding: 1%;
}
.footer-menu h2{
    margin-top: 3%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}
.footer-menu h2 a{
    text-decoration: underline;
    color: #fff;
    font-size: .9rem;
    margin-top: 1%;
}
.footer-menu p{
    font-size: .8rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    color: #ccc;
    margin-top: 3%;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 640px) {
    .diwa-overview-section {
        padding: 20px 14px;
        margin: 18px 10px;
    }
    .diwa-stats-grid {
        gap: 20px;
        justify-content: space-between;
    }
    .diwa-stat-card h3 {
        font-size: 1.35rem;
    }
    .diwa-feature-item {
        gap: 14px;
    }
    .feature-num {
        font-size: 1.6rem;
        min-width: 32px;
    }
}

@media only screen and (max-width: 668px){
    /* Center height par lock */
    .fixed-icon{
        top: 50%;
        transform: translateY(-50%);
        right: 4px;
        left: auto;
        bottom: auto;
    }
    .fixed-icon img{
        height: 40px;
    }
    .active h1 {
        font-size: 1rem;
    }
    .cards .element1{
        display: flex;
        flex-direction: row;
        width: 100%;
    }
    .cards .element2 h2{
        font-size: 1.1rem;
    }
    .cards .element1 h4{
        padding-top: 7%;
    }
    .cards .element1 img{
        width: 75px;
        height: 75px;
    }
    topnav a.icon {
        padding-right: 3px;
    } 
}