@charset "UTF-8";

/* --- RESET E GERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #121212;
    /* Fundo dark grid */
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    font-family: 'Press Start 2P', cursive;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #000;
    overflow: hidden; /* Esconde rolagem da página "fora" do celular */
}

/* --- O CORPO DO CELULAR (CSS ART) --- */
.phone-shell {
    width: 360px;
    height: 720px;
    background: linear-gradient(135deg, #e0e0e0 0%, #dcdcdc 50%, #8e8e8e 100%);
    border-radius: 30px;
    padding: 15px;
    box-shadow: 
        inset 2px 2px 5px rgba(255,255,255,0.8),
        inset -2px -2px 5px rgba(0,0,0,0.4),
        10px 10px 30px rgba(0,0,0,0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid #555;
    margin: 20px; /* Espaço pro celular não colar na borda em telas pequenas */
}

/* Detalhes do topo (Câmera/Speaker) */
.phone-top {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.camera {
    width: 12px;
    height: 12px;
    background: #111;
    border-radius: 50%;
    border: 2px solid #999;
    box-shadow: inset 0 0 4px rgba(255,255,255,0.5);
}

.speaker {
    width: 60px;
    height: 6px;
    background: #222;
    border-radius: 10px;
    border: 1px solid #999;
}

/* --- A TELA (ONDE O SITE ACONTECE) --- */
.screen-container {
    flex: 1;
    background: #000;
    border: 4px solid #333;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* Scanlines Effect */
.screen-container::after {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 999;
    pointer-events: none;
}

.screen-content {
    height: 100%;
    overflow-y: auto;
    background: url('https://i.gifer.com/WBVk.gif') repeat, linear-gradient(180deg, #001f3f, #000000);
    color: #fff;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #00ffff #000033;
}

/* Scrollbar Webkit */
.screen-content::-webkit-scrollbar {
    width: 8px;
}
.screen-content::-webkit-scrollbar-track {
    background: #000033; 
}
.screen-content::-webkit-scrollbar-thumb {
    background-color: #00ffff; 
    border-radius: 4px;
}

/* --- ESTILOS VISUAIS PADRÃO (AERO / FLASH) --- */

/* Header Aero */
.mobile-header {
    background: linear-gradient(180deg, #0099ff 0%, #0055aa 50%, #003366 100%);
    border-bottom: 2px solid #00ffff;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-header img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(2px 2px 0px #000);
}

.mobile-header h1 {
    font-size: 12px;
    color: #fff;
    text-shadow: 2px 2px #000;
    margin-top: 5px;
    text-transform: uppercase;
}

/* Navegação e Botões */
nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px 5px;
    background: rgba(0,0,0,0.5);
}

.btn-aero {
    display: block;
    padding: 8px 12px;
    background: linear-gradient(180deg, #b3e0ff 0%, #3399ff 50%, #004080 100%);
    border: 2px solid #fff;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.7);
    transition: transform 0.2s;
}

.btn-aero:active, .btn-aero:hover {
    transform: scale(0.95);
    filter: brightness(1.1);
}

/* Caixas de Conteúdo */
.content-box {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    margin: 10px;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #000;
    text-align: center;
    font-size: 10px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.5);
}

.content-box h2 {
    background-color: #ff9900;
    color: #fff;
    padding: 5px;
    margin: -15px -15px 10px -15px;
    border-bottom: 2px solid #000;
    text-shadow: 1px 1px #000;
    font-size: 12px;
    border-radius: 6px 6px 0 0;
}

/* Rodapé Interno */
.mini-footer {
    font-size: 8px;
    text-align: center;
    color: #ccc;
    padding: 10px;
    opacity: 0.7;
}

/* --- CONTROLES FÍSICOS (EMBAIXO DA TELA) --- */
.phone-controls {
    height: 120px;
    background: linear-gradient(180deg, #dcdcdc 0%, #a0a0a0 100%);
    border-radius: 0 0 25px 25px;
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    padding: 10px 20px;
    align-items: center;
    justify-items: center;
}

.phys-btn {
    width: 100%;
    height: 35px;
    background: linear-gradient(180deg, #eee 0%, #bbb 100%);
    border: 1px solid #777;
    border-radius: 8px;
    box-shadow: 0 3px 0 #555, 0 5px 5px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.phys-btn:active {
    box-shadow: 0 1px 0 #555;
    transform: translateY(2px);
}

.d-pad {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #444 30%, #222 100%);
    border-radius: 12px;
    border: 2px solid #888;
    box-shadow: 0 4px 5px rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.d-pad-inner {
    width: 30px;
    height: 30px;
    background: #111;
    border-radius: 4px;
    box-shadow: inset 0 0 5px #000;
}

/* Animações Úteis */
.wobbly-anim {
    animation: wobbly 2s infinite ease-in-out;
}

@keyframes wobbly {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}