/* ======================================================
   RESET & BASE
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  min-height: 100%;
  background: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ======================================================
   HEADER
====================================================== */
.header {
  width: 100%;
  background: #000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 30px;
}

.brand-text {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ======================================================
   TOP NAV (DESKTOP)
====================================================== */
.top-nav {
  display: none;
  gap: 22px;
}

.top-nav a {
  color: #cfd6ff;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav a:hover {
  color: #fff;
}

/* ======================================================
   SEARCH BAR
====================================================== */
.search-wrapper {
  max-width: 1040px;
  margin: 20px auto 0;
  padding: 0 16px;
  position: relative;
}

.search-wrapper input {
  width: 100%;
  padding: 16px 52px 16px 20px;
  border-radius: 30px;
  border: none;
  background: #151a24;
  color: #fff;
  font-size: 14px;
}

.search-wrapper i {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  color: #cfd6ff;
}

/* ======================================================
   TAGS (SCROLL + FADE)
====================================================== */
.tags-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 22px auto 14px;
  overflow: hidden;
}

.tags {
  display: flex;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tags::-webkit-scrollbar {
  display: none;
}

.tag {
  background: #151a24;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}

.tag.active {
  background: #4c5cff;
}

/* fade lateral */
.fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  pointer-events: none;
  z-index: 2;
}

.fade.left {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.fade.right {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

/* ======================================================
   MAIN CONTENT
====================================================== */
.content {
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px 16px 60px;
}

/* ======================================================
   BOGO LAYOUT
====================================================== */
.left-content {
  margin-bottom: 40px;
}

.left-content h2 {
  font-size: 22px;
  margin-bottom: 12px;
}

.left-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #d5d9ff;
}

.left-content .important {
  background: #151a24;
  padding: 14px;
  border-radius: 14px;
  font-size: 13px;
}

/* ======================================================
   FORM
====================================================== */
form {
  background: #11151f;
  padding: 22px;
  border-radius: 22px;
}

form label {
  font-size: 13px;
  color: #cfd6ff;
}

form input,
form select {
  width: 100%;
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  background: #151a24;
  color: #fff;
  font-size: 14px;
}

form input[type="file"] {
  padding: 10px;
}

form input[type="submit"] {
  margin-top: 10px;
  background: #4c5cff;
  font-weight: 600;
  cursor: pointer;
}

/* ======================================================
   POPUP
====================================================== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.popup-content {
  background: #11151f;
  padding: 28px;
  border-radius: 22px;
  text-align: center;
}

.popup-content button {
  margin-top: 16px;
  padding: 10px 22px;
  border-radius: 20px;
  border: none;
  background: #4c5cff;
  color: #fff;
}

/* ======================================================
   BOTTOM NAV (MOBILE)
====================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(10, 10, 14, 0.7);
  backdrop-filter: blur(12px);
  /*border-top: 1px solid rgba(255,255,255,0.05);*/
  z-index: 20;
}

.bottom-nav i {
  font-size: 22px;
  color: #cfd6ff;
}

.bottom-nav i.active {
  color: #4c5cff;
}

/* ======================================================
   DESKTOP
====================================================== */
@media (min-width: 1024px) {

  .top-nav {
    display: flex;
  }

  .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
  }

  .bottom-nav {
    display: none;
  }
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 1023px) {

  .header-inner {
    justify-content: center;
  }

}

/* ======================================================
   RECAPTCHA RESPONSIVE (V2 CHECKBOX)
====================================================== */
.g-recaptcha {
  transform-origin: left top;
}

/* Mobile */
@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.78);
  }
}

/* Desktop alignment */
@media (min-width: 1024px) {
  .g-recaptcha {
    transform: scale(1);
  }
}

/* ======================================================
   CAPTCHA ERROR MESSAGE
====================================================== */
.captcha-error {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: #ff6b6b;
}


/* ======================================================
   FOOTER SOCIAL
====================================================== */

.site-footer {
  background: #000;
  padding: 40px 20px 70px;
  text-align: center;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
}

.footer-icons a {
  color: #f2f4ff;
  font-size: 26px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-icons a:hover {
  color: #4c5cff;
  transform: translateY(-2px);
}

.footer-text p {
  font-size: 14px;
  color: #7a7a7a;
}

/* MOBILE FOOTER */
@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 100px;
  }

  .footer-icons a {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .content {
    padding-bottom: 50px;
  }
}
