@font-face {
    font-family: "RetroFuturo";
    src: url("retrofont.woff2") format("woff2");
}

body {
    margin: 0;
    height: 100vh;
    background: radial-gradient(circle at center, #101010 0%, #000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "RetroFuturo", monospace;
    color: #fff;
    overflow: hidden;
}

/* --- Tableta (marcos)*/
.marco {
    position: relative;
    width: 860px;
    height: 560px;
    padding: 30px;
    border-radius: 40px;
    background: linear-gradient(145deg, #4c4c4c, #1f1f1f);
    background-image: url("sdf.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    box-shadow:
        0 0 60px rgba(255,255,255,0.15),
        inset 0 4px 12px rgba(255,255,255,0.1),
        inset 0 -4px 10px rgba(0,0,0,0.6);
    overflow: hidden;
}

/* Tornillos */
.tornillo {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, #888 0%, #333 100%);
    border-radius: 50%;
    box-shadow: inset 0 0 3px #000;
}
.t1 { top: 12px; left: 12px; }
.t2 { top: 12px; right: 12px; }
.t3 { bottom: 12px; left: 12px; }
.t4 { bottom: 12px; right: 12px; }

/* --- TABLETA (pantalla interna) --- */
.tableta {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #555, #666);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        inset 0 0 25px rgba(255,255,255,0.4),
        0 0 100px rgba(255,255,255,0.3);
    animation: brilloFuerte 6s infinite ease-in-out;
}

/* Efecto de brillo */
@keyframes brilloFuerte {
    0%, 100% {
        box-shadow: inset 0 0 30px rgba(255,255,255,0.5), 0 0 80px rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: inset 0 0 60px rgba(255,255,255,0.8), 0 0 120px rgba(255,255,255,0.5);
    }
}

/* --- Etiqueta--- */
.etiqueta {
    position: absolute;
    top: -15px;
    left: -25px;
    background: #d00;
    color: #fff;
    transform: rotate(-8deg);
    padding: 10px 40px;
    border-radius: 4px 4px 8px 8px;
    font-family: Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow:
        0 4px 6px rgba(0,0,0,0.5),
        inset 0 -2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
}

.logo {
    width: 35px;
    height: 35px;
}


.menu-superior {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mini-boton {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
    padding: 6px 12px;
    border-radius: 6px;
    transition: 0.2s;
}
.mini-boton:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.mini-boton.activo {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}
/* --- Contenedor interno para proyectos dentro de la tableta --- */
.proyectos {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0,0,0,0.2);
    border-radius: 20px;
    overflow: hidden;
}

/* Título de la sección */
.proyectos h2 {
    color: #0ff;
    font-size: 1.2em;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-align: center;
}

/* Scroll area de proyectos */
.proyectos .scroll-area {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
    overflow-y: auto;
    padding: 10px;
    height: calc(100% - 50px); 
    box-sizing: border-box;
}


.proyecto-btn {
    width: 180px;     
    height: 180px;    
    background: linear-gradient(145deg, #3a3a3a, #555);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, z-index 0.3s ease, background 0.3s;
    box-shadow:
        inset 0 0 8px rgba(0,0,0,0.5),
        0 6px 14px rgba(0,0,0,0.5);
}

/* Imagen dentro del botón */
.proyecto-btn img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    border-bottom: 2px solid #888;
}

/* Nombre del proyecto */
.proyecto-btn span {
    width: 100%;
    height: 25%;
    background: #666;
    color: #fff;
    font-weight: bold;
    font-family: "RetroFuturo", monospace;
    line-height: 45px; 
    display: block;
    text-align: center;
    border-top: 1px solid #444;
}

.proyecto-btn:hover {
    transform: scale(1.05);
    z-index: 10;
    background: linear-gradient(145deg, #4a4a4a, #666);
}


