@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;900&family=Space+Grotesk:wght@400;700&display=swap');

.animate-neon-border {
  border: 2px solid #22c55e;
  border-radius: 8px;
}

body { 
    font-family: 'Space Grotesk', sans-serif; 
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-size: 20px;
}

.hero-gradient {
    background: #000000;
}

.neon-glow {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.pulse-animation {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

.glow-text {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.node-animation {
    animation: nodeGlow 3s ease-in-out infinite alternate;
}

@keyframes nodeGlow {
    0% { filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.8)); }
    100% { filter: drop-shadow(0 0 20px rgba(34, 197, 94, 1)); }
}

.gradient-border {
    position: relative;
    border-radius: 12px;
    background: linear-gradient(45deg, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.3));
    padding: 2px;
}

.gradient-border-inner {
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    padding: 1.5rem;
}

/* RGB Hacker animations */

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes reverse-spin {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes text-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes orbit {
    0% { transform: rotate(0deg) translateX(200px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(200px) rotate(-360deg); }
}

@keyframes orbit-reverse {
    0% { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
    100% { transform: rotate(0deg) translateX(150px) rotate(0deg); }
}

@keyframes grid-scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, 20px); }
}

@keyframes slide-right {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

@keyframes slide-left {
    0% { transform: translateX(calc(100vw + 100px)); }
    100% { transform: translateX(-100px); }
}

@keyframes diamond-pulse {
    0%, 100% { transform: scale(1) rotate(45deg); opacity: 0.6; }
    50% { transform: scale(1.2) rotate(45deg); opacity: 1; }
}

@keyframes rgb-shift {
    0% { filter: hue-rotate(0deg); }
    33% { filter: hue-rotate(120deg); }
    66% { filter: hue-rotate(240deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes data-flow {
    0% { stroke-dashoffset: 20; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes matrix-rain {
    0% { transform: translateY(-100vh); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-reverse-spin {
    animation: reverse-spin 12s linear infinite;
}

.animate-text-shimmer {
    animation: text-shimmer 3s ease-in-out infinite;
    background-size: 300% 300%;
}

.animate-orbit {
    animation: orbit 10s linear infinite;
}

.animate-orbit-reverse {
    animation: orbit-reverse 15s linear infinite;
}

.animate-grid-scroll {
    animation: grid-scroll 20s linear infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animation-delay-500 {
    animation-delay: 0.5s;
}

.animation-delay-1000 {
    animation-delay: 1s;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-3000 {
    animation-delay: 3s;
}

.bg-300% {
    background-size: 300% 300%;
}

/* Grid pattern */

.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(34, 197, 94, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(34, 197, 94, 0.1) 1px, transparent 1px);
}

.bg-grid-small {
    background-size: 20px 20px;
}

/* Radial gradient */

.bg-gradient-radial {
    background: radial-gradient(ellipse at center, var(--tw-gradient-stops));
}

.bg-gradient-conic {
    background: conic-gradient(var(--tw-gradient-stops));
}

/* Content formatting styles */

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #22c55e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose p {
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.prose ul {
    color: #d1d5db;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

/* Enhanced Psychedelic Purple Theme */

@keyframes psychedelic-pulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3), 0 0 40px rgba(168, 85, 247, 0.1), inset 0 0 20px rgba(168, 85, 247, 0.05);
    }
    50% { 
        box-shadow: 0 0 30px rgba(168, 85, 247, 0.5), 0 0 60px rgba(168, 85, 247, 0.2), inset 0 0 30px rgba(168, 85, 247, 0.1);
    }
}

@keyframes rainbow-border {
    0% { border-color: #ff0080; }
    16% { border-color: #ff8000; }
    33% { border-color: #ffff00; }
    50% { border-color: #80ff00; }
    66% { border-color: #00ff80; }
    83% { border-color: #0080ff; }
    100% { border-color: #ff0080; }
}

@keyframes neural-glow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(0, 255, 136, 0.5), 0 0 10px rgba(0, 255, 136, 0.3), 0 0 15px rgba(0, 255, 136, 0.1);
    }
    50% { 
        text-shadow: 0 0 10px rgba(0, 255, 136, 0.8), 0 0 20px rgba(0, 255, 136, 0.5), 0 0 30px rgba(0, 255, 136, 0.2);
    }
}

@keyframes matrix-scan {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

@keyframes hologram-flicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    2% { opacity: 0.8; filter: brightness(1.2); }
    4% { opacity: 1; filter: brightness(0.8); }
    6% { opacity: 0.9; filter: brightness(1.1); }
    8% { opacity: 1; filter: brightness(1); }
}

/* Clean Glass Panel */

.glass-panel {
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
}

/* Simple Glow */

.neon-glow {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

/* Neural Text Glow */

.neural-text {
    animation: neural-glow 2s ease-in-out infinite;
}

/* Hologram Effect */

.hologram {
    animation: hologram-flicker 4s infinite;
    filter: brightness(1.1) contrast(1.1);
}

/* Progress Bar Enhancements */

.progress-bar-glow {
    position: relative;
    overflow: visible;
}

.progress-bar-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
    animation: pulse 1s ease-in-out infinite;
}

/* Matrix Rain Effect for Background */

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -10;
    overflow: hidden;
}

/* Cyberpunk Button Styles */

.cyber-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.cyber-button::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #a855f7, #ec4899, #06b6d4, #10b981);
    background-size: 200% 200%;
    animation: rainbow-border 2s linear infinite;
    border-radius: inherit;
    z-index: -1;
}

.cyber-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
}

/* Scan Line Effect */

@keyframes scan-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100vw); }
}

.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 2px;
    height: 100vh;
    background: linear-gradient(to bottom, 
        transparent, 
        rgba(0, 255, 136, 0.8), 
        transparent);
    animation: scan-line 8s linear infinite;
    z-index: 1000;
    pointer-events: none;
}

/* Line clamping utilities */

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}