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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    height: 100%;
    /* Hide default scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #0a0a0f;
    color: #e4e4e7;
    overflow-x: hidden;
    line-height: 1.6;
    height: 100%;
    scroll-snap-type: y mandatory;
    /* Hide default scrollbar for body too */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer and Edge */
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

/* Grid Overlay Background */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

/* Navigation Bar */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.3);
    padding: 0.5rem 2rem;
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px; /* Reduced height */
}

.nav-logo .logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo-accent {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    color: #e4e4e7;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Prevent text wrapping */
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 255, 136, 0.2) 50%,
        transparent 100%
    );
    transition: left 0.5s ease;
}

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

.nav-link:hover {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.nav-link.active {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.nav-indicator {
    display: flex;
    align-items: center;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    animation: indicatorPulse 2s ease-in-out infinite;
}

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

/* Section Base Styles */
section {
    min-height: 100vh;
    height: 100vh;
    padding: 8rem 2rem 2rem 2rem; /* Increased top padding to fully clear fixed navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.section-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* Mobile Notice Styles */
.mobile-notice {
    display: none;
    position: relative;
    z-index: 10;
    margin-bottom: 1rem;
}

.mobile-notice-content {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 191, 255, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.4);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.mobile-notice-icon {
    font-size: 1.2rem;
    filter: grayscale(100%);
}

.mobile-notice-content p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #e4e4e7;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* Hero Section */
.hero {
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    position: relative;
    padding-top: 6rem; /* Account for fixed nav */
}

.hero-content {
    z-index: 2;
    position: relative;
}

.page-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    background: linear-gradient(135deg, #ffffff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    min-height: 80px;
}

.tagline {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #00ff88;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.8);
    margin-right: 0.5rem;
}

.cursor {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #00ff88;
    animation: blink 1s infinite;
}

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

.tagline.complete {
    animation: lockIn 0.5s ease-out;
}

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

.subtitle-container {
    margin: 2rem 0;
    text-align: center;
}

.subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #e4e4e7;
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 3s forwards;
}

.subtitle-accent {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #a1a1aa;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 3.5s forwards;
}

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

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 4s forwards;
}

.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.cta-primary {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.6);
}

.cta-secondary {
    background: transparent;
    color: #00ff88;
    border: 2px solid #00ff88;
}

.cta-secondary:hover {
    background: rgba(0, 255, 136, 0.1);
    transform: translateY(-2px);
}

/* Code Matrix Background */
.code-matrix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.matrix-column {
    position: absolute;
    top: -100px;
    width: 20px;
    color: #00ff88;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    line-height: 18px;
    opacity: 0.3;
    animation: matrixFall 8s linear infinite;
}

.matrix-column:nth-child(1) { left: 10%; animation-delay: 0s; }
.matrix-column:nth-child(2) { left: 30%; animation-delay: 1s; }
.matrix-column:nth-child(3) { left: 50%; animation-delay: 2s; }
.matrix-column:nth-child(4) { left: 70%; animation-delay: 3s; }
.matrix-column:nth-child(5) { left: 90%; animation-delay: 4s; }

@keyframes matrixFall {
    0% { 
        transform: translateY(-100px);
        opacity: 0;
    }
    10% { 
        opacity: 0.3;
    }
    90% { 
        opacity: 0.3;
    }
    100% { 
        transform: translateY(calc(100vh + 100px));
        opacity: 0;
    }
}

/* Philosophy Section */
.philosophy {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, rgba(0, 191, 255, 0.03) 100%);
    position: relative;
    overflow: visible;
}

.philosophy .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
}

.philosophy-visual {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 70px;
}

/* Code Fortress */
.code-fortress {
    position: relative;
    width: 400px;
    height: 500px;
    perspective: 1000px;
    animation: fortressFloat 8s ease-in-out infinite;
}

@keyframes fortressFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(5deg); }
    50% { transform: translateY(0px) rotateY(0deg); }
    75% { transform: translateY(-5px) rotateY(-3deg); }
}

.fortress-core {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 255, 136, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    backdrop-filter: blur(0.5px);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 30px rgba(0, 255, 136, 0.3),
        inset 0 0 30px rgba(0, 255, 136, 0.1);
    transform: rotateX(5deg) rotateY(-5deg);
    animation: fortressGlow 4s ease-in-out infinite;
}

@keyframes fortressGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(0, 255, 136, 0.3),
            inset 0 0 30px rgba(0, 255, 136, 0.1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(0, 255, 136, 0.5),
            inset 0 0 50px rgba(0, 255, 136, 0.2);
    }
}

.fortress-core::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 255, 136, 0.1) 50%,
        transparent 100%
    );
    animation: fortressScanline 3s linear infinite;
}

@keyframes fortressScanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.core-display {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    flex-shrink: 0;
}

.status-light {
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.8);
    animation: statusPulse 2s ease-in-out infinite;
}

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

.display-title {
    font-family: 'JetBrains Mono', monospace;
    color: #00ff88;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    animation: titleFlicker 5s ease-in-out infinite;
}

@keyframes titleFlicker {
    0%, 98%, 100% { opacity: 1; }
    99% { opacity: 0.8; }
}

.signal-bars {
    display: flex;
    gap: 3px;
    align-items: end;
}

.signal-bars .bar {
    width: 4px;
    background: linear-gradient(to top, #00ff88, #00bfff);
    border-radius: 2px;
    animation: signalPulse 1.5s ease-in-out infinite;
}

.signal-bars .bar:nth-child(1) { 
    height: 8px;
    animation-delay: 0s;
}
.signal-bars .bar:nth-child(2) { 
    height: 12px;
    animation-delay: 0.2s;
}
.signal-bars .bar:nth-child(3) { 
    height: 16px;
    animation-delay: 0.4s;
}
.signal-bars .bar:nth-child(4) { 
    height: 20px;
    animation-delay: 0.6s;
}

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

.code-viewport {
    flex: 1;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    margin-bottom: 20px;
    overflow: hidden;
}

.code-line {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.5;
    margin: 3px 0;
    opacity: 0;
    animation: codeTypeIn 0.8s ease-out forwards;
}

@keyframes codeTypeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-line:nth-child(1) { animation-delay: 0.2s; }
.code-line:nth-child(2) { animation-delay: 0.4s; }
.code-line:nth-child(3) { animation-delay: 0.6s; }
.code-line:nth-child(4) { animation-delay: 0.8s; }
.code-line:nth-child(5) { animation-delay: 1.0s; }
.code-line:nth-child(6) { animation-delay: 1.2s; }
.code-line:nth-child(7) { animation-delay: 1.4s; }
.code-line:nth-child(8) { animation-delay: 1.6s; }

.indent { padding-left: 20px; }
.indent2 { padding-left: 40px; }

.comment { color: #888888; font-style: italic; }
.keyword { color: #ff006f; text-shadow: 0 0 2px rgba(255, 0, 111, 0.4); }
.class-name { color: #00bfff; text-shadow: 0 0 2px rgba(0, 191, 255, 0.4); }
.method { color: #00ff88; text-shadow: 0 0 2px rgba(0, 255, 136, 0.4); }
.property { color: #ffaa00; text-shadow: 0 0 2px rgba(255, 170, 0, 0.4); }
.value { color: #ff006f; text-shadow: 0 0 2px rgba(255, 0, 111, 0.4); }

.stats-display {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #00ff88;
    font-weight: 700;
    text-shadow: 0 0 3px rgba(0, 255, 136, 0.3);
}

.stat-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 255, 136, 0.2);
    margin: 0 10px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00bfff);
    border-radius: 2px;
    animation: statPulse 3s ease-in-out infinite;
    position: relative;
}

.stat-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: statShine 2s linear infinite;
}

@keyframes statPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes statShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fortress-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: radial-gradient(ellipse at center,
        rgba(0, 255, 136, 0.1) 0%,
        rgba(0, 191, 255, 0.05) 40%,
        transparent 80%
    );
    border-radius: 25px;
    z-index: -1;
    animation: fortressGlowPulse 6s ease-in-out infinite;
    opacity: 0.8;
}

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

.philosophy-text {
    text-align: left;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.philosophy h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #00ff88;
    margin-bottom: 1rem;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    50% { 
        text-shadow: 0 0 30px rgba(0, 255, 136, 0.8), 0 0 40px rgba(0, 255, 136, 0.3);
    }
}

.philosophy h3 {
    font-size: 1.8rem;
    color: #00bfff;
    margin-bottom: 1.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.philosophy p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e4e4e7;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.commitment-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out forwards;
}

.point:nth-child(1) { animation-delay: 1.1s; }
.point:nth-child(2) { animation-delay: 1.3s; }
.point:nth-child(3) { animation-delay: 1.5s; }

.point:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateX(10px);
}

.point-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.point-text {
    font-family: 'JetBrains Mono', monospace;
    color: #e4e4e7;
    font-weight: 500;
}

/* Project Sections */
.project-section {
    min-height: 100vh;
    height: 100vh;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

.project-section.source-license {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(0, 191, 255, 0.02) 100%);
}

.project-section.ru-b2-sql {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.03) 0%, rgba(0, 191, 255, 0.02) 100%);
}

.project-section.dci {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.03) 0%, rgba(255, 0, 111, 0.02) 100%);
}

.project-section.configman {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.03) 0%, rgba(0, 191, 255, 0.02) 100%);
}

.project-section.actionhash {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.03) 0%, rgba(75, 0, 130, 0.02) 100%);
}

.project-section .section-content {
    max-width: 1400px;
    width: 100%;
    height: calc(100vh - 4rem);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem 0;
}

.project-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.project-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 191, 255, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(0, 191, 255, 0.3),
        inset 0 0 30px rgba(0, 191, 255, 0.1);
    animation: projectShowcaseGlow 4s ease-in-out infinite;
}

.source-license .project-showcase {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(255, 215, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.3),
        inset 0 0 30px rgba(255, 215, 0, 0.1);
}

.ru-b2-sql .project-showcase {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 255, 136, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 
        0 0 30px rgba(0, 255, 136, 0.3),
        inset 0 0 30px rgba(0, 255, 136, 0.1);
}

@keyframes projectShowcaseGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(0, 191, 255, 0.3),
            inset 0 0 30px rgba(0, 191, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(0, 191, 255, 0.5),
            inset 0 0 50px rgba(0, 191, 255, 0.2);
    }
}

.project-icon-large {
    font-size: 6rem;
    margin-bottom: 2rem;
    animation: iconFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
}

.source-license .project-icon-large {
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.ru-b2-sql .project-icon-large {
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

.configman .project-showcase {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(255, 170, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border-color: rgba(255, 170, 0, 0.4);
    box-shadow: 
        0 0 30px rgba(255, 170, 0, 0.3),
        inset 0 0 30px rgba(255, 170, 0, 0.1);
}

.configman .project-icon-large {
    text-shadow: 0 0 20px rgba(255, 170, 0, 0.8);
}

.configman .project-details h2 {
    color: #ffaa00;
    text-shadow: 0 0 20px rgba(255, 170, 0, 0.8);
}

.configman .tech-stack-section h4 {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.configman .features-section h4 {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.configman .feature-item {
    background: rgba(255, 170, 0, 0.05);
    border-color: rgba(255, 170, 0, 0.2);
}

.configman .feature-item:hover {
    background: rgba(255, 170, 0, 0.1);
    border-color: rgba(255, 170, 0, 0.4);
}

.configman .tech {
    background: rgba(255, 170, 0, 0.1);
    color: #ffaa00;
    border-color: rgba(255, 170, 0, 0.3);
    text-shadow: 0 0 3px rgba(255, 170, 0, 0.5);
}

.configman .tech:hover {
    background: rgba(255, 170, 0, 0.2);
    border-color: rgba(255, 170, 0, 0.6);
    box-shadow: 0 3px 10px rgba(255, 170, 0, 0.3);
}

.configman .action-btn.primary {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}

.configman .action-btn.primary:hover {
    box-shadow: 0 5px 30px rgba(255, 170, 0, 0.6);
}

.configman .action-btn.secondary {
    color: #ffaa00;
    border-color: #ffaa00;
}

.configman .action-btn.secondary:hover {
    background: rgba(255, 170, 0, 0.1);
}

.configman .project-code {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.actionhash .project-showcase {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(138, 43, 226, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.3),
        inset 0 0 30px rgba(138, 43, 226, 0.1);
}

.actionhash .project-icon-large {
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.actionhash .project-details h2 {
    color: #8a2be2;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.8);
}

.actionhash .tech-stack-section h4 {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

.actionhash .features-section h4 {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

.actionhash .feature-item {
    background: rgba(138, 43, 226, 0.05);
    border-color: rgba(138, 43, 226, 0.2);
}

.actionhash .feature-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.4);
}

.actionhash .tech {
    background: rgba(138, 43, 226, 0.1);
    color: #8a2be2;
    border-color: rgba(138, 43, 226, 0.3);
    text-shadow: 0 0 3px rgba(138, 43, 226, 0.5);
}

.actionhash .tech:hover {
    background: rgba(138, 43, 226, 0.2);
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 3px 10px rgba(138, 43, 226, 0.3);
}

.actionhash .action-btn.primary {
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.actionhash .action-btn.primary:hover {
    box-shadow: 0 5px 30px rgba(138, 43, 226, 0.6);
}

.actionhash .action-btn.secondary {
    color: #8a2be2;
    border-color: #8a2be2;
}

.actionhash .action-btn.secondary:hover {
    background: rgba(138, 43, 226, 0.1);
}

.actionhash .project-code {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

.status-indicators {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.project-details {
    text-align: left;
}

.project-details h2 {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #00bfff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
}

.source-license .project-details h2 {
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

.ru-b2-sql .project-details h2 {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
}

.project-details h3 {
    font-size: 1.5rem;
    color: #a1a1aa;
    margin-bottom: 2rem;
    font-weight: 300;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e4e4e7;
    margin-bottom: 1.5rem;
}

.tech-stack-section {
    margin-bottom: 1.5rem;
}

.tech-stack-section h4 {
    font-family: 'Orbitron', monospace;
    color: #00bfff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.source-license .tech-stack-section h4 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.ru-b2-sql .tech-stack-section h4 {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.features-section {
    margin-bottom: 1rem;
}

.features-section h4 {
    font-family: 'Orbitron', monospace;
    color: #00bfff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.source-license .features-section h4 {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.ru-b2-sql .features-section h4 {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.source-license .feature-item {
    background: rgba(255, 215, 0, 0.05);
    border-color: rgba(255, 215, 0, 0.2);
}

.ru-b2-sql .feature-item {
    background: rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
}

.feature-item:hover {
    background: rgba(0, 191, 255, 0.1);
    border-color: rgba(0, 191, 255, 0.4);
    transform: translateX(10px);
}

.source-license .feature-item:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

.ru-b2-sql .feature-item:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.4);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text {
    font-family: 'JetBrains Mono', monospace;
    color: #e4e4e7;
    font-weight: 500;
}


.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 0 3px rgba(0, 191, 255, 0.5);
    transition: all 0.3s ease;
}

.source-license .tech {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.5);
}

.ru-b2-sql .tech {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border-color: rgba(0, 255, 136, 0.3);
    text-shadow: 0 0 3px rgba(0, 255, 136, 0.5);
}

.tech:hover {
    background: rgba(0, 191, 255, 0.2);
    border-color: rgba(0, 191, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 191, 255, 0.3);
}

.source-license .tech:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.ru-b2-sql .tech:hover {
    background: rgba(0, 255, 136, 0.2);
    border-color: rgba(0, 255, 136, 0.6);
    box-shadow: 0 3px 10px rgba(0, 255, 136, 0.3);
}

.project-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.action-btn.primary {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}

.source-license .action-btn.primary {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.ru-b2-sql .action-btn.primary {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(0, 191, 255, 0.6);
}

.source-license .action-btn.primary:hover {
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.6);
}

.ru-b2-sql .action-btn.primary:hover {
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.6);
}

.action-btn.secondary {
    background: transparent;
    color: #00bfff;
    border: 2px solid #00bfff;
}

.source-license .action-btn.secondary {
    color: #ffd700;
    border-color: #ffd700;
}

.ru-b2-sql .action-btn.secondary {
    color: #00ff88;
    border-color: #00ff88;
}

.action-btn.secondary:hover {
    background: rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.source-license .action-btn.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
}

.ru-b2-sql .action-btn.secondary:hover {
    background: rgba(0, 255, 136, 0.1);
}

.btn-icon {
    font-size: 14px;
}

.project-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-shadow: 0 0 5px currentColor;
    animation: statusGlow 2s ease-in-out infinite alternate;
}

.project-status.featured {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.project-status.active {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.project-status.published {
    color: #00bfff;
    background: rgba(0, 191, 255, 0.1);
    border: 1px solid rgba(0, 191, 255, 0.3);
}

@keyframes statusGlow {
    0% { box-shadow: 0 0 5px rgba(0, 191, 255, 0.3); }
    100% { box-shadow: 0 0 15px rgba(0, 191, 255, 0.6); }
}

.project-code {
    font-family: 'Orbitron', monospace;
    color: #00bfff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.source-license .project-code {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.ru-b2-sql .project-code {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

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

/* Support Terminal Widget */
.support-terminal-widget {
    grid-column: span 2;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 255, 136, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 0 20px rgba(0, 255, 136, 0.3),
        inset 0 0 20px rgba(0, 255, 136, 0.1);
    animation: supportTerminalGlow 4s ease-in-out infinite;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

@keyframes supportTerminalGlow {
    0%, 100% {
        box-shadow: 
            0 0 30px rgba(0, 255, 136, 0.3),
            inset 0 0 30px rgba(0, 255, 136, 0.1);
    }
    50% {
        box-shadow: 
            0 0 50px rgba(0, 255, 136, 0.5),
            inset 0 0 50px rgba(0, 255, 136, 0.2);
    }
}

.support-terminal-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(0, 255, 136, 0.1) 50%,
        transparent 100%
    );
    animation: supportScanline 5s linear infinite;
}

@keyframes supportScanline {
    0% { left: -100%; }
    100% { left: 100%; }
}

.support-terminal-widget .terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    flex-shrink: 0;
}

.support-terminal-widget .terminal-status {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
    animation: supportStatusPulse 2s ease-in-out infinite;
}

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

.support-terminal-widget .terminal-header span {
    font-family: 'JetBrains Mono', monospace;
    color: #00ff88;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.terminal-indicator {
    display: flex;
    align-items: center;
}

.terminal-indicator .indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.8);
}

.terminal-indicator .indicator-dot.active {
    animation: indicatorPulse 1.5s ease-in-out infinite;
}

.support-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.support-header {
    text-align: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.support-header h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: #00ff88;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    animation: supportTitleGlow 3s ease-in-out infinite;
}

@keyframes supportTitleGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.8);
    }
    50% { 
        text-shadow: 0 0 30px rgba(0, 255, 136, 1), 0 0 40px rgba(0, 255, 136, 0.5);
    }
}

.support-subtitle {
    font-size: 1rem;
    color: #a1a1aa;
    font-weight: 300;
}

.support-message {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    line-height: 1.4;
    flex: 1;
}

.message-line {
    margin: 0.4rem 0;
    opacity: 0;
    animation: messageTypeIn 0.8s ease-out forwards;
}

.message-line:nth-child(1) { animation-delay: 0.2s; }
.message-line:nth-child(2) { animation-delay: 0.6s; }
.message-line:nth-child(3) { animation-delay: 1.0s; }
.message-line:nth-child(4) { animation-delay: 1.4s; }

@keyframes messageTypeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-line .prompt {
    color: #ff006f;
    margin-right: 8px;
    font-weight: 600;
}

.message-line.output {
    margin-left: 1rem;
}

.message-line .success {
    color: #00ff88;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.support-actions {
    flex-shrink: 0;
    text-align: center;
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000000;
    text-decoration: none;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.support-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 5px 25px rgba(0, 255, 136, 0.5),
        0 0 40px rgba(0, 255, 136, 0.3);
    background: linear-gradient(135deg, #00ffaa, #00ff88);
}

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

.support-button:hover::before {
    left: 100%;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.button-icon {
    font-size: 16px;
    animation: buttonIconFloat 2s ease-in-out infinite;
}

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

.button-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(ellipse at center,
        rgba(0, 255, 136, 0.1) 0%,
        transparent 70%
    );
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-button:hover .button-glow {
    opacity: 1;
}

.support-info {
    margin-top: 0.5rem;
}

.info-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #a1a1aa;
    font-style: italic;
}

/* Community Section */
.community {
    background: linear-gradient(135deg, rgba(255, 0, 111, 0.03) 0%, rgba(0, 255, 136, 0.03) 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: auto;
    padding: 4rem 2rem;
}

.community h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    color: #ff006f;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 0, 111, 0.5);
    position: relative;
}

.community h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff006f, transparent);
    animation: titleUnderline 3s ease-in-out infinite;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.community-card {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%,
        rgba(255, 0, 111, 0.05) 20%,
        rgba(0, 0, 0, 0.9) 100%
    );
    border: 2px solid rgba(255, 0, 111, 0.3);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.community-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 0, 111, 0.8);
    box-shadow: 
        0 10px 30px rgba(255, 0, 111, 0.2),
        0 0 40px rgba(255, 0, 111, 0.1);
}

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

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.community-card h3 {
    font-family: 'Orbitron', monospace;
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.community-card p {
    color: #e4e4e7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff006f;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.community-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 0, 111, 0.8);
}

.link-arrow {
    transition: transform 0.3s ease;
}

.community-link:hover .link-arrow {
    transform: translateX(5px);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-overlay.active {
    display: flex;
}

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

.project-modal {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 191, 255, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border: 2px solid rgba(0, 191, 255, 0.4);
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease-out;
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 191, 255, 0.3);
}

.modal-header h3 {
    font-family: 'Orbitron', monospace;
    color: #00bfff;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.modal-close {
    background: transparent;
    border: 2px solid #ff006f;
    color: #ff006f;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

.modal-content {
    padding: 2rem;
    color: #e4e4e7;
    line-height: 1.6;
}

/* Issue Report Popup Styles - Dynamic Color Themes */
.issue-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 2500;
    display: none;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.issue-popup-overlay.active {
    display: flex;
}

/* Default popup styling (Source License - Gold theme) */
.issue-popup {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(255, 215, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.4s ease-out;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Project-specific popup themes */
.issue-popup.source-license {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(255, 215, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.issue-popup.ru-b2-sql {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 255, 136, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.issue-popup.dci {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 191, 255, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
}

.issue-popup.configman {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(255, 170, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border-color: rgba(255, 170, 0, 0.4);
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.3);
}

.issue-popup.actionhash {
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(138, 43, 226, 0.05) 20%,
        rgba(0, 0, 0, 0.98) 100%
    );
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
}

/* Custom Scrollbar for Issue Popup - Default (Source License) */
.issue-popup::-webkit-scrollbar {
    width: 12px;
}

.issue-popup::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: inset 0 0 5px rgba(255, 215, 0, 0.1);
}

.issue-popup::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(255, 215, 0, 0.8) 0%,
        rgba(255, 215, 0, 0.6) 50%,
        rgba(255, 215, 0, 0.8) 100%
    );
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: scrollbarPulse 3s ease-in-out infinite;
}

.issue-popup::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(255, 215, 0, 1) 0%,
        rgba(255, 215, 0, 0.8) 50%,
        rgba(255, 215, 0, 1) 100%
    );
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scaleX(1.1);
}

.issue-popup::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.5);
}

/* Firefox Scrollbar Styling - Default */
.issue-popup {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.8) rgba(0, 0, 0, 0.5);
}

/* Project-specific scrollbar colors */
.issue-popup.ru-b2-sql::-webkit-scrollbar-track {
    border-color: rgba(0, 255, 136, 0.2);
    box-shadow: inset 0 0 5px rgba(0, 255, 136, 0.1);
}

.issue-popup.ru-b2-sql::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(0, 255, 136, 0.8) 0%,
        rgba(0, 255, 136, 0.6) 50%,
        rgba(0, 255, 136, 0.8) 100%
    );
    border-color: rgba(0, 255, 136, 0.4);
    box-shadow: 
        0 0 10px rgba(0, 255, 136, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.issue-popup.ru-b2-sql::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(0, 255, 136, 1) 0%,
        rgba(0, 255, 136, 0.8) 50%,
        rgba(0, 255, 136, 1) 100%
    );
    box-shadow: 
        0 0 15px rgba(0, 255, 136, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.issue-popup.ru-b2-sql {
    scrollbar-color: rgba(0, 255, 136, 0.8) rgba(0, 0, 0, 0.5);
}

.issue-popup.dci::-webkit-scrollbar-track {
    border-color: rgba(0, 191, 255, 0.2);
    box-shadow: inset 0 0 5px rgba(0, 191, 255, 0.1);
}

.issue-popup.dci::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(0, 191, 255, 0.8) 0%,
        rgba(0, 191, 255, 0.6) 50%,
        rgba(0, 191, 255, 0.8) 100%
    );
    border-color: rgba(0, 191, 255, 0.4);
    box-shadow: 
        0 0 10px rgba(0, 191, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.issue-popup.dci::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(0, 191, 255, 1) 0%,
        rgba(0, 191, 255, 0.8) 50%,
        rgba(0, 191, 255, 1) 100%
    );
    box-shadow: 
        0 0 15px rgba(0, 191, 255, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.issue-popup.dci {
    scrollbar-color: rgba(0, 191, 255, 0.8) rgba(0, 0, 0, 0.5);
}

.issue-popup.configman::-webkit-scrollbar-track {
    border-color: rgba(255, 170, 0, 0.2);
    box-shadow: inset 0 0 5px rgba(255, 170, 0, 0.1);
}

.issue-popup.configman::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(255, 170, 0, 0.8) 0%,
        rgba(255, 170, 0, 0.6) 50%,
        rgba(255, 170, 0, 0.8) 100%
    );
    border-color: rgba(255, 170, 0, 0.4);
    box-shadow: 
        0 0 10px rgba(255, 170, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.issue-popup.configman::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(255, 170, 0, 1) 0%,
        rgba(255, 170, 0, 0.8) 50%,
        rgba(255, 170, 0, 1) 100%
    );
    box-shadow: 
        0 0 15px rgba(255, 170, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.issue-popup.configman {
    scrollbar-color: rgba(255, 170, 0, 0.8) rgba(0, 0, 0, 0.5);
}

.issue-popup.actionhash::-webkit-scrollbar-track {
    border-color: rgba(138, 43, 226, 0.2);
    box-shadow: inset 0 0 5px rgba(138, 43, 226, 0.1);
}

.issue-popup.actionhash::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(138, 43, 226, 0.8) 0%,
        rgba(138, 43, 226, 0.6) 50%,
        rgba(138, 43, 226, 0.8) 100%
    );
    border-color: rgba(138, 43, 226, 0.4);
    box-shadow: 
        0 0 10px rgba(138, 43, 226, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.issue-popup.actionhash::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(138, 43, 226, 1) 0%,
        rgba(138, 43, 226, 0.8) 50%,
        rgba(138, 43, 226, 1) 100%
    );
    box-shadow: 
        0 0 15px rgba(138, 43, 226, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.issue-popup.actionhash {
    scrollbar-color: rgba(138, 43, 226, 0.8) rgba(0, 0, 0, 0.5);
}

@keyframes scrollbarPulse {
    0%, 100% { 
        box-shadow: 
            0 0 10px currentColor,
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 20px currentColor,
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Custom Scrollbar for Textarea in Form - Dynamic Colors */
.form-group textarea::-webkit-scrollbar {
    width: 8px;
}

.form-group textarea::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.form-group textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(255, 215, 0, 0.6) 0%,
        rgba(255, 215, 0, 0.4) 50%,
        rgba(255, 215, 0, 0.6) 100%
    );
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.form-group textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(255, 215, 0, 0.8) 0%,
        rgba(255, 215, 0, 0.6) 50%,
        rgba(255, 215, 0, 0.8) 100%
    );
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
}

.form-group textarea {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 215, 0, 0.6) rgba(0, 0, 0, 0.3);
}

/* Textarea scrollbar colors for different projects */
.issue-popup.ru-b2-sql .form-group textarea::-webkit-scrollbar-track {
    border-color: rgba(0, 255, 136, 0.15);
}

.issue-popup.ru-b2-sql .form-group textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(0, 255, 136, 0.6) 0%,
        rgba(0, 255, 136, 0.4) 50%,
        rgba(0, 255, 136, 0.6) 100%
    );
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.issue-popup.ru-b2-sql .form-group textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(0, 255, 136, 0.8) 0%,
        rgba(0, 255, 136, 0.6) 50%,
        rgba(0, 255, 136, 0.8) 100%
    );
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.5);
}

.issue-popup.ru-b2-sql .form-group textarea {
    scrollbar-color: rgba(0, 255, 136, 0.6) rgba(0, 0, 0, 0.3);
}

.issue-popup.dci .form-group textarea::-webkit-scrollbar-track {
    border-color: rgba(0, 191, 255, 0.15);
}

.issue-popup.dci .form-group textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(0, 191, 255, 0.6) 0%,
        rgba(0, 191, 255, 0.4) 50%,
        rgba(0, 191, 255, 0.6) 100%
    );
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.3);
}

.issue-popup.dci .form-group textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(0, 191, 255, 0.8) 0%,
        rgba(0, 191, 255, 0.6) 50%,
        rgba(0, 191, 255, 0.8) 100%
    );
    box-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
}

.issue-popup.dci .form-group textarea {
    scrollbar-color: rgba(0, 191, 255, 0.6) rgba(0, 0, 0, 0.3);
}

.issue-popup.configman .form-group textarea::-webkit-scrollbar-track {
    border-color: rgba(255, 170, 0, 0.15);
}

.issue-popup.configman .form-group textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(255, 170, 0, 0.6) 0%,
        rgba(255, 170, 0, 0.4) 50%,
        rgba(255, 170, 0, 0.6) 100%
    );
    border-color: rgba(255, 170, 0, 0.3);
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.issue-popup.configman .form-group textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(255, 170, 0, 0.8) 0%,
        rgba(255, 170, 0, 0.6) 50%,
        rgba(255, 170, 0, 0.8) 100%
    );
    box-shadow: 0 0 12px rgba(255, 170, 0, 0.5);
}

.issue-popup.configman .form-group textarea {
    scrollbar-color: rgba(255, 170, 0, 0.6) rgba(0, 0, 0, 0.3);
}

.issue-popup.actionhash .form-group textarea::-webkit-scrollbar-track {
    border-color: rgba(138, 43, 226, 0.15);
}

.issue-popup.actionhash .form-group textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(138, 43, 226, 0.6) 0%,
        rgba(138, 43, 226, 0.4) 50%,
        rgba(138, 43, 226, 0.6) 100%
    );
    border-color: rgba(138, 43, 226, 0.3);
    box-shadow: 0 0 8px rgba(138, 43, 226, 0.3);
}

.issue-popup.actionhash .form-group textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(138, 43, 226, 0.8) 0%,
        rgba(138, 43, 226, 0.6) 50%,
        rgba(138, 43, 226, 0.8) 100%
    );
    box-shadow: 0 0 12px rgba(138, 43, 226, 0.5);
}

.issue-popup.actionhash .form-group textarea {
    scrollbar-color: rgba(138, 43, 226, 0.6) rgba(0, 0, 0, 0.3);
}

/* Popup header styling - Dynamic colors */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.popup-header h3 {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    font-size: 1.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.popup-close {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

/* Project-specific header colors */
.issue-popup.ru-b2-sql .popup-header {
    border-bottom-color: rgba(0, 255, 136, 0.3);
}

.issue-popup.ru-b2-sql .popup-header h3 {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.8);
}

.issue-popup.ru-b2-sql .popup-close {
    border-color: #00ff88;
    color: #00ff88;
}

.issue-popup.ru-b2-sql .popup-close:hover {
    background: rgba(0, 255, 136, 0.2);
}

.issue-popup.dci .popup-header {
    border-bottom-color: rgba(0, 191, 255, 0.3);
}

.issue-popup.dci .popup-header h3 {
    color: #00bfff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.issue-popup.dci .popup-close {
    border-color: #00bfff;
    color: #00bfff;
}

.issue-popup.dci .popup-close:hover {
    background: rgba(0, 191, 255, 0.2);
}

.issue-popup.configman .popup-header {
    border-bottom-color: rgba(255, 170, 0, 0.3);
}

.issue-popup.configman .popup-header h3 {
    color: #ffaa00;
    text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

.issue-popup.configman .popup-close {
    border-color: #ffaa00;
    color: #ffaa00;
}

.issue-popup.configman .popup-close:hover {
    background: rgba(255, 170, 0, 0.2);
}

.issue-popup.actionhash .popup-header {
    border-bottom-color: rgba(138, 43, 226, 0.3);
}

.issue-popup.actionhash .popup-header h3 {
    color: #8a2be2;
    text-shadow: 0 0 10px rgba(138, 43, 226, 0.8);
}

.issue-popup.actionhash .popup-close {
    border-color: #8a2be2;
    color: #8a2be2;
}

.issue-popup.actionhash .popup-close:hover {
    background: rgba(138, 43, 226, 0.2);
}

.popup-content {
    padding: 2rem;
    color: #e4e4e7;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project-specific label colors */
.issue-popup.ru-b2-sql .form-group label {
    color: #00ff88;
}

.issue-popup.dci .form-group label {
    color: #00bfff;
}

.issue-popup.configman .form-group label {
    color: #ffaa00;
}

.issue-popup.actionhash .form-group label {
    color: #8a2be2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
    color: #e4e4e7;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    background: rgba(0, 0, 0, 0.7);
}

/* Project-specific input colors */
.issue-popup.ru-b2-sql .form-group input,
.issue-popup.ru-b2-sql .form-group select,
.issue-popup.ru-b2-sql .form-group textarea {
    border-color: rgba(0, 255, 136, 0.3);
}

.issue-popup.ru-b2-sql .form-group input:focus,
.issue-popup.ru-b2-sql .form-group select:focus,
.issue-popup.ru-b2-sql .form-group textarea:focus {
    border-color: rgba(0, 255, 136, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.issue-popup.dci .form-group input,
.issue-popup.dci .form-group select,
.issue-popup.dci .form-group textarea {
    border-color: rgba(0, 191, 255, 0.3);
}

.issue-popup.dci .form-group input:focus,
.issue-popup.dci .form-group select:focus,
.issue-popup.dci .form-group textarea:focus {
    border-color: rgba(0, 191, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.issue-popup.configman .form-group input,
.issue-popup.configman .form-group select,
.issue-popup.configman .form-group textarea {
    border-color: rgba(255, 170, 0, 0.3);
}

.issue-popup.configman .form-group input:focus,
.issue-popup.configman .form-group select:focus,
.issue-popup.configman .form-group textarea:focus {
    border-color: rgba(255, 170, 0, 0.8);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.3);
}

.issue-popup.actionhash .form-group input,
.issue-popup.actionhash .form-group select,
.issue-popup.actionhash .form-group textarea {
    border-color: rgba(138, 43, 226, 0.3);
}

.issue-popup.actionhash .form-group input:focus,
.issue-popup.actionhash .form-group select:focus,
.issue-popup.actionhash .form-group textarea:focus {
    border-color: rgba(138, 43, 226, 0.8);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1a1aa;
    opacity: 0.8;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #0a0a0f;
    color: #e4e4e7;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ccaa00);
    color: #000000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffdd22, #ffd700);
}

/* Project-specific button colors */
.issue-popup.ru-b2-sql .btn-primary {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.issue-popup.ru-b2-sql .btn-primary:hover {
    box-shadow: 0 5px 30px rgba(0, 255, 136, 0.6);
    background: linear-gradient(135deg, #22ffaa, #00ff88);
}

.issue-popup.dci .btn-primary {
    background: linear-gradient(135deg, #00bfff, #0080ff);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
}

.issue-popup.dci .btn-primary:hover {
    box-shadow: 0 5px 30px rgba(0, 191, 255, 0.6);
    background: linear-gradient(135deg, #22ccff, #00bfff);
}

.issue-popup.configman .btn-primary {
    background: linear-gradient(135deg, #ffaa00, #cc8800);
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.4);
}

.issue-popup.configman .btn-primary:hover {
    box-shadow: 0 5px 30px rgba(255, 170, 0, 0.6);
    background: linear-gradient(135deg, #ffbb22, #ffaa00);
}

.issue-popup.actionhash .btn-primary {
    background: linear-gradient(135deg, #8a2be2, #6a1b9a);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.issue-popup.actionhash .btn-primary:hover {
    box-shadow: 0 5px 30px rgba(138, 43, 226, 0.6);
    background: linear-gradient(135deg, #aa44ff, #8a2be2);
}

.btn-secondary {
    background: transparent;
    color: #a1a1aa;
    border: 2px solid #a1a1aa;
}

.btn-secondary:hover {
    background: rgba(161, 161, 170, 0.1);
    color: #e4e4e7;
    transform: translateY(-2px);
}

/* Enhanced Issue Popup - Multi-Step Interface */
.issue-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    width: 60px;
    height: 2px;
    background: rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after,
.progress-step.completed::after {
    background: rgba(255, 215, 0, 0.6);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: #a1a1aa;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.8);
    color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.progress-step.completed .step-number {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.6);
    color: #ffd700;
}

.step-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    color: #ffd700;
}

.progress-step.completed .step-label {
    color: #ffd700;
}

/* Project-specific progress colors */
.issue-popup.ru-b2-sql .progress-step.active .step-number,
.issue-popup.ru-b2-sql .progress-step.completed .step-number {
    border-color: rgba(0, 255, 136, 0.8);
    color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.issue-popup.ru-b2-sql .progress-step.active .step-label,
.issue-popup.ru-b2-sql .progress-step.completed .step-label {
    color: #00ff88;
}

.issue-popup.ru-b2-sql .progress-step.active::after,
.issue-popup.ru-b2-sql .progress-step.completed::after {
    background: rgba(0, 255, 136, 0.6);
}

.issue-popup.dci .progress-step.active .step-number,
.issue-popup.dci .progress-step.completed .step-number {
    border-color: rgba(0, 191, 255, 0.8);
    color: #00bfff;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.3);
}

.issue-popup.dci .progress-step.active .step-label,
.issue-popup.dci .progress-step.completed .step-label {
    color: #00bfff;
}

.issue-popup.dci .progress-step.active::after,
.issue-popup.dci .progress-step.completed::after {
    background: rgba(0, 191, 255, 0.6);
}

.issue-popup.configman .progress-step.active .step-number,
.issue-popup.configman .progress-step.completed .step-number {
    border-color: rgba(255, 170, 0, 0.8);
    color: #ffaa00;
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.3);
}

.issue-popup.configman .progress-step.active .step-label,
.issue-popup.configman .progress-step.completed .step-label {
    color: #ffaa00;
}

.issue-popup.configman .progress-step.active::after,
.issue-popup.configman .progress-step.completed::after {
    background: rgba(255, 170, 0, 0.6);
}

.issue-popup.actionhash .progress-step.active .step-number,
.issue-popup.actionhash .progress-step.completed .step-number {
    border-color: rgba(138, 43, 226, 0.8);
    color: #8a2be2;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.issue-popup.actionhash .progress-step.active .step-label,
.issue-popup.actionhash .progress-step.completed .step-label {
    color: #8a2be2;
}

.issue-popup.actionhash .progress-step.active::after,
.issue-popup.actionhash .progress-step.completed::after {
    background: rgba(138, 43, 226, 0.6);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block !important;
    animation: stepSlideIn 0.4s ease-out;
}

@keyframes stepSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-header h4 {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.step-description {
    color: #a1a1aa;
    font-size: 1rem;
    margin: 0;
}

/* Issue Type Grid */
.issue-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.issue-type-card {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.issue-type-card:hover::before {
    left: 100%;
}

.issue-type-card:hover {
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.issue-type-card.selected {
    border-color: rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.type-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.issue-type-card h5 {
    font-family: 'Orbitron', monospace;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.issue-type-card p {
    color: #e4e4e7;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.type-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.type-features span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #a1a1aa;
}

/* Enhanced Form Groups */
.form-group label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.required {
    color: #ff6b6b;
    margin-left: 0.3rem;
}

.field-help {
    display: block;
    font-size: 0.8rem;
    color: #a1a1aa;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 0.2rem;
    font-style: italic;
}

.char-counter {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #a1a1aa;
    margin-top: 0.3rem;
}

.char-counter.warning {
    color: #ffaa00;
}

.char-counter.danger {
    color: #ff6b6b;
}

.markdown-tip {
    margin-top: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #e4e4e7;
}

.markdown-tip a {
    color: #00bfff;
    text-decoration: none;
}

.markdown-tip a:hover {
    text-decoration: underline;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Issue Preview */
.issue-preview {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
}

.preview-header {
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-title {
    font-family: 'Orbitron', monospace;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.preview-labels {
    display: flex;
    gap: 0.5rem;
}

.preview-label {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.4);
}

.preview-content {
    padding: 1.5rem;
}

.preview-section {
    margin-bottom: 1.5rem;
}

.preview-section:last-child {
    margin-bottom: 0;
}

.preview-section h5 {
    font-family: 'Orbitron', monospace;
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.preview-text {
    color: #e4e4e7;
    line-height: 1.6;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.preview-code {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 4px;
    padding: 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #e4e4e7;
    overflow-x: auto;
}

/* Submission Info */
.submission-info {
    margin: 1.5rem 0;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(0, 191, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h6 {
    font-family: 'Orbitron', monospace;
    color: #00bfff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: #e4e4e7;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Dynamic Field Styles */
.dynamic-field-group {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
}

.dynamic-field-group .form-group:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Multi-Step Interface */
@media (max-width: 768px) {
    .issue-progress {
        flex-direction: column;
        gap: 1rem;
    }
    
    .progress-step {
        margin: 0;
        flex-direction: row;
        gap: 1rem;
    }
    
    .progress-step::after {
        display: none;
    }
    
    .issue-type-grid {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .issue-popup {
        width: 95%;
        max-height: 95vh;
    }
    
    .popup-content {
        padding: 1rem;
    }
    
    .step-header h4 {
        font-size: 1.2rem;
    }
    
    .issue-type-card {
        padding: 1rem;
    }
    
    .type-icon {
        font-size: 2rem;
    }
}

/* Report Issue Button Styles */
.action-btn.report {
    background: linear-gradient(135deg, #ff006f, #cc0055);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 0, 111, 0.4);
}

.source-license .action-btn.report {
    background: linear-gradient(135deg, #ff006f, #cc0055);
    box-shadow: 0 0 20px rgba(255, 0, 111, 0.4);
}

.ru-b2-sql .action-btn.report {
    background: linear-gradient(135deg, #ff006f, #cc0055);
    box-shadow: 0 0 20px rgba(255, 0, 111, 0.4);
}

.configman .action-btn.report {
    background: linear-gradient(135deg, #ff006f, #cc0055);
    box-shadow: 0 0 20px rgba(255, 0, 111, 0.4);
}

.actionhash .action-btn.report {
    background: linear-gradient(135deg, #ff006f, #cc0055);
    box-shadow: 0 0 20px rgba(255, 0, 111, 0.4);
}

.action-btn.report:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 30px rgba(255, 0, 111, 0.6);
    background: linear-gradient(135deg, #ff2288, #ff006f);
}

/* Image Upload Styles */
.image-upload-area {
    border: 2px dashed rgba(255, 0, 111, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.image-upload-area:hover {
    border-color: rgba(255, 0, 111, 0.6);
    background: rgba(255, 0, 111, 0.05);
}

.image-upload-area.dragover {
    border-color: rgba(255, 0, 111, 0.8);
    background: rgba(255, 0, 111, 0.1);
    transform: scale(1.02);
}

.upload-prompt {
    pointer-events: none;
}

.upload-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
}

.upload-prompt p {
    margin: 0.5rem 0;
    color: #e4e4e7;
    font-family: 'JetBrains Mono', monospace;
}

.upload-note {
    font-size: 0.8rem !important;
    color: #a1a1aa !important;
    font-style: italic;
}

.image-preview-container {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.image-preview {
    position: relative;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 0, 111, 0.3);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 111, 0.8);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-preview .remove-image:hover {
    background: rgba(255, 0, 111, 1);
    transform: scale(1.1);
}

.image-preview .image-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.3rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-size-warning {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Responsive adjustments for popup */
@media (max-width: 768px) {
    .issue-popup {
        width: 95%;
        max-height: 95vh;
    }
    
    .popup-content {
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
    
    .image-preview-container {
        justify-content: center;
    }
    
    .image-preview {
        width: 100px;
        height: 100px;
    }
}
