/* CONFIGURACIÓN GENERAL */
body {
    background-image: url('https://i.pinimg.com/1200x/60/7d/3c/607d3c485f4550e4ad036509979e8270.jpg');
    background-size: 350px;
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    margin: 0;
}

.container {
    width: 900px;
    display: grid;
    grid-template-columns: 240px 1fr 240px;
    grid-gap: 15px;
    padding: 20px;
    background-color: #e8f5e9; 
    border: 2px solid #a5d6a7;
    border-radius: 15px;
    box-sizing: border-box;
}
.container {
    overflow: hidden;
}


/* HEADER / BANNER */
.header {
    grid-column: 1 / span 3;
    line-height: 0; 
    margin-bottom: 5px;
    overflow: hidden;
    border-radius: 10px;
}


.header img {
    width: 100%;
    height: 280px; /* o 300px si quieres más drama */
    object-fit: cover;
    display: block;
}


/* CAJAS ESTILO WEBCORE */
.box {
    background: white;
    border: 2px solid #f8bbd0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 0px #ffb7b2;
    transition: transform 0.3s ease;
    overflow: hidden; /* Evita que el contenido se asome */
}

.box:hover {
    transform: translateY(-3px);
}

/* ELEMENTOS LATERALES */
.avatar {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 2px dotted #ffb7b2;
    border-radius: 5px;
    margin-bottom: 10px;
}

.divider {
    width: 100%;
    height: auto;
    margin: 5px 0;
}

/* NAVEGACIÓN (BOTONES CORREGIDOS) */
.menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.menu-btn {
    display: block;
    width: 95%; /* Ajustado para que no toque los bordes */
    margin: 0 auto;
    background: #c8e6c9;
    border: 2px solid #81c784;
    border-radius: 20px;
    padding: 8px 4px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none; /* Quita el subrayado azul */
    color: #5d7a66; /* Verde oscuro estético */
    font-size: 11px;
    font-weight: bold;
    box-sizing: border-box;
    transition: 0.2s;
}

.menu-btn:hover {
    background: #ffb7b2; 
    border-color: #f8bbd0;
    color: white;
    transform: scale(1.03);
}

/* SECCIÓN CENTRAL E IMÁGENES */
.image-row {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}



/* MARQUESINA DE STAMPS */
.stamps-marquee {
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.6);
    border-top: 2px dashed #ffb7b2;
    border-bottom: 2px dashed #ffb7b2;
    padding: 8px 0;
    margin: 0px 0;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.marquee-content img {
    height: 31px;
    margin-right: 15px;
    vertical-align: middle;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* STAMPS ESTÁTICOS */
.stamps-area {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 5px 0;
}

.stamps-area img {
    height: 45px; /* más grandes */
}
.stamps-area {
    flex-wrap: wrap;
}


/* ETIQUETAS */
.tag-pink, .tag-green {
    font-size: 10px;
    font-weight: bold;
    color: white;
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.tag-pink { background-color: #ffb7b2; }
.tag-green { background-color: #a8e6cf; }

.footer {
    grid-column: 1 / span 3;
    text-align: center;
    font-size: 11px;
    color: #888;
    padding: 10px;
}
/* 1. Ajuste del Sidebar Derecho */
.sidebar-right .box {
    padding: 25px 10px 15px 10px; /* Espacio interno equilibrado */
    overflow: hidden; 
    display: flex;
    flex-direction: column; 
    align-items: center; /* Esto centra los botones si son más pequeños */
}

/* 2. Ajuste de los Botones (MENÚ) */
.menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%; /* Ocupa todo el ancho de la cajita blanca */
}

.menu-btn {
    display: block;
    width: 100%;       /* Forzamos a que use el ancho disponible */
    max-width: 180px;  /* Pero que no se pase de este tamaño para no chocar */
    margin: 0 auto;    /* Los centra perfectamente */
    background: #c8e6c9;
    border: 2px solid #81c784;
    border-radius: 20px;
    padding: 8px 2px;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    text-decoration: none; 
    color: #5d7a66; 
    font-size: 11px;   /* Tamaño de letra ideal para que quepa todo */
    font-weight: bold;
    box-sizing: border-box; /* ¡MUY IMPORTANTE! para que el borde no sume ancho extra */
    transition: 0.2s;
}
img {
    max-width: 100%;
    height: auto;
}
.shoutbox iframe {
  border: none;
}
.sidebar-right {
    max-height: 700px;
    overflow-y: auto;
}
.sidebar-right .box {
    font-size: 10px;
    text-align: center;
}
.shoutbox {
    padding: 8px;
}

.shoutbox iframe {
    border-radius: 8px;
    background: #fff;
}
.shoutbox {
    padding: 6px;
    background: #fffafc;
}

.shoutbox-title {
    font-size: 9px;
    font-weight: bold;
    color: #d48ca3;
    background: #ffe6ee;
    border: 1px dashed #f8bbd0;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 6px;
    text-align: center;
    letter-spacing: 1px;
}
.shoutbox iframe {
    border-radius: 12px;
    background: #fff;
    box-shadow: inset 0 0 6px #ffe6ee;
}
