/* BRAINLESS - NPC Memecoin Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* NPC Color Scheme */
    --primary-gray: #808080;
    --neon-green: #00FF00;
    --electric-blue: #0080FF;
    --warning-orange: #FF8000;
    --error-red: #FF0040;
    --success-green: #00FF80;
    
    /* Dark Theme */
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    /* Gaming Fonts */
    --font-pixel: 'Press Start 2P', monospace;
    --font-tech: 'Orbitron', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Glitch Effects */
    --glitch-color-1: #ff0040;
    --glitch-color-2: #00ff80;
    --glitch-color-3: #0080ff;
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #f0f0f0;
    --bg-secondary: #e0e0e0;
    --bg-tertiary: #d0d0d0;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
}

/* Base Typography */
body {
    font-family: var(--font-tech);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: auto;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    max-width: 400px;
}

.npc-avatar {
    position: relative;
    margin-bottom: 2rem;
}

.loading-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    animation: npcBob 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px var(--neon-green));
}

.loading-dots {
    position: absolute;
    top: -10px;
    right: -10px;
    display: flex;
    gap: 5px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: loadingDots 1.5s ease-in-out infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

.loading-text {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--neon-green);
    margin-bottom: 2rem;
}

.typing-text {
    animation: typing 3s steps(8) infinite;
}

.cursor {
    animation: blink 1s infinite;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background: var(--bg-tertiary);
    border: 2px solid var(--electric-blue);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
    width: 0%;
    animation: progressFill 4s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    color: var(--text-primary);
}

.loading-messages {
    height: 60px;
    position: relative;
}

.loading-message {
    position: absolute;
    width: 100%;
    opacity: 0;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    transition: opacity 0.5s ease;
}

.loading-message.active {
    opacity: 1;
}

/* Background Effects */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

#matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        var(--neon-green) 2px,
        var(--neon-green) 4px
    );
    animation: matrixScroll 20s linear infinite;
}

#webgl-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--electric-blue);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: drop-shadow(0 0 10px var(--neon-green));
}

.logo-text {
    font-family: var(--font-pixel);
    font-size: 1.2rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-weight: 500;
    transition: var(--transition-normal);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--electric-blue);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue);
}

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

.nav-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.control-btn:hover {
    background: var(--electric-blue);
    box-shadow: 0 0 20px var(--electric-blue);
    transform: scale(1.1);
}

.control-btn .theme-icon:last-child,
.control-btn .audio-icon:last-child {
    display: none;
}

[data-theme="light"] .control-btn .theme-icon:first-child {
    display: none;
}

[data-theme="light"] .control-btn .theme-icon:last-child {
    display: block;
}

.control-btn.muted .audio-icon:first-child {
    display: none;
}

.control-btn.muted .audio-icon:last-child {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 3rem;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.main-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: drop-shadow(0 0 30px var(--neon-green));
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.logo-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.ring {
    position: absolute;
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    opacity: 0.6;
}

.ring-1 {
    width: 220px;
    height: 220px;
    top: -10px;
    left: -10px;
    animation: ringRotate 10s linear infinite;
}

.ring-2 {
    width: 260px;
    height: 260px;
    top: -30px;
    left: -30px;
    animation: ringRotate 15s linear infinite reverse;
}

.ring-3 {
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation: ringRotate 20s linear infinite;
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="2" fill="%23ff0040" opacity="0.5"/><rect y="20" width="100" height="2" fill="%2300ff80" opacity="0.5"/><rect y="40" width="100" height="2" fill="%230080ff" opacity="0.5"/></svg>');
    opacity: 0;
    animation: glitchFlicker 5s ease-in-out infinite;
}

.hero-title {
    margin-bottom: 2rem;
    position: relative;
}

.title-main {
    font-family: var(--font-pixel);
    font-size: clamp(3rem, 8vw, 6rem);
    background: linear-gradient(45deg, var(--neon-green), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--neon-green);
    display: block;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.title-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: var(--font-pixel);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--glitch-color-1);
    opacity: 0;
    animation: glitchText 3s ease-in-out infinite;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    animation: typewriter 3s steps(40) 1s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-btn {
    position: relative;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
    min-width: 200px;
    justify-content: center;
}

.cta-btn.primary {
    background: linear-gradient(45deg, var(--neon-green), var(--electric-blue));
    border-color: var(--neon-green);
    color: var(--bg-primary);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.cta-btn.primary:hover {
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.5);
}

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

.cta-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-pixel);
    font-size: 2.5rem;
    color: var(--neon-green);
    display: block;
    text-shadow: 0 0 20px var(--neon-green);
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2rem;
    margin-top: 0.5rem;
    color: var(--electric-blue);
}

.floating-npcs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.npc-sprite {
    position: absolute;
    font-size: 3rem;
    opacity: 0.6;
    animation: npcFloat 6s ease-in-out infinite;
}

.npc-1 { top: 20%; left: 10%; animation-delay: 0s; }
.npc-2 { top: 30%; right: 15%; animation-delay: 1s; }
.npc-3 { bottom: 40%; left: 20%; animation-delay: 2s; }
.npc-4 { bottom: 30%; right: 10%; animation-delay: 3s; }
.npc-5 { top: 60%; left: 50%; animation-delay: 4s; }

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    position: relative;
    margin-bottom: 1rem;
}

.title-text {
    font-family: var(--font-pixel);
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(45deg, var(--warning-orange), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.dialogue-box {
    position: relative;
    background: var(--bg-tertiary);
    border: 2px solid var(--electric-blue);
    border-radius: 10px;
    padding: 1rem 2rem;
    margin: 2rem auto;
    max-width: 500px;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

.dialogue-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--electric-blue);
}

.dialogue-text {
    margin: 0;
    animation: dialogueType 3s steps(60) infinite;
}

/* About Section */
.about {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.about-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--electric-blue);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
    opacity: 0;
}

.about-card:hover::before {
    opacity: 1;
    animation: cardScan 2s ease-in-out;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.3);
    border-color: var(--neon-green);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon-container {
    position: relative;
    display: inline-block;
}

.icon {
    font-size: 4rem;
    display: block;
    filter: drop-shadow(0 0 20px var(--neon-green));
}

.icon-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--glitch-color-1), var(--glitch-color-2));
    opacity: 0;
    animation: iconGlitch 4s ease-in-out infinite;
}

.card-title {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--warning-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--warning-orange);
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-status {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.error {
    background: rgba(255, 0, 64, 0.2);
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

.status-badge.warning {
    background: rgba(255, 128, 0, 0.2);
    color: var(--warning-orange);
    border: 1px solid var(--warning-orange);
}

.status-badge.success {
    background: rgba(0, 255, 128, 0.2);
    color: var(--success-green);
    border: 1px solid var(--success-green);
}

/* Stats Section */
.stats {
    background: var(--bg-primary);
}

.stats-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-chart {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#npc-chart {
    max-width: 400px;
    max-height: 400px;
    filter: drop-shadow(0 0 30px var(--neon-green));
}

.chart-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.chart-label {
    font-family: var(--font-pixel);
    font-size: 0.8rem;
    color: var(--neon-green);
    letter-spacing: 2px;
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--electric-blue);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.info-card:hover {
    border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.info-icon {
    font-size: 2rem;
}

.info-header h3 {
    font-family: var(--font-pixel);
    font-size: 1rem;
    color: var(--warning-orange);
    letter-spacing: 1px;
}

.info-value {
    margin-bottom: 1rem;
}

.counter {
    font-family: var(--font-pixel);
    font-size: 2.5rem;
    color: var(--neon-green);
    display: block;
    text-shadow: 0 0 20px var(--neon-green);
}

.action-text {
    font-family: var(--font-pixel);
    font-size: 2.5rem;
    color: var(--electric-blue);
    display: block;
    text-shadow: 0 0 20px var(--electric-blue);
}

.infinity-symbol {
    font-family: var(--font-pixel);
    font-size: 3rem;
    color: var(--warning-orange);
    display: block;
    text-shadow: 0 0 20px var(--warning-orange);
}

.info-unit {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.info-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.active { background: var(--neon-green); }
.status-dot.warning { background: var(--warning-orange); }
.status-dot.success { background: var(--success-green); }

/* Quest Section */
.quest {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.quest-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--neon-green), var(--electric-blue), var(--warning-orange));
    transform: translateX(-50%);
    border-radius: 2px;
}

.quest-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.quest-item:nth-child(even) {
    flex-direction: row-reverse;
}

.quest-item:nth-child(even) .quest-content {
    text-align: right;
}

.quest-icon {
    position: relative;
    z-index: 2;
    margin: 0 2rem;
}

.icon-bg {
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 4px solid var(--electric-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-normal);
}

.quest-item.completed .icon-bg {
    border-color: var(--success-green);
    background: rgba(0, 255, 128, 0.2);
    box-shadow: 0 0 30px rgba(0, 255, 128, 0.5);
}

.quest-item.active .icon-bg {
    border-color: var(--warning-orange);
    background: rgba(255, 128, 0, 0.2);
    box-shadow: 0 0 30px rgba(255, 128, 0, 0.5);
    animation: questPulse 2s ease-in-out infinite;
}

.quest-item.upcoming .icon-bg {
    border-color: var(--electric-blue);
    background: rgba(0, 128, 255, 0.2);
}

.quest-item.locked .icon-bg {
    border-color: var(--text-muted);
    background: rgba(136, 136, 136, 0.2);
    opacity: 0.5;
}

.quest-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: markerPulse 2s ease-in-out infinite;
}

.quest-content {
    flex: 1;
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--electric-blue);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.quest-content:hover {
    border-color: var(--neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.quest-title {
    font-family: var(--font-pixel);
    font-size: 1.3rem;
    color: var(--warning-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--warning-orange);
}

.quest-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.quest-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.quest-xp {
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-weight: 600;
}

.quest-progress {
    margin-top: 1rem;
}

.quest-progress .progress-bar {
    height: 10px;
    background: var(--bg-tertiary);
    border: 1px solid var(--electric-blue);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.quest-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
    transition: width 1s ease;
}

.quest-progress .progress-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    position: static;
    transform: none;
}

/* Community Section */
.community {
    background: var(--bg-primary);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.community-card {
    background: rgba(42, 42, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--electric-blue);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-slow);
    opacity: 0;
}

.community-card:hover::before {
    opacity: 1;
    animation: cardScan 2s ease-in-out;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 128, 255, 0.3);
    border-color: var(--neon-green);
}

.card-header {
    margin-bottom: 1.5rem;
}

.community-card .card-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.platform-icon {
    font-size: 3rem;
    display: block;
    filter: drop-shadow(0 0 20px var(--neon-green));
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--neon-green) 0%, transparent 70%);
    opacity: 0.3;
    animation: iconGlow 3s ease-in-out infinite;
}

.community-card .card-title {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--warning-orange);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--warning-orange);
}

.community-card .card-status {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.status-dot.online { background: var(--success-green); }

.community-card .card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.community-btn {
    position: relative;
    width: 100%;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--electric-blue);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
}

.community-btn.discord {
    border-color: #5865F2;
}

.community-btn.telegram {
    border-color: #0088cc;
}

.community-btn.twitter {
    border-color: #1DA1F2;
}

.community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.community-btn.discord:hover {
    background: #5865F2;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5);
}

.community-btn.telegram:hover {
    background: #0088cc;
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
}

.community-btn.twitter:hover {
    background: #1DA1F2;
    box-shadow: 0 10px 30px rgba(29, 161, 242, 0.5);
}

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

.community-btn:active .btn-particles {
    width: 300px;
    height: 300px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--electric-blue);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    filter: drop-shadow(0 0 20px var(--neon-green));
}

.footer-logo-text {
    font-family: var(--font-pixel);
    font-size: 1.5rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

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

.footer-stat .stat-value {
    font-family: var(--font-pixel);
    font-size: 2rem;
    color: var(--neon-green);
    display: block;
    text-shadow: 0 0 15px var(--neon-green);
}

.footer-stat .stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group {
    text-align: center;
}

.link-title {
    font-family: var(--font-pixel);
    font-size: 1rem;
    color: var(--warning-orange);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--warning-orange);
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
    transition: var(--transition-normal);
    position: relative;
    padding: 0.25rem 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--electric-blue);
    transition: width var(--transition-normal);
}

.footer-link:hover {
    color: var(--electric-blue);
    text-shadow: 0 0 10px var(--electric-blue);
}

.footer-link:hover::before {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-tertiary);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    text-align: center;
    flex: 1;
}

.footer-copyright p {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--warning-orange);
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.warning-icon {
    animation: warningBlink 2s ease-in-out infinite;
}

.footer-social {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border: 2px solid var(--electric-blue);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--electric-blue);
    box-shadow: 0 0 20px var(--electric-blue);
    transform: scale(1.1);
}

/* Error Messages */
.error-container {
    position: fixed;
    top: 100px;
    right: 2rem;
    z-index: 10000;
    max-width: 400px;
}

.error-message {
    background: rgba(255, 0, 64, 0.9);
    border: 2px solid var(--error-red);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-mono);
    color: white;
    animation: errorSlide 0.5s ease-out;
}

.error-icon {
    font-size: 1.5rem;
}

.error-text {
    flex: 1;
}

.error-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.error-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes npcBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes loadingDots {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes progressFill {
    0% { width: 0%; }
    25% { width: 30%; }
    50% { width: 60%; }
    75% { width: 85%; }
    100% { width: 100%; }
}

@keyframes matrixScroll {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes glitchFlicker {
    0%, 90%, 100% { opacity: 0; }
    91%, 99% { opacity: 0.8; }
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 30px var(--neon-green); }
    100% { text-shadow: 0 0 50px var(--neon-green), 0 0 80px var(--electric-blue); }
}

@keyframes glitchText {
    0%, 90%, 100% { opacity: 0; transform: translateX(0); }
    91% { opacity: 0.8; transform: translateX(-2px); }
    92% { opacity: 0.8; transform: translateX(2px); }
    93% { opacity: 0.8; transform: translateX(-2px); }
}

@keyframes typewriter {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes npcFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-5deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

@keyframes cardScan {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes iconGlitch {
    0%, 95%, 100% { opacity: 0; }
    96%, 99% { opacity: 0.6; }
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes questPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 128, 0, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 50px rgba(255, 128, 0, 0.8); }
}

@keyframes markerPulse {
    0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.3); }
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes warningBlink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

@keyframes errorSlide {
    0% { transform: translateX(100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes dialogueType {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .stats-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quest-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .quest-item .quest-content {
        text-align: center !important;
    }
    
    .timeline-line {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        padding: 6rem 1rem 2rem;
    }
    
    .about-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-controls {
        gap: 0.5rem;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Glitch Mode */
.glitch-mode {
    animation: screenGlitch 0.1s infinite;
}

.glitch-mode * {
    animation: textGlitch 0.1s infinite;
}

@keyframes screenGlitch {
    0% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
    100% { transform: translateX(0); }
}

@keyframes textGlitch {
    0% { text-shadow: 0 0 0 var(--glitch-color-1); }
    25% { text-shadow: -2px 0 0 var(--glitch-color-1), 2px 0 0 var(--glitch-color-2); }
    50% { text-shadow: 2px 0 0 var(--glitch-color-1), -2px 0 0 var(--glitch-color-3); }
    75% { text-shadow: -1px 0 0 var(--glitch-color-2), 1px 0 0 var(--glitch-color-3); }
    100% { text-shadow: 0 0 0 var(--glitch-color-1); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-npcs,
    #particles-js,
    #matrix-rain,
    #webgl-background,
    .error-container {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .hero {
        page-break-after: always;
    }
}



/* Enhanced NPC Features & Easter Eggs */

/* Secret Content Styling */
.hidden-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    z-index: 10000;
    color: var(--text-primary);
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.5);
}

.secret-section h3 {
    color: var(--neon-green);
    text-align: center;
    margin-bottom: 20px;
    font-family: var(--font-pixel);
    text-shadow: 0 0 10px var(--neon-green);
}

.secret-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.secret-stat {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.secret-stat .stat-label {
    color: var(--text-secondary);
}

.secret-stat .stat-value {
    color: var(--neon-green);
    font-weight: bold;
    font-family: var(--font-mono);
}

.reveal-animation {
    animation: revealSecret 1s ease-out;
}

@keyframes revealSecret {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5) rotateY(90deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1) rotateY(45deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    }
}

/* Floating Sprites */
.floating-sprite {
    animation: floatSprite 4s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.5));
}

.floating-sprite:hover {
    transform: scale(1.5) rotate(15deg);
    filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.8));
}

@keyframes floatSprite {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

/* NPC Companion */
.npc-companion {
    animation: companionIdle 3s ease-in-out infinite;
    cursor: pointer;
    user-select: none;
}

.npc-companion:hover {
    animation: companionExcited 0.5s ease-in-out;
}

@keyframes companionIdle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes companionExcited {
    0% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(15deg); }
    50% { transform: scale(1.5) rotate(-15deg); }
    75% { transform: scale(1.3) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Achievement Notifications */
.achievement-popup {
    animation: achievementSlide 0.5s ease-out, achievementPulse 2s ease-in-out 1s;
}

@keyframes achievementSlide {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

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

/* NPC Dialogue Bubbles */
.npc-dialogue {
    animation: dialogueAppear 0.5s ease-out;
}

.dialogue-bubble {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 50, 0, 0.95));
    border: 2px solid var(--neon-green);
    border-radius: 20px;
    padding: 20px;
    color: var(--neon-green);
    font-family: var(--font-mono);
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.3);
    backdrop-filter: blur(10px);
    max-width: 400px;
}

.dialogue-bubble::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 30px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid var(--neon-green);
}

.dialogue-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dialogue-close:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0040;
    transform: scale(1.2);
}

@keyframes dialogueAppear {
    0% {
        transform: translateX(-100%) scale(0.5);
        opacity: 0;
    }
    50% {
        transform: translateX(10px) scale(1.1);
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Status Effects */
.status-confused {
    animation: confusedShake 0.5s ease-in-out infinite;
}

@keyframes confusedShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(2px, 2px) rotate(1deg); }
    50% { transform: translate(-2px, 2px) rotate(-1deg); }
    75% { transform: translate(2px, -2px) rotate(1deg); }
}

.status-lagging {
    transition: all 2s ease !important;
}

.status-glitched {
    animation: textGlitch 0.3s ease-in-out infinite;
}

@keyframes textGlitch {
    0% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
    100% { transform: translate(0); }
}

.status-buffering::after {
    content: '⏳';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    animation: spin 1s linear infinite;
}

/* Konami Mode Effects */
.konami-mode {
    animation: konamiRainbow 2s linear infinite;
}

@keyframes konamiRainbow {
    0% { filter: hue-rotate(0deg) brightness(1.2); }
    25% { filter: hue-rotate(90deg) brightness(1.4); }
    50% { filter: hue-rotate(180deg) brightness(1.6); }
    75% { filter: hue-rotate(270deg) brightness(1.4); }
    100% { filter: hue-rotate(360deg) brightness(1.2); }
}

/* God Mode Effects */
.god-mode {
    filter: brightness(1.3) saturate(1.5) contrast(1.2);
    animation: godModeAura 3s ease-in-out infinite;
}

@keyframes godModeAura {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.8); }
}

/* Glitch Mode Effects */
.glitch-mode {
    animation: globalGlitch 0.1s infinite;
}

@keyframes globalGlitch {
    0% { transform: translate(0); filter: hue-rotate(0deg); }
    10% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
    20% { transform: translate(-2px, -2px); filter: hue-rotate(180deg); }
    30% { transform: translate(2px, 2px); filter: hue-rotate(270deg); }
    40% { transform: translate(2px, -2px); filter: hue-rotate(360deg); }
    50% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
    60% { transform: translate(-2px, -2px); filter: hue-rotate(180deg); }
    70% { transform: translate(2px, 2px); filter: hue-rotate(270deg); }
    80% { transform: translate(2px, -2px); filter: hue-rotate(360deg); }
    90% { transform: translate(-2px, 2px); filter: hue-rotate(90deg); }
    100% { transform: translate(0); filter: hue-rotate(0deg); }
}

/* Idle Mode Effects */
.idle-mode {
    filter: brightness(0.7) saturate(0.8);
    transition: filter 2s ease;
}

.idle-mode .floating-sprite {
    animation: idleFloat 6s ease-in-out infinite;
}

@keyframes idleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    25% { transform: translateY(-30px) rotate(10deg); opacity: 1; }
    50% { transform: translateY(-60px) rotate(0deg); opacity: 0.8; }
    75% { transform: translateY(-30px) rotate(-10deg); opacity: 1; }
}

/* Secret Console */
.secret-console {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 20, 0, 0.95));
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    color: var(--neon-green);
    font-family: var(--font-mono);
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.5);
    backdrop-filter: blur(10px);
    animation: consoleAppear 0.5s ease-out;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--neon-green);
    margin-bottom: 15px;
}

.console-header button {
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.console-header button:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0040;
}

.console-content {
    max-height: 200px;
    overflow-y: auto;
}

.console-line {
    margin: 5px 0;
    padding: 2px 0;
    border-left: 3px solid transparent;
    padding-left: 10px;
    transition: all 0.3s ease;
}

.console-line:hover {
    border-left-color: var(--neon-green);
    background: rgba(0, 255, 0, 0.1);
}

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

/* Enhanced Interactive Elements */
.interactive-element {
    position: relative;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.interactive-element::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.interactive-element:hover::after {
    opacity: 1;
}

/* Random Loading Spinner */
.random-loader {
    animation: randomSpin 1s linear infinite;
}

@keyframes randomSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Error Message Styling */
.achievement-style {
    background: linear-gradient(45deg, var(--neon-green), var(--electric-blue)) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    animation: achievementPulse 2s infinite !important;
    color: white !important;
    font-weight: bold !important;
}

.achievement-notification {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 10px;
}

.achievement-icon {
    font-size: 24px;
    animation: iconBounce 1s ease-in-out infinite;
}

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

.achievement-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: auto;
}

.achievement-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hidden-content {
        max-width: 90%;
        padding: 20px;
    }
    
    .dialogue-bubble {
        max-width: 300px;
        font-size: 14px;
    }
    
    .secret-console {
        width: 90%;
        height: 250px;
    }
    
    .floating-sprite {
        font-size: 16px !important;
    }
    
    .npc-companion {
        width: 25px !important;
        height: 25px !important;
        font-size: 16px !important;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .floating-sprite,
    .npc-companion,
    .achievement-popup,
    .dialogue-bubble {
        animation: none !important;
    }
    
    .konami-mode,
    .glitch-mode,
    .god-mode {
        animation: none !important;
        filter: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .dialogue-bubble {
        background: black;
        border: 3px solid white;
        color: white;
    }
    
    .secret-console {
        background: black;
        border: 3px solid white;
        color: white;
    }
    
    .hidden-content {
        background: black;
        border: 3px solid white;
        color: white;
    }
}

/* Print Styles */
@media print {
    .floating-sprite,
    .npc-companion,
    .achievement-popup,
    .dialogue-bubble,
    .secret-console,
    .hidden-content {
        display: none !important;
    }
}

