* {
    user-select: none;
    -webkit-user-select: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
    overscroll-behavior: none;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #000000 100%);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    background: linear-gradient(45deg, #000000, #3d0202, #000000);
    border-radius: 25px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.2);
}

::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #0a0a0a, #1a0000);
    border-radius: 0px;
    border-left: 1px solid #ff0000;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff0000, #cc0000, #ff0000);
    border-radius: 8px;
    border: 2px solid #000000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff3333, #ff0000, #ff3333);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(45deg, #ff6666, #ff0000, #ff6666);
    box-shadow: 0 0 25px rgba(255, 0, 0, 1);
}

::-webkit-scrollbar-corner {
    background: #0a0a0a;
    border-top: 1px solid #ff0000;
    border-left: 1px solid #ff0000;
}

::-webkit-scrollbar-track:hover {
    box-shadow: inset 0 0 30px rgba(255, 0, 0, 0.2);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #ff0000 #0a0a0a;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); }
    50% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.9); }
    100% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.7); }
}

::-webkit-scrollbar-thumb:hover {
    animation: pulse-red 1.5s infinite;
}

.header h1 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    margin-left: 15px;
    background: linear-gradient(45deg, #ff0000, #cc0000, #ff0000);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease infinite;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.header p {
    color: #cccccc;
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.video-demo-section {
    margin-top: 30px;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: linear-gradient(145deg, rgba(40, 0, 0, 0.8), rgba(20, 0, 0, 0.8));
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.video-title {
    color: #ff0000;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.demo-video {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.2);
    background: #000;
}

.demo-video:focus {
    outline: none;
    border-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
}

.video-filename {
    color: #888;
    font-size: 0.8rem;
    margin-top: 10px;
    font-style: italic;
}

.demo-video source {
    display: none;
}

.category-video-container {
    margin: 50px auto 0 auto;
    padding: 30px 20px;
    border-top: 2px solid #444;
    text-align: center;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-video-container .video-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    color: #ff0000;
    font-weight: bold;
    text-align: center;
}

.category-video-container .demo-video {
    width: 95%;
    max-width: 900px;
    height: 500px;
    border-radius: 15px;
    border: 2px solid rgba(255, 0, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
    background: #000;
    margin: 0 auto;
    display: block;
}

.tips-section {
    margin: -10px 0 30px 0;  
    width: auto;
    display: inline-block;
    left: 60px;
    position: relative;
}

.tips-toggle {
    background: linear-gradient(135deg, #8B0000 0%, #cc0000 50%, #8B0000 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    border: 2px solid rgba(255, 0, 0, 0.5);
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 100;
    position: relative;
    width: 150px; 
    min-width: 150px;  
}

.tips-toggle:hover {
    background: linear-gradient(135deg, #cc0000 0%, #ff0000 50%, #cc0000 100%);
    border-color: rgba(255, 0, 0, 0.7);
    transform: translateY(-2px);
}

.tips-content {
    background: linear-gradient(135deg, rgba(60, 0, 0, 0.95), rgba(40, 0, 0, 0.95));
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px 25px;
    backdrop-filter: blur(15px);
    position: absolute;  
    top: 50%;
    left: calc(100% + 20px);
    transform: translateY(-50%);
    width: 530px;  
    min-height: 100px;
    z-index: 1000; 
    display: flex;
    flex-direction: column; 
    gap: 10px;  
}

.tips-content.hidden {
    display: none;
}

.tips-text {
    color: #e8e8e8;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: left;
    font-weight: 500;
    margin: 0;
    width: 100%;
}

.tips-text strong {
    color: #ff0000;
    font-size: 1rem;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    text-align: center;
}

.tips-text br {
    display: none; 
}

.tips-text .syntax-required,
.tips-text .syntax-optional,
.tips-text .syntax-mention {
    display: inline-block;
    margin: 0 3px;
    vertical-align: middle;
}

.tips-text > * {
    display: inline;
    margin-right: 8px;
}

.tips-text > br {
    display: none;
}

.tips-text::after {
    content: "";
    display: table;
    clear: both;
}

.syntax-required {
    color: #ff6b6b;
    font-weight: bold;
    background: rgba(255, 107, 107, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 107, 107, 0.3);
    font-size: 0.85rem;
}

.syntax-optional {
    color: #ffd93d;
    font-weight: bold;
    background: rgba(255, 217, 61, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 217, 61, 0.3);
    font-size: 0.85rem;
}

.syntax-mention {
    color: #4ecdc4;
    font-weight: bold;
    background: rgba(78, 205, 196, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(78, 205, 196, 0.3);
    font-size: 0.85rem;
}

.search-section {
    background: linear-gradient(135deg, rgba(80, 0, 0, 0.8), rgba(40, 0, 0, 0.8));
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    margin: 0 auto 40px auto;
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-title {
    color: #ff0000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    margin-right: 30px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.3);
}

.search-icon {
    font-size: 3rem;
    line-height: 1;
    display: inline-block;
    transform: rotateY(180deg) translateY(5px);
    margin-right: 10px;
}

.content-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.command-box {
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 25px;
    background: rgba(20, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 25px 80px rgba(255, 0, 0, 0.15);
    transition: all 0.4s ease;
    width: 100%;
    max-width: 1200px;
}

.command-box:hover {
    box-shadow: 0 30px 100px rgba(255, 0, 0, 0.25);
    border-color: rgba(255, 0, 0, 0.6);
    transform: translateY(-5px);
}

.view-title {
    color: #ff0000;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.commands-category-title {
    color: #e40d0d;
    font-size: 4.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 70px !important;
    margin-top: -100px !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.command-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    justify-items: center;
}

.command-item {
    background: linear-gradient(145deg, rgba(80, 0, 0, 0.7), rgba(40, 0, 0, 0.7));
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 140px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.command-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.command-item:hover::before {
    left: 100%;
}

.command-item:hover {
    background: linear-gradient(145deg, rgba(120, 0, 0, 0.8), rgba(60, 0, 0, 0.8));
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(255, 0, 0, 0.7);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.3);
}

.command-name {
    color: #ff0000;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 15px;
    margin-right: 10px;
    text-align: center;
}

.command-desc {
    color: #e8e8e8;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: center;
}

.back-button {
    background: linear-gradient(45deg, #3d0202, #8B0000, #3d0202);
    color: #ffffff;
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button:hover {
    background: linear-gradient(45deg, #880404, #8B0000, #880404);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 0px 40px rgb(105, 1, 1);
}

.hidden {
    display: none !important;
}

.footer {
    margin-top: 60px;
    text-align: center;
    color: #888888;
    font-size: 1.1rem;
    padding: 30px;
    border-top: 2px solid rgba(255, 0, 0, 0.3);
    width: 100%;
    max-width: 1200px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.search-container {
    margin-bottom: 0px;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.search-input {
    width: 100%;
    padding: 18px 25px;
    border-radius: 15px;
    border: 2px solid rgba(255, 0, 0, 0.4);
    background: rgba(20, 0, 0, 0.8);
    color: white;
    font-size: 1.1rem;
    margin-right: 22px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.search-input:focus {
    outline: none;
    border-color: rgba(255, 0, 0, 0.8);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
    background: rgba(30, 0, 0, 0.9);
}

.search-input::placeholder {
    color: #aaaaaa;
    text-align: center;
}

.search-results {
    margin-top: 20px;
    width: 100%;
    max-width: 800px;
}

.result-item {
    background: linear-gradient(145deg, rgba(80, 0, 0, 0.7), rgba(40, 0, 0, 0.7));
    border: 2px solid rgba(255, 0, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: linear-gradient(145deg, rgba(120, 0, 0, 0.8), rgba(60, 0, 0, 0.8));
    transform: translateX(10px);
    border-color: rgba(255, 0, 0, 0.7);
}

.result-category {
    color: #ff4040;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-command {
    color: #ff0000;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.result-description {
    color: #e8e8e8;
    font-size: 1rem;
}

.subcommands-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    justify-items: center;
    margin-top: 30px;
}

.subcommand-item {
    background: linear-gradient(145deg, rgba(60, 0, 0, 0.7), rgba(30, 0, 0, 0.7));
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 380px;
    text-align: center;
}

.subcommand-name {
    color: #ff4444;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.subcommand-desc {
    color: #e8e8e8;
    font-size: 1rem;
    line-height: 1.5;
}

.command-detail {
    background: linear-gradient(145deg, rgba(70, 0, 0, 0.8), rgba(35, 0, 0, 0.8));
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 20px;
    padding: 25px;
    margin-top: 20px;
    text-align: center;
}

.detail-title {
    color: #ff0000;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.detail-description {
    color: #e8e8e8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.usage-code {
    color: #ff6666;
    font-family: monospace;
    font-size: 1rem;
}

.usage-desc {
    color: #cccccc;
    font-size: 0.9rem;
    margin-top: 5px;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(40px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.command-box, .search-section {
    animation: fadeIn 0.8s ease-out;
}

.category-badge {
    background: linear-gradient(45deg, #ff0000, #cc0000);
    color: white;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
 
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }
    
    .header {
        padding: 25px 15px;
        margin-bottom: 30px;
        border-radius: 20px;
    }
    
    .header h1 {
        font-size: 2.5rem;
        margin-left: 0;
        letter-spacing: 2px;
    }
    
    .header p {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
    
    .video-demo-section {
        padding: 15px;
        margin-top: 20px;
        border-radius: 12px;
    }
    
    .video-title {
        font-size: 1.2rem;
    }
    
    .demo-video {
        width: 100%;
        max-width: 100%;
    }
    
    .category-video-container {
        margin: 30px auto 0 auto;
        padding: 20px 15px;
    }
    
    .category-video-container .video-title {
        font-size: 1.4em;
        margin-bottom: 20px;
    }
    
    .category-video-container .demo-video {
        width: 100%;
        height: 300px;
        max-width: 100%;
    }
    
    .tips-section {
        margin: 0 0 25px 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .tips-toggle {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .tips-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        margin-top: 15px;
        padding: 15px;
    }
    
    .tips-text br {
        display: block;
        margin-bottom: 8px;
    }
    
    .tips-text > * {
        display: block;
    }
    
    .search-section {
        padding: 25px 20px;
        border-radius: 15px;
        margin-bottom: 30px;
    }
    
    .search-title {
        font-size: 1.4rem;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .search-container {
        max-width: 100%;
    }
    
    .search-input {
        padding: 15px 20px;
        font-size: 1rem;
        margin-right: 0;
    }
    
    .command-box {
        padding: 30px 20px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    
    .view-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    
    .commands-category-title {
        font-size: 2.5rem !important;
        margin-bottom: 40px !important;
        margin-top: 0 !important;
    }
    
    .command-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .command-item {
        max-width: 100%;
        padding: 25px;
        min-height: 120px;
    }
    
    .command-name {
        font-size: 1.2rem;
    }
    
    .command-desc {
        font-size: 1rem;
    }
    
    .back-button {
        padding: 15px 25px;
        font-size: 1.1rem;
        margin-bottom: 30px;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .footer {
        margin-top: 40px;
        padding: 20px;
        border-radius: 15px;
        font-size: 1rem;
    }
    
    .search-results {
        max-width: 100%;
    }
    
    .result-item {
        padding: 15px;
    }
    
    .subcommands-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .subcommand-item {
        max-width: 100%;
        padding: 15px;
    }
    
    .command-detail {
        padding: 20px;
        border-radius: 15px;
    }
    
    .detail-title {
        font-size: 1.2rem;
    }
    
    .detail-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
        padding: 10px 15px;
    }
    
    .view-title {
        font-size: 1.8rem;
    }
    
    .commands-category-title {
        font-size: 2rem !important;
    }
    
    .command-item {
        padding: 20px 15px;
    }
    
    .category-video-container .demo-video {
        height: 200px;
    }
    
    .tips-content {
        max-width: 320px;
        padding: 12px;
    }
    
    .tips-text {
        font-size: 0.85rem;
    }
    
    .tips-text strong {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .tips-content {
        width: 450px;
        padding: 15px 20px;
    }
}
 
@media (hover: hover) {
    .command-item:hover {
        background: linear-gradient(145deg, rgba(120, 0, 0, 0.8), rgba(60, 0, 0, 0.8));
        transform: translateY(-10px) scale(1.03);
        border-color: rgba(255, 0, 0, 0.7);
        box-shadow: 0 20px 50px rgba(255, 0, 0, 0.3);
    }
    
    .command-item:hover::before {
        left: 100%;
    }
    
    .tips-toggle:hover {
        background: linear-gradient(135deg, #cc0000 0%, #ff0000 50%, #cc0000 100%);
        border-color: rgba(255, 0, 0, 0.7);
        transform: translateY(-2px);
    }
    
    .back-button:hover {
        background: linear-gradient(45deg, #880404, #8B0000, #880404);
        transform: translateY(-5px) scale(1.08);
        box-shadow: 0 0px 40px rgb(105, 1, 1);
    }
    
    .result-item:hover {
        background: linear-gradient(145deg, rgba(120, 0, 0, 0.8), rgba(60, 0, 0, 0.8));
        transform: translateX(10px);
        border-color: rgba(255, 0, 0, 0.7);
    }
    
    .command-box:hover {
        box-shadow: 0 30px 100px rgba(255, 0, 0, 0.25);
        border-color: rgba(255, 0, 0, 0.6);
        transform: translateY(-5px);
    }
}