* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: Arial, sans-serif;
    background-color: #FFB6D9;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 230, 240, 0.5), transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 255, 200, 0.3), transparent 50%);
    padding: 20px;
    color: #333;
    background:white;

}

body{
background:white;
}

::selection{
background:#ffb6d1;
color:white;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, 0.1) 35px, rgba(255, 255, 255, 0.1) 70px);
    pointer-events: none;
    z-index: -1;
}

/* CONTENEDOR PRINCIPAL */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border: 8px solid #FFB6D9;
    box-shadow: 0 0 0 3px #F5D8E3, 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* HEADER BANNER */
.header-banner {
    width: 100%;
    border-bottom: 4px solid #FFB6D9;
    overflow: hidden;
    max-height: 200px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* TÍTULO PRINCIPAL */
.main-title-container {
    background: linear-gradient(90deg, #FFE6F0, #FFF0F5, #FFE6F0);
    border-bottom: 4px solid #FFB6D9;
    text-align: center;
    padding: 15px;
}

.main-title {
    font-size: 2.5em;
    color: #FF69B4;
    text-shadow: 2px 2px 0 rgba(255, 182, 193, 0.3);
    letter-spacing: 3px;
    font-weight: bold;
}

/* GRID PRINCIPAL */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 15px;
    padding: 20px;
    background-color: #FFFACD;
}

/* WIDGETS BASE */
.widget {
    background: white;
    border: 3px solid #FFB6D9;
    box-shadow: 
        inset 0 0 0 1px #FFE6F0,
        0 4px 0 #FFB6D9;
    margin-bottom: 15px;
}

.widget-header {
    background: linear-gradient(90deg, #FFB6D9, #FFE6F0);
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 0.95em;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #FFB6D9;
}

.widget-content {
    padding: 12px;
}

/* WIDGET: PERFIL */
.profile-widget {
    grid-column: 1;
}

.profile-pic {
    text-align: center;
    margin-bottom: 12px;
}

.profile-pic img {
    width: 140px;
    height: auto;
    border: 3px solid #FFB6D9;
    box-shadow: 0 0 0 2px white, 0 3px 0 rgba(0, 0, 0, 0.1);
}

.profile-info p {
    font-size: 0.9em;
    margin: 6px 0;
    color: #333;
    line-height: 1.4;
}

.profile-name {
    font-weight: bold;
    color: #FF69B4;
}

.profile-item {
    padding-left: 10px;
}

/* DECORACIÓN */
.decoration-bar {
    text-align: center;
    font-size: 1.3em;
    color: #FFB6D9;
    margin: 15px 0;
    letter-spacing: 15px;
}

.decoration-divider {
    border: none;
    border-top: 2px dashed #FFB6D9;
    margin: 20px 0;
}

/* WIDGET: GIFS */
.gifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gif-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #FFE6F0;
    background: #FFF0F5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gif-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* WIDGET: BUTTONS 88x31 */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.button-slot {
    display: block;
    border: 2px solid #FFB6D9;
    background: #FFF0F5;
    text-align: center;
    overflow: hidden;
}

.button-slot img {
    width: 100%;
    height: auto;
    display: block;
}

.button-slot:hover {
    box-shadow: inset 0 0 0 1px #FFB6D9;
}

/* COLUMNA CENTRAL */
.center-column {
    display: flex;
    flex-direction: column;
}

.welcome-widget {
    margin-bottom: 15px;
}

.welcome-decorations {
    text-align: center;
    font-size: 1.3em;
    margin-top: 10px;
    letter-spacing: 10px;
    color: #FFB6D9;
}

.welcome-widget .widget-content p {
    line-height: 1.6;
    font-size: 0.95em;
}

/* WIDGET: NAVEGACIÓN */
.nav-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.nav-button {
    display: block;
    padding: 8px;
    background: linear-gradient(135deg, #FFE6F0, #FFFACD);
    border: 2px solid #FFB6D9;
    text-decoration: none;
    color: #FF69B4;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s;
}

.nav-button:hover {
    background: #FFB6D9;
    color: white;
    transform: scale(1.05);
}

/* WIDGET: CONTENIDO */
.content-widget .content-title {
    color: #FF69B4;
    font-size: 1.1em;
    margin: 12px 0 8px 0;
}

.content-widget .widget-content p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.widget-divider {
    border: none;
    border-top: 2px dashed #FFB6D9;
    margin: 15px 0;
}

/* COLUMNA DERECHA */
.right-column {
    display: flex;
    flex-direction: column;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: block;
    padding: 8px;
    background: linear-gradient(90deg, #FFE6F0, white);
    border: 2px solid #FFB6D9;
    text-decoration: none;
    color: #FF69B4;
    font-weight: bold;
    transition: all 0.2s;
}

.sidebar-link:hover {
    background: #FFB6D9;
    color: white;
    transform: translateX(5px);
}

/* WIDGET: MÚSICA */
.music-widget .widget-content {
    text-align: center;
}

.now-playing {
    color: #FF69B4;
    font-weight: bold;
    font-size: 0.95em;
    margin-bottom: 4px;
}

.now-playing-artist {
    color: #999;
    font-size: 0.85em;
    margin-bottom: 8px;
}

.music-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
}

.bar {
    width: 4px;
    background: linear-gradient(to top, #FFB6D9, #FF69B4);
    border-radius: 2px;
    animation: musicBar 0.6s ease-in-out infinite;
}

.bar:nth-child(1) { animation-delay: 0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.1s; }
.bar:nth-child(5) { animation-delay: 0s; }

@keyframes musicBar {
    0%, 100% { height: 40%; }
    50% { height: 100%; }
}

/* WIDGET: FORTUNA */
.fortune-widget .fortune-text {
    text-align: center;
    color: #FF69B4;
    font-style: italic;
    line-height: 1.6;
}

/* WIDGET: CONTADOR */
.counter-widget .widget-content {
    text-align: center;
}

.retro-counter {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-bottom: 8px;
    background: #000;
    padding: 8px;
    border-radius: 3px;
}

.digit {
    width: 20px;
    height: 28px;
    background: #CC0000;
    color: #FFFF00;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #990000;
    font-weight: bold;
    font-family: monospace;
}

.counter-text {
    font-size: 0.85em;
    color: #666;
}

/* FOOTER WIDGETS */
.footer-widgets {
    padding: 20px;
    background: #FFFACD;
    border-top: 4px solid #FFB6D9;
}

.widget-wide {
    background: white;
    border: 3px solid #FFB6D9;
    box-shadow: 
        inset 0 0 0 1px #FFE6F0,
        0 4px 0 #FFB6D9;
    margin-bottom: 15px;
}

/* WIDGET: COMENTARIOS */
.comment {
    padding: 10px;
    border-bottom: 1px dashed #FFE6F0;
    margin-bottom: 10px;
}

.comment:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-author {
    font-size: 0.85em;
    margin-bottom: 5px;
}

.comment-time {
    color: #999;
    font-size: 0.8em;
}

.comment-text {
    color: #333;
    font-size: 0.9em;
}

/* WIDGET: GALERÍA ROW */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.gallery-cell {
    background: white;
    border: 3px solid #FFB6D9;
    box-shadow: 
        inset 0 0 0 1px #FFE6F0,
        0 4px 0 #FFB6D9;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #FFB6D9;
}

/* BOTONES ROW */
.buttons-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.buttons-row .button-slot {
    border: 2px solid #FFB6D9;
    background: #FFF0F5;
}

/* FOOTER */
.page-footer {
    text-align: center;
    padding: 15px;
    background: linear-gradient(90deg, #FFE6F0, #FFFACD);
    border-top: 4px solid #FFB6D9;
    font-size: 0.85em;
    color: #666;
}

.page-footer p {
    margin: 4px 0;
}

.footer-note {
    color: #FF69B4;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }

    .gallery-row {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 1.8em;
    }

    .page-container {
        border-width: 6px;
    }
}

@media (max-width: 480px) {
    .page-container {
        border-width: 4px;
    }

    .main-title {
        font-size: 1.5em;
    }

    .buttons-grid {
        grid-template-columns: 1fr;
    }

    .nav-buttons {
        grid-template-columns: 1fr;
    }
}