/* --- 🌐 GLOBAL THEME SETTINGS --- */
@import url('https://googleapis.com Gothic&family=VT323&display=swap');

* {
    box-sizing: border-box;
}

body {
    background-color: #2c1654;
    /* Retro checkered tile background pattern */
    background-image: linear-gradient(45deg, #1e0b3d 25%, transparent 25%), 
                      linear-gradient(-45deg, #1e0b3d 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #1e0b3d 75%), 
                      linear-gradient(-45deg, transparent 75%, #1e0b3d 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
    color: #ffffff;
    font-family: "MS PGothic", "Courier New", monospace;
    margin: 0;
    padding: 20px;
    image-rendering: pixelated;
}

/* --- 🖥️ LAYOUT GRID SYSTEM --- */
.desktop-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr; /* Sidebar and main canvas */
    grid-gap: 20px;
}

/* Header style for banner titles */
header {
    grid-column: span 2;
    background: #ff79c6;
    color: #000;
    border: 3px inset #ffffff;
    box-shadow: 4px 4px 0px #000000;
    padding: 10px;
    text-align: center;
    font-family: 'VT323', monospace;
    font-size: 32px;
    text-shadow: 1px 1px 0px #fff;
}

/* --- 🪟 THE RETRO WINDOW BOXES --- */
.window {
    background: #3d226d;
    border-top: 3px solid #ff79c6;
    border-left: 3px solid #ff79c6;
    border-bottom: 3px solid #1a0833;
    border-right: 3px solid #1a0833;
    box-shadow: 5px 5px 0px #000000;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

/* Title bars on top of windows */
.window-title {
    background: linear-gradient(90deg, #ff79c6, #bd93f9);
    color: #000000;
    padding: 4px 8px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
}

.window-buttons {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #3d226d;
    border: 1px solid #fff;
    box-shadow: 1px 1px 0px #000;
    text-align: center;
    line-height: 10px;
    font-size: 9px;
    cursor: pointer;
    color: #fff;
}

.window-body {
    padding: 15px;
    line-height: 1.5;
}

/* --- 📜 SCROLLABLE WIDGET BOXES --- */
.scroll-log {
    height: 180px;
    overflow-y: scroll;
    background: #110524;
    border: 2px inset #ff79c6;
    padding: 10px;
    font-family: monospace;
    font-size: 13px;
    color: #50fa7b; /* Neon green text for logs */
}

/* Custom retro scrollbar */
.scroll-log::-webkit-scrollbar {
    width: 12px;
}
.scroll-log::-webkit-scrollbar-track {
    background: #2c1654; 
}
.scroll-log::-webkit-scrollbar-thumb {
    background: #ff79c6; 
    border: 1px solid #fff;
}

/* --- 🔗 LINKS & TEXT ELEMENTS --- */
a {
    color: #8be9fd;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    color: #ff79c6;
    text-decoration: underline;
    cursor: url('https://cursors-4u.net'), auto;
}

hr {
    border: 0;
    border-top: 2px dashed #ff79c6;
    margin: 15px 0;
}

/* --- 🎯 AD UNITS CONTAINER --- */
.ad-container {
    background: #1a0833;
    border: 2px dotted #bd93f9;
    padding: 10px;
    margin-top: 15px;
    text-align: center;


/* --- 🎛️ TAB VISIBILITY UTILITIES --- */
.tab-content {
    display: none; /* Hide panels by default */
}

.tab-content.active {
    display: block; /* Only show active panel */
}

/* --- 🚀 E-COIN CUSTOM ELEMENTS --- */
.ecoin-banner {
    background: #bd93f9;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    border: 2px dashed #110524;
    box-shadow: 3px 3px 0px #ff79c6;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.spec-box {
    background: #1a0833;
    border-left: 4px solid #ff79c6;
    padding: 12px;
    margin-top: 15px;
    font-family: monospace;
}
.spec-box h4 {
    margin-top: 0;
    color: #8be9fd;
    
    ```css
/* --- 📊 FINANCIAL SECTOR GRIDS --- */
.fin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 15px;
    margin-top: 15px;
}

.fin-card {
    background: #1e0b3d;
    border: 2px solid #bd93f9;
    box-shadow: 3px 3px 0px #000;
}

.fin-card-header {
    background: #bd93f9;
    color: #000;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    font-family: monospace;
}

.fin-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.fin-val {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    font-family: 'Courier New', monospace;
}

/* --- 📰 NEWS MODULE ELEMENTS --- */
.news-item {
    background: #190a33;
    border: 1px dashed #ff79c6;
    padding: 12px;
    margin-bottom: 12px;
}

.news-meta {
    font-size: 11px;
    color: #8be9fd;
    font-weight: bold;
    margin-bottom: 4px;
}

.news-title {
    font-size: 14px;
    font-weight: bold;
    color: #ff79c6;
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-desc {
    font-size: 12px;
    color: #e2d9f3;
    line-height: 1.4;


}