* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'VT323', monospace;
    overflow: hidden;
    height: 100vh;
    background: #000;
}

.desktop {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Scroll Lock Background */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('backscreen.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: brightness(0.9) contrast(1.1);
}

/* Desktop Icons */
.desktop-icons {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    min-width: 80px;
}

.icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.icon-image {
    font-size: 48px;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.icon-text {
    font-size: 14px;
    color: #000;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    line-height: 1.2;
}

/* Contract Address Window */
.contract-window {
    position: absolute;
    right: 50px;
    top: 100px;
    z-index: 10;
    width: 300px;
    background: #ECE9D8;
    border: 2px solid #0A246A;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.window-title {
    background: linear-gradient(90deg, #0A246A 0%, #1E3A8A 100%);
    color: white;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
    cursor: move;
}

.window-content {
    padding: 20px;
}

.window-content input {
    width: 100%;
    padding: 12px;
    border: 2px solid #0A246A;
    border-radius: 4px;
    font-family: 'VT323', monospace;
    font-size: 14px;
    background: white;
    margin-bottom: 15px;
}

.copy-btn {
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
}

.copy-btn:hover {
    background: linear-gradient(90deg, #357ABD 0%, #2E6DA4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Scroll Lock Character */
.scroll-lock-character {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.keyboard-key {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #F0F0F0 0%, #D0D0D0 100%);
    border: 3px solid #808080;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.keyboard-key:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.key-text {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.scroll-lock-eyes {
    font-size: 32px;
    animation: blink 3s infinite;
}

.scroll-lock-paper {
    font-size: 24px;
    animation: float 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

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

/* Taskbar */
.taskbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(90deg, #0A246A 0%, #1E3A8A 100%);
    border-top: 2px solid #4A90E2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.taskbar-left, .taskbar-center, .taskbar-right {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.taskbar-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-icon {
    font-size: 20px;
}

.taskbar-center {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-icons {
        left: 10px;
        top: 10px;
        gap: 15px;
    }
    
    .icon {
        min-width: 60px;
    }
    
    .icon-image {
        font-size: 36px;
    }
    
    .icon-text {
        font-size: 12px;
    }
    
    .contract-window {
        right: 20px;
        top: 80px;
        width: 250px;
    }
    
    .keyboard-key {
        width: 100px;
        height: 70px;
    }
    
    .key-text {
        font-size: 10px;
    }
}

/* Additional Windows */
.info-window {
    position: absolute;
    right: 50px;
    top: 250px;
    z-index: 10;
    width: 280px;
    background: #ECE9D8;
    border: 2px solid #0A246A;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

/* Main PFP Window */
.pfp-main-window {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 500px;
    background: #ECE9D8;
    border: 2px solid #0A246A;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
}

.pfp-main-window.active {
    display: block;
}

/* Category Windows */
.category-window {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    width: 400px;
    background: #ECE9D8;
    border: 2px solid #0A246A;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
}

.category-window.active {
    display: block;
}

.info-item {
    margin-bottom: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    border-left: 3px solid #0A246A;
}

.status-active {
    color: #28A745;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.buy-btn {
    background: linear-gradient(90deg, #28A745 0%, #20C997 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.buy-btn:hover {
    background: linear-gradient(90deg, #20C997 0%, #17A2B8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* PFP Generator Styles */
.pfp-preview {
    text-align: center;
    margin-bottom: 20px;
}

.pfp-canvas {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border: 3px solid #0A246A;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

#baseImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pfp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Select Part Section */
.select-part-section {
    margin-bottom: 20px;
}

.select-part-section h4 {
    color: #0A246A;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #0A246A;
    font-weight: bold;
}

.part-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    padding: 0 10px;
}

.part-btn {
    background: linear-gradient(90deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    padding: 12px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.part-btn:hover {
    background: linear-gradient(90deg, #357ABD 0%, #2E6DA4 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #0A246A;
}

.part-btn.active {
    background: linear-gradient(90deg, #28A745 0%, #20C997 100%);
    border-color: #20C997;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Category Window Styles */
.clear-btn {
    background: linear-gradient(90deg, #DC3545 0%, #C82333 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    width: 100%;
}

.clear-btn:hover {
    background: linear-gradient(90deg, #C82333 0%, #BD2130 100%);
    transform: translateY(-1px);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.grid-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: bold;
    color: #333;
    font-size: 12px;
    min-height: 80px;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.grid-item::before {
    content: '';
    width: 50px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: var(--preview-image);
}

.grid-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #4A90E2;
    transform: scale(1.05);
}

.grid-item.active {
    background: #28A745;
    color: white;
    border-color: #20C997;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Scrollbar für Layer-Optionen */
.layer-options::-webkit-scrollbar {
    width: 6px;
}

.layer-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.layer-options::-webkit-scrollbar-thumb {
    background: #0A246A;
    border-radius: 3px;
}

.layer-options::-webkit-scrollbar-thumb:hover {
    background: #1E3A8A;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.reset-btn {
    background: linear-gradient(90deg, #6C757D 0%, #495057 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
}

.reset-btn:hover {
    background: linear-gradient(90deg, #495057 0%, #343A40 100%);
    transform: translateY(-2px);
}

.download-btn {
    background: linear-gradient(90deg, #28A745 0%, #20C997 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 2;
}

.download-btn:hover {
    background: linear-gradient(90deg, #20C997 0%, #17A2B8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.x-post-btn {
    background: linear-gradient(90deg, #1DA1F2 0%, #0D8BD9 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'VT323', monospace;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex: 1;
}

.x-post-btn:hover {
    background: linear-gradient(90deg, #0D8BD9 0%, #0A6BC7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #F0F0F0;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: #0A246A;
    border-radius: 6px;
    border: 2px solid #F0F0F0;
}

::-webkit-scrollbar-thumb:hover {
    background: #1E3A8A;
}

/* Chart Window */
.chart-window {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 80vh;
    max-width: 1200px;
    max-height: 800px;
    z-index: 9999;
    display: none;
    background: #ECE9D8;
    border: 2px solid #0A246A;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.chart-window .window-content {
    width: 100%;
    height: calc(100% - 40px); /* Minus title bar height */
    padding: 10px;
    box-sizing: border-box;
}

#dexscreener-embed {
    width: 100% !important;
    height: 100% !important;
    padding-bottom: 0 !important;
}

#dexscreener-embed iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.chart-window.active {
    display: block;
}

/* Desktop Icons - Two Columns */
.desktop-icons {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 20px;
    top: 20px;
}

.icon-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 80px;
}

.icon-image {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 8px;
}

.icon-text {
    font-size: 12px;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: bold;
}

/* Scroll Lock Key Animations */
@keyframes shake {
    0%, 100% { transform: translateX(-50%) translateX(0); }
    25% { transform: translateX(-50%) translateX(-5px); }
    75% { transform: translateX(-50%) translateX(5px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-20px); }
}

@keyframes matrix-fall {
    0% { transform: translateY(-20px); opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Chart Window Styling */
.chart-window {
    position: absolute;
    right: 20px;
    top: 120px;
    width: 400px;
    z-index: 5;
}

.chart-window .window-content {
    padding: 10px;
    height: 300px;
    overflow: hidden;
}

#dexscreener-embed {
    border-radius: 4px;
    overflow: hidden;
}
