body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'IBM Plex Mono', 'Courier New', monospace;
    background-color: #000;
}

.info-panel {
    position: fixed;
    top: 40px;
    left: 40px;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 24px;
    padding: 25px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: 1000;
    transition: all 0.3s ease;
}

.info-panel.minimized {
    max-width: 30px;
    max-height: 30px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
}

.info-panel.minimized .info-content {
    display: none;
}

.info-panel.minimized .close-btn {
    position: relative;
    top: 0;
    right: 0;
    margin: 0;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: rotate(90deg);
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: white;
}

.close-btn::before {
    transform: rotate(45deg);
}

.close-btn::after {
    transform: rotate(-45deg);
}

.info-panel.minimized .close-btn::before {
    transform: rotate(0deg);
    width: 12px;
    top: 14px;
}

.info-panel.minimized .close-btn::after {
    transform: rotate(90deg);
    width: 12px;
    top: 14px;
}

.info-panel h1 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    padding-right: 30px;
}

.info-panel h2 {
    margin: 20px 0 12px 0;
    font-size: 16px;
    font-weight: 600;
}

.info-panel p {
    margin: 0 0 12px 0;
    line-height: 1.5;
    font-size: 13px;
    opacity: 0.9;
}

.commands {
    margin-top: 15px;
}

.command-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.command-key {
    font-weight: 700;
    min-width: 120px;
    color: #fff;
    font-size: 12px;
}

.command-desc {
    flex: 1;
}

.command-action {
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 13px;
}

.command-effect {
    font-size: 11px;
    opacity: 0.8;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .info-panel {
        top: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        padding: 20px;
    }
    
    .info-panel h1 {
        font-size: 20px;
    }
    
    .info-panel h2 {
        font-size: 16px;
    }
    
    .command-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .command-key {
        min-width: auto;
    }
    
    .gallery-panel {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
        padding: 20px;
    }
}

/* Gallery Panel */
.gallery-panel {
    position: fixed;
    top: 40px;
    right: 40px;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-radius: 24px;
    padding: 25px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    z-index: 1000;
    transition: all 0.3s ease;
}

.gallery-panel.minimized {
    max-width: 30px;
    max-height: 30px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
}

.gallery-panel.minimized .gallery-content {
    display: none;
}

.gallery-panel.minimized .close-btn {
    position: relative;
    top: 0;
    right: 0;
    margin: 0;
}

.gallery-panel h1 {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    padding-right: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 15px;
}

.gallery-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0.5;
    text-align: center;
    padding: 10px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-close::before,
.lightbox-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: white;
}

.lightbox-close::before {
    transform: rotate(45deg);
}

.lightbox-close::after {
    transform: rotate(-45deg);
}