 /* VARIABLES */
 :root {
     --bg-color: #0c0c0c;
     --surface-color: rgba(19, 18, 18, 0.9);
     --primary-red: #ff4d4d;
     --accent-green: #00ffcc;
     --accent-blue: #00ccff;
     --text-main: #d1d1d1;
     --text-muted: #666;
     --border-color: #444;
     --border-active: #d1d1d1;
     --font-mono: 'Space Mono', monospace;
     --font-size: 10px;
     --input-color: rgba(230, 230, 230, 0.1);
     --window-color: #353535;
 }

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

 body {
     background-color: var(--bg-color);
     color: var(--text-main);
     font-family: var(--font-mono);
     overflow-x: hidden;
     text-transform: uppercase;
     font-size: 11px;
     letter-spacing: 0.05em;
 }

 .main-wrapper {
     display: flex;
     flex-direction: column;
     padding: 15px;
     gap: 15px;
     height: 100%;
     overflow: hidden;
     height: 100vh;
 }

 .digital-columns {
     display: flex;
     flex-direction: row;
     gap: 15px;
 }

 /* SCANLINES */
 .scanlines {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%);
     background-size: 100% 4px;
     z-index: 100;
     pointer-events: none;
 }

 /* NAVIGATION */
 nav {
     width: 100%;
     padding-left: 10px;
     display: flex;
     white-space: nowrap;
     gap: 10px;
     height: min-content;
 }

 .nav-header {
     font-size: --font-size;
     margin-bottom: 16px;
     opacity: 0.7;
 }

 nav li {
     padding: 10px;
     border: 1px solid transparent;
     cursor: pointer;
     transition: all 0.2s;
     display: flex;
     text-decoration: none;
     color: var(--text-muted);
 }

 nav li:hover {
     border-color: var(--text-main);
     background: rgba(255, 255, 255, 0.05);
     color: var(--text-main);
 }

 nav li.active {
     background: var(--text-main);
     color: black;
 }

 /* WINDOW */

 .window {
     background: var(--surface-color);
     border: 1px solid var(--border-color);
 }

 @media (max-width: 600px) {
     .main-wrapper {
         flex-direction: column;
         overflow-y: auto;
     }

     nav li {
         margin-bottom: 4px;
         height: 100%;
     }

     .window {
         height: 60vh;
         min-height: 400px;
     }

     .nav-header {
         display: none;
     }

     .digital-columns {
         display: flex;
         flex-direction: column;
         gap: 15px;
     }
 }

 .window-header {
     background: var(--window-color);
     padding: 4px 6px;
     border-bottom: 1px solid var(--border-color);
     display: flex;
     justify-content: space-between;
     align-items: center;
     letter-spacing: 1px;
     color: var(--accent-green);
 }

 .header-title {
     display: flex;
     align-items: center;
     gap: 6px;
 }

 .win-controls {
     display: flex;
     gap: 2px;
 }

 .win-btn {
     width: 14px;
     height: 14px;
     border: 1px solid var(--border-color);
     background: var(--bg-color);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: var(--font-size);
     color: #666;
     padding-bottom: 2px;
 }

 .content-inner {
     padding: 12px;
     flex-grow: 1;
     overflow-y: auto;
     overflow-x: hidden;
 }

 /* TERMINAL */
 .terminal-header {
     display: flex;
     gap: 8px;
     margin-bottom: 16px;
 }

 .tag {
     background: white;
     color: black;
     padding: 0 4px;
     font-weight: bold;
 }

 .tag.red {
     background-color: var(--primary-red);
 }

 .tag.green {
     background-color: var(--accent-green);
 }

 .terminal-info {
     font-size: var(--font-size);
     margin-left: auto;
     opacity: 0.5;
 }

 .terminal-content {
     flex-grow: 1;
     overflow-y: auto;
     margin-bottom: 10px;
     scrollbar-width: thin;
 }

 .command-line {
     margin-bottom: 12px;
     font-size: 10px;
     line-height: 1.4;
 }

 .input-area {
     display: flex;
     align-items: center;
     border-top: 1px solid var(--border-color);
     padding-top: 12px;
 }

 .input-prompt {
     margin-right: 8px;
 }

 input[type="text"] {
     background: transparent;
     border: none;
     font-family: inherit;
     font-size: var(--font-size);
     color: var(--accent-green) outline: none;
     flex-grow: 1;
     text-transform: uppercase;
 }

 .cursor {
     display: inline-block;
     width: 6px;
     height: 12px;
     background: var(--accent-green);
     animation: blink 1s infinite;
     margin-left: 2px;
 }

 @keyframes blink {

     0%,
     100% {
         opacity: 1;
     }

     50% {
         opacity: 0;
     }
 }

 /* TEXT COLORS */
 .red-text {
     color: var(--primary-red);
 }

 .green-text {
     color: var(--accent-green);
 }

 .blue-text {
     color: var(--accent-blue);
 }

 .muted-text {
     color: var(--text-muted);
 }

 a,
 u {
     text-decoration: none;
     color: inherit;
 }

 /* ANIMATIONS */
 .glitch-anim {
     animation: glitch 3s infinite;
 }

 @keyframes glitch {

     0%,
     100% {
         transform: translate(0);
     }

     1% {
         transform: translate(-2px, 2px);
     }

     2% {
         transform: translate(2px, -2px);
     }

     3% {
         transform: translate(0);
     }
 }



 /* MISC */
 .muted-box {
     border: 1px dashed var(--border-color);
     height: 100px;
     padding: 10px;
     opacity: 0.3;
     font-size: 9px;
 }

 /* ICONS */
 .material-symbols-outlined {
     font-variation-settings:
         'FILL' 0,
         'wght' 400,
         'GRAD' 0,
         'opsz' 24
 }

 /* CYBER BORDER */
 .cyber-border {
     border: 1px solid var(--border-color);
     position: relative;
     padding: 10px;
 }

 .cyber-border::before {
     content: '';
     position: absolute;
     top: -5px;
     left: -5px;
     width: 15px;
     height: 15px;
     border-top: 2px solid var(--border-active);
     border-left: 2px solid var(--border-active);
 }

 .cyber-border::after {
     content: '';
     position: absolute;
     bottom: -5px;
     right: -5px;
     width: 15px;
     height: 15px;
     border-bottom: 2px solid var(--border-active);
     border-right: 2px solid var(--border-active);
 }

 /* --- LASTFM STYLING --- */
 /* PLAYER V2 */
 .player-v2 {
     display: flex;
     flex-direction: column;
     gap: 15px;
 }

 .art-box {
     width: 100%;
     aspect-ratio: 1;
     background: #111;
     border: 1px solid var(--border-color);
     position: relative;
     overflow: hidden;
 }

 .art-box img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     opacity: 0.8;
 }

 .track-info-v2 {
     text-align: center;
 }

 .track-title {
     color: var(--accent-purple);
     font-weight: bold;
     font-size: 12px;
     margin-bottom: 2px;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .track-artist {
     color: var(--text-muted);
     font-size: 9px;
 }

 .progress-container {
     margin-top: 5px;
 }

 .time-labels {
     display: flex;
     justify-content: space-between;
     font-size: 8px;
     color: var(--text-muted);
     margin-top: 4px;
 }

 .controls-row {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin-top: 10px;
 }

 .control-btn {
     cursor: pointer;
     color: var(--text-muted);
     transition: color 0.2s;
 }

 .control-btn:hover {
     color: var(--accent-purple);
 }