/* The Zamora — minimal static site */
:root{
  --bg: #0e0e10;
  --text: #f3f3f3;
  --muted: #cfcfd6;
  --accent: #6A38F0; /* rich violet */
  --panel: #131316;
  --overlay: rgba(0,0,0,.50);
  --font: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  /* Adjust this to exactly match the logo background */
  --logo-bg: #f1ebe4;
}

*{box-sizing:border-box}
html,body{height:100%; margin:0; padding:0;}
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

.site-header{
  position: fixed;
  top: 10px; left: 0; right: 0;
  z-index: 10;
  background: transparent;
  pointer-events: none; /* allow the nav to handle interactions */
}

.nav{
  max-width: 1100px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgba(255,255,255,.5); /* ~50% border */
  border-radius: 999px;
  backdrop-filter: saturate(120%) blur(8px);
  background: rgba(10,10,12,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  pointer-events: auto;
  width: calc(100% - 2rem);
  margin: 0.5rem auto;
}

.brand{
  text-decoration:none;
  letter-spacing: .15em;
  color: var(--text);
  font-weight: 600;
  font-size: clamp(0.8rem, 1vw, 1.1rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50%;
}

.brand-word{ vertical-align: middle; }

/* Header socials */
.socials{ display:flex; align-items:center; gap:1rem; }
.social-link{ 
  position: relative;
  display: inline-block;
  line-height:0; 
  transition: transform .15s ease; 
  position: relative; 
}
.social-link:hover{ transform: translateY(-3px); }
.social-link img{ 
  width:32px; 
  height:32px; 
  display:block; 
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); 
  transition: opacity 0.2s ease;
}

.social-link:hover img {
  opacity: 0.8;
}

/* Debug: Make sure Instagram links are visible */
.social-link.instagram {
  border: 1px solid transparent;
  border-radius: 4px;
}

.social-link.instagram:hover {
  border-color: rgba(225, 48, 108, 0.3);
}

.social-link::after {
  content: attr(data-popover);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  background: rgba(20, 20, 24, 0.95);
  color: var(--text);
  padding: 8px 12px;
  font-size: 0.8rem;
  line-height: 1.3;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
  min-width: 140px;
  text-align: center;
  max-width: 200px;
  word-wrap: break-word;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.social-link:hover::after,
.social-link:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Header Instagram link popover */
.site-header .social-link.instagram::after {
  left: 50%;
  bottom: auto;
  top: calc(100% + 10px);
  transform: translateX(-50%) translateY(0);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header .social-link.instagram:hover::after,
.site-header .social-link.instagram:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(5px);
}

/* Social Icons Container */
.hero-floating-socials {
  position: fixed;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 5;
  padding: 1.2rem 0.8rem;
  border-radius: 999px;
  background: rgba(10,10,12,.55);
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: saturate(120%) blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-floating-socials .social-link::after {
  left: 100%;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%) translateX(10px);
  white-space: nowrap;
}

.hero-floating-socials .social-link:hover::after,
.hero-floating-socials .social-link:focus-visible::after {
  transform: translateY(-50%) translateX(15px);
}

/* Remove floating animation */
.hero-floating-socials .social-link img {
  animation: none;
  transition: transform 0.2s ease;
}

.hero-floating-socials .social-link:hover img {
  transform: scale(1.1);
}

/* Adjust tooltip positioning for vertical layout */
.hero-floating-socials .social-link::after {
  left: 100%;
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  margin-left: 0;
  white-space: nowrap;
}

/* Remove floating animation delays */
.hero-floating-socials .social-link:nth-child(n) img {
  animation: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-floating-socials {
    padding: 1rem 0.6rem;
    gap: 0.8rem;
  }
  
  .hero-floating-socials .social-link img {
    width: 28px;
    height: 28px;
  }
}

/* Mobile Scroll Down Button */
.mobile-scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.mobile-scroll-down svg {
  width: 20px;
  height: 20px;
  color: white;
  animation: bounce 2s infinite;
}

.mobile-scroll-down:active {
  transform: translateX(-50%) scale(0.95);
  background: rgba(255, 255, 255, 0.25);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    visibility: visible;
  }
}

/* Hide on desktop initially */
@media (min-width: 769px) {
  .mobile-scroll-down {
    display: none;
  }
}

/* Show only on mobile */
@media (max-width: 768px) {
  .mobile-scroll-down {
    display: flex;
  }
  
  /* Hide the default scroll indicator on mobile */
  .hero::after,
  .hero::before {
    display: none !important;
  }
}

@keyframes scrollIndicator {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .hero::after,
  .hero::before {
    display: block;
  }
  
  .hero-floating-socials {
    left: 1rem;
    padding: 1rem 0.6rem;
    gap: 0.8rem;
  }
  
  .hero-floating-socials .social-link img {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-link::after {
    transition: none;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .nav {
    padding: 0.6rem 1rem;
    gap: 0.5rem;
  }
  
  .brand {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
  
  .social-link img {
    width: 28px;
    height: 28px;
  }
  
  .hero-title {
    font-size: clamp(1rem, 4.5vw, 2rem);
    line-height: 1.2;
    padding: 0 1.5rem;
    top: 60%;
  }
  
  .hero-logo {
    width: 180px !important;
    transform: translateY(-14vh) !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1rem, 5.5vw, 1.8rem);
    padding: 0 1rem;
  }
  
  .hero-logo {
    width: 150px !important;
    transform: translateY(-12vh) !important;
  }
  
  .hero-floating-socials {
    left: 0.8rem;
    padding: 0.8rem 0.5rem;
    gap: 0.6rem;
  }
  
  .hero-floating-socials .social-link img {
    width: 22px;
    height: 22px;
  }
}

.cta{
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: var(--text);
  padding: .55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.cta:hover{ transform: translateY(-2px); background: rgba(255,255,255,.06); }

.main{ display:block; }

.hero {
  min-height: 100vh;
  background: url("assets/bg.webp") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
    background-position: center center;
  }
  
  /* Add a pseudo-element to improve mobile performance */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    z-index: -1;
  }
}

.hero .overlay{
  position:absolute; inset:0;
  background: var(--overlay);
}

.hero-logo{
  position: relative;
  z-index: 1;
  width: clamp(150px, 23vw, 280px);
  height: auto;
  opacity: 1;
  filter: brightness(1.15) saturate(1.08) drop-shadow(0 6px 22px rgba(0,0,0,.5));
  margin: 0 1rem -0.5rem;
  border-radius: 28px;
  transform: translateY(-16vh);
}

.hero-title {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0 1rem;
  font-size: clamp(0.9rem, 3.5vw, 2.2rem);
  line-height: 1.2;
  color: white;
  text-shadow: 0 6px 22px rgba(0,0,0,.6);
  letter-spacing: .01em;
  white-space: normal;
  max-width: 100%;
  word-wrap: break-word;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.festive-message {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translateX(-50%);
  background: rgba(10,10,12,.55);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 1.2rem;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: saturate(120%) blur(8px);
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite;
  line-height: 1.6;
}

@keyframes float {
  0% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -5px); }
  100% { transform: translate(-50%, 0); }
}

@media (max-width: 992px) {
  .festive-message {
    top: 75%;
    font-size: 1.1rem;
    padding: 12px 24px;
    background: rgba(10,10,12,.55);
  }
}

@media (max-width: 768px) {
  .festive-message {
    white-space: normal;
    top: auto;
    bottom: 80px;
    width: 90%;
    max-width: 320px;
    padding: 12px 20px;
    border-radius: 25px;
  }
  
}

@media (max-width: 480px) {
  .festive-message {
    font-size: 1rem;
    padding: 10px 16px;
    bottom: 70px;
    width: 85%;
    max-width: 280px;
    max-width: 90%;
  }
  
}

.contact{
  padding: 6rem 1.25rem 4rem;
  background: #0b0b0d;
  border-top: 1px solid rgba(255,255,255,.06);
}

.contact h2{
  text-align:center;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  margin: 0 0 1rem;
}

.contact p{
  text-align:center;
  color: var(--muted);
  margin: 0 0 2rem;
}

.contact-form{
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  background: var(--panel);
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
}

.contact-form label{
  display:grid; gap:.35rem;
  font-size:.95rem;
}

input, textarea{
  width: 100%;
  padding: .8rem .9rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: #0f0f12;
  color: var(--text);
  outline: none;
}
input:focus, textarea:focus{ border-color: var(--accent); }

.footer{
  background:#09090b;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem 1rem 3.5rem;
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  display:grid;
  place-items:center;
  gap:.75rem;
  text-align:center;
}

/* Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 5;
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 1s both;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-down-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}

.scroll-down-indicator svg {
  animation: bounce 2s infinite;
  margin-top: 4px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 0.8;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Hide on mobile - we'll show a different indicator */
@media (max-width: 768px) {
  .scroll-down-indicator {
    display: none;
  }
}

/* Instagram Feed Styles */
.instagram-feed {
  padding: 5rem 2rem;
  text-align: center;
  background-color: var(--panel);
  margin: 2rem 0;
}

.instagram-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.5px;
}

.instagram-handle {
  color: var(--muted);
  margin-bottom: 3rem;
  font-size: 1.25rem;
  font-weight: 300;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
}

.instagram-handle:hover {
  color: #E1306C; /* Instagram pink */
  transform: translateY(-2px);
}

.instagram-handle::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.instagram-handle:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.instagram-posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.instagram-post {
  position: relative;
  height: 700px; /* Increased height for better content visibility */
  min-height: 700px;
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: scale(1);
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.instagram-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.instagram-post iframe {
  width: 100%;
  height: 100%;
  border: none;
  flex-grow: 1;
  min-height: 0;
}

.instagram-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: auto;
  min-width: 100px;
}

.instagram-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, #FD1D1D, #E1306C, #C13584, #833AB4, #5851DB, #405DE6);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.instagram-button:hover::before {
  opacity: 1;
}

.instagram-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: white;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .instagram-posts {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    max-width: 1000px;
  }
}

@media (max-width: 768px) {
  .instagram-feed {
    padding: 3.5rem 1rem;
  }
  
  .instagram-posts {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .instagram-post {
    height: 600px;
    min-height: 600px;
  }
  
  .instagram-title {
    font-size: 2rem;
  }
  
  .instagram-handle {
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
  }
}

.footer-logo {
  opacity: .85;
  max-width: 220px;
  height: auto;
}

.copyright, .powered{
  color: var(--muted);
  margin: 0;
  font-size: .95rem;
}

.powered a{ color: var(--muted); }
.powered a:hover{ color: var(--text); }

/* Action Buttons Container */
.action-buttons-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  font-family: var(--font);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.action-button-wrapper {
  position: relative;
}

/* Action Buttons */
.action-button {
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: auto;
  min-width: 100px;
  backdrop-filter: saturate(120%) blur(8px);
}

.action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.action-button:active {
  transform: translateY(1px);
}

.action-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.5s;
  z-index: -1;
}

.action-button:hover::before {
  width: 100%;
}

/* Button Specific Styling */
.hiring-button {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(167, 139, 250, 0.7) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

.help-button {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.7) 0%, rgba(110, 231, 183, 0.7) 100%);
  border-color: rgba(52, 211, 153, 0.3);
}

.offers-button {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.7) 0%, rgba(252, 211, 77, 0.7) 100%);
  border-color: rgba(251, 191, 36, 0.3);
  color: #000;
}

/* Action Popovers */
.action-popover {
  position: fixed;
  bottom: 80px;
  right: 10px;
  left: 10px;
  background: rgba(20, 20, 24, 0.98);
  border: 1px solid rgba(106, 56, 240, 0.3);
  border-radius: 16px;
  padding: 16px;
  width: auto;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-sizing: border-box;
}

.action-popover.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.action-popover h3 {
  color: #6A38F0;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  text-align: center;
}

.action-popover p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 15px;
  text-align: center;
}

.action-link {
  display: inline-block;
  background: linear-gradient(135deg, rgba(106, 56, 240, 0.7) 0%, rgba(139, 92, 246, 0.7) 100%);
  backdrop-filter: saturate(120%) blur(8px);
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(106, 56, 240, 0.3);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin: 5px;
  text-align: center;
}

.action-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(106, 56, 240, 0.3);
  border-color: rgba(106, 56, 240, 0.5);
}

/* Debug: Ensure action links are clickable */
.action-link {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.action-link:focus {
  outline: 2px solid rgba(106, 56, 240, 0.5);
  outline-offset: 2px;
}

.help-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.help-links .action-link {
  width: 100%;
  max-width: 200px;
}

.size-help-section {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  padding: 12px;
  margin: 15px 0;
  text-align: center;
}

.size-help-text {
  color: #10B981;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.size-help-text:last-child {
  margin-bottom: 0;
}

/* Help Popover Specific Styling */
.help-popover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(10,10,12,.55);
  backdrop-filter: saturate(120%) blur(8px);
}

.help-popover h3 {
  color: #10B981;
}

.help-popover .action-link {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.7) 0%, rgba(110, 231, 183, 0.7) 100%);
  border-color: rgba(52, 211, 153, 0.3);
}

.help-popover .action-link:hover {
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3);
  border-color: rgba(52, 211, 153, 0.5);
}

/* Hiring Popover Specific Styling */
.hiring-popover {
  border-color: rgba(106, 56, 240, 0.3);
  background: rgba(10,10,12,.55);
  backdrop-filter: saturate(120%) blur(8px);
}

.hiring-popover h3 {
  color: #6A38F0;
}

.hiring-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.hiring-links .action-link {
  width: 100%;
  max-width: 200px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.7) 0%, rgba(167, 139, 250, 0.7) 100%);
  border-color: rgba(139, 92, 246, 0.3);
}

.hiring-links .action-link:hover {
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.5);
}

/* Offers Popover Specific Styling */
.offers-popover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(10,10,12,.55);
  backdrop-filter: saturate(120%) blur(8px);
}

.offers-popover h3 {
  color: #D4AF37;
}

/* First Time Offer in Offers Popup */
.first-time-offer {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 12px;
  margin: 15px 0;
  text-align: center;
}

.first-time-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(255, 215, 0, 0.8) 100%);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 15px;
  padding: 8px 16px;
  margin-bottom: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.first-time-percentage {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 6px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.first-time-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a1a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.first-time-description {
  color: #D4AF37;
  font-weight: 500;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.3;
}

.offers-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.offers-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.offers-list li:last-child {
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-left: 10px;
  flex-shrink: 0;
  text-align: center;
}

.discount-badge.discount-5 {
  background: rgba(75, 192, 192, 0.2);
  color: #4bc0c0;
  border: 1px solid rgba(75, 192, 192, 0.3);
}

.discount-badge.discount-10 {
  background: rgba(255, 159, 64, 0.2);
  color: #ff9f40;
  border: 1px solid rgba(255, 159, 64, 0.3);
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  transition: color 0.2s ease;
}

.close-button:hover {
  color: #D4AF37;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .action-buttons-container {
    bottom: 20px;
    right: 20px;
    gap: 8px;
  }
  
  .action-button {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 25px;
  }
  
  .action-popover {
    width: calc(100% - 20px);
    max-width: 320px;
    right: 10px;
    left: auto;
  }
  
  .action-popover p {
    font-size: 0.9rem;
  }
  
  .action-link {
    font-size: 0.85rem;
    padding: 7px 14px;
  }
  
  .offers-list li {
    font-size: 0.95rem;
    padding: 0.4rem 0;
  }
}

@media (max-width: 480px) {
  .action-buttons-container {
    bottom: 20px;
    right: 15px;
    gap: 6px;
  }
  
  .action-button {
    padding: 7px 14px;
    font-size: 0.85rem;
  }
  
  .action-popover {
    padding: 12px;
    border-radius: 14px;
  }
  
  .action-popover h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .action-popover p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .action-link {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  .offers-list {
    margin: 1rem 0;
    gap: 0.75rem;
  }
  
  .offers-list li {
    font-size: 0.9rem;
    padding: 0.4rem 0;
  }
  
  .discount-badge {
    min-width: 55px;
    padding: 3px 8px;
    font-size: 0.75rem;
  }
  
  .first-time-offer {
    padding: 10px;
    margin: 12px 0;
  }
  
  .first-time-badge {
    padding: 6px 12px;
    margin-bottom: 6px;
  }
  
  .first-time-percentage {
    font-size: 1.2rem;
  }
  
  .first-time-text {
    font-size: 0.7rem;
  }
  
  .first-time-description {
    font-size: 0.8rem;
  }
}

/* First Time Visitor Popup Styles */
.first-time-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.first-time-popup.show {
  display: flex;
  animation: popupFadeIn 0.4s ease-out;
}

.popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.popup-content {
  position: relative;
  background: rgba(10,10,12,.55);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 20px;
  max-width: 450px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  animation: popupSlideIn 0.4s ease-out;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.popup-header h2 {
  margin: 0;
  color: #D4AF37;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.popup-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.popup-close:hover {
  color: #D4AF37;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
  backdrop-filter: blur(4px);
}

.popup-body {
  padding: 25px;
  text-align: center;
}

.discount-badge-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.8) 0%, rgba(255, 215, 0, 0.8) 100%);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 20px;
  padding: 15px 25px;
  margin-bottom: 20px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.discount-percentage {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 8px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.discount-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.popup-body h3 {
  margin: 0 0 15px 0;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.popup-body p {
  margin: 0 0 25px 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.popup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.popup-cta {
  display: inline-block;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.7) 0%, rgba(255, 215, 0, 0.7) 100%);
  backdrop-filter: saturate(120%) blur(8px);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  color: #1a1a1a;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
  cursor: pointer;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 200px;
}

.popup-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.8) 0%, rgba(255, 193, 7, 0.8) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.popup-cta:hover::before {
  opacity: 1;
}

.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: #1a1a1a;
}

.popup-dismiss {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--muted);
  padding: 10px 25px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.popup-dismiss:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes popupFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* Responsive adjustments for popup */
@media (max-width: 768px) {
  .first-time-popup {
    padding: 15px;
  }
  
  .popup-content {
    max-width: 100%;
    border-radius: 16px;
  }
  
  .popup-header {
    padding: 18px 20px 12px;
  }
  
  .popup-header h2 {
    font-size: 1.2rem;
  }
  
  .popup-body {
    padding: 20px;
  }
  
  .discount-badge-large {
    padding: 12px 20px;
    margin-bottom: 18px;
  }
  
  .discount-percentage {
    font-size: 2rem;
  }
  
  .discount-text {
    font-size: 1rem;
  }
  
  .popup-body h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .popup-body p {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .popup-cta {
    padding: 10px 25px;
    font-size: 0.95rem;
    min-width: 180px;
  }
  
  .popup-dismiss {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .first-time-popup {
    padding: 10px;
  }
  
  .popup-header {
    padding: 15px 18px 10px;
  }
  
  .popup-header h2 {
    font-size: 1.1rem;
  }
  
  .popup-body {
    padding: 18px;
  }
  
  .discount-badge-large {
    padding: 10px 18px;
    margin-bottom: 15px;
  }
  
  .discount-percentage {
    font-size: 1.8rem;
  }
  
  .discount-text {
    font-size: 0.9rem;
  }
  
  .popup-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  .popup-body p {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }
  
  .popup-cta {
    padding: 9px 22px;
    font-size: 0.9rem;
    min-width: 160px;
  }
  
  .popup-dismiss {
    padding: 7px 18px;
    font-size: 0.8rem;
  }
}
