/* ScamHoundCrypto - Legendary Styling
   Pure CSS with no dependencies - works everywhere!
   Apply to any page for instant legendary status */

:root {
  --bg: #0B1220;
  --text: #e8edf7;
  --muted: #94a3b8;
  --accent: #f5a524;
  --border: #1e2a46;
  --panel: #0f1627;
  --radius: 12px;
  --max: 1120px;
  --cyber-green: #39ff14;
  --danger: #ef4444;
  --warning: #f5a524;
  --glow-green: rgba(57, 255, 20, 0.3);
  --glow-orange: rgba(245, 165, 36, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(57, 255, 20, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(245, 165, 36, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(57, 255, 20, 0.03) 0%, transparent 50%);
  animation: bgPulse 15s ease-in-out infinite;
  pointer-events: none;
}

@keyframes bgPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* Grid Background */
body::after {
  content: '';
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: 
    linear-gradient(rgba(57, 255, 20, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Content wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--cyber-green);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px;
}

/* Header with Glassmorphism */
header.site {
  background: rgba(15, 24, 48, 0.8);
  border-bottom: 1px solid rgba(57, 255, 20, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.3s ease;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

header.site.scrolled {
  background: rgba(11, 18, 32, 0.95);
  box-shadow: 0 8px 32px 0 rgba(57, 255, 20, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 18px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.05);
}

.brand .logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--glow-green));
  animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
  0%, 100% { filter: drop-shadow(0 0 10px var(--glow-green)); }
  50% { filter: drop-shadow(0 0 20px var(--cyber-green)); }
}

.brand .title {
  font-weight: 800;
  font-size: 18px;
  background: linear-gradient(135deg, var(--cyber-green), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 10px;
  align-items: center;
}

.menu a {
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cyber-green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.menu a:hover::after {
  width: 80%;
}

.menu a:hover {
  background: rgba(57, 255, 20, 0.1);
  transform: translateY(-2px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(15, 22, 39, 0.8);
  color: var(--text);
  width: 150px;
  transition: all 0.3s ease;
}

.header-search input:focus {
  width: 200px;
  border-color: var(--cyber-green);
  outline: none;
  box-shadow: 0 0 20px var(--glow-green);
}

.cta {
  background: linear-gradient(135deg, #f5a524 0%, #d4a017 100%);
  color: #0B1220;
  font-weight: 800;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta:hover::before {
  width: 300px;
  height: 300px;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--glow-orange);
}

/* Page Content */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-header h1 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--cyber-green), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%, 100% { filter: drop-shadow(0 0 20px var(--glow-green)); }
  50% { filter: drop-shadow(0 0 40px var(--cyber-green)); }
}

.page-header p {
  font-size: 20px;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* Content Sections */
.section {
  padding: 60px 0;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text), var(--cyber-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text);
}

p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* Cards */
.card {
  background: rgba(15, 22, 39, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--cyber-green);
  box-shadow: 0 20px 60px rgba(57, 255, 20, 0.2);
  background: rgba(15, 22, 39, 0.9);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.red {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.badge.yellow {
  background: rgba(245, 165, 36, 0.2);
  color: var(--warning);
  border: 1px solid var(--warning);
}

.badge.green {
  background: rgba(57, 255, 20, 0.2);
  color: var(--cyber-green);
  border: 1px solid var(--cyber-green);
}

/* Footer */
footer {
  background: rgba(15, 22, 39, 0.8);
  border-top: 1px solid rgba(57, 255, 20, 0.2);
  padding: 40px 0 20px;
  margin-top: 80px;
  backdrop-filter: blur(20px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--muted);
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyber-green);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--cyber-green);
}

.footer-links a:hover::after {
  width: 100%;
}

footer p {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--cyber-green), var(--accent));
  z-index: 9999;
  box-shadow: 0 0 10px var(--glow-green);
}

/* Lists */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

li {
  margin-bottom: 10px;
  color: var(--muted);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(15, 22, 39, 0.6);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: rgba(57, 255, 20, 0.1);
  color: var(--cyber-green);
  font-weight: 700;
}

tr:hover {
  background: rgba(57, 255, 20, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  .menu {
    flex-direction: column;
    width: 100%;
  }
  
  .nav {
    flex-direction: column;
  }
}
