/* Traderie-Style Roblox Trading Marketplace - Payoneer-Level SEO + Animated UX */
/* Core Web Vitals Optimized - Dark Neon Theme - Interactive Design */

:root {
  --primary-color: #00c3ff;
  --secondary-color: #0099cc;
  --accent-color: #ff4655;
  --bg-dark: #0c0c0c;
  --bg-card: #141414;
  --bg-hover: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #8492a6;
  --border-color: #2d2d2d;
  --success: #06d6a0;
  --warning: #ffd166;
  --danger: #ff4655;
  --shadow-primary: rgba(0, 195, 255, 0.2);
  --shadow-accent: rgba(255, 70, 85, 0.2);
  --glow-primary: 0 0 18px rgba(0, 195, 255, 0.3);
  --glow-accent: 0 0 18px rgba(255, 70, 85, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #111 0%, var(--bg-dark) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 10%, rgba(0, 195, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 70, 85, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: floatParticles 20s ease-in-out infinite;
}

@keyframes floatParticles {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* Ensure content above particles */
header, main, footer, nav {
  position: relative;
  z-index: 1;
}

/* Performance: Reduce layout shifts */
img, video, iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading optimization */
img[loading="lazy"] {
  background: var(--bg-card);
  min-height: 200px;
}

/* Header & Navigation */
header {
  background: rgba(20, 20, 20, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(20, 20, 20, 0.98);
  box-shadow: 0 4px 30px rgba(0, 195, 255, 0.1);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

.logo span {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.08) 0%, transparent 70%);
  animation: heroGlow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes heroGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, -10%) scale(1.1); }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  font-weight: 800;
  position: relative;
  animation: fadeInUp 0.8s ease-out;
  text-shadow: 0 0 40px rgba(0, 195, 255, 0.3);
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  box-shadow: var(--glow-primary);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  position: relative;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA Buttons */
.cta-button, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 20px var(--shadow-primary),
    0 0 40px rgba(0, 195, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out 0.4s both;
  min-height: 56px;
}

.cta-button::before, .btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before, .btn-primary:hover::before {
  width: 350px;
  height: 350px;
}

.cta-button:hover, .btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 8px 35px var(--shadow-primary),
    0 0 60px rgba(0, 195, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(20, 20, 20, 0.95);
  border: 2px solid var(--primary-color);
  box-shadow: 
    0 4px 20px rgba(0, 195, 255, 0.15),
    inset 0 0 20px rgba(0, 195, 255, 0.05);
  animation: fadeInUp 0.8s ease-out 0.5s both;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(30, 30, 30, 1);
  border-color: var(--primary-color);
  box-shadow: 
    0 8px 35px rgba(0, 195, 255, 0.3),
    0 0 50px rgba(0, 195, 255, 0.2),
    inset 0 0 30px rgba(0, 195, 255, 0.1);
  transform: translateY(-4px) scale(1.02);
}

/* Pulse animation for primary CTA */
@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 
      0 4px 20px var(--shadow-primary),
      0 0 40px rgba(0, 195, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 4px 30px var(--shadow-primary),
      0 0 60px rgba(0, 195, 255, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.cta-button {
  animation: fadeInUp 0.8s ease-out 0.4s both, ctaPulse 2s ease-in-out infinite;
}

/* Container & Sections */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section {
  margin-bottom: 4rem;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
}

.section h3 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: var(--accent-color);
  font-weight: 600;
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  opacity: 0.8;
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-primary), var(--glow-primary);
  border-color: var(--primary-color);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: drop-shadow(0 0 10px var(--primary-color));
  transition: transform 0.3s ease;
}

.card:hover .icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px var(--primary-color));
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.1), rgba(255, 70, 85, 0.05));
  position: relative;
}

thead::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

th, td {
  padding: 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

th {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

td {
  color: var(--text-secondary);
}

tbody tr {
  transition: all 0.3s ease;
}

tbody tr:hover {
  background: var(--bg-hover);
  transform: scale(1.01);
  box-shadow: 0 2px 8px rgba(0, 195, 255, 0.1);
}

/* FAQ Section */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px var(--shadow-primary);
  transform: translateX(5px);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px var(--shadow-primary);
}

.faq-item.active::before {
  opacity: 1;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  user-select: none;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
  color: var(--primary-color);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.4s ease;
  text-shadow: 0 0 10px var(--primary-color);
}

.faq-item.active .faq-question::after {
  transform: rotate(135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

.breadcrumbs span {
  color: var(--text-muted);
}

/* Features List */
.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.features-list li:before {
  content: '✓';
  color: var(--success);
  font-weight: bold;
  font-size: 1.5rem;
}

/* News/Blog Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.news-card-image {
  width: 100%;
  height: 200px;
  background: var(--bg-hover);
  object-fit: cover;
}

.news-card-content {
  padding: 1.5rem;
}

.news-card-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.news-card-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.news-card-excerpt {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* SEO Navigation - Hidden but crawlable */
.seo-nav {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  font-size: 0.85rem;
  opacity: 0.5;
}

.seo-nav .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.seo-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.seo-nav li {
  margin: 0;
}

.seo-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.seo-nav a:hover {
  color: var(--primary-color);
}

.seo-keywords {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.seo-keywords p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background: var(--bg-card);
  border-top: 2px solid var(--border-color);
  margin-top: 0;
  padding: 3rem 2rem 1.5rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Loading spinner for dynamic content */
.loading-spinner {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 195, 255, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Tooltip styles */
.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border: 1px solid var(--primary-color);
  box-shadow: 0 4px 15px var(--shadow-primary);
}

.tooltip:hover::after {
  opacity: 1;
}

/* Section separators with glow */
.section-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 4rem 0;
  box-shadow: 0 0 20px var(--primary-color);
}

/* Info Boxes / Callout Blocks */
.info-box {
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.1), rgba(0, 195, 255, 0.05));
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 195, 255, 0.1);
  animation: slideInLeft 0.6s ease-out;
}

.info-box::before {
  content: '💡';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  opacity: 0.3;
}

.info-box.success {
  background: linear-gradient(135deg, rgba(6, 214, 160, 0.1), rgba(6, 214, 160, 0.05));
  border-left-color: var(--success);
  box-shadow: 0 4px 15px rgba(6, 214, 160, 0.1);
}

.info-box.success::before {
  content: '✅';
}

.info-box.warning {
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.1), rgba(255, 209, 102, 0.05));
  border-left-color: var(--warning);
  box-shadow: 0 4px 15px rgba(255, 209, 102, 0.1);
}

.info-box.warning::before {
  content: '⚠️';
}

.info-box.danger {
  background: linear-gradient(135deg, rgba(255, 70, 85, 0.1), rgba(255, 70, 85, 0.05));
  border-left-color: var(--danger);
  box-shadow: 0 4px 15px rgba(255, 70, 85, 0.1);
}

.info-box.danger::before {
  content: '🚨';
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Stats Counter Section */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.stat-box:hover::before {
  left: 100%;
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px var(--shadow-primary);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
  animation: countUp 2s ease-out;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Badge / Tag System */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.25rem;
  transition: all 0.3s ease;
  animation: popIn 0.4s ease-out;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.badge-primary {
  background: rgba(0, 195, 255, 0.2);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.badge-success {
  background: rgba(6, 214, 160, 0.2);
  color: var(--success);
  border: 1px solid var(--success);
}

.badge-warning {
  background: rgba(255, 209, 102, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.badge-danger {
  background: rgba(255, 70, 85, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.badge:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 195, 255, 0.3);
}

/* Timeline Element */
.timeline {
  position: relative;
  padding-left: 3rem;
  margin: 3rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 0 10px var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
  animation: slideInRight 0.6s ease-out;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 20px var(--primary-color);
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px var(--primary-color);
  }
  50% {
    box-shadow: 0 0 40px var(--primary-color);
  }
}

.timeline-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.timeline-item p {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Highlight Text */
.highlight {
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.2), rgba(255, 70, 85, 0.2));
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 195, 255, 0.2);
}

/* Icon with Text Block */
.icon-text-block {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out;
}

.icon-text-block:hover {
  transform: translateX(10px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px var(--shadow-primary);
}

.icon-text-block .icon {
  font-size: 2.5rem;
  min-width: 60px;
  filter: drop-shadow(0 0 10px var(--primary-color));
}

.icon-text-block h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.icon-text-block p {
  color: var(--text-secondary);
  margin: 0;
}

/* Progress Bar */
.progress-container {
  margin: 1.5rem 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background: var(--bg-hover);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  transition: width 2s ease-out;
  box-shadow: 0 0 15px var(--primary-color);
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Quote Block */
.quote-block {
  background: var(--bg-card);
  border-left: 4px solid var(--primary-color);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  position: relative;
  font-style: italic;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

.quote-block::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: Georgia, serif;
}

.quote-block p {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.quote-author {
  color: var(--primary-color);
  font-weight: 600;
  font-style: normal;
  text-align: right;
}

/* Feature Grid with Icons */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px var(--shadow-primary);
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
  filter: drop-shadow(0 0 15px var(--primary-color));
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.feature-item h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

/* Staggered Animation for Lists */
.stagger-item {
  opacity: 0;
  animation: fadeInStagger 0.6s ease-out forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }
.stagger-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInStagger {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Buttons Container */
.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.hero-buttons > a.cta-button,
.hero-buttons > a.btn-secondary,
.hero-buttons > a.btn-roblox {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

/* Auth Divider (or separator) */
.auth-divider {
  position: relative;
  width: 100%;
  margin: 1.75rem 0;
  display: flex;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg, 
    transparent 0%, 
    rgba(0, 195, 255, 0.1) 20%,
    rgba(0, 195, 255, 0.3) 50%,
    rgba(0, 195, 255, 0.1) 80%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(0, 195, 255, 0.2);
}

.divider-text {
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: lowercase;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
}

.divider-text::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.05), transparent 70%);
  z-index: -1;
  border-radius: 50%;
}

/* Roblox Sign In Button */
.btn-roblox {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #ff4655 0%, #ff5665 50%, #ff6b77 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(255, 70, 85, 0.4),
    0 0 40px rgba(255, 70, 85, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease-out 0.7s both;
  backdrop-filter: blur(10px);
}

.btn-roblox::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-roblox::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-roblox:hover::before {
  width: 350px;
  height: 350px;
}

.btn-roblox:hover::after {
  opacity: 1;
}

.btn-roblox:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 8px 40px rgba(255, 70, 85, 0.6),
    0 0 70px rgba(255, 70, 85, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, #ff5565 0%, #ff6675 50%, #ff7b87 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.roblox-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  animation: robloxIconFloat 3s ease-in-out infinite;
}

@keyframes robloxIconFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-3px) rotate(2deg);
  }
}

.btn-roblox:hover .roblox-icon {
  transform: rotate(-10deg) scale(1.2);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
  animation: none;
}

.btn-roblox span {
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Roblox button pulse animation */
@keyframes robloxPulse {
  0%, 100% {
    box-shadow: 
      0 4px 20px rgba(255, 70, 85, 0.4),
      0 0 40px rgba(255, 70, 85, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      0 4px 30px rgba(255, 70, 85, 0.6),
      0 0 60px rgba(255, 70, 85, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

.btn-roblox {
  animation: fadeInUp 0.8s ease-out 0.7s both, robloxPulse 2.5s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .btn-secondary {
    margin-left: 0;
    margin-top: 1rem;
  }

  .container {
    padding: 2rem 1rem;
  }

  .hero {
    padding: 4rem 1rem;
  }

  table {
    font-size: 0.9rem;
  }

  th, td {
    padding: 0.75rem;
  }
  
  .marquee-item {
    padding: 0.75rem 1.5rem;
  }
  
  .timeline {
    padding-left: 2rem;
  }
  
  .timeline-item {
    padding-left: 1rem;
  }
  
  .timeline-item::before {
    left: -2.5rem;
  }
  
  .icon-text-block {
    flex-direction: column;
    text-align: center;
  }
  
  .icon-text-block .icon {
    font-size: 3rem;
  }
  
  .stat-box {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .quote-block {
    padding: 1.5rem;
  }
  
  .quote-block::before {
    font-size: 4rem;
    top: -10px;
    left: 10px;
  }
  
  .info-box {
    padding: 1rem;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
  
  .progress-label {
    font-size: 0.9rem;
  }
  
  .hero-buttons {
    gap: 0.75rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .auth-divider {
    margin: 1.25rem 0;
  }
  
  .auth-divider::before,
  .auth-divider::after {
    background: linear-gradient(
      90deg,
      transparent 0%,
      rgba(0, 195, 255, 0.2) 50%,
      transparent 100%
    );
  }
  
  .divider-text {
    padding: 0 1rem;
    font-size: 0.8rem;
  }
  
  .btn-roblox {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    min-height: 52px;
  }
  
  .roblox-icon {
    width: 22px;
    height: 22px;
  }
  
  .cta-button,
  .btn-secondary,
  .btn-primary {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Marquee for featured items */
.marquee-container {
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg-card), rgba(0, 195, 255, 0.05), var(--bg-card));
  padding: 2rem 0;
  margin: 3rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark), transparent);
}

.marquee {
  display: flex;
  animation: marqueeScroll 30s linear infinite;
  gap: 3rem;
}

.marquee-item {
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.marquee-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 15px var(--shadow-primary);
  transform: translateY(-3px);
}

.marquee-item .item-name {
  color: var(--primary-color);
  font-weight: 600;
}

.marquee-item .item-value {
  color: var(--accent-color);
  font-weight: 700;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Performance: Reduce repaints */
.card, .news-card, .faq-item {
  will-change: transform;
}

/* Accessibility */
a:focus, button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Editorial hub & article pages */
.editorial-hub .article-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.article-card a {
  display: block;
  padding: 1.5rem;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.article-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-primary);
}

.article-card.featured {
  border-color: rgba(0, 195, 255, 0.4);
  background: linear-gradient(145deg, var(--bg-card), rgba(0, 195, 255, 0.06));
}

.article-card.compact h3 {
  font-size: 1.05rem;
}

.article-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.article-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.article-read-more {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
}

.editorial-article .article-header {
  max-width: 820px;
  margin: 2rem auto 2.5rem;
}

.editorial-article .article-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.article-context-links {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.article-context-links a {
  color: var(--primary-color);
}

.article-body {
  max-width: 820px;
  margin: 0 auto 3rem;
}

.article-section h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.topic-cluster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.topic-cluster-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.topic-cluster-card h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.topic-cluster-card ul {
  list-style: none;
  margin-top: 0.75rem;
}

.topic-cluster-card li {
  margin: 0.35rem 0;
}

.topic-cluster-card a {
  color: var(--text-secondary);
  text-decoration: none;
}

.topic-cluster-card a:hover {
  color: var(--primary-color);
}

.cta-section {
  text-align: center;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.nav-links a.active {
  color: var(--primary-color);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
}

.methodology-steps {
  counter-reset: step;
  list-style: none;
  margin: 1.5rem 0;
}

.methodology-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.methodology-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--primary-color);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}

/* Print Styles */
@media print {
  header, footer, .cta-button {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}


