

:root{
  --primary-color:#6c5ce7; --primary-color-light:#8775f7;
  --secondary-color:#00cec9; --accent-color:#fdcb6e;
  --bg-dark:#0f1116; --bg-card:#1a1d24;
  --text-light:#fff; --text-gray:#a0a0a0;
  --shadow-color:rgba(108,92,231,.15);
  --radius:12px; --e: all .3s ease;
  /* header height tokens used by hero to avoid phantom gap */
  --header-h:68px;           /* desktop */
  --header-h-sm:58px;        /* ≤768px */
}

*{margin:0;padding:0;box-sizing:border-box}
*:focus,*:active{outline:none!important;box-shadow:none!important;-webkit-tap-highlight-color:transparent!important}
html,body{height:100%}
body{
  font-family:'Poppins',sans-serif;background:var(--bg-dark);color:var(--text-light);
  line-height:1.6;overflow-x:hidden;
}
a{color:inherit;text-decoration:none}

header{
  position: fixed;          /* was: sticky */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1200;
  padding:.65rem 4%;
  background:rgba(25,28,35,.82);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}



nav{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.logo{display:flex;align-items:center;gap:.5rem;cursor:pointer}
.logo-c{height:55px; width:60px ;transition:transform .3s;filter:drop-shadow(0 2px 4px rgba(0,0,0,.3))}
.logo-text{
  font-family:'Lexend Deca',sans-serif;font-size:1.95rem;font-weight:700;letter-spacing:-.4px;white-space:nowrap;
  background:linear-gradient(135deg,#6c5ce7 0%,#00cec9 50%,#fdcb6e 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;
  text-shadow:0 2px 8px rgba(108,92,231,.3);transition:var(--e); filter: brightness(1.2);
}
.footerlogo-text{
  font-family:'Lexend Deca',sans-serif;font-size:1.5rem;font-weight:700;letter-spacing:-.4px;white-space:nowrap;
  color:white;
}
.logo:hover .logo-c{transform:scale(1.08) rotate(5deg)}
.auth-buttons{display:flex;gap:1rem}
.login-btn{padding:.7rem 1rem;border:1px solid rgba(255,255,255,.12);border-radius:999px;transition:var(--e)}
.login-btn:hover{background:rgba(255,255,255,.06)}
.signup-btn{
  padding:.75rem 1.15rem;border-radius:999px;font-weight:700;transition:var(--e);
  background:linear-gradient(135deg,var(--primary-color),var(--secondary-color))
}
.signup-btn:hover{transform:translateY(-2px);box-shadow:0 8px 16px rgba(108,92,231,.25)}

/* ====== HERO (top padding uses header tokens; no extra space) ====== */
main{background:linear-gradient(120deg,#181824 0%,#181827 35%,#161627 100%)}
section.hero{ padding: 0 3% 1.7rem; }
.hero{
  background:linear-gradient(-45deg,#1a1a2e,#16213e,#1e1e38,#1c1c35);
  background-size:400% 400%;animation:gradientShift 15s ease infinite;
  /* push below sticky header without leaving extra gap */
  padding-top:calc(var(--header-h) + .4rem);
}
@keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

.hero-main-content{display:flex;align-items:center;gap:2rem}
.hero-content{display:flex;flex-direction:column;flex:1;gap:1rem}
.hero-image{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;gap:1rem}

.badges-row{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.3rem}
.pill-badge{margin-top:-1.5rem; display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;font-weight:600;padding:.38rem .62rem;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1)}
.pill-badge i{font-size:.95rem}

.hero h1{font-size:2.9rem;font-weight:800;line-height:1.18;letter-spacing:-.5px;margin-top:.15rem}
.highlight{background:linear-gradient(135deg,var(--primary-color),var(--secondary-color));-webkit-background-clip:text;background-clip:text;color:transparent;filter: brightness(1.2);}


.benefit-bullets{list-style:none;display:grid;gap:.5rem;margin:.5rem 0 1rem}
.benefit-bullets li{display:flex;align-items:center;gap:.6rem;color:#cfd3ff;opacity:.95}
.benefit-bullets i{color:#71ffa2}

.cta-buttons{display:flex;gap:1rem;margin:.4rem 0 1.3rem}
.primary-btn{padding:1rem 1.4rem;border-radius:999px;font-weight:800;display:inline-flex;align-items:center;gap:.6rem;transition:var(--e);background:linear-gradient(135deg,var(--primary-color),var(--secondary-color))}
.primary-btn:hover{transform:translateY(-2px);box-shadow:0 7px 15px rgba(108,92,231,.3)}
.secondary-btn{padding:1rem 1.3rem;border:1px solid rgba(255,255,255,.12);border-radius:999px;font-weight:600;transition:var(--e)}
.secondary-btn:hover{background:rgba(255,255,255,.06)}

.social-proof{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.avatars{display:flex;align-items:center}
.avatars img{width:32px;height:32px;border-radius:50%;border:2px solid #222;margin-left:-8px;background:#333}
.avatars img:first-child{margin-left:0}

.proof-copy{color:var(--text-gray);font-size:.95rem}
.proof-copy a{color:#b7b9ff;text-decoration:underline}



/* Stats */
.stats{display:flex;gap:2rem;flex-wrap:wrap}
.stat-item{display:flex;flex-direction:column}
.stat-number{font-size:1.6rem;font-weight:800;color:var(--accent-color)}
.stat-label{font-size:.9rem;color:var(--text-gray)}


/* ====== REWARDS ====== */
.rewards{padding:2rem 0%;text-align:center}
.rewards h2{font-size:2.5rem;margin-bottom:1.1rem;font-weight:800}


/* ====== FAQ ====== */
.faq{padding:4rem 5%}
.faq h2{text-align:center;font-size:2.5rem;margin-bottom:1.1rem;font-weight:800; margin-top: -2rem;}
.faq-list{max-width:900px;margin:0 auto;display:grid;gap:.8rem}
details{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:.9rem 1rem;transition:.25s}
details[open]{border-color:rgba(108,92,231,.25)}
summary{cursor:pointer;font-weight:700;list-style:none}
summary::-webkit-details-marker{display:none}
.faq-ans{color:#cbd1ff;margin-top:.6rem}

/* ====== FOOTER ====== */
footer{background:rgba(26,29,36,.5);border-top:1px solid rgba(255,255,255,.05);padding:4rem 5% 2rem}
.footer-content{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-section h4{margin-bottom:1rem;font-weight:700;font-size:1.05rem}
.footer-section p{color:var(--text-gray);margin-bottom:1rem;max-width:80%}
.footer-section ul{list-style:none}
.footer-section li{margin-bottom:.6rem}
.footer-section a{color:var(--text-gray);transition:var(--e)}
.footer-section a:hover{color:var(--primary-color-light)}
.social-icons{display:flex;gap:.8rem}
.social-icons a{width:40px;height:40px;background:rgba(255,255,255,.05);border-radius:50%;display:flex;justify-content:center;align-items:center;transition:var(--e)}
.social-icons a:hover{background:var(--primary-color);transform:translateY(-3px)}
.footer-bottom{text-align:center;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.05)}
.footer-bottom p{color:var(--text-gray);font-size:.9rem}

/* ====== CONSENT MODAL ====== */
#consentModal{position:fixed;inset:0;background:rgba(0,0,0,.4);display:none;align-items:center;justify-content:center;z-index:2000}
#consentModal .modal-content{
  background:#fff;color:rgb(85, 85, 85);;padding:2rem 1.5rem;border-radius:12px;width:100%;max-width:360px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);text-align:left;position:relative;font-family:'Lexend Deca',sans-serif;
}
#consentModal .close-btn{position:absolute;top:1rem;right:1rem;border:none;background:transparent;font-size:1.4rem;color:#999;cursor:pointer}
#consentModal .close-btn:hover{color:#666}
#consentModal h3{font-size:1.1rem;margin-bottom:.6rem;font-weight:700;color:#101010}
.checkbox-row{display:flex;align-items:center;gap:.6rem;margin:.6rem 0}
#consentModal input#agreeTerms{transform:scale(1.3);transform-origin:top left;margin-right:.6rem;accent-color:var(--primary-color)}
#consentContinue{display:block;width:100%;margin-top:1rem;padding:.72rem;font-size:1.5rem;font-weight:700;color:#fff;background:var(--primary-color);border:none;border-radius:8px;cursor:pointer;transition:.2s;font-family:'Lexend Deca',sans-serif}
#consentContinue:hover:not(:disabled){background:var(--primary-color-light);transform:translateY(-1px)}
#consentContinue:disabled{background:#ccc;cursor:not-allowed}
.checkbox-row a {
    color: var(--primary-color);
    text-decoration: underline;
  
}

body.modal-open{overflow:hidden}

@media (max-width: 992px){
  .hero-main-content{flex-direction:column;gap:1.2rem}
  .hero-content,.hero-image{width:100%}
  .hero-content{text-align:center}
  .cta-buttons{justify-content:center}
  .stats{justify-content:center}
  .footer-content{grid-template-columns:1fr 1fr}
}
@media (max-width: 768px){
  /* use smaller header height to remove extra space on phones */
  .hero{padding-top:calc(var(--header-h-sm) + .3rem)}
  header{padding:.60rem 4%}
  .logo-c{ height: 48px;
        width: 50px;}
  .logo-text{font-size:1.34rem}
  .footerlogo-text{font-size: 1.25rem}
  .auth-buttons{gap:.5rem}
  .login-btn,.signup-btn{padding:.5rem .8rem;font-size:.9rem}
  .feature-grid,.how-grid{grid-template-columns:1fr}

  .footer-content{grid-template-columns:1fr;gap:1.5rem}
  .hero h1{font-size:2.2rem}
}
@media (max-width: 576px){
  .hero h1{font-size:2rem}
}

/* ====== Trending ticker (unchanged structure; keep your existing rules below if any) ====== */

/* Updated Trending Ticker Styles */
.trending-ticker {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 10;
    margin-top: 4.4rem;
    order: -1;
    margin-left: -1.5rem;
    margin-right: -1.9rem;
}

.trending-ticker-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    position: relative;
}

.trending-ticker-label {
    font-family: 'Lexend Deca', sans-serif;
    position: absolute;
    left: 0px;
    top: 17%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff2f39, #d51111);
    color: white;
    padding: 3px 7px;
    border-radius: 7px;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex
;
    align-items: center;
    gap: 4px;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(255, 55, 66, 0.4);
    pointer-events: none;
}
/* Blinking live dot */
.live-dot {
    width: 5px;
    height: 5px;
    background: #00ff00;
    border-radius: 50%;
    animation: liveBlink 1.5s ease-in-out infinite;
    box-shadow: 0 0 3px #00ff00;
}

@keyframes liveBlink {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
}

/* Trending ticker items container */
.trending-ticker-items {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 5px 0;
    min-height: 44px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
}

.trending-ticker-items::-webkit-scrollbar {
    display: none;
}

/* Individual ticker items - removed all dots and extra indicators */
.trending-ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    min-width: 160px;
    flex-shrink: 0;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    /* Add left padding to first item to accommodate LIVE badge */
}

/* Add left padding to first trending item */
.trending-ticker-item:first-child {
    padding-left: 50px;
}

.trending-ticker-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.trending-ticker-item.payment-type {
    background: rgba(0, 206, 201, 0.1);
    border-color: rgba(0, 206, 201, 0.2);
}

.trending-ticker-item.trending-type {
    background: rgba(108, 92, 231, 0.1);
    border-color: rgba(108, 92, 231, 0.2);
}

.ticker-item-image {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.ticker-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
}

.ticker-item-content {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.ticker-item-offer {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.2;
}

.ticker-item-user {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.ticker-item-coins {
    color: #ffc107;
    font-weight: 500;
    font-size: 0.75rem;
     font-family: 'Poppins', sans-serif;
}

.ticker-item-coins i {
    color: #ffc107;
    font-size: 0.7rem;
    margin-right: 2px;
}

.type-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.6rem;
    font-weight: 600;
    margin-left: 4px;
}

.type-badge.trending {
    background: rgba(108, 92, 231, 0.2);
    color: #8775f7;
}

.type-badge.payment {
    background: rgba(0, 206, 201, 0.2);
    color: #00cec9;
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .trending-ticker {
        padding: 0.2rem 0;
        margin-bottom: 0.75rem;

    }

    .trending-ticker-container {
        padding: 0 10px;
        gap: 8px;
    }
    
    .trending-ticker-label {
        padding: 2px 5px;
        font-size: 0.6rem;
        border-radius: 5px;
        left: 14px;
        top: 10px;
    }
    
    .live-dot {
        width: 5px;
        height: 5px;
    }
    
    .trending-ticker-item {
        min-width: 140px;
        padding: 4px 8px;
        gap: 6px;
    }

    .trending-ticker-item:first-child {
        padding-left: 40px;
    }

    .ticker-item-image {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .trending-ticker {
        padding: 0.1rem 0;
        margin-bottom: 0.5rem;
    }

    .trending-ticker-label {
        padding: 1.5px 4px;
        font-size: 0.55rem;
        gap: 3px;
        left: 12px;
        margin-left: 0.2rem;
    }
    
    .trending-ticker-item {
        min-width: 130px;
        padding: 4px 6px;
    }

    .trending-ticker-item:first-child {
        padding-left: 35px;
    }
    
    .ticker-item-content {
        font-size: 0.7rem;
    }
    
    .ticker-item-user {
        font-size: 0.6rem;
        max-width: 90px;
    }
    
    .ticker-item-coins {
        font-size: 0.7rem;
    }

    .live-dot {
        width: 4.5px;
        height: 4.5px;
    }
}
/* ====== HERO IMAGE SECTION (EXTRA LARGE FOR DESKTOP) ====== */
.hero-image {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 3rem 0;
}

.hero-visual-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central Phone Mockup - EXTRA LARGE */
.phone-mockup {
  position: relative;
  width: 290px;
  height: 500px;
  background: linear-gradient(145deg, #1a1d24, #242831);
  border-radius: 40px;
  border: 5px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  z-index: 5;
  animation: phoneFloat 6s ease-in-out infinite;
}

.phone-screen {
  width: 257px;
  height: 450px;
  background: linear-gradient(135deg, var(--bg-dark), #1e2028);
  border-radius: 25px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
}

.screen-header {
  text-align: center;
  margin-bottom: 18px;
}

.balance-display {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(108,92,231,0.5);
  animation: balanceGlow 3s ease-in-out infinite;
}

@keyframes balanceGlow {
  0%, 100% { box-shadow: 0 8px 20px rgba(108,92,231,0.5); }
  50% { box-shadow: 0 8px 30px rgba(108,92,231,0.8); }
}

.mini-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-height: 350px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mini-cards::-webkit-scrollbar {
  display: none;
}

/* Game & Survey Cards - Enhanced Design */
.game-card, .survey-card {
  background: rgba(255,255,255,0.08);
  border-radius: 15px;
  padding: 0px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  animation: cardSlide 0.5s ease-out;
  transition: all 0.3s ease;
  min-height: 65px;
}

.game-icon, .survey-icon {
  width: 63px;
  height: 65px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.survey-icon {
/* Light Blue E — Airy Sky (very light, modern) */
background:
  radial-gradient(100% 80% at 75% 20%, rgba(255,255,255,.5) 0%, rgba(255,255,255,0) 55%),
  linear-gradient(135deg, #dbeafe 0%, #93c5fd 100%);

  color: white;
}

.game-info, .survey-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.game-name, .survey-name {
  font-weight: 600;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.2;
}

.game-earning, .survey-earning {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Floating Earning Cards - EXTRA LARGE */
.floating-card{
  position: absolute;
  /* glass */
  background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  /* edges */
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;

  padding: 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 210px;

  /* depth */
  box-shadow:
    0 15px 35px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.15),     /* top highlight */
    inset 0 -1px 0 rgba(255,255,255,0.04);    /* bottom soft */
  animation: cardFloat 8s ease-in-out infinite;
  overflow: hidden; /* for glare */
}

/* moving glass glare (subtle & premium) */
.floating-card::before{
  content:"";
  position:absolute; inset:-20%;
  background: linear-gradient(115deg,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.14) 50%,
    rgba(255,255,255,0.00) 65%);
  transform: rotate(8deg) translateX(-15%);
  animation: glare 6s ease-in-out infinite;
  pointer-events:none;
}

/* soft outer glow to merge with neon-y bg chips */
.floating-card::after{
  content:"";
  position:absolute; inset:0;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06),  /* hairline ring */
              0 10px 40px rgba(0,0,0,0.35);
  pointer-events:none;
}

@keyframes glare{
  0%,100%{ transform: rotate(8deg) translateX(-20%); opacity:.75; }
  50%    { transform: rotate(8deg) translateX(20%);  opacity:1; }
}


.floating-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  flex-shrink: 0;
}

.floating-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.floating-card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-light);
}

.floating-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.earning-amount {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Background Elements - EXTRA LARGE */
.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: rotate 20s linear infinite;
}

.circle-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color), transparent);
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, var(--secondary-color), transparent);
  bottom: 20%;
  left: 5%;
  animation-delay: 10s;
}

.circle-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-color), transparent);
  top: 45%;
  right: 30%;
  animation-delay: 5s;
}


/* Animations */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
  75% { transform: translateY(-20px) rotate(0.5deg); }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-25px); }
}

@keyframes cardSlide {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}




@media (max-width: 1200px) {
  .hero-visual-container {
    max-width: 600px;
    height: 500px;
  }
  
  .phone-mockup {
    width: 300px;
    height: 500px;
  }
  
  .phone-screen {
    width: 250px;
    height: 430px;
  }
  
  .floating-card {
    min-width: 210px;
    padding: 18px;
  }
}

@media (max-width: 992px) {
  .hero-image {
    min-height: 450px;
  }
  
  .hero-visual-container {
    max-width: 550px;
    height: 450px;
  }
  
  .phone-mockup {
    width: 280px;
    height: 460px;
  }
  
  .phone-screen {
    width: 230px;
    height: 390px;
    padding: 25px 15px;
  }
  
  .balance-display {
    font-size: 1.2rem;
    padding: 12px 20px;
  }
  
  .floating-card {
    min-width: 190px;
    padding: 16px;
  }
  
  .floating-card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-image {
    min-height: 500px;
    margin-top: 1rem;
    padding: 1.5rem 0;
  }
  
  .hero-visual-container {
    height: 450px;
    max-width: 100%;
  }
  
  .phone-mockup {
    width: 300px;
    height: 520px;
  }
  
  .phone-screen {
    width: 260px;
    height: 450px;
    padding: 30px 18px;
  }
  
  .balance-display {
    font-size: 1.1rem;
    padding: 12px 20px;
  }
  
  .game-card, .survey-card {
    padding: 16px;
    gap: 16px;
    min-height: 70px;
  }
  
  .game-icon, .survey-icon {
    width: 55px;
    height: 55px;
  }
  
  .game-name, .survey-name {
    font-size: 1.05rem;
  }
  
  .game-earning, .survey-earning {
    font-size: 0.95rem;
  }
  
  .floating-card {
    min-width: 180px;
    padding: 14px;
  }
  

}

@media (max-width: 576px) {
  .hero-image {
    min-height: 420px;
    padding: 1rem 0;
  }
  
  .hero-visual-container {
    height: 488px;
  }
  
  .phone-mockup {
  width: 260px;
  height: 440px;
  }
  
  .phone-screen {
width: 228px;
        height: 400px;
  padding: 19px 15px;
  }
  
  .balance-display {
    font-size: 1rem;
    padding: 10px 18px;
  }
  
  .game-card, .survey-card {
    padding: 0px;
    min-height: 57px;
  }
  
  .game-icon, .survey-icon {
    width: 55x;
    height: 55px;
  }
  .game-name, .survey-name {
    font-size: 0.85rem;
  }
  
  .game-earning, .survey-earning {
    font-size: 0.8rem;
  }
  .badges-row{
    margin-top: 1.3rem;
  }
  
  .bg-circle {
    display: none;
  }
}



/* --- Stack order: keep phone above, cards behind --- */
.hero-visual-container{ position:relative; isolation:isolate; }
.phone-mockup{ position:relative; z-index:6; }
.floating-card{ z-index:2; }              /* behind phone */
.hero-bg-elements{ z-index:1; }           /* far back */

/* --- Kill horizontal scroll on small screens --- */
@media (max-width: 768px){
  /* trending strip ke negative margins mobile par hatao */
  .trending-ticker{ margin-left:-1.3rem; margin-right:-1.3rem; margin-top: 4.2rem; }
}


/* Extra-small devices */
@media (max-width: 380px){
  .floating-card{ transform: scale(.68); min-width: 120px; max-width: 50vw; }
  .floating-card.card-2{ top: 24%; }
  .floating-card.card-3{ bottom: 24%; }
}

/* new css */ 



/* --- SAFE GUTTER + CONTAINER LIMIT --- */
:root{ --hero-gutter: clamp(12px, 4vw, 40px); }

.hero-visual-container{
  padding-inline: var(--hero-gutter);
  max-width: min(800px, 96vw);
}

/* --- DO NOT CLIP INSIDE HERO; CLIP ONLY PAGE X-SCROLL --- */
.hero, .hero-image, .hero-visual-container{ overflow: visible; }  /* was clip */
html, body{ overflow-x: clip; } /* use hidden if clip unsupported */

/* --- FLOATING CARDS: SIZE NEVER TOO WIDE --- */
.floating-card{
  min-width: clamp(170px, 26vw, 240px);
  max-width: 42vw;
  pointer-events: none; /* keep as you had */
}

/* Place cards using gutter instead of negative % */
.floating-card.card-1{ top: -1%;  left:  var(--hero-gutter); }
.floating-card.card-2{ top: 16%; right: var(--hero-gutter); }
.floating-card.card-3{ bottom: 32%; left:  var(--hero-gutter); }
.floating-card.card-4{ bottom: 10%; right: var(--hero-gutter); }

/* Tablets */
@media (max-width: 992px){
  .floating-card{ min-width: clamp(160px, 34vw, 220px); }
}

/* Big phones */
@media (max-width: 768px){
  .floating-card{ transform: scale(.9); }
}

/* --- MOBILE GLASS LITE (<=576px) --- */
@media (max-width: 576px){

  /* compact content */
  .floating-card-icon{ width:34px; height:34px; border-radius:10px; font-size:1rem; }
  .floating-card-title{ font-size:.85rem; }
  .floating-card-subtitle{ font-size:.72rem; }

  /* inside gutter — no cut, no x-scroll */
  .floating-card.card-1{ top: -4%;  left: 0%;}
  .floating-card.card-2{ top: 22%; right: 0%;}
  .floating-card.card-3{ bottom: 18%; left: 0%; }
  .floating-card.card-4{ bottom: -6%;  right: 0%; }
}


@media (min-width: 993px){
  .floating-card.card-1{ top: 0;   left:  20px; }
  .floating-card.card-2{ top: 16%; right: -24px; }
  .floating-card.card-3{ bottom: 30%; left:  20px; }
  .floating-card.card-4{ bottom: 0%; right: 20px; }
}
@media (max-width: 480px){
    .floating-card {
    padding: 8px;
    gap: 8px;
    border-radius: 12px;
    min-width: clamp(120px, 44vw, 180px);
    max-width: 46vw;
    transform: scale(.86); /* thinner look */
}

.floating-card {
    transform: scale(.78);
    min-width: clamp(110px, 48vw, 160px);
}

.floating-card-icon {
    width: 35px;
    height: 35px;
    font-size: 14px;
    border-radius: 10px;
}

.floating-card-title {
    font-size: .76rem;
}

.floating-card-subtitle {
    font-size: .72rem;
}
.stat-number {
    font-size: 1.35rem;
}
}

/* === FIX #1: Desktop hero ka extra vertical space kam === */
@media (min-width: 992px){
  .hero-image{
    padding: 0.75rem 0;        /* was 3rem 0 */
    min-height: 520px;         /* was 600px */
  }
  .hero-visual-container{ height: 520px; }
  /* optional: phone/cards thoda scale down for tight fit */
  .phone-mockup{ transform: scale(.94); }
  .floating-card{ transform: scale(.94); }
}

@media (max-width: 768px){
  .cta-buttons{
    gap: .7rem;
    flex-wrap: wrap;      /* allow wrap if needed */
    align-items: center;
  }
  .cta-buttons a{
    flex: 0 0 auto;       /* ❌ blocks off, width = content */
    width: auto;          /* ensure no stretching */
  }
  .primary-btn,
  .secondary-btn{
    border-radius: 40px;  /* pill (999px) → normal rounded */
    padding: .8rem 1rem;
    justify-content: center;
    white-space: nowrap;  /* text ek line me */
  }
}


/* === FIX #3: Social proof ek hi line par === */
.social-proof{
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: -0.8rem;
  flex-wrap: nowrap;           /* no wrapping */
  overflow: hidden;            /* chhoti screens par safe */
}

.avatars{ flex: 0 0 auto; }
.proof-copy{
  white-space: nowrap;         /* break na ho */
  overflow: hidden;
  text-overflow: ellipsis;     /* agar jagah kam ho */
  max-width: 100%;
  font-size: .92rem;
}

@media (max-width: 420px){
  .proof-copy{ font-size: .86rem; }
  .avatars img{ width: 30px; height: 30px; }
}
/* Mobile: CTAs on one line */
@media (max-width: 480px){
  .cta-buttons{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;           /* force single row */
  }
  .cta-buttons a{
    flex: 1 1 0;                 /* equal halves */
    min-width: 0;
    padding: .72rem .78rem;
    font-size: .9rem;
    text-align: center;
    white-space: nowrap;
  }
  .primary-btn i{ display:none; } /* save space on small screens */
}


.footer-logo{width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(0,0,0,.4))}
.footer-section .logo{display:flex;align-items:center;gap:.5rem}

/* ===== REWARDS — medium rounded tiles (same HTML) ===== */

.rewards{ overflow: hidden; }

/* --- Row must size to content (not 100%) and animate --- */
.rewards-row{
  display: inline-flex;          /* content width */
  width: max-content;            /* no shrink to 100% */
  gap: 18px;
  padding:1.6rem 5% 1rem;
   margin-left: -2.8rem;
  will-change: transform;
}

/* Remove scroll snapping/scrollbars for marquee mode */
.rewards-row { scroll-snap-type: none; }
.rewards-row { overflow: visible; }      /* don't use overflow-x:auto for marquee */

/* Turn on marquee (you can keep your 10s or use var) */
.rewards-row.marquee{
  animation: rewardsMarquee var(--re-dur, 10s) linear infinite;
}
.rewards-row:hover{ animation-play-state: paused; }

@keyframes rewardsMarquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* needs 2× content */
}


/* card */
.reward-pill{
  position:relative;
  flex:0 0 auto;
  width:clamp(240px, 32vw, 275px);
  aspect-ratio:16 / 9;                 /* medium, not square/too wide */
  border-radius:26px;
  padding:18px 20px;
  background:rgba(26,29,36,.9);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 24px rgba(0,0,0,.25);
  box-sizing:border-box;
  scroll-snap-align:center;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.reward-pill:hover{
  transform:translateY(-3px);
  border-color:rgba(108,92,231,.28);
  box-shadow:0 16px 28px rgba(0,0,0,.32);
}

/* layout inside the same HTML */
.rp-left{
  position:absolute; inset:0; display:block;   /* override old flex row */
}

/* logo: top center */
.rp-logo{
  position:absolute; top:13px; left:50%; transform:translateX(-50%);
  width:72px; height:72px; border-radius:18px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  display:grid; place-items:center; overflow:hidden;
}
.rp-logo img{ width:105%; height:100%; object-fit:contain; }

/* brand name: bottom-left */
.rp-name{
  position:absolute; left:20px; bottom:16px;
  font-weight:800; font-size:1.1rem; letter-spacing:.2px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  max-width:66%; color:#fff;
}

/* badge: bottom-right */
.rp-right{ position:absolute; right:14px; bottom:20px; }
.rp-tag{
  font-size:.85rem; line-height:1;
  padding:.55rem .9rem; border-radius:999px;
  border:1px solid rgba(108,92,231,.22);
  background:rgba(108,92,231,.10); color:#c9c4ff;
}
.rp-tag.tag-cash{
  border-color:rgba(0,206,201,.28);
  background:rgba(0,206,201,.12);
  color:#90fff4;
}

/* responsive tweaks */
@media (max-width:768px){
  .rewards-row{margin-left:0rem;}
  .reward-pill{ height: 10.5rem; aspect-ratio:17 / 10; padding:16px; }
  .rp-logo{ width:67px; height:67px; top:18px; }
  .rp-name{ font-size:1.05rem; left:16px; bottom:20px; }
  .rp-right{ right:12px; bottom:20px; }
  .rp-tag{ font-size:.82rem; padding:.45rem .7rem; }
}


details{position:relative}
summary{display:flex;align-items:center;justify-content:space-between}
summary::after{
  content:"▾"; transition:transform .2s ease; color:#cfd3ff; font-size:1.5rem;
}
details[open] summary::after{transform:rotate(-180deg)}


/* ====== PREMIUM HOW IT WORKS SECTION ====== */
.howitworks {
  padding: 6rem 5% 5rem;
  text-align: center;
  background: 
    radial-gradient(circle at 20% 30%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0, 206, 201, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, rgba(15, 17, 22, 0.98) 0%, rgba(26, 29, 36, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

/* Floating background elements */
.howitworks::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: linear-gradient(45deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.08));
  border-radius: 50%;
  top: -200px;
  right: -200px;
  animation: floatRotate 20s linear infinite;
  filter: blur(40px);
}

.howitworks::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: linear-gradient(45deg, rgba(253, 203, 110, 0.1), rgba(108, 92, 231, 0.08));
  border-radius: 50%;
  bottom: -150px;
  left: -150px;
  animation: floatRotate 25s linear infinite reverse;
  filter: blur(30px);
}

@keyframes floatRotate {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg) scale(1); }
}

.howitworks h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  position: relative;
  z-index: 10;
 background:none;  
  background-clip: text;
}

.howitworks-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4rem;
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0 5rem;
  position: relative;
  z-index: 10;
}

/* Individual cards with unique themes */
.how-card {
  background: linear-gradient(145deg, 
    rgba(255, 255, 255, 0.15), 
    rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 2.5rem 2.5rem 1rem;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
}

/* Card specific themes */
.how-card.games-card {
  background: linear-gradient(145deg, 
    rgba(108, 92, 231, 0.2), 
    rgba(108, 92, 231, 0.05));
  border-color: rgba(108, 92, 231, 0.3);
}

.how-card.surveys-card {
  background: linear-gradient(145deg, 
    rgba(0, 206, 201, 0.2), 
    rgba(0, 206, 201, 0.05));
  border-color: rgba(0, 206, 201, 0.3);
}

.how-card.offers-card {
  background: linear-gradient(145deg, 
    rgba(253, 203, 110, 0.2), 
    rgba(253, 203, 110, 0.05));
  border-color: rgba(253, 203, 110, 0.3);
}


.how-card:hover {
  transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
 
}

/* Premium 3D Icons */
.how-icon {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  position: relative;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
   font-size: 3rem;        /* was ~2.2rem */
  line-height: 1;  
}

.how-icon.games-icon {
  background: linear-gradient(135deg, #6c5ce7 0%, #8775f7 50%, #a29bfb 100%);
}

.how-icon.surveys-icon {
  background: linear-gradient(135deg, #00cec9 0%, #55efc4 50%, #81ecec 100%);
}

.how-icon.offers-icon {
  background: linear-gradient(135deg, #fdcb6e 0%, #f39c12 50%, #f1c40f 100%);

}

.how-card:hover .how-icon {
  transform: scale(1.15) rotateY(15deg) rotateX(10deg);
}



.how-icon i {
  color: #fff;

}

.how-card:hover .how-icon i {
  transform: scale(1.1) rotateZ(5deg);

}



.how-card h3 {
  margin-bottom: 1.2rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-light);
  position: relative;
  line-height: 1.3;
}

.how-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 400;
}

/* Enhanced CTA Section */
.center-cta {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.center-cta .primary-btn {
  padding: 1.4rem 2.5rem;
  margin-top: -3rem;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.center-cta .primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.center-cta .primary-btn:hover::before {
  left: 100%;
}


.trust-mini {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px){
  .howitworks { padding: 4rem 5% 3.5rem; }
  .howitworks h2 { font-size: 2.1rem; margin-bottom: 0.6rem; }
  .howitworks-subtitle { font-size: 0.98rem; margin-bottom: 2.2rem; max-width: 480px; }

  .how-grid { grid-template-columns: 1fr; gap: 1.25rem; margin: 2rem 0 2.5rem; }
  .how-card { 
    padding: 1.25rem 1.1rem 0.9rem; 
    border-radius: 22px;       /* base: no tilt on touch */
  }
  .how-card:hover { transform: translateY(-6px); } /* keep a subtle lift only */

  .how-icon { 
    width: 72px; height: 72px; 
    font-size: 2rem; 
    border-radius: 18px; 
    margin-bottom: 1.1rem;
  }
  .how-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
  .how-card p  { font-size: 0.95rem; line-height: 1.6; }

  .center-cta { margin-top: 2.2rem; gap: 1rem; }
  .center-cta .primary-btn{
    width: 100%;
    max-width: 420px;
    margin-top: 0rem;
    padding: 1.1rem 1.4rem;
    font-size: 1.05rem;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
  }
  .trust-mini{
    width: 100%;
    max-width: 480px;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.7rem 1rem;
    gap: .6rem;
    flex-wrap: wrap;
  }

  /* tighten background blobs further to avoid any horizontal scroll */
  .howitworks::before { width: 320px; height: 320px; top: -110px; right: -110px; filter: blur(22px); }
  .howitworks::after  { width: 240px; height: 240px; bottom: -90px; left: -90px;  filter: blur(18px); }
}

/* Small phones */
@media (max-width: 380px){
  .howitworks { padding: 3.2rem 4% 3rem; }
  .howitworks h2 { font-size: 1.9rem; }
  .how-icon { width: 64px; height: 64px; font-size: 1.8rem; }
  .how-card p { font-size: 0.92rem; }
}

/* ====== IMPROVED FEATURES - Option 3 ====== */
.features {
  padding: 5rem 5% 4rem;
  text-align: center;
  position: relative;
}

.features-header {
  max-width: 600px;
  margin: 0 auto 4rem;
}

.features h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(26, 29, 36, .9);;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
 
  transform: translateY(-5px);
}

.feature-icon {
  width: 70px;
  height: 70px;
 background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
    font-size: 1.6rem;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(15deg);
}

.feature-card:hover .feature-icon i {
  color: #fff;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-light);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ====== TESTIMONIALS SECTION ====== */
.testimonials {
  padding: 5rem 5% 4rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(15, 17, 22, 0.95) 0%, rgba(26, 29, 36, 0.9) 100%);
}

.testimonials-header {
  margin-bottom: 3rem;
}

.testimonials h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

/* Grid Layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Cards */
.testimonial-card {
  background:
    radial-gradient(1200px 700px at 12% 18%, rgba(108,92,231,0.12) 0%, rgba(108,92,231,0.00) 60%),
    radial-gradient(900px 600px at 85% 76%, rgba(0,206,201,0.08) 0%, rgba(0,206,201,0.00) 58%),
    radial-gradient(700px 500px at 70% 20%, rgba(162,155,251,0.06) 0%, rgba(162,155,251,0.00) 55%),
    linear-gradient(135deg, #0d1019 0%, #111425 52%, #0b0e16 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  border-color: rgba(108, 92, 231, 0.25);
  transform: translateY(-5px);
}

/* Review Header */
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.user-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  min-width: 0;
}

.country-flag {
  width: 18px;
  height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}

.user-name span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
}

.review-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Stars - Trustpilot Image */
.review-stars {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.review-stars img {
  height: 18px;
  margin-left: -11rem;
  margin-bottom: -8rem;
  width: auto;
  object-fit: contain;
}

/* Review Content */
.review-content {
  margin-top: 3rem;
}

.review-content h5 {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.review-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;

  }
  .review-content {
  margin-top: 1rem;
}
  .testimonial-card {
    padding: 2rem;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
  }
  
  .user-name span {
    font-size: 1.1rem;
  }
  
  .review-date {
    font-size: 0.9rem;
  }
  
  .review-stars img {
          margin-left: 0rem;
  margin-bottom: 0rem;
    height: 20px;
  }
  
  .review-content h5 {
    font-size: 1.2rem;
  }
  
  .review-content p {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .testimonials {
    padding: 4rem 5% 3rem;
  }
  
  .testimonials h2 {
    font-size: 2.1rem;
  }

  .trustpilot-rating {
    font-size: 1rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 500px;
  }
  
  .testimonial-card {
    padding: 1.8rem;
  }
  
  .review-header {
    margin-bottom: 1.2rem;
    gap: 1rem;
  }
  
  .user-info {
    gap: 1rem;
  }
  
  .user-avatar {
    width: 55px;
    height: 55px;
  }
  
  .user-name span {
    font-size: 1.2rem;
  }
  
  .review-date {
    font-size: 0.95rem;
  }
  
  .review-stars img {
    height: 22px;
  }
  
  .review-content h5 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .review-content p {
    font-size: 1.05rem;
    line-height: 1.6;
  }
}

@media (max-width: 478px) {
  .testimonials {
    padding: 3rem 5% 2.5rem;
  }
  
  .testimonials h2 {
    font-size: 1.9rem;
  }

  .trustpilot-rating {
    font-size: 0.95rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .user-info {
    gap: 0.9rem;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
  }
  
  .user-name {
    gap: 0.4rem;
  }
  
  .country-flag {
    width: 16px;
    height: 12px;
  }
  
  .user-name span {
    font-size: 1.1rem;
  }
  
  .review-date {
    font-size: 0.9rem;
  }

  .review-content h5 {
    font-size: 1.2rem;
  }
  
  .review-content p {
    font-size: 1rem;
  }
}


/* ≤478px: put stars under the username/date */
@media (max-width: 478px){
  .review-header{
    display: flex;
    flex-direction: column;      /* stack items */
    align-items: flex-start;
    gap: .6rem;
  }
  .user-info{ width:100%; }

  .review-stars{
    order: 2;                    /* ensure it comes after user-info */
    width: 100%;
  }
  .review-stars img{
    height: 20px;
    /* indent so stars align under text, not under avatar:
       avatar (50px) + gap (0.9rem) */
    margin: .25rem 0 0 calc(50px + 0.9rem);
  }
}

/* Optional fine-tune for very small phones */
@media (max-width: 400px){
  .review-stars img{
    margin-left: calc(50px + 0.9rem);
  }
}
/* Trustpilot pill badge */
.trustpilot-rating{
  margin: .5rem 0 0;
  display: flex;
  justify-content: center;
  font-size: .95rem;
  color: rgba(255,255,255,.85);
}



.tp-badge{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .75rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}



.tp-logo{ display:grid; place-items:center; width:20px; height:20px; }
.tp-brand{ color:#00B67A; font-weight:700; letter-spacing:.2px; margin-right:.3rem; }
.tp-score{ color: rgba(255,255,255,.9); }

/* Smaller screens */
@media (max-width: 478px){
  .trustpilot-rating{ font-size: .9rem; }
  .tp-badge{ padding: .4rem .65rem; }
  .tp-logo{ width:18px; height:18px; }
}

.howitworks::after,
.rewards::before,
.testimonials::before,
.faq::before {
  display: none !important;
}

/* Create continuous background effect */
.howitworks,
.rewards,
.testimonials,
.faq {
  background: 
    radial-gradient(1200px 700px at 12% 18%, rgba(108,92,231,0.12) 0%, rgba(108,92,231,0) 60%),
    radial-gradient(900px 600px at 85% 76%, rgba(0,206,201,0.08) 0%, rgba(0,206,201,0) 58%),
    radial-gradient(700px 500px at 70% 20%, rgba(162,155,251,0.06) 0%, rgba(162,155,251,0) 55%),
    linear-gradient(135deg, #0d1019 0%, #111425 52%, #0b0e16 100%);
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;

  margin: 0;
  border: none;
  position: relative;
}


/* Image inside the survey icon */
.survey-icon img{
  width: 100%;
  height: 108%;
  border-radius: 8px;
  object-fit: cover; /* ensures full cover without distortion */
  display: block;
}
