/* Cash Party Premium Dark Theme Landing Page Styles */

:root {
  --bg-dark: #07080b;
  --bg-card: rgba(16, 18, 27, 0.65);
  --bg-card-hover: rgba(22, 26, 38, 0.85);
  --primary: #00ff88;
  --primary-rgb: 0, 255, 136;
  --accent: #a855f7;
  --accent-rgb: 168, 85, 247;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 255, 136, 0.3);
  --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Utility Components */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #38bdf8 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #000000;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
  transition: var(--transition);
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.5), 0 0 10px rgba(0, 255, 136, 0.2);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
  font-size: 1rem;
  cursor: pointer;
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Glassmorphism Card Base */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 8, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 8px;
  font-weight: 800;
  color: #000;
  font-size: 1.2rem;
}

.logo-text span {
  font-weight: 800;
}

nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

nav ul a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

nav ul a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, rgba(168, 85, 247, 0.04) 50%, transparent 100%);
  z-index: -1;
  pointer-events: none;
  filter: blur(80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stars {
  color: #facc15;
  display: flex;
  gap: 4px;
}

.rating-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 30px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 15px 30px rgba(0, 255, 136, 0.15));
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Live Activity Feed */
.live-feed-section {
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
}

.ticker {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: ticker 40s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  white-space: nowrap;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: #fff;
}

.ticker-payout {
  color: var(--primary);
  font-weight: 700;
}

.ticker-source {
  color: var(--text-secondary);
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Earn Methods Grid */
.earn-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.earn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.earn-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 255, 136, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 255, 136, 0.2);
}

.earn-card:nth-child(2) .earn-card-icon {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent);
  border-color: rgba(168, 85, 247, 0.2);
}

.earn-card:nth-child(3) .earn-card-icon {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.2);
}

.earn-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.earn-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
  padding-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: 'Space Grotesk', sans-serif;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Cashout Methods Grid */
.cashout-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cashout-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.cashout-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: var(--transition);
  cursor: pointer;
}

.cashout-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cashout-logo {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cashout-card:hover .cashout-logo {
  opacity: 1;
}

.cashout-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.cashout-card:hover .cashout-name {
  color: var(--text-primary);
}

/* FAQ Accordion Section */
.faq-section {
  padding: 100px 0;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px;
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
}

.faq-icon {
  font-size: 1.2rem;
  transition: var(--transition);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 24px 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* CTA Banner */
.cta-banner-section {
  padding-bottom: 100px;
}

.cta-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(0, 255, 136, 0.08) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(40px);
}

.cta-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  background: #040507;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Mobile Menu / Navigation Drawer Drawer */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1001;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .earn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cashout-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #08090c;
    border-left: 1px solid var(--border);
    padding: 100px 24px 24px 24px;
    transition: var(--transition);
    z-index: 999;
  }

  nav.open {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 24px;
  }

  nav ul a {
    font-size: 1.1rem;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-rating {
    justify-content: center;
  }

  .hero-image {
    max-width: 80%;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .stat-item {
    border-right: none;
  }

  .stat-item:nth-child(even) {
    border-left: none;
  }

  .cashout-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-image {
    max-width: 100%;
  }
  .cashout-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
