/*
Theme Name: Endyor Gaming Rewards
Theme URI: https://endyor.com
Description: Premium CPA gaming rewards theme — Free Robux, V-Bucks & Gift Cards
Author: Endyor
Version: 1.0
Text Domain: endyor-gaming
*/

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0a1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --neon-blue: #00d4ff;
  --neon-purple: #a855f7;
  --neon-green: #22d3ee;
  --neon-pink: #ec4899;
  --neon-gold: #fbbf24;
  --neon-red: #f43f5e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --radius: 16px;
  --glow-blue: 0 0 30px rgba(0, 212, 255, 0.3);
  --glow-purple: 0 0 30px rgba(168, 85, 247, 0.3);
  --glow-gold: 0 0 30px rgba(251, 191, 36, 0.3);
  --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== ANIMATED BG ========== */
.bg-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(236, 72, 153, 0.06) 0%, transparent 50%);
}

.bg-particles::before,
.bg-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: float 8s ease-in-out infinite alternate;
}

.bg-particles::before {
  width: 400px;
  height: 400px;
  top: 10%;
  left: -100px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.12), transparent 70%);
}

.bg-particles::after {
  width: 500px;
  height: 500px;
  bottom: 10%;
  right: -150px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12), transparent 70%);
  animation-delay: -4s;
}

@keyframes float {
  to {
    transform: translateY(-40px) scale(1.1);
  }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 26, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 4rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-logo span {
  font-size: 0.7em;
  opacity: 0.7;
}

.nav-links {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s, text-shadow 0.3s, transform 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  transform: translateY(-2px);
}

.nav-socials {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.nav-socials a {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.nav-socials a:hover {
  color: #fff;
  transform: scale(1.2) translateY(-2px);
  text-shadow: var(--glow-purple);
}

/* ========== BG ANIMATIONS & LOTTIE ========== */

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10, 10, 26, 0.8), rgba(10, 10, 26, 1)),
    url('assets/hero-bg.png') center/cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-dark) 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-purple);
  margin-bottom: 2rem;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.3);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(168, 85, 247, 0);
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(270deg, #fff 0%, var(--neon-blue) 30%, var(--neon-purple) 60%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 5s linear infinite;
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.3);
}

.hero-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 40px rgba(0, 212, 255, 0.5);
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ========== OFFER CARDS (LANDING) ========== */
.offers {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem 6rem;
}

.offers-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 3rem;
}

.offers-title span {
  background: linear-gradient(270deg, var(--neon-gold), var(--neon-pink), var(--neon-gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 4s linear infinite;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.offer-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(0, 212, 255, 0.05));
  pointer-events: none;
}

.offer-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.2);
}

.offer-card.robux:hover {
  box-shadow: var(--glow-blue);
  border-color: rgba(0, 212, 255, 0.3);
}

.offer-card.vbucks:hover {
  box-shadow: var(--glow-purple);
  border-color: rgba(168, 85, 247, 0.3);
}

.offer-card.giftcards:hover {
  box-shadow: var(--glow-gold);
  border-color: rgba(251, 191, 36, 0.3);
}

.offer-icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
  animation: floatIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.5));
}

.offer-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.offer-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.3s;
  background: transparent;
  color: inherit;
}

.offer-card.robux .offer-btn {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.offer-card.robux .offer-btn:hover {
  background: var(--neon-blue);
  color: #0a0a1a;
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
}

.offer-card.vbucks .offer-btn {
  border-color: var(--neon-purple);
  color: var(--neon-purple);
}

.offer-card.vbucks .offer-btn:hover {
  background: var(--neon-purple);
  color: #fff;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.offer-card.giftcards .offer-btn {
  border-color: var(--neon-gold);
  color: var(--neon-gold);
}

.offer-card.giftcards .offer-btn:hover {
  background: var(--neon-gold);
  color: #0a0a1a;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

.card-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--neon-green);
  margin-bottom: 1rem;
}

.card-live .dot {
  width: 6px;
  height: 6px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

/* ========== GENERATOR PAGE ========== */
.gen-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.gen-container {
  width: 100%;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.gen-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.05), transparent, rgba(168, 85, 247, 0.05), transparent);
  animation: spin-bg 10s linear infinite;
  pointer-events: none;
}

@keyframes spin-bg {
  to {
    transform: rotate(360deg);
  }
}

.gen-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.gen-header .gen-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
  animation: floatIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5));
}

.gen-header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.gen-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.gen-form {
  position: relative;
  z-index: 1;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus,
.input-group select:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.input-group select option {
  background: var(--bg-dark);
}

.gen-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 25px rgba(0, 212, 255, 0.3);
  font-family: var(--font);
}

.gen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(0, 212, 255, 0.5);
}

.gen-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.gen-progress {
  display: none;
  text-align: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.gen-progress.active {
  display: block;
}

.progress-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  border-radius: 50px;
  transition: width 0.3s ease;
}

.counter-display {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--neon-gold), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.status-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--neon-green);
  animation: fade-pulse 1.5s ease-in-out infinite;
}

@keyframes fade-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* verification overlay */
.verification-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}

.verification-overlay.active {
  display: flex;
}

.verification-box {
  background: linear-gradient(145deg, #131328, #1a1a35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.verification-box h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.verification-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.verification-box .shield-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.4));
}

#contentLocker {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== STATS BAR ========== */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  position: relative;
  z-index: 1;
  padding: 2rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2rem;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testi-card .stars {
  color: var(--neon-gold);
  margin-bottom: 0.5rem;
}

.testi-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.testi-card .author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-blue);
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ========== ADSENSE ========= */
.adsense-container {
  display: block;
  text-align: center;
  margin: 3rem auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-height: 90px;
  max-width: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 5;
}

/* ========== RESPONSIVE ========== */
@media(max-width:768px) {

  .nav-links,
  .nav-socials {
    display: none;
  }

  .nav-logo {
    flex: none;
  }

  .site-nav {
    justify-content: center;
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .offers-grid {
    grid-template-columns: 1fr;
  }

  .stats-bar {
    gap: 1.5rem;
  }

  .gen-container {
    padding: 2rem 1.5rem;
  }
}