* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
}

/* HEADER */
header {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}
/*
.logo {
  font-weight: bold;
  font-size: 14px;
}
*/
.logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:bold;
  font-size:20px;
}

.logo img{
  height:40px;
  width:auto;
}

/* Logo container */
.logo a{
  display:flex;
  align-items:center;     /* vertical center */
  gap:10px;
  text-decoration:none;   /* remove underline */
}

/* Logo text styling */
.logo-text{
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size:20px;
  font-weight:700;
  color:#050100;
/* attractive orange */
  letter-spacing:1px;
}

/* Remove blue link color */
.logo a:link,
.logo a:visited{
  color:inherit;
}

.menu a {
  font-size: 11px;
  margin-left: 6px;
  text-decoration: none;
  color: #333;
}

.menu .claim {
  background: #000;
  color: #fff;
  padding: 4px 6px;
  border-radius: 3px;
}

/* GRID */
main {
  padding: 6px;
}

/* DENSE MILLION-DOLLAR STYLE GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(8, 1fr); /* was 4, now 8 */
  gap:2px;                              /* tighter gap */
}

/* SMALLER BLOCKS */
.block{
  position:relative;      /* needed for image centering */
  aspect-ratio:1/1;
  background:#e5e5e5;
  border:1px solid #ccc;
  overflow:hidden;
}

.block img{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  background:#fff;
}



/* FREE / BRAND BLOCK (optional color) */
.block.free{
  background:#d6ebff;
}


/* FREE BRAND BLOCK */
.block.free {
  background: #e0e0e0;
}

/* PAID BLOCK */
.block.paid {
  background: #f5f5f5;
}

/* FOOTER */
footer {
  font-size: 11px;
  text-align: center;
  padding: 8px 0;
  border-top: 1px solid #ddd;
}

.popup{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  justify-content:center;
  align-items:center;
  z-index:999;
}

.popup-content{
  background:#fff;
  width:90%;
  max-width:400px;
  padding:15px;
  border-radius:4px;
  position:relative;
}

.popup-content img{
  width:100%;
  height:auto;
}

.close{
  position:absolute;
  top:8px;
  right:10px;
  font-size:20px;
  cursor:pointer;
}

.popup-content h3{
  margin:10px 0 5px;
}

.popup-content p{
  font-size:14px;
  margin-bottom:10px;
}

.popup-content a{
  display:block;
  margin:6px 0;
  padding:8px;
  text-align:center;
  text-decoration:none;
  font-size:14px;
  border-radius:4px;
}

.btn-link{
  background:#000;
  color:#fff;
}

.btn-call{
  background:#007bff;
  color:#fff;
}

.btn-wa{
  background:#25D366;
  color:#fff;
}
/*
.zoom-container{
  position:relative;
  width:100%;
  height:calc(100vh - 80px); /* subtract header/footer approx */
  overflow:hidden;
  touch-action:none;
  background:#e5e5e5;
  cursor:grab;
}
*/
.zoom-container{
  position:relative;
  width:100%;
  background:#e5e5e5;
}


#zoom-grid{
  transform-origin: 0 0;
  transition: transform 0.1s ease;
}

/* Page layout */
.page-wrap{
  padding:15px;
}

.page-content{
  max-width:900px;
  margin:auto;
  background:#ffffff;
}

/* Responsive typography */
.page-content h1{
  font-size:28px;
}

.page-content p{
  font-size:16px;
  line-height:1.6;
}

/* Mobile adjustments */
@media (max-width:768px){

  .page-content{
    padding:10px;
  }

  .page-content h1{
    font-size:22px;
  }

  .page-content p{
    font-size:15px;
  }

}

.blog-list{
  max-width:900px;
  margin:auto;
  padding:20px;
}

.blog-card{
  padding:15px;
  border-bottom:1px solid #ddd;
}

.blog-card h2{
  margin:0;
}

.blog-card a{
  text-decoration:none;
  color:#333;
}

.blog-card a:hover{
  color:#ff5722;
}

.blog-post{
  max-width:900px;
  margin:auto;
  padding:20px;
}

.blog-post h1{
  font-size:30px;
}

.blog-post .content{
  margin-top:15px;
  line-height:1.7;
  font-size:17px;
}

.blog-post img{
  max-width:100%;
  border-radius:6px;
}

.blog-post h1{ font-size:32px; margin-top:20px; }
.blog-post h2{ font-size:26px; margin-top:18px; }
.blog-post h3{ font-size:22px; margin-top:16px; }
.blog-post h4{ font-size:18px; margin-top:14px; }

.blog-post p{
  line-height:1.8;
  margin:12px 0;
  font-size:17px;
}

.seo-intro{
  max-width:900px;
  margin:10px auto 20px;
  line-height:1.7;
  font-size:16px;
  color:#444;
  text-align:center;
}
/* BLOG CONTAINER */

.blog-container{
  max-width:900px;
  margin:auto;
  padding:15px;
}


/* BLOG LIST */

.blog-list{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.blog-card{
  padding:15px;
  border:1px solid #ddd;
  border-radius:6px;
}

.blog-card h2{
  font-size:22px;
  margin-bottom:5px;
}

.blog-card a{
  text-decoration:none;
  color:#222;
}


/* BLOG POST */

.blog-post h1{
  font-size:32px;
  margin-bottom:10px;
}

.blog-content{
  line-height:1.8;
  font-size:17px;
}

.blog-image{
  width:100%;
  max-height:400px;
  object-fit:cover;
  border-radius:6px;
  margin:15px 0;
}


/* MOBILE OPTIMIZATION */

@media (max-width:768px){

  .blog-post h1{
    font-size:24px;
  }

  .blog-content{
    font-size:16px;
  }

  .blog-card h2{
    font-size:20px;
  }

}
img{
  max-width:100%;
  height:auto;
}

body{
  font-family: Arial, sans-serif;
  overflow-x:hidden;
}

.ad-item strong{
font-size:16px;
color:#222;
}

.popup-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:flex-end; /* 👈 important for mobile */
  justify-content:center;
  z-index:9999;
}

/* Bottom sheet style for mobile */
.popup-box{
  background:#fff;
  width:100%;
  max-width:420px;
  border-radius:15px 15px 0 0;
  padding:20px 15px;
  text-align:center;
  position:relative;
  animation:slideUp 0.3s ease;
}

/* Headings */
.popup-box h2{
  font-size:16px;
  margin-bottom:6px;
}

.popup-box h3{
  font-size:13px;
  color:#666;
  margin-bottom:12px;
}

/* Bullet points */
.popup-box ul{
  text-align:left;
  padding-left:18px;
  margin-bottom:15px;
}

.popup-box li{
  font-size:13px;
  margin-bottom:6px;
  line-height:1.4;
  font-weight:500;
}

/* Button (thumb friendly) */
.popup-btn{
  display:block;
  width:100%;
  background:#000;
  color:#fff;
  padding:12px;
  border-radius:8px;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
}

/* Close button */
.popup-close{
  position:absolute;
  top:8px;
  right:12px;
  font-size:20px;
  cursor:pointer;
}

/* Animation */
@keyframes slideUp{
  from{transform:translateY(100%);}
  to{transform:translateY(0);}
}

/* Desktop version */
@media(min-width:768px){

  .popup-overlay{
    align-items:center;
  }

  .popup-box{
    border-radius:12px;
    max-width:350px;
  }

}

