@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');
body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #0a0a0f;
    color: #ffffff;
    position: relative;
    overflow-x: hidden;
}
.bg-formula {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 0, 255, 0.2) 0%, transparent 50%),
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 255, 0.1) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(255, 0, 255, 0.1) 50%, transparent 51%);
    background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    animation: formulaMove 20s linear infinite;
}
@keyframes formulaMove {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    }
}
.tech-card {
    background: rgba(16, 16, 26, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}
.tech-header {
    background: linear-gradient(135deg, #000033, #000066);
    border-bottom: 1px solid rgba(0, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}
.tech-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% {
        left: -100%;
    }
    20% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}
.tech-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.tech-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}
.tech-btn:hover::before {
    width: 300px;
    height: 300px;
}
.tech-btn.active {
    background: linear-gradient(135deg, #0066cc, #00ccff);
    box-shadow: 0 0 15px rgba(0, 204, 255, 0.5);
    transform: translateY(-2px);
}
.tech-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
}
.tech-input:focus {
    border-color: #00ccff;
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}
.tech-result {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.tech-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ccff, transparent);
}
.tech-title {
    font-family: 'Orbitron', sans-serif;
    color: #00ccff;
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}
.glow-text {
    text-shadow: 0 0 10px rgba(0, 204, 255, 0.5);
}
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.5), transparent);
}
.star-rating {
    display: flex;
    align-items: center;
}
.star {
    font-size: 1.5rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.2s;
}
.star.active {
    color: #f59e0b;
}
.word-count-btn {
    transition: all 0.3s ease;
}
.word-count-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}