body {
  
  font-family: 'Battambang', Arial, sans-serif;
  background: #ffffff;
  margin: 0;
  padding: 20px;
  color: #222;
  overflow-x: hidden;
}

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

.header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}


.logo{
  width: 80px;
  height: 80px;
  border-radius: 10px;
}

.title-group {
  text-align: left;
  margin-left: 20px;
}

.title {
  font-size: 1.4rem;
  
  display: flex;
  align-items: center;
  gap: 6px;
}

.verified-icon {
  width: 20px;
}

.subtitle {
  font-size: 1rem;
  padding-top: 5px;
  color: #0f9d58;
}

.verified-text {
  font-size: 0.85rem;
  color: #666;
  padding-top: 5px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.protect-icon {
  width: 14px;
}

label {
  font-size: 0.85rem;
  color: #555;
  margin-top: 5px;
}
.qr-section img{
  width: 500px;
}

.qr-section {
  width: 100%;
  display: flex;
  overflow: hidden;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 3%;
 
}

.qr-image {
  width: 600px;
}

.qr-code {
  width: 170px;
}

.qr-instruction {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  margin-top: 10px;
  line-height: 1.6;
  font-weight: 400;
}

.arrow-img {
width: 80px;
 position: relative;
 right: 20px;
 top: 15px;
  height: 60px;
}


.phone-preview {
  text-align: center;
  height: 170px;
  width: 84px;
  padding: 12px;
  border: 3px solid #000; /* black border */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-right: 30px ;
}
.phone-preview img{
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.preview-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
}

.preview-name {
  font-size: -5px;
  padding-bottom: 40px;
  display: flex;

  justify-content: center;
  width: 100%;
  
}
.preview-name p {
  font-size: 0.50rem; 


}


.download-btn-small {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  color: rgb(198, 235, 51);
  border: none;
  border-radius: 1px;
  background-color: #0f9d58;
  border: none;
  border-radius: 4px;
  
}
 .download-main img{
  width: 12px;
  margin-top: 10px;
 }
.download-main {
  background-color: #2b7955;
  color: white;
  border: none;
  padding: 5px 5px;
  border-radius: 10px;
  font-size: 1.1rem;
  width: 100%;
  max-width: 700px;
  margin: 10px auto;
  display: block;
  cursor: pointer;
}

.small-note {
  font-size: 0.8rem;
  margin-top: 4px;
}
.btn-in{
  background-color: #006a38;
  color: yellow;
  width: 100px;
  height: 30px;
  position: relative;
  display: flex;
  bottom: 20px;
  border-radius: 4px;
  border: none;
}
.btn-in p{
  display:flex;
  justify-content: center;
  width: 100px;
  align-items: center;
  font-size: 11px;
  
}
.footer {
  display: flex;
  justify-content:center;
  align-items: center;
  margin-top: 30px;
  padding-left: 40px;
  width: 100%;
  gap: 4rem;
  color: #008b5f;

}


.action {
  display: flex;
  justify-content: center;
  align-items: center;
   gap: 3px;

 
}
.action img {
  width: 16px;
  height: 20px;
  display: inline-block;
}
.stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px; /* spacing between columns */
  margin: 20px 0px;
  padding-bottom: 15px;
  
}
 
.slash{
  width: 50px;

}

.stats {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px; /* 10px gap between items */
  margin: 20px auto;
}

.stat {
  
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid #ccc; /* Add right border */
}

.stat:last-child {
  border-right: none; /* Remove border from last item */
}

.stat-num {
  font-size: 0.85rem;
  font-weight: bold;
  color: #2a2929;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: #444;
  margin-top: 2px;
  font-family: 'Battambang', Arial, sans-serif;
  line-height: 1.2;
}

.stat-num img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.phone-frame {
  width: 120px;
  padding: 16px;
  border: 2px solid #1a1a1a;
  border-radius: 20px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px; /* 👈 adds space below the entire phone box */
}

.preview-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 11px;
}

.preview-name {
  font-size: 12px;
  color: #000;
  margin-bottom: 10px;
  font-family: 'Battambang', Arial, sans-serif;
}


.download-btn-small:hover {
  background-color: #41d992;
}
.app-content {
  max-width: 700px;
  margin: 20px auto;
  margin-top: 30px;
  padding: 0 15px;
  font-family: 'Battambang', Arial, sans-serif;
  color: #333;
}
@media (max-width: 720px){
  .screenshot-gallery{
    overflow-y: scroll;
  }
} 
@media (max-width: 480px) {
  .screenshot-gallery {
    overflow-y: auto;            /* Allow vertical scrolling */
    max-height: 400px;           /* Set a max-height to enable scrolling when content overflows */
    scrollbar-width: thin;       /* Set the width of the scrollbar (for Firefox) */
     /* Set custom color for the scrollbar (optional) */
  }


}

.screenshot-gallery {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}

.screenshot-gallery img {
  object-fit: cover;
  width: 130px;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.app-description h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.app-description p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
}

.tag-list button {
  padding: 6px 12px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #fff;
  cursor: pointer;
  font-family: 'Battambang', Arial, sans-serif;
}

.bottom-nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  background-color: #fff;
  position: fixed;
  bottom: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #333;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}


.content-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  
}

/* Section Headings */
h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.about-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.about-header h3 {
  font-size: 18px;
  margin: 0;
}

.about-header span {
  font-size: 18px;
  color: #888;
}


/* Security Box */
.security-box {
  background-color: #f9f9f9;
  border: 1px solid #5c5858;
  border-radius: 10px;
  margin-top: 10px;
  padding: 16px 10px;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px;
  margin-bottom: 10px;
  font-size: 14px;
}

.security-item img {
  width: 20px;
  height: 20px;
  
}

/* Rating Tabs */
.rating-tabs {
  display: flex;
  gap: 10px;
  margin: 14px 0;
}

.rating-tabs button {
  padding: 6px 14px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 16px;
  background-color: #fff;
  cursor: pointer;
}

.rating-tabs button.active {
  background-color: #e5f4ea;
  color: #0f9d58;
  border-color: #0f9d58;
}

/* Ratings */
.rating-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rating-score .score {
  font-size: 32px;
  font-weight: bold;
}

.stars {
  color: #0f9d58;
  font-size: 18px;
}
.rating-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Battambang', sans-serif;
  color: #333;
}

.rating-section h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.rating-section p {
  font-size: 14px;
  margin-bottom: 16px;
}

/* Summary: Score + Bars */
.rating-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.rating-score-box {
  text-align: left;
}

.rating-score-box .score {
  font-size: 36px;
  font-weight: bold;
}

.rating-score-box .stars {
  font-size: 18px;
  color: #036b4c;
  margin-top: 4px;
}

.rating-score-box .votes {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #036b4c;
  margin-bottom: 6px;
}

.bar {
  flex: 1;
  height: 8px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background-color: #0f9d58;
  border-radius: 5px;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.header-row h3 {
  font-size: 18px;
  margin: 0;
}

.header-row span {
  font-size: 18px;
  color: #888;
}


/* Individual Review Styles */
.review {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  position: relative;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.review-content {
  flex: 1;
}

.review-header {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  margin-bottom: 4px;
}

.review-meta {
  font-size: 12px;
  color: #666;
}

.review p {
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.5;
}

.menu-dot img{
  font-size: 4px;
  width: 4px;
  cursor: pointer;
  user-select: none;
  color: #888;
  padding-left: 4px;
}


.rating-compact {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px;
  font-family: 'Battambang', sans-serif;
}

.device-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.device-filters button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 13px;
  background-color: #fff;
  cursor: pointer;
}

.device-filters button.active {
  background-color: #e6f4ea;
  color: #084729;
  border-color: #09502e;
}

.device-filters img {
  width: 16px;
  height: 16px;
}

/* Main Layout */
.rating-summary {
  display: flex;
  justify-content:space-between;
  width:100%;
  margin: 0 auto;
  
}

.rating-left {
  display: flex;
  flex-direction: column;  /* Stack elements vertically */
  align-items: center;     /* Center the content horizontally */
  justify-content: center; /* Optionally center the content vertically */
}

.score {
  font-size: 48px;
  font-weight: bold;
}

.stars {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 4px 0;
}

.stars img {
  width: 14px;
  height: 14px;
  display: inline-block;
}


.votes {
  font-size: 13px;
  color: #777;
}

/* Rating Bars */
.rating-bars {
  width: 40%;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}

.bar {
  flex: 1;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  background-color: #0f9d58;
  border-radius: 4px;
}
.qr-center {
  position: relative;
  right: 10px;
}
.qr-scan-wrapper{
  position: relative;
  left: 0;
 
}
@media(max-width: 780px){
  .qr-scan-wrapper{
    padding-left: 100px;
  }
  .qr-code-area{
    margin-left: 59px;
  }
  .qr-center {
    position: relative;
    right: 70px;
  }
  .arrow-img{
     position: relative;
    right: 75px;
  }
  .phone-preview{
     position: relative;
    right: 70px;
  }
  .footer{
 padding: 10px 10px;

  }
}
.qr-image {
  margin-top: 40px;
  display: block;
  max-width: 240px;
}

/* Limit animation area to the QR zone */
.qr-code-area {
  position: absolute;
  top: 66px;  /* adjust based on QR code position in the image */
  left: 50%;
  transform: translateX(-50%);
  width: 100px;  /* match QR code width */
  height: 100px; /* match QR code height */
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Animated scan line */
.scan-line {
  position: absolute;
  top: 0;
  left: 20px;
  width: 50%;
  height: 2px;
  background: #00ffcc;
  box-shadow:  0 0 8px #5cffde,
    0 0 16px #5cffde,
    0 0 24px #5cffde;
  opacity: 0.8;
  animation: scanMove 4s infinite ease-in-out;
}

@keyframes scanMove {
  0% {
    top: 0;
    opacity: 0.9;
  }
  50% {
    top:39%;
    opacity: 1;
  }
  100% {
    top: 0%;
    opacity: 0.9;
  }
}





/* Bottom nav */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  position: sticky;
  bottom: 0;
  background-color: #fff;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: #444;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

/* Custom styles for the green button */
        .btn-primary {
            background-color: #018749; /* Darker green */
            color: white;
            padding: 1rem 2rem;
            border-radius: 9999px; /* Fully rounded */
            font-weight: 600;
            transition: background-color 0.3s ease;
        }
        .btn-primary:hover {
            background-color: #006a38; /* Even darker green on hover */
        }
        /* Style for the app icon placeholder */
        .app-icon-placeholder {
            width: 80px;
            height: 80px;
            background-color: #ddd;
            border-radius: 1.5rem; /* Rounded corners */
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #555;
            overflow: hidden; /* Ensure content stays within rounded corners */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            position: relative; /* For the "JPK88" text inside */
        }

        /* Custom styles for the green L-shaped corners */
        .qr-corner {
            position: absolute;
            width: 30px; /* Length of the L-shape arms */
            height: 30px; /* Length of the L-shape arms */
            border-color: #018749; /* Green color */
            border-style: solid;
            z-index: 20; /* Ensure corners are above the QR code if needed */
        }
        .qr-corner-tl { top: 0; left: 0; border-width: 5px 0 0 5px; border-radius: 0 0 0 0; }
        .qr-corner-tr { top: 0; right: 0; border-width: 5px 5px 0 0; border-radius: 0 00 0; }
        .qr-corner-bl { bottom: 0; left: 0; border-width: 0 0 5px 5px; border-radius: 0 0 0 0; }
        .qr-corner-br { bottom: 0; right: 0; border-width: 0 5px 5px 0; border-radius: 0 0 0 0; }

        /* Ensure the main QR container is slightly larger than the QR image to provide space for corners */
        .qr-main-visual-container {
            
            width: 140px; /* Base width */
            height: 140px; /* Base height */
            position: relative;
         /* Background for the QR code area */
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 10px; /* Padding inside the green border visual */
        }
         .qr-main-visual-container img{
          width: 140px;
      
         }
         #qr{
          margin-top: 50px;
          margin-right: 20px;
         }

        /* Animation for the scan line */
        @keyframes scan-animation {
            0% { top: 10%; }
            50% { top: 50%; }
            100% { top: 10%; }
        }
        .scan-line {
            position: absolute;
            width: 50%;
            height: 3px;
            background: linear-gradient(to right,rgb(69, 203, 69), #13ba6c, rgb(47, 212, 209));
           opacity: 0.8;
            animation: scan-animation 3s infinite linear;
            opacity: 1;
            border-radius: 2px;
        }
        /* Custom animation for SweetAlert2 */
/* Mobile - 480px and below */
/* Header Styles */

@media (max-width: 480px) {
.qr-scan-wrapper{
    padding-left: 100px;
   
  }
  .qr-scan-wrapper img{
    padding-top: 10px;
    padding-right: 60px;
    width: 130px;
  }
  .qr-code-area{
    margin-left: 59px;
  }
  .qr-instruction{
    width: 100px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 10px;
  }
  .qr-center {
    position: relative;
    right: 70px;
  }

  .qr-main-visual-container img{
    width: 100px;
  }
  .qr-main-visual-container{
    width: 100px;
    height: 100px;
  }
  .arrow-img{
     position: relative;
    right: 90px;
    width: 50px;
    height: 40px;
  }
  .phone-preview img{
    width: 35px;
    top: 20px;
    position: relative;
  }
  .btn-in{
    position: relative;
    width: 60px;
    height: 20px;
    bottom: 40px;
  }
  .btn-in p{
    font-size: 4px;
  
   position: relative;
   top: 4px;
   
  }
  .phone-preview{
     position: relative;
    right: 90px;
    width: 50px;
    height: 100px;

  }
  .footer{
 padding: 10px 10px;

  }
}
.qr-image {
  margin-top: 40px;
  display: block;
  max-width: 200px;
}

/* Limit animation area to the QR zone */
/* Base styling for .qr-code-area */
.qr-code-area {
  position: absolute;
  top: 50%;                      /* Vertical center for large screens */
  left: 41%;                     /* Horizontal alignment for the QR code */
  width: 100%;                   /* Ensure it takes up full width */
  transform: translateX(-50%);   /* Horizontally center the element */
}

/* Mobile Specific Adjustments */
@media (max-width: 480px) {
  .qr-code-area {
    top: 66px;                   /* Adjust the vertical position for mobile */
    left: 50%;                   /* Center horizontally */
    transform: translateX(-50%); /* Center the element horizontally */
  }
   .qr-code-area {
    top: 60px;  
    bottom: 10px;                 /* Vertical positioning adjustment */
    left: 43%;                   /* Center horizontally */
    transform: translateX(-50%); /* Maintain horizontal centering */
  }
}

/* For tablets and larger screens */
@media (min-width: 481px) and (max-width: 1024px) {
  .qr-code-area {
    top: 66px;                   /* Adjust for medium screen (tablet) */
    left: 50%;                   /* Center horizontally */
    /* Keep horizontal centering */
  }
}

/* For large screens (desktops and laptops) */
@media (min-width: 1025px) {
  .qr-code-area {
    top: 66px;                   /* Vertical positioning adjustment */
    left: 50%;                   /* Center horizontally */
    transform: translateX(-50%); /* Maintain horizontal centering */
  }
}

/* Animated scan line */
.scan-line {
  position: absolute;
  top: 50%;                        /* Center vertically in its parent container */
  left: 43%;                       /* Center horizontally in the parent container */
  width: 2rem;                     /* Set width of the scan line */
  height: 2px;                     /* Set height of the scan line */
  background: #00ffcc;             /* Set the color of the line */
  box-shadow:  0 0 8px #5cffde,    /* Glowing effect around the scan line */
    0 0 16px #5cffde,
    0 0 24px #5cffde;
  opacity: 0.8;                    /* Slight transparency for the line */
  animation: scanMove 2.5s infinite ease-in-out;  /* Animation for the moving line */
  transform: translateX(-50%);     /* Adjust the position to truly center the line */
}



@media (min-width: 1118px) {
    /* Large screens (desktops and laptops) */
    .qr-scan-wrapper {
        max-width: 350px;
    }

    .qr-main-visual-container {
        max-width: 300px;
    }

    .phone-preview {
        margin-top: 30px;
    }

    .preview-icon {
        width: 60px;
        height: 60px;
    }

    .preview-name {
        font-size: 20px;
    }

    .download-btn-small {
        padding: 12px 24px;
       

    }

}

/* Animation for the scanning line */
@keyframes scan-line {
    0% {
        top: 0;
    }
    50% {
        top: 50%;
    }
    100% {
        top: 100%;
    }
}



/* Footer Styling */
.footer-links {        /* Dark background for the footer */
    color: rgb(65, 64, 64);                    /* White text color for better contrast */
    padding: 20px 15px;              /* Padding around the footer */
     /* Font style */
      font-size: 16px;    
    font-family: sans-serif;
    text-align: left;                /* Align text to the left by default */
                 /* Font size for the footer links */
}

.footer-links ul {
    list-style-type: none;           /* Remove default list styling */
    padding-left: 0;                 /* Remove left padding */
    margin: 0;                       /* Remove default margin */
}

.footer-links li {
 
  padding: 10px 0;     
               /* Add some vertical space between items */
   /* Optional: Add subtle borders between items */
}

.footer-links li:last-child {
    border-bottom: none;            /* Remove the last border */
}

.footer-links li a {
    text-decoration: none;           /* Remove underline from links */
    color: rgb(103, 103, 103); 
    text-decoration: underline;                   /* Link text color */
    transition: color 0.3s ease;     /* Smooth color transition */
}

.footer-links li br {
    display: none;                   /* Hide line breaks to maintain consistent layout */
}

/* Specific styling for "Contact developer" link */
.footer-links li a {
    display: inline-block;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;             /* Rounded corners for the button */
    margin-top: 10px;               /* Add some top margin to separate from other items */
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-links {
        padding: 15px 10px;          /* Reduce padding on smaller screens */
    }

    .footer-links ul {
        padding-left: 10px;          /* Add some padding on the left for mobile devices */
    }

    .footer-links li {
        font-size: 12px;             /* Smaller font size for mobile screens */
    }

    .footer-links li a {
        font-size: 13px;             /* Adjust font size for links on mobile */
    }

    .footer-links li br {
        display: inline;             /* Allow line breaks to show on smaller screens */
    }
}

@media (max-width: 480px) {
    /* For smaller devices like phones */
    .footer-links {
        font-size: 12px;             /* Even smaller font size for better fit */
        padding: 10px 5px;           /* Adjust padding for smaller screens */
    }

    .footer-links li {
        padding: 6px 0;              /* Less padding between items */
    }

    .footer-links li a {
        padding: 8px 15px;           /* Adjust padding inside links */
    }
}
