:root {
    --neon-purple: #b26aff;
    --neon-glow: #ba6affaa;
    --win-bg: rgba(22, 10, 40, 0.55);
    --header-grad: linear-gradient(180deg, #b678ff, #9240ff 40%, #5400c9);
    --btn-grad: linear-gradient(180deg, #6d00ff, #d06bff);
    --highlight: #FFFF33;
    --text-main: #e4f2ff;
}

body {
    margin: 0;
    padding: 0;
    color: var(--text-main);
    font-family: 'W95', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;

    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('../assets/images/background.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

h1 { font-size: 5rem; font-family: 'MS Gothic', monospace; margin: 0; filter: drop-shadow(4px 4px 0px #5400c9); transform: skew(-5deg) rotate(-2deg); }
i { color: var(--highlight); }
a { color: var(--highlight); }
a[href=""], a[href="#"], a:not([href]) {
    color: #ff4a4a !important;
    cursor: not-allowed;
}
ul { margin: 0; padding-left: 20px; }

.content-wrapper {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1100px;
}

.left-col { flex: 2; min-width: 320px; max-width: 600px; }
.right-col { flex: 1; min-width: 280px; max-width: 300px; }

.neon-box {
    border: 2px solid var(--neon-purple);
    background: var(--win-bg);
    backdrop-filter: blur(2px);
    margin-bottom: 22px;
    box-shadow: 0 0 6px var(--neon-glow), 
                inset 0 0 6px #7b00ff44, 
                0 0 14px #b400ff55;
    text-align: left;
}

.win-header {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    background: var(--header-grad);
    border-bottom: 2px solid #d6a4ff;
    color: white;
    text-shadow: 0 0 4px #efc8ff, 0 0 10px #a154ff;
    font-weight: bold;
    position: relative;
    box-sizing: border-box;
}

.win-header .title {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}

.win-header::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    height: 40%; width: 100%;
    background: rgba(255,255,255,0.23);
    pointer-events: none;
}

.win-content {
    padding: 10px;
    line-height: 1.4;
    border-top: 1px solid #d6a4ff33;
}

.win-content p {
    margin: 0;
    padding: 2px 0;
}

.win-buttons { 
    display: flex; 
    gap: 3px; 
    z-index: 10; 
}

.win-btn {
    width: 20px; 
    height: 18px;
    background: #c0c0c0;
    background: var(--btn-grad);

    border-top: 2px solid #ffffffaa;
    border-left: 2px solid #ffffffaa;
    border-right: 2px solid #00000088;
    border-bottom: 2px solid #00000088;
    
    font-family: "Arial", sans-serif;
    font-weight: bold;
    font-size: 11px;
    color: white;
    text-shadow: 1px 1px #000;
    
    display: flex; 
    align-items: center; 
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.win-btn:hover {
    filter: brightness(1.2);
}

.win-btn.close { font-size: 13px; padding-bottom: 1px; }
.win-btn.max { font-size: 14px; padding-bottom: 4px; }
.win-btn.min { padding-bottom: 6px; font-weight: 900; }

.scroll-container {
    max-height: 280px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 5px;
}

.scroll-container::-webkit-scrollbar {
    width: 16px;
    background-color: var(--win-bg);
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--neon-purple);
    border-top: 2px solid #ffffffaa;
    border-left: 2px solid #ffffffaa;
    border-right: 2px solid #00000088;
    border-bottom: 2px solid #00000088;
    box-shadow: inset 1px 1px #ffffff44, inset -1px -1px #00000066;
}

.scroll-container::-webkit-scrollbar-track {
    background-image: linear-gradient(45deg, var(--neon-glow) 25%, transparent 25%), 
                      linear-gradient(-45deg, var(--neon-glow) 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, var(--neon-glow) 75%), 
                      linear-gradient(-45deg, transparent 75%, var(--neon-glow) 75%);
    background-size: 2px 2px;
    background-color: var(--win-bg);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app img {
    width: 100px; height: 100px;
    object-fit: contain;
    border: 1px solid #7b2bff33;
    margin-bottom: 4px;
}

.app:hover { transform: scale(1.08); color: var(--neon-purple); }

.link-list { display: flex; flex-direction: column; gap: 6px;}
.link-list a { color: white; text-decoration: none; font-size: 18px; text-shadow: 0 0 3px #fff, 0 0 10px rgba(255,255,255,0.3);}
.link-list a:hover { color: var(--highlight); text-shadow: 0 0 15px var(--highlight);}

.retro-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.retro-form label {
    font-size: 14px;
    color: var(--text-main);
}

.retro-form input, 
.retro-form textarea {
    background: rgba(0, 0, 0, 0.3);
    border-top: 2px solid #000000;
    border-left: 2px solid #000000;
    border-right: 2px solid #ffffff44;
    border-bottom: 2px solid #ffffff44;
    color: var(--highlight);
    padding: 5px;
    font-family: 'W95', sans-serif;
    outline: none;
}

.retro-form input:focus, 
.retro-form textarea:focus {
    border-color: var(--neon-purple);
    box-shadow: 0 0 5px var(--neon-glow);
}

.retro-form textarea {
    resize: none;
    min-height: 60px;
    overflow: hidden;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.submit-btn {
    width: 80px !important;
    height: 30px !important;
    align-self: flex-end;
    margin-top: 0px;
    font-family: 'W95', sans-serif !important;
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}
.title-container h1 { margin: 0; line-height: 1; font-size: 4rem;}
.title-icon { width: 80px; height: 80px; object-fit: contain;}
.inline-icon { width: 40px; vertical-align: middle; }