/* ==========================================================================
   EARNX — CLEAN LIGHT & EMERALD DIRECTORY THEME (allyonobonus.net style)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 45%, #fefce8 100%);
  color: #1e293b;
  display: flex;
  justify-content: center;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

.app-container {
  background-color: #ffffff;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
  box-shadow: 0 0 30px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
}

.main-content {
  background: #ffffff;
  flex: 1;
}

/* Top Utility Bar */
.top-utility-bar {
  background: linear-gradient(90deg, #022c22 0%, #065f46 50%, #047857 100%);
  border-bottom: 2px solid #f59e0b;
  padding: 8px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.top-utility-bar::-webkit-scrollbar {
  display: none;
}
.top-bar-links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.top-bar-links a,
.top-bar-links button {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.2s;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.top-bar-links a:hover,
.top-bar-links button:hover {
  opacity: 1;
  text-decoration: underline;
}
@media (max-width: 640px) {
  .top-utility-bar {
    padding: 7px 12px;
    font-size: 12px;
    justify-content: flex-start;
  }
  .top-bar-links {
    gap: 14px;
  }
}

/* Sticky Header */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: transparent;
}
.menu-btn,
.search-trigger-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #111111;
  padding: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.menu-btn:hover,
.search-trigger-btn:hover {
  background: #f1f5f9;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(22, 163, 74, 0.28));
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}
.brand-wordmark {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #0f172a;
}
.brand-wordmark span {
  color: #16a34a;
}

/* Search Bar */
.search-bar {
  display: none;
  padding: 12px 18px;
  background: #16a34a;
  position: relative;
}
.search-bar.active {
  display: block;
}
.search-bar form {
  display: flex;
  background: #ffffff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.search-bar input {
  flex: 1;
  border: none;
  padding: 10px 18px;
  outline: none;
  color: #334155;
  font-size: 15px;
  font-family: inherit;
}
.search-bar button {
  background: transparent;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  color: #16a34a;
  font-size: 16px;
}
.search-results-dropdown {
  position: absolute;
  top: 100%;
  left: 18px;
  right: 18px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  display: none;
  max-height: 350px;
  overflow-y: auto;
}
.search-results-dropdown.open {
  display: block;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #0f172a;
  transition: background 0.15s;
}
.search-result-item:last-child {
  border-bottom: none;
}
.search-result-item:hover {
  background: #f0fdf4;
}
.search-result-item img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

/* Slide-out Drawer (Top 10 Tasks) */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 99998;
  display: none;
}
.overlay.active {
  display: block;
}
.nav-menu {
  position: fixed;
  top: 0;
  left: -330px;
  width: 305px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
  transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
  overflow-y: auto;
}
.nav-menu.active {
  left: 0;
}
.nav-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 2;
}
.nav-game-item {
  display: flex;
  align-items: center;
  padding: 11px 12px;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.2s;
  border-radius: 8px;
}
.nav-game-item:hover {
  background: #f0fdf4;
}

/* Intro & Hero Section */
.intro-podium-section {
  background: radial-gradient(circle at top center, rgba(16, 185, 129, 0.14) 0%, rgba(251, 191, 36, 0.08) 45%, #ffffff 82%);
  padding: 36px 18px 14px 18px;
}
.hero-h1 {
  font-size: 34px;
  font-weight: 900;
  background: linear-gradient(135deg, #022c22 0%, #059669 55%, #d97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 18px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
  animation: cardSlideUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-p {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
  animation: cardSlideUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-banner-link {
  display: block;
  cursor: pointer;
  border-radius: 18px;
  padding: 3px;
  background: linear-gradient(135deg, #10b981, #f59e0b, #059669);
  box-shadow: 0 14px 32px rgba(5, 150, 105, 0.22);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  animation: bannerPulse 4s ease-in-out infinite;
}
.hero-banner-link:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.28);
}
.hero-banner-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}
@media (max-width: 600px) {
  .intro-podium-section {
    padding: 24px 14px 10px 14px;
  }
  .hero-h1 {
    font-size: 25px;
  }
  .hero-p {
    font-size: 15px;
  }
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 22px 0 10px 0;
}
.btn-green-pill {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #047857 0%, #10b981 55%, #059669 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid #fde047;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.35);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  cursor: pointer;
}
.btn-green-pill::after,
.home-app-download::after,
.telegram-right-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-22deg);
  animation: btnShimmer 3.2s infinite;
}
.btn-green-pill:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.45);
}
.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, #fefce8, #ecfdf5);
  color: #065f46;
  font-size: 15px;
  font-weight: 800;
  border: 2px solid #f59e0b;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn-outline-pill:hover {
  background: linear-gradient(135deg, #fef08a, #d1fae5);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.22);
}

/* Telegram Banner */
.telegram-banner-new {
  max-width: 960px;
  width: calc(100% - 30px);
  margin: 0 auto 28px auto;
  background: linear-gradient(135deg, #022c22 0%, #065f46 50%, #0284c7 100%);
  border-radius: 18px;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #ffffff;
  border: 2px solid rgba(253, 224, 71, 0.55);
  box-shadow: 0 14px 32px -6px rgba(2, 132, 199, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.telegram-banner-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -6px rgba(5, 150, 105, 0.42);
}
.telegram-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.telegram-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  animation: tgFloat 2.4s ease-in-out infinite;
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4);
}
.telegram-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
}
.telegram-subtext {
  font-size: 12.5px;
  color: #fde68a;
  font-weight: 600;
  margin-top: 2px;
}
.telegram-right-btn {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fef08a, #f59e0b);
  color: #022c22;
  font-weight: 900;
  font-size: 14px;
  padding: 11px 24px;
  border-radius: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.telegram-right-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.48);
}
@media (max-width: 640px) {
  .telegram-banner-new {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .telegram-right-btn {
    justify-content: center;
  }
}

/* Section Divider & Tabs */
.section-divider {
  max-width: 960px;
  margin: 15px auto 22px auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.divider-text {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 13.5px;
}

.tab-navigation-wrapper {
  max-width: 960px;
  margin: 0 auto 20px auto;
  padding: 0 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.tab-trigger-btn {
  padding: 10px 24px;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  background: #f8fafc;
  color: #475569;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-trigger-btn.is-active-tab {
  border-color: #f59e0b;
  background: linear-gradient(135deg, #065f46, #059669);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
}

/* Home App/Task Directory List Cards */
.home-app-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 15px;
}
.home-app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  margin-bottom: 14px;
  padding: 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease;
  animation: cardSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--card-index, 0) * 55ms);
}
.home-app-card:hover {
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.14);
  border-color: #f59e0b;
  transform: translateY(-3px) scale(1.006);
}
.home-app-rank {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  padding: 2px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #065f46, #059669);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.home-app-rank.is-top-rank {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
}
.home-app-icon {
  width: 65px;
  height: 65px;
  flex: 0 0 65px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid #fde68a;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-app-card:hover .home-app-icon {
  transform: scale(1.08) rotate(-2deg);
}
.home-app-details {
  flex: 1;
  min-width: 0;
}
.home-app-title {
  display: block;
  margin-bottom: 5px;
  overflow: hidden;
  color: #0f172a;
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-app-title:hover {
  color: #15803d;
}
.home-app-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.home-app-bonus,
.home-app-minimum {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 13px;
}
.home-app-bonus {
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
}
.home-app-minimum {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
}
.home-app-download {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border: 2px solid #fde047;
  border-radius: 50px;
  background: linear-gradient(135deg, #047857, #10b981);
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.home-app-download:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.32);
}
@media (max-width: 600px) {
  .home-app-card {
    gap: 10px;
    padding: 13px 10px;
  }
  .home-app-download {
    padding: 9px 13px;
    font-size: 12.5px;
  }
  .home-app-bonus,
  .home-app-minimum {
    padding: 2px 7px;
    font-size: 11.5px;
  }
  .home-app-title {
    font-size: 15px;
  }
}

/* FAQ Accordion */
.faq-section {
  max-width: 960px;
  margin: 30px auto 10px auto;
  padding: 0 15px;
}
.faq-section-header {
  font-size: 21px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 16px;
  border-bottom: 2px solid #dcfce7;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #16a34a;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 18px;
  font-weight: 700;
  color: #15803d;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  gap: 12px;
  border: none;
  font-family: inherit;
}
.faq-question:hover {
  background: #f0fdf4;
}
.faq-question i {
  transition: transform 0.25s ease;
}
.faq-item.active .faq-question {
  background: #f0fdf4;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #334155;
  font-size: 15px;
  line-height: 1.65;
}
.faq-item.active .faq-answer {
  padding: 14px 18px 16px 18px;
  max-height: 400px;
  border-top: 1px solid #dcfce7;
  background: #ffffff;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #64748b;
  margin: 16px 15px 8px 15px;
  padding: 9px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.breadcrumb a {
  color: #16a34a;
  font-weight: 600;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .current {
  color: #0f172a;
  font-weight: 700;
}

/* Green Footer */
.footer-brand-divider {
  margin: 40px 0 0 0;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}
.footer-brand-pill {
  display: inline-block;
  padding: 0 16px;
  background: #ffffff;
  position: relative;
  top: -12px;
  color: #16a34a;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.new-green-footer {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #065f46 100%);
  color: #ffffff;
  padding: 42px 20px 32px 20px;
  text-align: center;
  border-top: 3px solid #f59e0b;
}
.new-green-footer a.footer-link-btn,
.new-green-footer button.footer-link-btn {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.new-green-footer a.footer-link-btn:hover,
.new-green-footer button.footer-link-btn:hover {
  background: #ffffff;
  color: #15803d;
  transform: translateY(-2px);
}
.new-green-footer .social-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 20px;
  transition: all 0.2s ease;
}
.new-green-footer .social-btn:hover {
  background: #ffffff;
  color: #15803d;
  transform: translateY(-2px);
}

/* Custom Floating Left-Edge Share Bar */
.custom-floating-share {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(135deg, #16a34a, #10b981);
  padding: 12px 8px;
  border: 2px solid #15803d;
  border-left: none;
  border-radius: 0 16px 16px 0;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}
.custom-floating-share a,
.custom-floating-share button {
  display: block;
  color: #ffffff;
  font-size: 19px;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s;
}
.custom-floating-share a:hover,
.custom-floating-share button:hover {
  transform: scale(1.15);
}
@media (max-width: 768px) {
  .custom-floating-share {
    display: none;
  }
}

/* Amazing Join Telegram Popup Modal */
.tg-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tg-modal-backdrop.open {
  display: flex;
  animation: tgFadeIn 0.25s ease-out;
}
.tg-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid #e2e8f0;
  animation: tgPopUp 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.tg-modal-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 45%, #16a34a 100%);
  padding: 28px 22px 24px 22px;
  text-align: center;
  color: #ffffff;
  position: relative;
}
.tg-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.tg-modal-close:hover {
  background: rgba(255, 255, 255, 0.34);
}
.tg-modal-icon-ring {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px auto;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  animation: tgFloat 2.6s ease-in-out infinite;
}
.tg-modal-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tg-modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}
.tg-modal-sub {
  margin: 6px 0 0 0;
  font-size: 13.5px;
  color: #e0f2fe;
  font-weight: 500;
}
.tg-modal-body {
  padding: 20px 22px 22px 22px;
}
.tg-modal-perks {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tg-modal-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 9px 12px;
  border-radius: 12px;
}
.tg-modal-perks i {
  color: #16a34a;
  font-size: 15px;
}
.tg-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0284c7, #16a34a);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.tg-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.45);
}
.tg-modal-later {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 6px;
  cursor: pointer;
  font-family: inherit;
}
.tg-modal-later:hover {
  color: #0f172a;
}

@keyframes tgFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tgPopUp {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes tgFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes btnShimmer {
  0% { left: -120%; }
  35%, 100% { left: 140%; }
}

@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bannerPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(5, 150, 105, 0.22); }
  50% { box-shadow: 0 16px 36px rgba(245, 158, 11, 0.28); }
}

.claim-step-card {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}
.claim-step-card:hover {
  transform: translateY(-4px);
  border-color: #f59e0b !important;
  box-shadow: 0 12px 24px rgba(5, 150, 105, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Red Alert Buy & Sell Strip (Above Footer) */
.buy-sell-alert-wrap {
  padding: 20px 15px 4px 15px;
  background: #ffffff;
}
.buy-sell-alert-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #b91c1c 100%);
  border: 2px solid #fca5a5;
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.34);
  animation: redAlertPulse 2.2s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.buy-sell-alert-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-22deg);
  animation: btnShimmer 2.8s infinite;
}
.buy-sell-alert-banner:hover {
  transform: translateY(-2px) scale(1.008);
  box-shadow: 0 12px 28px rgba(220, 38, 38, 0.48);
}
.buy-sell-alert-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.buy-sell-alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fef08a;
  color: #991b1b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
.buy-sell-alert-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dc2626;
  animation: liveDotPing 1.2s ease-in-out infinite;
}
.buy-sell-alert-text {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}
.buy-sell-alert-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #ffffff;
  color: #b91c1c;
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
@media (max-width: 640px) {
  .buy-sell-alert-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 14px;
    gap: 10px;
  }
  .buy-sell-alert-text {
    font-size: 14px;
  }
  .buy-sell-alert-cta {
    width: 100%;
    justify-content: center;
  }
}

/* Buy & Sell Page Hero */
.buysell-hero {
  background: linear-gradient(135deg, #7f1d1d 0%, #b91c1c 48%, #065f46 100%);
  padding: 38px 20px;
  text-align: center;
  color: #ffffff;
  border-radius: 0 0 28px 28px;
  border-bottom: 3px solid #fde047;
  margin-bottom: 24px;
  box-shadow: 0 14px 32px rgba(185, 28, 28, 0.22);
}

@keyframes redAlertPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(220, 38, 38, 0.32); }
  50% { box-shadow: 0 10px 28px rgba(239, 68, 68, 0.56); }
}

@keyframes liveDotPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.55; }
}
