/* RESET */
body{
  margin:0;
  padding:0;
  font-family:Arial, sans-serif;
  color:#f5f0e6;

  /* 🌟 Dark luxury background */
  background:
    radial-gradient(circle at top, rgba(164,113,72,0.25), transparent 60%),
    radial-gradient(circle at bottom, rgba(107,79,58,0.25), transparent 60%),
    linear-gradient(135deg,#1a1410,#2b1d13,#3b2f2f);
}

body::before{
  content:"";
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  background:
    radial-gradient(circle at 30% 20%, rgba(164,113,72,0.2), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(214,191,163,0.15), transparent 40%);

  pointer-events:none;
}

/* ================= HEADER ================= */
.header{
  position:sticky;
  top:0;
  z-index:1000;

  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;

  padding:15px 16px;
  background:#3b2f2f;
}

/* MENU */
.menu{
  justify-self:start;
  cursor:pointer;
}

.menu div{
  width:25px;
  height:3px;
  background:white;
  margin:4px 0;
  border-radius:2px;
}

/* LOGO */
.logo{
  font-size:32px;
  font-weight:900;
  letter-spacing:2px;
  color:white;
  text-align:center;
}

.logo span{
  color:#d6bfa3;
}

/* ================= HERO IMAGE ================= */
.hero img {
  width:100%;
  height:85vh;
  display:block;
  margin:0;
}

/* ================= DOWNLOAD BUTTON ================= */
.download-section{
 text-align: center;
 margin-top: 15px;
 
}

.download-btn{
  display:inline-block;
  padding:16px 50px;
  font-size:18px;
  font-weight:700;
  letter-spacing:1px;

  color:white;
  text-decoration:none;
  border:none;
  border-radius:50px;
  cursor:pointer;

  /* 🌟 Premium gradient */
  background:linear-gradient(135deg,#3b2f2f,#6b4f3a,#a47148);

  /* 🌟 Glow effect */
  box-shadow:0 10px 25px rgba(0,0,0,0.25);

  transition:0.3s ease;
  position:relative;
  overflow:hidden;
}

.btn:hover, .download-btn:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 15px 35px rgba(0,0,0,0.35);
}
.btn:active, .download-btn:active{
  transform:scale(0.95);
}


/* ================= SIDEBAR ================= */
.sidebar{
  position:fixed;
  top:0;
  left:-260px;
  width:260px;
  height:100%;

  background:rgba(255,255,255,0.2);
  backdrop-filter:blur(12px);

  padding-top:60px;
  transition:0.3s;
  z-index:999;
}

.sidebar a{
  display:block;
  padding:14px 20px;
  color:#3b2f2f;   /* FIXED (was white) */
  text-decoration:none;
  font-weight:600;
}

.sidebar a:hover{
  background:#6b4f3a;
  color:white;
}

.close{
  position:flex;
  top:10px;
  right:15px;
  font-size:28px;
  color:#3b2f2f;
  cursor:pointer;
}

/* ================= About teen patti master================= */

.about-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.about-box h2{
  font-size:24px;
  margin-bottom:10px;
  color:#d6bfa3;
}

.about-box p{
  font-size:15px;
  line-height:1.6;
  color:#f5f0e6;
}

/* how to play */

.how-to-play-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.how-to-play-box h2{
  font-size:24px;
  margin-bottom:10px;
  color:#d6bfa3;
}

.how-to-play-box p{
  font-size:15px;
  line-height:1.7;
  color:#f5f0e6;
}

/* app info */

.app-details-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.app-details-box h2{
  font-size:24px;
  margin-bottom:15px;
  color:#d6bfa3;
}

.app-details-box ul{
  list-style:none;
  padding:0;
}

.app-details-box li{
  padding:8px 0;
  font-size:15px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.app-details-box li strong{
  color:#ffffff;
}

/* installation */

.download-install-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.download-install-box h2{
  font-size:24px;
  margin-bottom:10px;
  color:#d6bfa3;
}

.download-install-box p{
  font-size:15px;
  line-height:1.7;
  color:#f5f0e6;
}

/* images */

.gallery-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.gallery-box h2{
  color:#d6bfa3;
  margin-bottom:15px;
  font-size:24px;
}

/* GRID SYSTEM */
.gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:15px;
}

/* IMAGE STYLE */
.gallery img{
  width:100%;
  height:180px;

  object-fit:cover;   /* 👈 prevents stretching */
  border-radius:12px;

  transition:0.3s ease;
}

/* HOVER EFFECT */
.gallery img:hover{
  transform:scale(1.05);
}

/* 📱 MOBILE */
@media (max-width:768px){
  .gallery{
    grid-template-columns:repeat(2, 1fr);
  }

  .gallery img{
    height:140px;
  }
}

/* 📟 SMALL MOBILE */
@media (max-width:480px){
  .gallery{
    grid-template-columns:1fr;
  }

  .gallery img{
    height:200px;
  }
}

/* 💻 LAPTOP */
@media (min-width:1025px){
  .gallery img{
    height:200px;
  }
}

/* bonus and rewars */

.bonus-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.bonus-box h2{
  font-size:24px;
  margin-bottom:10px;
  color:#d6bfa3;
}

.bonus-box p{
  font-size:15px;
  line-height:1.7;
  color:#f5f0e6;
}

/* apps */

.apps-section{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
}

.apps-section h2{
  color:#d6bfa3;
  margin-bottom:15px;
}

/* CONTAINER */
.apps-container{
  display:flex;
  flex-direction:column;
  gap:15px;
}

/* APP CARD */
.app-card{
  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:15px;
  border-radius:12px;

  background:rgba(0,0,0,0.25);
  box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

/* LEFT INFO */
.app-info{
  display:flex;
  align-items:center;
  gap:15px;
}

.app-info img{
  width:60px;
  height:60px;
  border-radius:12px;
  object-fit:cover;
}

/* TEXT */
.app-info h3{
  margin:0;
  font-size:18px;
}

.app-info p{
  font-size:13px;
  margin:2px 0;
  color:#ddd;
}

/* BUTTONS */
.app-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
}

/* DOWNLOAD BUTTON */
.download-btn{
  padding:8px 14px;
  background:linear-gradient(135deg,#3b2f2f,#6b4f3a,#a47148);
  color:white;
  text-decoration:none;
  border-radius:20px;
  font-size:13px;
  text-align:center;
}

/* DETAILS BUTTON */
.details-btn{
  font-size:12px;
  color:#d6bfa3;
  text-decoration:none;
  text-align:right;
}

/* HOVER */
.download-btn:hover{
  transform:scale(1.05);
}

/* 📱 MOBILE */
@media (max-width:768px){
  .app-card{
    flex-direction:column;
    align-items:flex-start;
  }

  .app-actions{
    width:100%;
    flex-direction:row;
    justify-content:space-between;
  }
}

.see-more-container{
  text-align:center;
  margin:30px 0;
}

.see-more-btn{
  display:inline-block;
  padding:14px 35px;

  font-size:16px;
  font-weight:700;
  letter-spacing:1px;

  color:white;
  text-decoration:none;

  border-radius:50px;

  background:linear-gradient(135deg,#3b2f2f,#6b4f3a,#a47148);
  box-shadow:0 10px 25px rgba(0,0,0,0.3);

  transition:0.3s ease;
}

/* HOVER EFFECT */
.see-more-btn:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 15px 35px rgba(0,0,0,0.4);
}

/* CLICK EFFECT */
.see-more-btn:active{
  transform:scale(0.95);
}


.all-games-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.all-games-box h2{
  color:#d6bfa3;
  margin-bottom:15px;
}

/* SCROLLABLE LIST */
.games-list{
  max-height:400px;
  overflow-y:auto;

  padding-right:10px;
}

/* GAME ITEM */
.games-list p{
  padding:8px 10px;
  margin:5px 0;

  background:rgba(0,0,0,0.25);
  border-radius:8px;

  font-size:14px;
  transition:0.3s;
}

/* HOVER */
.games-list p:hover{
  background:#6b4f3a;
  transform:translateX(5px);
}

.see-more-games{
  text-align:center;
  margin:25px 0;
}

.see-more-games-btn{
  display:inline-block;
  padding:14px 40px;

  font-size:16px;
  font-weight:700;
  letter-spacing:1px;

  color:white;
  text-decoration:none;

  border-radius:50px;

  background:linear-gradient(135deg,#3b2f2f,#6b4f3a,#a47148);
  box-shadow:0 10px 25px rgba(0,0,0,0.3);

  transition:0.3s ease;
}

/* HOVER */
.see-more-games-btn:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 15px 35px rgba(0,0,0,0.4);
}

/* CLICK */
.see-more-games-btn:active{
  transform:scale(0.95);
}


.faq-box{
  margin:20px;
  padding:25px;
  border-radius:15px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(10px);

  color:#f5f0e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.faq-box h2{
  color:#d6bfa3;
  margin-bottom:15px;
}

/* FAQ ITEM */
.faq-item{
  margin-bottom:15px;
  padding:10px;

  border-bottom:1px solid rgba(255,255,255,0.1);
}

.faq-item h3{
  font-size:16px;
  color:#ffffff;
  margin-bottom:5px;
}

.faq-item p{
  font-size:14px;
  color:#f5f0e6;
  line-height:1.5;
}


.site-footer{
  margin-top:40px;
  padding:40px 20px;

  background:linear-gradient(135deg,#2b1d13,#3b2f2f,#1c1410);
  color:#f5f0e6;
}

.footer-container{
  max-width:1000px;
  margin:auto;
  text-align:center;
}

.footer-container h2{
  color:#d6bfa3;
  font-size:26px;
  margin-bottom:10px;
}

.footer-container p{
  font-size:14px;
  line-height:1.6;
  color:#e8dccb;
}

/* LINKS */
.footer-links{
  margin:20px 0;
}

.footer-links a{
  color:#f5f0e6;
  margin:0 10px;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.footer-links a:hover{
  color:#d6bfa3;
}

/* DISCLAIMER BOX */
.disclaimer{
  margin-top:20px;
  padding:15px;

  border:1px solid rgba(255,255,255,0.1);
  border-radius:10px;

  background:rgba(255,255,255,0.05);
}

.disclaimer h3{
  color:#d6bfa3;
  margin-bottom:8px;
}

/* COPYRIGHT */
.copyright{
  margin-top:20px;
  font-size:13px;
  color:#bfae9f;
}

/* 📱 MOBILE */
@media (max-width:768px){
  .footer-links a{
    display:block;
    margin:8px 0;
  }

  .footer-container h2{
    font-size:22px;
  }
}


.floating-download{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:9999;

  padding:14px 22px;
  border-radius:50px;

  font-size:15px;
  font-weight:700;
  letter-spacing:1px;

  color:white;
  text-decoration:none;

  background:linear-gradient(135deg,#3b2f2f,#6b4f3a,#a47148);
  box-shadow:0 10px 25px rgba(0,0,0,0.4);

  animation:pulse 2s infinite;
  transition:0.3s ease;
}

/* HOVER EFFECT */
.floating-download:hover{
  transform:scale(1.1);
  box-shadow:0 15px 35px rgba(0,0,0,0.5);
}

/* PULSE ANIMATION */
@keyframes pulse{
  0%{
    transform:scale(1);
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
  }
  50%{
    transform:scale(1.05);
    box-shadow:0 15px 35px rgba(0,0,0,0.6);
  }
  100%{
    transform:scale(1);
    box-shadow:0 10px 25px rgba(0,0,0,0.4);
  }
}


.popup-overlay{
  position:fixed;
  inset:0;

  background:rgba(0,0,0,0.75);
  display:flex;
  justify-content:center;
  align-items:center;

  z-index:99999;
  animation:fadeIn 0.25s ease;
}

/* BOX */
.popup-box{
  width:90%;
  max-width:380px;

  padding:25px;
  border-radius:18px;

  background:linear-gradient(135deg,#2b1d13,#3b2f2f,#6b4f3a);
  color:#fff;

  text-align:center;

  box-shadow:0 20px 50px rgba(0,0,0,0.6);

  transform:scale(0.9);
  animation:pop 0.3s ease forwards;
}

/* ICON */
.popup-icon{
  font-size:40px;
  margin-bottom:10px;
}

/* TITLE */
.popup-box h2{
  font-size:22px;
  margin-bottom:8px;
}

/* TEXT */
.sub-text{
  font-size:13px;
  color:#f5f0e6;
  margin-bottom:15px;
}

/* FEATURES GRID */
.popup-features{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;

  margin-bottom:20px;
}

.popup-features div{
  background:rgba(255,255,255,0.08);
  padding:8px;
  border-radius:10px;
  font-size:12px;
}

/* BUTTON */
.popup-btn{
  display:inline-block;
  width:100%;
  padding:14px;

  font-size:16px;
  font-weight:700;

  border-radius:50px;
  text-decoration:none;

  color:#3b2f2f;
  background:linear-gradient(135deg,#f5f0e6,#d6bfa3);

  box-shadow:0 10px 25px rgba(0,0,0,0.3);

  transition:0.3s ease;
}

.popup-btn:hover{
  transform:scale(1.05);
}

/* SMALL TEXT */
.small-text{
  margin-top:10px;
  font-size:11px;
  color:#d6bfa3;
}

/* CLOSE BUTTON */
.close-btn{
  position:absolute;
  margin-left:150px;
  margin-top:-10px;

  font-size:24px;
  cursor:pointer;
}

/* ANIMATIONS */
@keyframes fadeIn{
  from{opacity:0;}
  to{opacity:1;}
}

@keyframes pop{
  to{transform:scale(1);}
}

.popup-logo{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}

.popup-logo img{
  width:70px;
  height:70px;

  border-radius:15px;
  object-fit:cover;

  box-shadow:0 10px 20px rgba(0,0,0,0.4);

  animation:logoPop 0.5s ease;
}

/* animation */
@keyframes logoPop{
  from{
    transform:scale(0);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}