/* START OF FILE css/footer.css */

/* Styles moved/extracted from main.css and index.css related to footer */

/* Footer Styles */
footer {
  background-color: #FFEB3B; /* From index.css */
  padding: 30px 0 15px;      /* Adjusted padding */
  margin-top: 30px;          /* Space above footer */
  border-top: 1px solid #f0e05a; /* Subtle top border */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px; /* Add gap between columns */
  margin-bottom: 20px; /* Space before bottom text */
}

.footer-section {
  flex: 1;
  min-width: 180px; /* Minimum width before wrapping */
  /* margin-bottom: 20px; */ /* Replaced by gap */
}

.footer-section h3 {
  font-size: 15px; /* Slightly smaller */
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #555; /* Slightly darker grey */
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #e63c3c; /* Brand color on hover */
  text-decoration: underline;
}

.footer-section i { /* Style icons in links */
    margin-right: 6px;
    width: 16px; /* Ensure alignment */
    text-align: center;
}

.footer-bottom {
  /* border-top: 1px solid rgba(0,0,0,0.1); */ /* Removed, using footer top border */
  padding-top: 15px;
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* Social Media Floating Buttons */
.social-float {
  position: fixed;
  right: 15px; /* Slightly closer to edge */
  bottom: 20px; /* Position from bottom */
  /* top: 70%; transform: translateY(-50%); */ /* Alternative positioning */
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px; /* Slightly reduced gap */
}

.social-btn {
  width: 45px; /* Slightly smaller */
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-btn:hover {
  transform: scale(1.1);
}

.social-btn i {
  font-size: 20px; /* Adjust icon size */
}

/* Specific button colors (keep as is) */
.social-facebook { background-color: #1877F2; }
.social-wechat { 
    background-color: #1AAD19; 
}
.social-wechat:hover { 
    background-color: #179B16; 
}
.social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-messenger { background-color: #0099FF; }
.social-tiktok { background-color: #000000; }
.social-youtube { background-color: #FF0000; }
.social-line { background-color: #06C755; }

.back-to-top {
  background-color: rgba(51, 51, 51, 0.8); /* Darker semi-transparent */
  color: #fff;
  display: none; /* Initially hidden */
}
.back-to-top:hover {
    background-color: rgba(0, 0, 0, 0.9);
}


/* Age Verification Popup */
.age-verification {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Darker background */
    display: none; /* Initially hidden, JS controls display */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 15px;
}
.age-verification-content {
    background-color: white;
    padding: 25px 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 100%; /* Use max-width to control size */
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}
.age-verification h2 {
    color: #333; /* Standard heading color */
    margin-bottom: 15px;
    font-size: 20px;
}
.age-verification p {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.age-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}
.age-buttons button { /* General styling for buttons inside */
    flex: 1; /* Make buttons take equal space */
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
}
/* Specific button styles if needed */
/* #confirm-age {} */
/* #reject-age {} */


/* WeChat Popup */
.wechat-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Above most content, below menu maybe */
    padding: 15px;
}
.wechat-popup-content {
    background-color: white;
    padding: 20px 25px 25px 25px; /* Adjust padding */
    border-radius: 10px;
    max-width: 90%;
    width: 350px;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.popup-close {
    position: absolute;
    right: 10px; /* Adjust position */
    top: 10px;   /* Adjust position */
    font-size: 22px;
    cursor: pointer;
    color: #888; /* Grey close icon */
    line-height: 1;
}
.popup-close:hover {
    color: #333;
}
.wechat-popup h3 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}
.qrcode-container {
    margin: 15px 0;
}
.qrcode-container img {
    max-width: 180px; /* Adjust size */
    height: auto;
    display: inline-block; /* Center image */
    border: 1px solid #eee; /* Optional border */
    padding: 5px;
}
.wechat-popup p {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}


/* Responsive Adjustments for Footer */
@media (max-width: 768px) {
  .footer-content {
      gap: 15px 10px; /* Reduce gap */
  }
  .footer-section {
      min-width: calc(50% - 10px); /* Roughly 2 columns */
      flex-grow: 0; /* Prevent stretching */
      margin-bottom: 15px; /* Add bottom margin back for mobile */
  }
  .footer-section:nth-child(odd) {
    /* clear: left; */ /* Help with alignment if needed */
  }
  footer {
      padding: 20px 0 10px;
  }
   .social-float {
       right: 10px;
       bottom: 15px;
       gap: 6px;
   }
   .social-btn {
       width: 40px;
       height: 40px;
   }
   .social-btn i {
       font-size: 18px;
   }
}

@media (max-width: 480px) {
   .footer-section {
       min-width: 100%; /* Single column */
       margin-bottom: 20px;
       text-align: center; /* Center text in single column */
   }
   .footer-section ul {
       display: inline-block; /* Center list items */
       text-align: left;
   }
   .footer-bottom {
       font-size: 11px;
   }
    .age-verification-content {
        padding: 20px;
    }
     .age-buttons {
         flex-direction: column;
         gap: 10px;
     }
     .wechat-popup-content {
         width: 90%;
         padding: 15px;
     }
     .qrcode-container img {
         max-width: 150px;
     }
}

/* END OF FILE css/footer.css */