/* ===================================
   RoPay Portfolio — Premium Style
   Theme: Purple & Black
   =================================== */

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Purple Palette */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;

  /* Dark Palette */
  --dark-50: #f8f9fa;
  --dark-100: #e9ecef;
  --dark-200: #dee2e6;
  --dark-300: #ced4da;
  --dark-400: #adb5bd;
  --dark-500: #868e96;
  --dark-600: #495057;
  --dark-700: #343a40;
  --dark-800: #1a1a2e;
  --dark-850: #12121f;
  --dark-900: #0a0a14;
  --dark-950: #060610;

  /* Accent Colors */
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --blue: #3b82f6;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --discord: #5865F2;

  /* Typography */
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --container-max: 1200px;
  --section-padding: 120px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 6px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font);
  background-color: var(--dark-950);
  color: var(--dark-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Particle Canvas */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--purple-400) 0%, var(--purple-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================
   NAVIGATION
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(6, 6, 16, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: rotate(-10deg) scale(1.1);
}

.nav-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-400);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-500), var(--purple-700));
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover {
  color: white;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 100%);
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--purple-300);
  padding: 10px 20px;
  font-size: 14px;
}

.btn-outline:hover {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.5);
  color: white;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(255, 255, 255, 0.1), transparent 30%);
  animation: btnGlow 4s linear infinite;
}

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

.btn-discord {
  background: var(--discord);
  color: white;
  padding: 12px 24px;
  font-size: 15px;
  border-radius: 12px;
  width: 100%;
  justify-content: center;
}

.btn-discord:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 6, 16, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  text-decoration: none;
  color: var(--dark-200);
  font-size: 22px;
  font-weight: 600;
  transition: color 0.3s;
}

.mobile-link:hover {
  color: var(--purple-400);
}

.btn-mobile-cta {
  margin-top: 16px;
  padding: 14px 32px;
  font-size: 16px;
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow-1 {
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: rgba(107, 33, 168, 0.3);
  animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: 10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, 0.2);
  animation: glowFloat 10s ease-in-out infinite reverse;
}

.hero-glow-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: rgba(124, 58, 237, 0.1);
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

@keyframes glowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple-300);
  margin-bottom: 24px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: white;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--dark-400);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.stat-number::after {
  content: '+';
  color: var(--purple-400);
}

.stat-label {
  font-size: 13px;
  color: var(--dark-500);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero Visual — Extension Preview */
.hero-visual {
  position: relative;
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.extension-preview {
  background: var(--dark-850);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(168, 85, 247, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: 380px;
  animation: heroFloat 6s ease-in-out infinite;
}

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

.preview-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-url {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--dark-500);
  flex: 1;
}

.preview-content {
  padding: 12px;
}

.preview-popup {
  background: var(--dark-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px;
}

.popup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.popup-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.popup-title {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.popup-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 2px 10px;
  border-radius: 20px;
}

.popup-balance {
  margin-bottom: 14px;
}

.popup-balance-label {
  font-size: 10px;
  color: var(--dark-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.popup-balance-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 4px;
}

.popup-amount {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
}

.popup-stats-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.popup-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.popup-stat-label {
  font-size: 9px;
  color: var(--dark-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.popup-stat-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-200);
  margin-top: 2px;
}

.popup-tx-header {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.popup-tx-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.popup-tx-item:last-child {
  border-bottom: none;
}

.popup-tx-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.popup-tx-icon.income {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.15);
}

.popup-tx-icon.outcome {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
  border: 1px solid rgba(239, 68, 68, 0.15);
}

.popup-tx-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.popup-tx-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-200);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.popup-tx-date {
  font-size: 10px;
  color: var(--dark-600);
}

.popup-tx-amount {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.popup-tx-amount.income { color: var(--green); }
.popup-tx-amount.outcome { color: var(--red); }

/* Floating Badges */
.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  animation: badgeFloat 5s ease-in-out infinite;
}

.fb-1 {
  top: 10%;
  left: -60px;
  animation-delay: 0s;
}

.fb-2 {
  top: 50%;
  right: -80px;
  animation-delay: 1.5s;
}

.fb-3 {
  bottom: 5%;
  left: -40px;
  animation-delay: 3s;
}

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

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-400);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: white;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--dark-400);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================
   FEATURES SECTION
   ============================ */
.features {
  padding: var(--section-padding) 0;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.15), transparent);
}

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

.feature-card {
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--border-radius);
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-600), var(--purple-400));
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.15);
  background: rgba(26, 26, 46, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 40px rgba(168, 85, 247, 0.05);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  margin-bottom: 20px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-400);
  transition: all 0.3s ease;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card:hover .feature-icon {
  background: rgba(168, 85, 247, 0.15);
  transform: scale(1.05);
}

.feature-icon.icon-green {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.feature-icon.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.feature-icon.icon-amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.15);
  color: var(--amber);
}

.feature-icon.icon-pink {
  background: rgba(236, 72, 153, 0.1);
  border-color: rgba(236, 72, 153, 0.15);
  color: var(--pink);
}

.feature-icon.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--dark-400);
  line-height: 1.65;
}

/* ============================
   HOW IT WORKS SECTION
   ============================ */
.how-it-works {
  padding: var(--section-padding) 0;
  position: relative;
}

.steps-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.steps-line {
  position: absolute;
  top: 0;
  left: 29px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--purple-700), var(--purple-500), transparent);
  opacity: 0.3;
}

.step-card {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
}

.step-card:last-child {
  margin-bottom: 0;
}

.step-number-wrap {
  flex-shrink: 0;
  position: relative;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.step-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  animation: stepPulse 3s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 15px;
  color: var(--dark-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Step Visuals */
.step-visual {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
}

.mini-browser {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
  background: var(--dark-900);
}

.mini-bar {
  display: flex;
  gap: 5px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.mini-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.mini-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.mini-ext-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-300);
  flex: 1;
}

.mini-btn {
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: default;
}

/* Catalog Preview */
.catalog-preview {
  display: flex;
  gap: 12px;
}

.catalog-item {
  flex: 1;
  background: var(--dark-900);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px;
  position: relative;
}

.catalog-img {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(107, 33, 168, 0.3));
  margin-bottom: 8px;
}

.catalog-img-2 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.3));
}

.catalog-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark-200);
  margin-bottom: 4px;
}

.catalog-price {
  font-size: 11px;
  color: var(--dark-500);
}

.cashback-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Withdraw Preview */
.withdraw-preview {
  background: var(--dark-900);
  border-radius: 10px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.withdraw-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.withdraw-row:last-of-type {
  border-bottom: none;
}

.withdraw-label {
  font-size: 12px;
  color: var(--dark-400);
}

.withdraw-value {
  font-size: 12px;
  color: var(--dark-200);
  font-weight: 500;
}

.withdraw-highlight {
  background: rgba(168, 85, 247, 0.05);
  margin: 4px -14px;
  padding: 8px 14px;
  border-radius: 6px;
  border-bottom: none !important;
}

.withdraw-btn-mock {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 10px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

/* Injected Buy with RoPay Button */
.btn-ropay-inject {
  background: linear-gradient(135deg, var(--blue) 0%, var(--purple-600) 100%);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  margin-top: 8px;
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
  cursor: default;
}

/* Game Purchase Visual */
.game-purchase-preview {
  background: #0f121d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.game-browser-bar {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 6px 12px;
  display: flex;
  align-items: center;
}

.game-title {
  font-size: 10px;
  color: var(--dark-500);
  font-weight: 500;
}

.game-checkout-prompt {
  background: #181d2c;
  margin: 16px auto;
  max-width: 280px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.game-checkout-header {
  background: #202639;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.roblox-checkout-title {
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.game-checkout-body {
  padding: 12px;
}

.game-checkout-text {
  font-size: 11px;
  color: var(--dark-300);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}

.game-checkout-actions {
  display: flex;
  gap: 8px;
}

.btn-game-buy, .btn-game-cancel {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  border: none;
  cursor: default;
}

.btn-game-buy {
  background: #00e676;
  color: #0c1c0c;
}

.btn-game-cancel {
  background: rgba(255, 255, 255, 0.05);
  color: var(--dark-300);
}

/* ============================
   SECURITY SECTION
   ============================ */
.security {
  padding: var(--section-padding) 0;
  position: relative;
}

.security::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.15), transparent);
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.security-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(26, 26, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.security-item:hover {
  background: rgba(26, 26, 46, 0.5);
  border-color: rgba(168, 85, 247, 0.1);
  transform: translateX(4px);
}

.security-check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.security-item p {
  font-size: 13px;
  color: var(--dark-400);
  line-height: 1.5;
}

/* Shield Visual */
.security-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(168, 85, 247, 0.1);
}

.ring-1 {
  width: 100%;
  height: 100%;
  animation: ringRotate 20s linear infinite;
  border-style: dashed;
}

.ring-2 {
  width: 80%;
  height: 80%;
  animation: ringRotate 15s linear infinite reverse;
  border-color: rgba(168, 85, 247, 0.15);
}

.ring-3 {
  width: 60%;
  height: 60%;
  animation: ringRotate 10s linear infinite;
  border-color: rgba(168, 85, 247, 0.2);
  border-style: dashed;
}

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

.shield-center {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.3));
  animation: shieldPulse 3s ease-in-out infinite;
}

.shield-center svg {
  width: 100%;
  height: 100%;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ============================
   FAQ SECTION
   ============================ */
.faq {
  padding: var(--section-padding) 0;
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.15), transparent);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(26, 26, 46, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(168, 85, 247, 0.1);
}

.faq-item.active {
  border-color: rgba(168, 85, 247, 0.2);
  background: rgba(26, 26, 46, 0.5);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  color: white;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-chevron {
  transition: transform 0.3s ease;
  color: var(--dark-500);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--purple-400);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--dark-400);
  line-height: 1.7;
}

/* ============================
   COMMUNITY / DISCORD
   ============================ */
.community {
  padding: var(--section-padding) 0;
  position: relative;
}

.community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.15), transparent);
}

.discord-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.discord-widget-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(88, 101, 242, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(88, 101, 242, 0.05);
}

.discord-iframe {
  display: block;
  border-radius: 16px;
  min-height: 500px;
}

.discord-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.discord-info-card {
  background: rgba(26, 26, 46, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 28px;
}

.discord-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(88, 101, 242, 0.1);
  border: 1px solid rgba(88, 101, 242, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.discord-info-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.discord-info-card p {
  font-size: 14px;
  color: var(--dark-400);
  line-height: 1.7;
  margin-bottom: 20px;
}

.discord-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(26, 26, 46, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-300);
  transition: all 0.3s ease;
}

.perk-item:hover {
  border-color: rgba(168, 85, 247, 0.1);
  background: rgba(26, 26, 46, 0.6);
  transform: translateY(-2px);
}

.perk-emoji {
  font-size: 18px;
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  padding: 80px 0 120px;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.2), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  position: relative;
}

.cta-desc {
  font-size: 17px;
  color: var(--dark-400);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: rgba(10, 10, 20, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
}

.footer-tagline {
  font-size: 14px;
  color: var(--dark-500);
  line-height: 1.6;
  margin-bottom: 16px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-400);
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.2);
  color: var(--purple-400);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: var(--dark-500);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--purple-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--dark-600);
}

.footer-disclaimer {
  font-size: 12px;
  color: var(--dark-600);
  max-width: 400px;
  text-align: right;
}

/* ============================
   BACK TO TOP
   ============================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-500));
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
   CUSTOM SCROLLBAR
   ============================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--dark-950);
}

::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.35);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .security-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .security-visual {
    order: -1;
  }

  .shield-container {
    width: 200px;
    height: 200px;
  }

  .discord-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    letter-spacing: -1px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 24px;
  }

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

  .extension-preview {
    width: 320px;
  }

  .floating-badge {
    display: none;
  }

  .step-card {
    flex-direction: column;
    gap: 16px;
  }

  .steps-line {
    display: none;
  }

  .catalog-preview {
    flex-direction: column;
  }

  .discord-perks {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .extension-preview {
    width: 280px;
  }

  .popup-amount {
    font-size: 26px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }
}

/* ============================
   SELECTION STYLE
   ============================ */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: white;
}

/* ============================
   STEP SCREENSHOT LAYOUT
   ============================ */
.step-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding: 12px 0;
  width: 100%;
}

.step-screenshot {
  max-width: 280px;
  max-height: 420px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(168, 85, 247, 0.12);
  background: rgba(10, 10, 20, 0.95);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.1);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
              box-shadow 0.5s ease, 
              border-color 0.5s ease;
  object-fit: contain;
}

.step-screenshot:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(168, 85, 247, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(168, 85, 247, 0.3);
}

@media (max-width: 768px) {
  .step-img-container {
    flex-direction: column;
    gap: 16px;
  }
  
  .step-screenshot {
    max-width: 250px;
  }
}

/* ============================
   LANGUAGE SELECTOR
   ============================ */
.lang-select {
  background: rgba(18, 18, 31, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--dark-200);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  margin-right: 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 28px;
}

.lang-select option {
  background: var(--dark-900);
  color: var(--dark-100);
  padding: 8px;
}

.lang-select:hover, .lang-select:focus {
  border-color: rgba(168, 85, 247, 0.45);
  color: white;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25);
  background-color: rgba(18, 18, 31, 0.95);
}

.mobile-lang-wrap {
  margin: 16px 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.mobile-lang-wrap .lang-select {
  margin-right: 0;
  width: 100%;
  max-width: 200px;
  text-align-last: center;
}

/* ==========================================
   🌐 GOOGLE TRANSLATE CUSTOM STYLING
   ========================================== */
#google_translate_element {
  display: inline-block;
  margin-right: 14px;
  vertical-align: middle;
}

.goog-te-gadget {
  font-family: var(--font) !important;
  color: transparent !important;
  font-size: 0 !important;
}

.goog-te-gadget-simple {
  background: rgba(18, 18, 31, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.goog-te-gadget-simple:hover {
  border-color: rgba(168, 85, 247, 0.45) !important;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.25) !important;
  background-color: rgba(18, 18, 31, 0.95) !important;
}

.goog-te-gadget-simple img {
  display: none !important; /* Hide Google Translate Logo Icon */
}

.goog-te-menu-value {
  color: var(--dark-200) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  font-family: var(--font) !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.goog-te-menu-value span {
  color: var(--dark-200) !important;
}

.goog-te-gadget-simple:hover .goog-te-menu-value span {
  color: white !important;
}

.goog-te-menu-value img {
  display: none !important;
}

/* Hide top warning banner Google puts on translated sites */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame,
iframe.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0px !important;
}

/* Hide original select elements in translate popup */
.goog-te-menu-frame {
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2) !important;
  border: 1px solid rgba(168, 85, 247, 0.25) !important;
  border-radius: 12px !important;
  background: var(--dark-900) !important;
}



