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

body {
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    background: #0d1117;
    color: #c9d1d9;
    min-height: 100vh;
    padding: 20px;
    overflow: hidden;
}

.desktop {
    position: relative;
    width: 100%;
    height: calc(100vh - 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.window {
    position: absolute;
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 300px;
    max-width: 700px;
    width: 100%;
    user-select: none;
    transition: box-shadow 0.2s ease;
}

.window.active {
    z-index: 100;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

.window-header {
    background: #1c2128;
    padding: 12px 16px;
    border-bottom: 1px solid #30363d;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px 8px 0 0;
    cursor: grab;
    transition: border-radius 0.25s ease, border-color 0.25s ease;
}

.window-header:active {
    cursor: grabbing;
}

.window.minimized .window-header {
    border-bottom-color: transparent;
    border-radius: 8px;
}

.header-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f56;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.dot-red:hover {
    transform: scale(1.2);
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.dot-green:hover {
    transform: scale(1.2);
}

.window-title {
    margin-left: auto;
    color: #8b949e;
    font-size: 0.75rem;
}

.back-link {
    margin-left: auto;
    padding: 4px 10px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 4px;
    color: #8b949e;
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.back-link:hover {
    background: #30363d;
    border-color: #58a6ff;
    color: #58a6ff;
}

.window-body {
    padding: 32px 24px;
    user-select: text;
    overflow: hidden;
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.window.minimized .window-body {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.prompt {
    color: #58a6ff;
    margin-bottom: 4px;
}

.path {
    color: #79c0ff;
}

.command {
    color: #7ee787;
}

h1 {
    font-size: 1.75rem;
    color: #58a6ff;
    margin-bottom: 8px;
    font-weight: 500;
}

.subtitle {
    color: #8b949e;
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.mod-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.mod-card:hover {
    border-color: #58a6ff;
}

.mod-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mod-name {
    margin-right: auto;
}

.mod-name {
    color: #7ee787;
    font-size: 1.25rem;
    font-weight: 600;
}

.mod-tag {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    background: #1c2128;
    border: 1px solid #30363d;
}

.tag-qol {
    color: #58a6ff;
}

.tag-addon {
    color: #f778ba;
}

.tag-cheat {
    color: #ffa657;
}

.mod-btn {
    padding: 4px 10px;
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 4px;
    color: #58a6ff;
    font-size: 0.7rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mod-btn:hover {
    background: #30363d;
    border-color: #58a6ff;
}

.mod-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
}

.mod-card:hover .mod-body {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.mod-desc {
    color: #8b949e;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mod-features {
    color: #c9d1d9;
    font-size: 0.8rem;
    line-height: 1.8;
}

.mod-features span {
    color: #8b949e;
}

.section {
    margin-bottom: 24px;
}

.label {
    color: #8b949e;
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.value {
    color: #c9d1d9;
    font-size: 1.125rem;
    padding: 12px 16px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    margin-bottom: 8px;
}

.username {
    color: #7ee787;
    font-weight: 600;
}

.note {
    color: #8b949e;
    font-size: 0.875rem;
    line-height: 1.6;
    padding: 12px;
    background: #0d1117;
    border-left: 3px solid #58a6ff;
    border-radius: 4px;
}

.links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.link-btn,
.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    color: #7ee787;
    font-family: inherit;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.discord-btn {
    margin-top: 24px;
    padding: 12px 16px;
    font-size: 0.95rem;
}

.link-btn:hover,
.discord-btn:hover {
    background: #1c2128;
    border-color: #7ee787;
    box-shadow: 0 0 12px rgba(126, 231, 135, 0.15);
}

.link-btn .prefix,
.discord-btn .prefix {
    color: #58a6ff;
}

.link-btn .arrow,
.discord-btn .arrow {
    color: #8b949e;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    body {
        padding: 0;
        overflow: auto;
    }

    .desktop {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }

    .window {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        max-width: 100%;
    }

    .window-header {
        cursor: default;
    }

    .dot-red {
        pointer-events: none;
    }
}

@media (max-width: 480px) {
    .window-body {
        padding: 24px 16px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .mod-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}