:root{
    --bg:#efefef;
    --maroon:#601360;
    --accent:#ff0707;
    --green:#006821;
    --gold:#f7c948;
    --cardbg:#fff;
    --muted:#6b6b6b;
  }
  *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    font-family: "Montserrat",system-ui,Arial;
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    display: flex;
    justify-content: center;
  }
          .popup {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            font-weight: 600;
            background-color: white;
            border: 1px solid #ccc;
           line-height: 30px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
            z-index: 999999;
            width: 90%;
            height: 90%;
            overflow-y: scroll;
            
        }
        
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

  /* center a mobile-width mockup */
  .frame{
    width:412px; /* screenshot width */
 
    background:linear-gradient(#ddd,#ddd);
 
  
    box-shadow:0 10px 40px rgba(0,0,0,.08);
  }

  /* card that holds website */
  .site{
    width: 412px;
 
    background: #ffffff;
   
    overflow:hidden;
    box-shadow:0 2px 0 rgba(0,0,0,.06);
  }

  /* top maroon bar */
  header.topbar{
    background:var(--maroon);
    color:#fff;
    padding:;
    padding-right: 35px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .topbar img{
      width: 100%;
     
      position: relative;
  }
  .brand{
    display:flex;
    gap:10px;
    align-items:center;
    font-weight:700;
    font-size:20px;
  }
  .brand .logo{
    width:40px;height:28px;background:linear-gradient(90deg,#fff 0 40%, #f2e6d6 41%);border-radius:6px;padding:2px;font-weight:700;color:var(--maroon);display:flex;align-items:center;justify-content:center;font-size:12px;
  }

    .rummygiftlogo img{
        height: 80%;
     
  }
  .logo img{
      width:100%;
  }
  .telesupport{
    
      z-index: 9999;
      width: 250px;
      height:25px;
      display: flex;
      justify-content: center;
      align-items: center;
    
  }

  .ad-btn{
    background:#2aa6ff;
    color:#fff;
    padding:6px 10px;
    border-radius:20px;
    font-weight:600;
    font-size:13px;
  }

  /* nav row */
  nav.topnav{
    display:flex;
    gap:12px;
    font-weight: 700;
    align-items:center;
    justify-content: center;
    padding:10px 14px;
    border-bottom:1px solid #eee;
  }
  nav a{
    color:#222;
    text-decoration:none;
    display:flex;
    gap:8px;
    align-items:center;
    justify-content: center;
    font-size:15px;
  }
  nav a svg{opacity:.8}

  /* Important notice banner */
  .notice{
    background:#0b4e7a;
    color:#fff;
    margin:12px;
    border-radius:8px;
    padding:14px;
    text-align:center;
    font-size:12px;
    line-height:1.2;
  }
/* --- Slider container --- */
.slider {
  position: relative;
  width: 412px;
  height: 110px;
  overflow: hidden;
 
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Each image --- */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide img {
  width: 100%;

  object-fit: cover;
  border-radius: 10px;
}

/* --- Active slide --- */
.slide.active {
  opacity: 1;
}

/* --- Navigation buttons --- */
button.prev, button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 4px;
  visibility: hidden;
}
button.prev { left: 10px; }
button.next { right: 10px; }
button:hover {
  background-color: rgba(0,0,0,0.8);
}


/* --- Optional dots --- */
.dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  visibility: hidden;
}
.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 4px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}
.dots span.active {
  background: #333;
}
  /* featured apps row */
.featured {
  display: flex;
  gap: 10px;
  padding: 14px;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
  .app{
    width:32%;
    background:var(--cardbg);
    border-radius:8px;
    text-align:center;
    padding:10px 6px 14px;
    position:relative;
    box-shadow:0 1px 0 rgba(0,0,0,.05);
  }


#stcard {
  position: absolute;
  left: 50%;
  bottom: 40px; /* Adjust for vertical overlap */
  transform: translateX(-50%);
  background-color: #ffffff;
  width: 140px;
  z-index: 10; /* keep on top */
  border-radius: 4px;
}

  .crown{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    top:-18px;
    font-size:12px;

    border-radius:10px;
 
    font-weight:700;
  }
  .app .icon{
    width:80px;height:80px;margin:8px auto;border-radius:12px;
    display:flex;align-items:center;justify-content:center;font-weight:700;
    background:linear-gradient(45deg,#f6d7c9,#f4b18a);
    color:var(--maroon);
    box-shadow:inset 0 -6px 12px rgba(0,0,0,.05);
  }
  .icon img{
      width: 100%;
      height: 100%;
  }
  .app h4{margin:8px 0 6px;font-size:12px}
  .rating{
    font-size:12px;margin-bottom:8px;
    display:flex;flex-direction:column;gap:4px;align-items:center;
  }
  .secure{
    font-size:9px;color:var(--muted);display:flex;align-items:center;
    justify-content:center; gap:2px;
  }
  .secure img{
    width: 12px;

  }
  .download{
    display:inline-block;
    margin-top:8px;
    background:var(--accent);
    color:#fff;
    padding:4px 8px;
    border-radius:6px;
    font-weight:700;
    font-size:12px;
    text-decoration:none;
  }

  /* tabs */
  .tabs{
    display:flex;
    padding: 0px 0px;
    border: 1px solid purple;
    
    
    background:#fff;border-radius:6px;padding:0 18px;font-size:14px;
  } 
  .tab{
    flex:;padding:4px 4px;border-radius:2px;text-align:center;font-weight:600;color:var(--maroon);
    margin: 0 5px;
    background:linear-gradient(#380d4b,#a004a8);
    color:#fff;
    border: 2px solid purple;

  }
  .tab.inactive{
    background:#fff;color:#4b0d0f;border:1px solid #e3d7d7;font-weight:600;
  }

  /* list of apps */
  .list{padding:6px 8px 8px}
  .row{
    display:flex;
    gap:4px;
    align-items:center;
    padding:6px;
    background:#fff;
    margin:10px 8px;
    border-radius:6px;
    border-left:4px solid rgba(7,166,255,.06);
    box-shadow:0 1px 0 rgba(0,0,0,.03);
  }
  .row .thumb{
    width:75px;height:65px;border-radius:10px;background:linear-gradient(45deg,#ffd39b,#ff9f43);
    display:flex;align-items:center;justify-content:center;font-weight:700;color:#6b2a00;font-size:14px;
    flex-shrink:0;overflow: hidden;
  }
  .thumb img{   
      width: 100%;
      height: 100%;
      
  }
  .meta{
    flex:1;
    min-width:0;
  }
  .meta h5{margin:0 0 6px ;font-size:14px; font-weight: 680;} 
  .meta .meta-row{font-size:12px;color:var(--muted);display:flex;align-items:center;flex-wrap:wrap;line-height:15px}
  .meta .meta-row .bonus{color:#e96b00;font-weight:700}
  .meta .meta-row .filesize{color:#6b9b6b}
  .meta .withdraw{color:var(--green);font-weight:600;margin-top:0px;display:block; font-size:12px;}

  .dlbtn{
    background:#ff0a0a;
    color:#fff;padding:4px 6px;border-radius:8px;font-weight:900;text-decoration:none;
    white-space:nowrap;
    display:inline-flex;align-items:center;gap:8px;
    box-shadow:0 2px 0 rgba(0,0,0,.06);
    font-size:10px;
  }

  /* small divider line */

.telegram-btn {
    position: fixed;
    right: 10px;
    bottom: 25%;
    transform: translateY(50%);
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 99999;
    animation: bounceu 1s infinite;
    transition: all 0.3s ease-in-out;
}

/* Oval background behind the logo */
.oval-bg {
margin-right: -10px ;

    display: flex;
    justify-content: center;
    align-items: center;
   
  
    transition: all 0.3s ease-in-out;
    z-index: 9999;
    overflow: hidden;
}

/* Telegram logo inside the oval */
.telegram-logo {
    width: 75px;
    margin: 0;
    
    color: white;
    transition: transform 0.3s ease-in-out;
    z-index: 99999;
}

.telegram-logo img {
    width: 100%;
    height: 100%;
    z-index: 99999;
}

.telegram-logo:hover {
    transform: scale(1.1);
}

/* The "Join Us" text */
.join-text {
    font-size: 10px;
    background-color: #0088cc;
    border-radius: 40px;
    padding: 5px 12px;
    font-weight: bold;
    color: white;
    margin-left: 10px;
    opacity: 0;
    transform: translateX(-50px); /* Start off-screen from left */
    animation: slideInOut 4s infinite; /* Reverse slide animation */
}
.telesupport{
     cursor: pointer;
   
    animation: bounce 1s infinite;
    transition: all 0.3s ease-in-out;
}


/* Bounce animation for the logo */
@keyframes bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-10px);
    }
}
@keyframes bounceu {
    0%, 100% {
        transform: translateY(0);
    }
    20% {
        transform: translateY(-10px);
    }
}

/* Slide in and out animation for the "Join Us" text */
@keyframes slideInOut {
    0% {
        opacity: 0;
        transform: translateX(80px); /* Start off-screen to the left */
    }
    25% {
        opacity: 1;
        transform: translateX(0); /* Slide in from left to right */
    }
    50% {
        opacity: 1;
        transform: translateX(0); /* Stay in place */
    }
    75% {
        opacity: 1;
        transform: translateX(80px); /* Slide out towards the left */
    }
    100% {
        opacity: 0;
        transform: translateX(80px); /* Stay off-screen to the left */
    }
}

/* Optional: When clicking the button */
.telegram-btn:active .telegram-logo {
    animation: none;
    
}


  /* footer */
  footer{
    background:var(--maroon);
    color:#fff;
    padding:18px 14px 28px;
    text-align:left;
    font-size:14px;
    margin-top:10px;
    text-align: center;
  }
  footer .links{display:flex;gap:10px;flex-wrap:wrap; justify-content: center;}
  footer a{color:#fff;text-decoration:none;font-size:13px;opacity:.95}
  footer .copyright{margin-top:12px;font-size:12px;color:rgba(255,255,255,.85)}
  .hidden {
  display: none !important;
}
footer a{
  border: 1px solid white;
  padding: 5px 10px;
  border-radius: 10px;
  
}
.footerbtns{
  display: flex;
  justify-content: center;
  align-items: center;
}
.fbhtn{
  width: 50px;
  height: 50px;
}




  /* small responsive tweaks for our fixed width */
@media screen and (max-width: 767px) {
     body {
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    overflow: -moz-scrollbars-none;    /* old Firefox */
    -ms-overflow-style: none;          /* IE and Edge */
    scrollbar-width: none;             /* Firefox */
  }

  /* Hide scrollbar for WebKit browsers (Chrome, Safari, Opera) */
  body::-webkit-scrollbar {
    display: none;
  }
    .frame{width:100vw;}
    .site{width:100vw;margin:0 auto}
    .slider {
 
  width: 100vw;
 
}
  }

  /* little utilities */
  .muted{color:var(--muted);font-size:12px}
  .green{color:var(--green);font-weight:700}