* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    list-style-type: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    width: 97%;
    margin: auto;
    min-height:100vh;
    border-left:2px solid #2fb67c;
    border-right:2px solid #2fb67c;
}

header {
    display: flex;
    align-items: center;
    margin:0 15px;
    padding-top:15px;
}

header .logo img {
    width: 80px;
}

header .web_name {
    margin-left: 5px;

}

header .web_name .tittle {
    font-weight: 300px;
    font-size: 20px;
    padding-bottom: 5px;
}

header .web_name .sub_tittle {
    font-size: 12px;
}

/* ========================nav============================= */

nav {
    background: linear-gradient(to bottom,#2fb67c,#BFE118);
    padding: 10px;
    align-items: end;
    border-radius: 15px;
    box-shadow:1px 3px 7px #383838;
    margin:15px;
    position:relative;
    
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
}

nav ul li a {
    color: white;
    font-size: 15px;
    padding: 6px 15px 6px 15px;
    transition: all 0.5s;
    border-radius: 7px;
}


nav ul li a:hover {
    background-color: transparent;
    color: black;
}

nav ul li a.active {
    background-color: transparent;
    color: black;
}

nav i {
    font-size:30px;
    color:white;
    border:1px solid white;
    border-radius:5px;
    display:none !important;
}


@media screen and (max-width:500px){
    
    nav i {
    display:block !important;
}
    
  nav{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    cursor:pointer;
   }
   
 nav ul {
    position:absolute;
    flex-direction:column;
    background:#BFE118;
    left:0;
    right:0;
    top:50px;
    border-radius: 15px;
    margin:15px;
    display:none;
 }
nav ul.open {
    display:flex;
 }

 
}





/* =====================main====================== */

main > .title {
    font-size: 30px;
    color: #FF0040;
    text-align:center;
    margin-top:40px;
}
main > .summary {
    font-size: 20px;
    color: #2fb67c;
    text-align:center;
    margin-top:20px;
}


.results{
    display:flex;
    gap:15px;
    flex-direction:column;
    width:70%;
    margin:auto;
        margin-top:20px;
}


@media screen and (max-width:700px){
    .results{
    width:95%;
}
}


.results .result{
    width:100%;
    min-height:140px;
    border:1px solid #2fb67c;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    flex-direction:column;
    padding:10px 0;

}

.results .result .title{
    font-size:25px;
    color:black;
}

.results .result a{
    background-color:#edebeb;
    color:#2fb67c;
    font-size:20px;
    border:none;
    text-decoration:none;
    border-bottom:2px solid transparent;
    padding:3px 10px;
    cursor:pointer;
}
.results .result a:hover{
    background-color:#edebeb;
    color:black;
    border-bottom:2px solid black;
}

.coming-box{

display:flex;
justify-content:center;
align-items:center;
gap:12px;

margin:25px 0;

font-family:Poppins,sans-serif;

}

.dot{

width:18px;

height:18px;

border-radius:50%;

background:linear-gradient(45deg,#ff9800,#ffeb3b);

box-shadow:0 0 12px #ff9800;

animation:pulse 1.2s infinite;

}

.coming-text{

font-size:34px;

font-weight:900;

background:linear-gradient(
90deg,
#ff0000,
#ff9800,
#ffee00,
#00e676,
#00b0ff,
#7c4dff,
#ff1744);

background-size:500% auto;

-webkit-background-clip:text;

-webkit-text-fill-color:transparent;

animation:rainbow 4s linear infinite;

letter-spacing:1px;

}

.coming-time{

padding:10px 18px;

background:#111;

color:#fff;

border-radius:30px;

font-weight:bold;

font-size:18px;

min-width:150px;

text-align:center;

box-shadow:0 0 20px rgba(0,0,0,.25);

}

@keyframes rainbow{

0%{background-position:0%}

100%{background-position:500%}

}

@keyframes pulse{

0%{

transform:scale(1);

}

50%{

transform:scale(1.3);

}

100%{

transform:scale(1);

}

}

.wait-box{

display:flex;
justify-content:center;
align-items:center;
gap:12px;

margin:25px 0;

}

.wait-dot{

width:18px;
height:18px;

border-radius:50%;

background:#00bcd4;

box-shadow:0 0 15px #00bcd4;

animation:pulse 1s infinite;

}

.wait-text{

font-size:32px;

font-weight:800;

background:linear-gradient(
90deg,
#00e5ff,
#00c853,
#ffeb3b,
#ff9800,
#ff1744,
#7c4dff
);

background-size:300%;

-webkit-background-clip:text;

background-clip:text;

color:transparent;

animation:rainbow 3s linear infinite;

text-align:center;

}


.pdf-loading{

background:#f5f5f5;

padding:20px;

font-size:18px;

font-weight:bold;

color:#2fb67c;

border-radius:8px;

margin-bottom:10px;

text-align:center;

animation:blink 1s infinite;

}

@keyframes blink{

0%{

opacity:.3;

}

50%{

opacity:1;

}

100%{

opacity:.3;

}

}

.download-btn{

display:inline-block;

padding:12px 28px;

background:#2fb67c;

color:white;

font-weight:bold;

border-radius:8px;

transition:.3s;

}

.download-btn:hover{

background:#188756;

transform:scale(1.05);

}

.result-card{

box-shadow:0 4px 12px rgba(0,0,0,.08);

}



/* ========================footer=========================== */


footer {
    background-color: wheat;
    padding: 20px;
    margin-top: 500px;
}

footer ul {
    display: flex;
    justify-content: center;
}


footer ul li a {
    align-items: center;
    font-size: 13px;
    border-left: 2px solid rgb(61, 61, 61);
    margin-left: 5px;
    padding-left: 5px;
    margin-top: 7px;
}

.resrved {
    text-align: center;
    font-size: 13px;
    color: rgb(44, 43, 43);

}

.resrved span {
    font-weight: bold;
}


/* ===== Mobile Responsive Coming Soon ===== */

@media screen and (max-width:700px){

    .coming-box{

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        gap:12px;

    }

    .coming-text{

        font-size:42px;
        line-height:45px;
        text-align:center;

    }

    .coming-time{

        font-size:20px;
        padding:10px 22px;
        border-radius:40px;

    }

    .dot{

        display:none;

    }

}



@media(max-width:700px){

.wait-text{

font-size:22px;

line-height:30px;

}

}

/* ===== DhaanLaxmi Home Section Integration ===== */
.home-content-section { width: 100%; }
.home-content-section > .title, main > .title { font-size:30px; color:#FF0040; text-align:center; margin-top:40px; }
.home-content-section > .summary, main > .summary { font-size:20px; color:#2fb67c; text-align:center; margin-top:20px; }
.home-content-section .results { margin-top:20px; }
.home-content-section .results .result iframe { display:block; border:1px solid #ababab; width:70%; height:70vh; min-height:500px; }
.home-content-section .bumper-home-results { width:70%; margin:20px auto 0; display:flex; gap:15px; flex-direction:column; }
.home-content-section .bumper-home-card { width:100%; min-height:140px; border:1px solid #2fb67c; display:flex; justify-content:center; align-items:center; gap:15px; flex-direction:column; padding:10px 0; background:#fff; }
.home-content-section .bumper-home-card .title { font-size:25px; color:#000; }
.home-content-section .bumper-home-card iframe { display:block; border:1px solid #ababab; width:70%; height:70vh; min-height:500px; }
.home-content-section .bumper-home-empty { width:70%; margin:20px auto; border:1px solid #2fb67c; padding:20px; text-align:center; color:#777; }
@media screen and (max-width:700px){
  .home-content-section .results,.home-content-section .bumper-home-results,.home-content-section .bumper-home-empty{width:95%;}
  .home-content-section .results .result iframe,.home-content-section .bumper-home-card iframe{width:95%;height:70vh;min-height:450px;}
}

/* ===== Bumper integrated display ===== */
.bumper-results-integrated .bumper-result-item iframe.bumper-pdf-frame{
    display:block;
    border:1px solid #ababab;
    width:70%;
    height:auto;
    min-height:70vh;
}
.bumper-results-integrated .bumper-result-item .download-btn{ margin-top:4px; }
@media screen and (max-width:700px){
    .bumper-results-integrated .bumper-result-item iframe.bumper-pdf-frame{ width:95%; min-height:70vh; }
}

/* ===== FINAL DhaanLaxmi Today Result PDF Viewer Size Fix ===== */
.results:not(.bumper-results-integrated) .result iframe {
    display:block;
    width:70%;
    max-width:720px;
    height:520px !important;
    min-height:520px !important;
    border:1px solid #999;
    background:#fff;
}

@media screen and (max-width:700px){
    .results:not(.bumper-results-integrated) .result iframe {
        width:94%;
        max-width:none;
        height:500px !important;
        min-height:500px !important;
    }
}


/* ===================== Banner Popup Advertisement ===================== */
body.popup-ad-open { overflow: hidden; }

.popup-ad-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: popupAdFadeIn .18s ease-out;
}

.popup-ad-box {
    position: relative;
    width: min(92vw, 920px);
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
    animation: popupAdScaleIn .18s ease-out;
}

.popup-ad-box a {
    display: block;
    width: 100%;
    line-height: 0;
    border-radius: 12px;
    overflow: hidden;
}

.popup-ad-image {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 82vh;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.popup-ad-close {
    position: absolute;
    z-index: 2;
    top: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 28px;
    line-height: 31px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,.35);
    transition: transform .15s ease, background .15s ease;
}

.popup-ad-close:hover { transform: scale(1.06); background: #e53935; }
.popup-ad-overlay.is-closing { opacity: 0; transition: opacity .16s ease; }

@keyframes popupAdFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupAdScaleIn { from { transform: scale(.97); opacity: .8; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 700px) {
    .popup-ad-overlay { padding: 16px 10px; }
    .popup-ad-box { width: 94vw; max-height: 82vh; border-radius: 10px; }
    .popup-ad-image { max-height: 76vh; border-radius: 10px; }
    .popup-ad-close {
        top: -13px;
        right: -7px;
        width: 36px;
        height: 36px;
        font-size: 26px;
        line-height: 29px;
    }
}
