/* Estética Fotolog / Metroflog EXTREMA FLUOR & BIZARRA */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ff00ff;
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 11px;
    margin: 0;
    padding: 0;
}

#wrapper {
    width: 980px;
    margin: 0 auto;
    background-color: #000000;
    min-height: 100vh;
}

/* Header superior */
#header-top {
    background-color: #000000;
    border-bottom: 2px dashed #00ff00;
    padding: 6px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-box {
    background-color: #ff00ff;
    color: #000000;
    font-weight: bold;
    font-size: 16px;
    padding: 1px 6px;
    border: 1px solid #00ffff;
    font-family: Impact, sans-serif;
}

.logo-text {
    font-family: Impact, sans-serif;
    font-size: 18px;
    color: #00ffff;
    letter-spacing: 1px;
    text-shadow: 2px 2px #ff00ff;
}

.top-nav-links a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
}
.top-nav-links a:hover {
    color: #ffff00;
    background: #ff00ff;
}

/* Contenedor principal de 3 columnas (Plano y ácido) */
#main-container {
    display: flex;
    background-color: #000000;
    padding-top: 10px;
}

.column {
    padding: 5px 10px;
}

#left-column {
    width: 210px;
}

#center-column {
    width: 530px;
}

#right-column {
    width: 240px;
}

/* Cajas y secciones sin bordes pesados, puro color neón */
.box {
    background-color: transparent;
    margin-bottom: 18px;
}

.box-title {
    color: #ffff00;
    font-weight: bold;
    padding: 2px 0;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: lowercase;
    border-bottom: 1px dashed #ff00ff;
}

.box-content {
    padding: 0;
}

/* Archivos / Fechas */
.archive-links {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.archive-links a {
    color: #00ffff;
    text-decoration: none;
    font-size: 10px;
}
.archive-links a:hover, .archive-links a.active {
    color: #ff00ff;
    text-decoration: underline;
    font-weight: bold;
}

/* Inputs y botones bizarros flúor */
.retro-input {
    background-color: #0a000a;
    border: 1px solid #ff00ff;
    color: #00ff00;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    padding: 3px;
    width: 100%;
    margin-top: 2px;
    margin-bottom: 5px;
}
.retro-input:focus {
    outline: none;
    border-color: #00ffff;
    background-color: #000;
}

.retro-btn {
    background: #ff00ff;
    border: 1px solid #ffff00;
    color: #000000;
    font-family: Tahoma, sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 10px;
    cursor: pointer;
}
.retro-btn:hover {
    background: #00ff00;
    color: #000000;
    border-color: #ff00ff;
}

/* Flog central */
.flog-subtitle {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 10px;
    text-shadow: 1px 1px #ff00ff;
}

.thumbnails-bar {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.thumb-item {
    background: #000;
    border: 1px solid #ff00ff;
    padding: 1px;
    text-align: center;
}
.thumb-item img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    display: block;
}
.thumb-item span {
    font-size: 7px;
    color: #ffff00;
}
.active-thumb {
    border: 2px solid #00ff00;
}

.archive-nav-links {
    text-align: center;
    font-size: 10px;
    margin-bottom: 12px;
}
.archive-nav-links a {
    color: #00ffff;
    text-decoration: none;
}
.archive-nav-links a:hover {
    color: #ff00ff;
    text-decoration: underline;
}

/* Foto principal con marco flúor estridente */
.main-photo-container {
    text-align: center;
    background: #000000;
    padding: 4px;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.main-photo-container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.photo-url-watermark {
    color: #ffff00;
    font-size: 11px;
    margin-top: 4px;
    font-family: monospace;
}

.photo-date {
    text-align: center;
    color: #00ff00;
    font-size: 10px;
    margin-top: 6px;
    font-weight: bold;
}

.photo-description {
    background-color: transparent;
    padding: 6px 0;
    margin-top: 6px;
    color: #ff88ff;
    line-height: 1.4;
    font-size: 11px;
}

/* Banner publicitario ácido */
.retro-banner-ad {
    background: #110011;
    border: 2px dashed #00ff00;
    padding: 8px;
    text-align: center;
    margin: 15px 0;
}

/* Libro de firmas / Guestbook */
#guestbook-section {
    margin-top: 20px;
    border-top: 1px dotted #ff00ff;
    padding-top: 10px;
}

.guestbook-header {
    color: #00ff00;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 10px;
}

.sign-box {
    background-color: transparent;
    padding: 0;
    margin-bottom: 15px;
}

.sign-box-title {
    color: #ffff00;
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 11px;
}

.form-row {
    margin-bottom: 6px;
}
.form-row label {
    display: block;
    color: #00ffff;
    margin-bottom: 2px;
}

/* Estilo individual de firma flúor */
.firma-item {
    background-color: transparent;
    border-bottom: 1px dashed #330033;
    padding: 8px 0;
    margin-bottom: 8px;
}

.firma-autor {
    color: #00ff00;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 2px;
}

.firma-mensaje {
    color: #ffffff;
    font-size: 11px;
    margin-bottom: 4px;
    word-break: break-word;
}

.firma-fecha {
    color: #ff00ff;
    font-size: 9px;
    text-align: right;
}

/* Perfil derecho */
.profile-pic-frame {
    width: 110px;
    height: 110px;
    background: #000;
    padding: 2px;
    border: 2px solid #00ffff;
    margin-bottom: 6px;
}
.profile-pic-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}
.profile-buttons .retro-btn {
    width: 100%;
    text-align: center;
}

/* Amigos / Favoritos */
.friends-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.friend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.friend-item img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid #ff00ff;
}
.friend-item a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
}
.friend-item a:hover {
    color: #00ff00;
    text-decoration: underline;
}

/* Contador de visitas ácido */
.visitor-counter {
    display: flex;
    justify-content: center;
    gap: 2px;
    background: #000;
    padding: 4px;
    border: 1px solid #00ff00;
    width: fit-content;
    margin: 0 auto;
}
.visitor-counter span {
    background: #050005;
    color: #00ff00;
    font-family: monospace;
    font-size: 14px;
    font-weight: bold;
    padding: 1px 4px;
    text-shadow: 0 0 5px #00ff00;
}

/* Footer bizarro */
#footer {
    text-align: center;
    background-color: #000000;
    padding: 10px;
    font-size: 10px;
    color: #ff00ff;
    border-top: 2px dashed #00ffff;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 1000px) {
    #wrapper {
        width: 100%;
    }
    #main-container {
        flex-direction: column;
    }
    #left-column, #center-column, #right-column {
        width: 100%;
    }
}