/* =====================
   FONT & GLOBAL RESET
   ===================== */
@font-face {
  font-family: "TeX Gyre Adventor";
  src: url("texgyreadventor-regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: white;
  font-family: "TeX Gyre Adventor", sans-serif;
}

/* =====================
   LAYOUT CONTAINERS
   ===================== */
.parent {
  width: 100vw;
  height: 100vh;
  display: flex;
  padding: 20px;
}

/* Left Section – Ad Tab */
.ad-tab {
  width: 50%;
  height: 100%;
  background-color: #1e1e1e;
  border-radius: 32px;
}

/* Right Section – Faucet Tab */
.faucet-tab {
  width: 50%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 32px;
  padding: 0 32px;
}

/* =====================
   HEADER / NAVIGATION
   ===================== */
.faucet-header {
  width: 100%;
  padding: 24px 32px;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 84px;
}

.nav-container a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 20px;
}

.nav-icon {
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 84px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
}

/* =====================
   MAIN CONTENT
   ===================== */
.how-main {
  padding: 48px 24px;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #333;
  font-size: 16px;
  line-height: 1.8;
}

.how-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.how-blackbox {
  background: #000;
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin-top: 32px;
  line-height: 1.7;
}

.how-blackbox strong {
  color: #ffc93c;
}

.how-subheading {
  font-size: 20px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
}

.how-text {
  margin-bottom: 20px;
}

.how-callout {
  background: #faf7ff;
  padding: 20px;
  border-left: 5px solid #7944db;
  border-radius: 8px;
  font-size: 15px;
  color: #222;
}

/* =====================
   FOOTER SECTION
   ===================== */
.faucet-footer {
  width: 100%;
  align-items: center;
  padding: 12px 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #ddd;
  gap: 16px;
  position: relative;
}

.notification-icon {
  width: 32px;
  height: 32px;
  object-fit: cover;
  cursor: pointer;
}

.profile-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

.sponsor-btn {
  background-color: #7647ec;
  color: white;
  border: none;
  border-radius: 44px;
  padding: 24px 44px;
  font-size: 16px;
  font-weight: 500;
  font-family: "TeX Gyre Adventor", sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sponsor-btn:hover {
  background-color: black;
}

/* =============================
   AD TAB STRUCTURE & STYLING
   ============================= */
.ad-tab {
  width: 50%;
  height: 100%;
  background-image: url("https://i.postimg.cc/bNVTc38T/image.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Header */
.ad-header {
  width: 100%;
  padding: 24px 32px;
  border-bottom: 1px solid #2c2c2c;
}

.ad-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ad-icon {
  width: 24px;
  height: 24px;
}

.ad-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  font-family: "TeX Gyre Adventor", sans-serif;
}

/* Footer */
.ad-footer {
  width: 100%;
  padding: 24px 32px;
  border-top: 1px solid #2c2c2c;
  display: flex;
  justify-content: flex-end;
}

.ad-brand {
  text-align: left;
  color: #eeeeee;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  font-family: "TeX Gyre Adventor", sans-serif;
}

.brand-subtext {
  font-size: 14px;
  line-height: 1.4;
  font-family: "TeX Gyre Adventor", sans-serif;
}

/* Profile Dropdown */
.profile-dropdown {
  position: absolute;
  bottom: 72px;
  right: 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  width: 280px;
  z-index: 100;
}

.profile-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.profile-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.uid-input {
  padding: 10px 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}

.profile-info-box {
  background: #f0e6ff;
  padding: 12px;
  border-radius: 10px;
  font-size: 13px;
}

.login-btn {
  padding: 10px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  font-family: "TeX Gyre Adventor", sans-serif;
  cursor: pointer;
}

/* Notification Dropdown */
.notification-dropdown {
  position: absolute;
  bottom: 72px;
  right: 80px;
  background: #7944db;
  color: white;
  padding: 20px;
  border-radius: 14px;
  width: 280px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.notification-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notification-title {
  font-size: 16px;
  font-weight: 600;
}

.notification-message {
  font-size: 14px;
  line-height: 1.4;
}

.mark-read-btn {
  width: 100%;
  align-self: flex-start;
  background: black;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  font-family: "TeX Gyre Adventor", sans-serif;
  cursor: pointer;
}
.sponsor-btn {
  text-decoration: none;
}

@media (max-width: 768px) {
   
  /* Body Padding and Overflow Control */
  body {
    padding: 10px;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    margin: 0; /* Ensure no default margins cause issues */
  }

  /* Parent Container */
  .parent {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%; /* Ensure it fits the screen width */
    margin: 0 auto; /* Center the container */
    height: auto; /* Remove fixed height to allow content growth */
    gap: 40px; /* Add space between child elements */
    min-height: 100vh; /* Ensure it takes full viewport height */
  }

  .faucet-tab {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .ad-tab {
    display: none; /* Hide desktop ad-tab by default */
    width: 100%;
    background-color: #fce4ec;
    padding: 10px;
    margin: 12px 0;
  }

  .mobile-ad-tab {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

 /* Faucet Header (Static) */
  .faucet-header {
    display: flex;
    align-items: center;
    padding: 10px 44px;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  .faucet-footer {
    width: 100%;
    display: flex;
    flex-direction: space-between;
    gap: 12px;
    justify-content: center;
  }
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 80px; /* Gap between hamburger and logo */
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}
