/* IMPORT FONTS: VT323 (Terminal), Press Start 2P (Retro Pixel), Syncopate (Wide Y2K Techno) */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Syncopate:wght@400;700&family=VT323&display=swap');

:root {
    /* Y2K PS/Techno Palette */
    --ps-blue-deep: #020211;
    --ps-blue-mid: #0033aa;
    --ps-cyan: #00e5ff;
    --silver-light: #e0e0e0;
    --silver-dark: #808080;
    --ui-bg: rgba(10, 15, 40, 0.85); /* Slightly less opaque for better integration */
    --border-3d: 3px outset var(--silver-light);
    --border-inset: 3px inset var(--silver-dark);
}

::selection {
    background-color: var(--ps-cyan);
    color: var(--ps-blue-deep);
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--silver-light) var(--ps-blue-deep);
}

body {
    
    background-image: url('psvibe.png');
    
    
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    
    background-color: var(--ps-blue-deep);
    background-blend-mode: screen;
    
    
    color: var(--silver-light);
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    overflow-x: hidden;
}

body::after {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(0, 50, 255, 0.03) 50%, rgba(0, 0, 0, 0.2) 50%);
    z-index: 999;
    background-size: 100% 4px;
    pointer-events: none;
}

h1 {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 5px;
    letter-spacing: 5px;
    text-transform: uppercase;
    
    text-shadow: 
        0 0 5px #fff,
        0 0 15px var(--ps-cyan);
    
    transform: scaleX(1.1);
}

.subtitle {
    text-align: center;
    color: var(--silver-light);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.marquee-container {
    background: var(--ps-blue-mid);
    color: #fff;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    padding: 5px 0;
    margin-bottom: 25px;
    border-top: 2px solid var(--ps-cyan);
    border-bottom: 2px solid var(--ps-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.menu-container {
    background: var(--ui-bg);
    padding: 30px 20px 20px 20px;
    border: var(--border-3d);
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.menu-container::before {
    content: "MEMCARD_1 // 8MB";
    position: absolute;
    top: 5px;
    left: 10px;
    color: var(--ps-cyan);
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
}

.menu-container::after {
    content: "|| ||| | ||| | | ||";
    position: absolute;
    bottom: 5px;
    right: 15px;
    color: var(--silver-light);
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    letter-spacing: -2px;
    opacity: 0.7;
}

ul { 
    list-style-type: none; 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 12px;
}

li { margin: 0; }

button { 
    background: var(--silver-light);
    color: #000; 
    padding: 8px 16px; 
    border: var(--border-3d);
    cursor: pointer;
    font-family: 'Syncopate', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: all 0.1s ease; /* Fast transition for tech feel */
}

button:hover { 
    background: var(--ps-cyan);
    color: #000;
}

button:active {
    border: var(--border-inset);
    background: var(--ps-blue-mid);
    color: #fff;
    transform: translateY(1px);
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 70vh;
    background: #000;
    border: var(--border-3d);
    padding-top: 25px; 
    z-index: 10;
}

.iframe-container::before {
    content: "► MEDIA_PLAYER_v2.0";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 25px;
    background: linear-gradient(90deg, var(--ps-blue-deep), var(--ps-blue-mid));
    color: #fff;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    line-height: 25px;
    padding-left: 10px;
    border-bottom: 2px solid var(--silver-dark);
}

.iframe-container::after {
    content: "[-][O][X]";
    position: absolute;
    top: 0;
    right: 5px;
    color: var(--silver-light);
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    line-height: 25px;
    cursor: default;
}

iframe {
    width: 100%;
    height: 100%;
    border: var(--border-inset);
    display: block;
    background: #fff;
}

.placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--ps-cyan);
    font-family: 'Syncopate', sans-serif;
    font-size: 1.2rem;
    text-align: center;
    pointer-events: none;
    text-shadow: 0 0 5px var(--ps-cyan);
}

@media (max-width: 600px) {
    h1 { font-size: 1.5rem; letter-spacing: 2px; }
    button { width: 100%; }
    .iframe-container { height: 50vh; }
    .menu-container::after { display: none; } 
}