:root {
    --w-bg: #240046;          
    --w-text: #e0aaff;        
    --w-gray: #3c096c;        
    --w-border-light: #9d4edd;
    --w-border-dark: #10002b; 
    --title-gradient: linear-gradient(90deg, #10002b 0%, #5a189a 100%);
}

.middle-window-container {
    width: 100%;
    height: 70vh;
    background-color: var(--w-bg);
    color: var(--w-text);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-sizing: border-box;
}

.w98-header {
    color: white;
    background: var(--title-gradient);
    padding: 4px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--w-border-dark);
    flex-shrink: 0;
}

.header-title {
    font-weight: bold;
    color: white;
    letter-spacing: 1px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.w-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: linear-gradient(135deg, #e0aaff, #7b2cbf);
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.w-controls {
    display: flex;
    gap: 4px;
}

.w-controls button{
    color: white;
    width: 2vh;
    height: 2vh;
    background-color: #9d4edd;
    border-top: 1px solid #e0aaff;
    border-left: 1px solid #e0aaff;
    border-right: 1px solid #240046;
    border-bottom: 1px solid #240046;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1vh;
    line-height: 1;
    font-weight: bold;
    margin-left: 5px;
}

.w-controls button:active {
    border-color: #240046 #e0aaff #e0aaff #240046;
}

.w-controls button:hover {
  background-color: #7b3dff;
  cursor: pointer;
}

.w98-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.w98-content::-webkit-scrollbar { width: 10px; }
.w98-content::-webkit-scrollbar-track { background: #190028; }
.w98-content::-webkit-scrollbar-thumb { 
    background: var(--w-gray); 
    border: 1px solid var(--w-border-light);
}

.w98-content h2 {
    margin-top: 0;
    border-bottom: 2px dashed var(--w-border-light);
    padding-bottom: 10px;
    color: #fff;
    text-shadow: 2px 2px #000;
    font-size: 1.2rem;
}

p {
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}

.highlight-text {
    color: #ff00ff;
}

.window-footer {
    font-size: 10px;
    color: #9d4edd;
    text-align: center;
    margin-top: auto;
    padding-top: 10px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 10px;
}

.retro-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 12px;
    background-color: var(--w-gray);
    color: #fff;
    font-weight: bold;
    
    border-top: 2px solid var(--w-border-light);
    border-left: 2px solid var(--w-border-light);
    border-right: 2px solid var(--w-border-dark);
    border-bottom: 2px solid var(--w-border-dark);
    
    transition: all 0.1s;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    position: relative;
    box-sizing: border-box;
}

.retro-btn:hover {
    background-color: #5a189a;
    color: #e0aaff;
    cursor: pointer;
}

.retro-btn:active {
    border-top: 2px solid var(--w-border-dark);
    border-left: 2px solid var(--w-border-dark);
    border-right: 2px solid var(--w-border-light);
    border-bottom: 2px solid var(--w-border-light);
    transform: translate(1px, 1px);
}

.retro-btn.fb:hover { text-shadow: 0 0 5px #1877F2; }
.retro-btn.zalo:hover { text-shadow: 0 0 5px #ffffff; }
.retro-btn.sub:hover { text-shadow: 0 0 5px #FF6719; }
.retro-btn.blog:hover { text-shadow: 0 0 5px #702711; }

.img-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

#referral {
    position: fixed;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    top: 10px;
    right: 10px;
    background-image: linear-gradient(to left, black, var(--bg-dark));
    opacity: 0.8;
    width: 25vw;
    border-style: solid;
    border-width: 2px;
    border-radius: 2px;
    font-size: 11px;
}

.icon {
    height: 16px;
    width: 16px;
}

a {
    text-decoration: none;
    color: white;
    font-size: 12px;
    font-weight: bold;
    margin-top: 5px;
}

.profile-pic {
    height: 160px;
    margin: 10px;
    margin-left:20px;
}