/* ============================================================
   御蝗先锋 - 绿色科技风格共享主题
   ============================================================ */

/* Base */
body {
    background-color: #05140a;
    background-image:
        linear-gradient(rgba(0, 230, 118, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 230, 118, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #e8f5e9;
}

/* Navigation */
.site-nav {
    background: rgba(5, 20, 10, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 230, 118, 0.15);
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.06);
}
.site-nav a {
    color: #a5d6a7;
    transition: all 0.3s ease;
}
.site-nav a:hover {
    color: #00e676;
    background: rgba(0, 230, 118, 0.08);
}
.site-nav a.active {
    color: #00e676;
}

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    transition: max-height 0.3s ease-out;
    overflow: hidden;
}
.mobile-menu.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
}
.hamburger {
    transition: all 0.3s ease;
}
.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 230, 118, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.4), transparent);
}
.glass-card:hover {
    border-color: rgba(0, 230, 118, 0.35);
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.1);
    transform: translateY(-4px);
}

/* Panel */
.tech-panel {
    background: rgba(10, 35, 22, 0.85);
    border: 1px solid rgba(0, 230, 118, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}
.tech-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 230, 118, 0.4), transparent);
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00e676, transparent);
    border-radius: 2px;
}

/* Glow Button */
.glow-btn {
    position: relative;
    background: linear-gradient(135deg, #00e676, #00c853);
    overflow: hidden;
    transition: all 0.3s ease;
}
.glow-btn:hover {
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.4);
    transform: translateY(-2px);
}

/* Form Inputs */
.tech-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: #e8f5e9;
    transition: all 0.3s ease;
}
.tech-input:focus {
    outline: none;
    border-color: #00e676;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}
.tech-input::placeholder {
    color: #4a7c59;
}

/* Badge */
.tech-badge {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.15), rgba(0, 200, 83, 0.1));
    border: 1px solid rgba(0, 230, 118, 0.25);
    color: #00e676;
}

/* Tag */
.tech-tag {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: #00e676;
}

/* Status Colors */
.text-tech-green { color: #00e676; }
.text-tech-cyan { color: #00bcd4; }
.text-tech-yellow { color: #ffd600; }
.text-tech-red { color: #ff5252; }
.bg-tech-green { background: rgba(0, 230, 118, 0.15); }
.bg-tech-cyan { background: rgba(0, 188, 212, 0.15); }
.bg-tech-yellow { background: rgba(255, 214, 0, 0.15); }
.bg-tech-red { background: rgba(255, 82, 82, 0.15); }

/* Footer */
.site-footer {
    background: rgba(5, 20, 10, 0.9);
    border-top: 1px solid rgba(0, 230, 118, 0.1);
    backdrop-filter: blur(8px);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #05140a;
}
::-webkit-scrollbar-thumb {
    background: #1b5e20;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00e676;
}
