@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --r-navy-deep: #020b1a;
  --r-navy-soft: #0a192f;
  --r-cyan: #00d2ff;
  --r-cyan-glow: rgba(0, 210, 255, 0.45);
  --r-neon-green: #14ff00;
  --r-neon-glow: rgba(20, 255, 0, 0.4);
  --r-silver: #e6e7e8;
  --r-silver-dim: #9ca3af;
  --r-glass-bg: rgba(255, 255, 255, 0.04);
  --r-glass-border: rgba(224, 224, 224, 0.15);
  --r-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
  background: radial-gradient(circle at 50% 0%, #0d2137 0%, var(--r-navy-deep) 100%);
  background-attachment: fixed;
  color: var(--r-silver);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}

/* Metallic Text Effect */
.text-metallic {
  background: linear-gradient(to bottom, #ffffff 0%, var(--r-silver) 50%, #888888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Glassmorphism Navbar */
.navbar {
  background: rgba(2, 11, 26, 0.8) !important;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--r-glass-border);
  padding: 0.75rem 0;
}

.nav-link {
  color: var(--r-silver-dim) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  transition: var(--r-transition);
  opacity: 0.8;
}

.nav-link:hover, .nav-link.active {
  color: var(--r-cyan) !important;
  opacity: 1;
  text-shadow: 0 0 20px var(--r-cyan-glow);
}

/* Custom Buttons */
.btn-neon {
  background: linear-gradient(135deg, var(--r-cyan) 0%, #0076ad 100%);
  color: #020b1a !important;
  border: none;
  font-weight: 800;
  padding: 0.9rem 2.4rem;
  border-radius: 10px;
  transition: var(--r-transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 0 20px var(--r-cyan-glow);
  position: relative;
  overflow: hidden;
}

.btn-neon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: rotate(45deg);
  transition: 0.8s;
}

.btn-neon:hover::after {
  left: 120%;
}

.btn-neon:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 35px var(--r-cyan-glow);
  color: white !important;
}

.btn-outline-cg {
  border: 1.5px solid var(--r-glass-border);
  color: var(--r-silver);
  font-weight: 700;
  padding: 0.8rem 2.2rem;
  border-radius: 10px;
  transition: var(--r-transition);
  background: var(--r-glass-bg);
}

.btn-outline-cg:hover {
  border-color: var(--r-neon-green);
  color: var(--r-neon-green) !important;
  box-shadow: 0 0 25px var(--r-neon-glow);
  background: rgba(20, 255, 0, 0.05);
  transform: translateY(-2px);
}

/* Primary CG Button (Follow/Post) */
.btn-primary-cg {
  background: var(--r-cyan);
  color: #020b1a !important;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.5rem;
  transition: var(--r-transition);
}

.btn-primary-cg:hover {
  box-shadow: 0 0 15px var(--r-cyan-glow);
  transform: scale(1.05);
}

/* Cards & Panels */
.card, .profile-card, .glass-panel, .stat-widget {
  background: rgba(10, 25, 47, 0.4) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--r-glass-border) !important;
  border-radius: 20px;
  transition: var(--r-transition);
  color: var(--r-silver) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card:hover {
  border-color: rgba(0, 210, 255, 0.3) !important;
  background: rgba(10, 25, 47, 0.6) !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Badges */
.intent-badge, .post-badge {
  background: rgba(20, 255, 0, 0.1);
  color: var(--r-neon-green);
  border: 1px solid rgba(20, 255, 0, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Title */
.hero-title {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--r-silver) 30%, var(--r-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

@media (max-width: 991px) {
  .hero-title { font-size: 3.5rem; }
}

/* Sidebar Nav */
.sidebar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0;
}

.sidebar-nav .nav-link i {
  font-size: 1.2rem;
}

.sidebar-nav .nav-link:hover, .sidebar-nav .nav-link.active {
  background: rgba(0, 210, 255, 0.1);
  color: var(--r-cyan) !important;
  border-left: 3px solid var(--r-cyan);
}

/* Horizontal Scroll for Suggestions */
.horizontal-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
}

.horizontal-scroll::-webkit-scrollbar { display: none; }

.suggestion-card {
  min-width: 160px;
  background: rgba(255,255,255,0.02);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--r-glass-border);
  transition: var(--r-transition);
}

.suggestion-card:hover {
  background: rgba(0, 210, 255, 0.05);
  border-color: var(--r-cyan);
}

/* Profile Avatars */
.profile-avatar {
  border: 2px solid var(--r-cyan);
  box-shadow: 0 0 15px var(--r-cyan-glow);
  border-radius: 12px;
}

/* Global Overrides */
.bg-light, .bg-white { background-color: transparent !important; }
.text-muted { color: var(--r-silver-dim) !important; }
.text-cyan { color: var(--r-cyan) !important; }

/* Form Styling */
.form-control, .form-select {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid var(--r-glass-border) !important;
  border-radius: 10px;
  color: white !important;
}

.form-control:focus {
  border-color: var(--r-cyan) !important;
  box-shadow: 0 0 20px var(--r-cyan-glow);
}

/* Gaming Native Landing Page Styles */
.hero-gaming {
    position: relative;
    background: radial-gradient(circle at 50% 50%, #0a2e38 0%, #021a24 100%);
    overflow: hidden;
}

.hero-gaming::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(0, 210, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
    pointer-events: none;
}

.pain-section {
    background: #010c12;
    border-top: 1px solid rgba(20, 255, 0, 0.1);
    border-bottom: 1px solid rgba(20, 255, 0, 0.1);
}

.pain-point {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #ff4d4d;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.pain-point:hover {
    transform: translateX(10px);
    background: rgba(255, 77, 77, 0.05);
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--r-cyan);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: 1rem;
}

.diff-grid {
    background: rgba(2, 26, 36, 0.5);
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(230, 231, 232, 0.1);
}

.diff-header {
    background: rgba(230, 231, 232, 0.05);
    padding: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diff-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.diff-row:last-child {
    border-bottom: none;
}

.diff-label {
    color: #e6e7e8;
    font-weight: 500;
}

.diff-value {
    text-align: center;
    font-size: 1.2rem;
}

.diff-roster {
    color: var(--r-green);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(20, 255, 0, 0.3);
}

.cta-final {
    background: linear-gradient(180deg, #021a24 0%, #00d2ff 400%);
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .diff-row {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .diff-label {
        grid-column: span 2;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 0.5rem;
    }
}

.text-neon-green { color: var(--r-neon-green) !important; }
.text-cyan { color: var(--r-cyan) !important; }
.text-silver { color: var(--r-silver) !important; }
.bg-glass { background: var(--r-glass-bg) !important; backdrop-filter: blur(10px); }
.border-glass { border: 1px solid var(--r-glass-border) !important; }

/* Existing Sage/Sand Overrides */
.text-sage { color: var(--r-neon-green) !important; }
.bg-sage { background-color: var(--r-neon-green) !important; color: #020b1a !important; }
.text-slate, .text-dark { color: var(--r-silver) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--r-navy-deep); }
::-webkit-scrollbar-thumb { background: #1C2541; border-radius: 5px; border: 2px solid var(--r-navy-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--r-cyan); }
