@font-face {
    font-family: 'WichoFont';
    src: url('font/7cfa930a-ebaf-4c7f-a1b5-455e6d513e15.otf') format('opentype');
}

html {
    height: 100%;
    width: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(74, 222, 128, 0.8) transparent;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos para la barra de scroll de la página completa */
html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: rgba(74, 222, 128, 0.8);
    border-radius: 5px;
}

html::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 222, 128, 1);
}

body {
    background-color: #000;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.link{
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.link:hover {
    color: #4ade80;
}

.nav-link {
    color: #4ade80;
}

.navbar {
    position: relative;
    width: 100%;
    height: 80px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 100;
    border-bottom: 2px solid #fff;
}

.nav-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-family: 'WichoFont', serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-text {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 1.6rem;
    letter-spacing: 1px;
    opacity: 0.9;
    transform: translateY(8px);
}

.nav-link {
    color: #4ade80;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    padding-bottom: 10px;
}

/* Header del wall */
.wall-header {
    position: relative;
    text-align: center;
    z-index: 10;
    margin-bottom: 40px;
}

.wall-title {
    font-family: 'WichoFont', serif;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8);
    letter-spacing: 3px;
}

.wall-subtitle {
    font-family: Arial, sans-serif;
    font-size: 1.3rem;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 1px;
}

.verde-text {
    color: #4ade80;
}

/* Contenedor de nombres */
.names-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    width: 90%;
    margin-bottom: 40px;
    z-index: 10;
    padding: 20px;
    justify-items: center;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.names-container::-webkit-scrollbar {
    display: none;
}

.name-card {
    background: none;
    border: none;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.name-card:hover {
    transform: scale(1.1);
}

.name-text {
    font-family: 'WichoFont', serif;
    font-size: 5.0rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
}

.name-date {
    display: none;
}

/* Botón de volver */
.back-button {
    margin-top: 20px;
    z-index: 10;
}

.back-btn {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 10px;
    color: #fff;
    font-family: 'WichoFont', serif;
    font-size: 1.5rem;
    padding: 10px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    box-shadow: 0 2px 8px rgba(255,255,255,0.2);
}

.back-btn:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.back-btn:active {
    transform: translateY(0);
}

/* Ranita */
.frog-image {
    position: fixed;
    bottom: -10px;
    right: 0px;
    z-index: 100;
    pointer-events: none;
}

.frog-img {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.frog-img:hover {
    transform: scale(1.1);
}

/* Hojas cayendo */
#falling-leaves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    will-change: transform;
}

.leaf {
    position: absolute;
    width: 35px;
    height: 35px;
    background: linear-gradient(45deg, #1b5e20, #2e7d32, #388e3c, #43a047, #4caf50);
    border-radius: 0 100% 0 100%;
    opacity: 0.9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    will-change: transform, opacity, top, left;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.leaf::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    border-radius: 0 100% 0 100%;
}

.leaf:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, #1b5e20, #2e7d32);
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 1px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .wall-title {
        font-size: 3rem;
    }
    
    .names-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        width: 95%;
        padding: 15px;
        max-height: 60vh;
    }
    
    .name-text {
        font-size: 2.5rem;
    }
    
    .nav-text {
        font-size: 1.2rem;
    }
    
    .logo {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    /* Navbar más pequeño para móviles - igual que testimonios.html */
    .navbar {
        height: 45px;
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-text {
        font-size: 0.8rem;
        transform: translateY(2px);
    }
    
    /* Nombres más pequeños en móvil */
    .name-text {
        font-size: 1.8rem;
    }
    
    .names-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
    }
}

/* Ocultar la ranita en móvil */
@media (max-width: 767px) {
    .frog-image {
        display: none;
    }
}

/* Ocultar la ranita en pantallas de 1280px */
@media (max-width: 1280px) {
    .frog-image {
        display: none;
    }
}

/* Social Footer */
.social-footer {
    position: relative;
    display: flex;
    gap: 25px;
    z-index: 25;
    justify-content: center;
    align-items: center;
    width: auto;
    margin-top: 40px;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: #fff;
    transition: all 0.3s ease;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    color: #4ade80;
    filter: drop-shadow(0 5px 15px rgba(74, 222, 128, 0.4));
}

.social-icon svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* Responsive para el footer social */
@media (max-width: 768px) {
    .social-footer {
        gap: 20px;
        margin-top: 30px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* Mensaje cuando no hay nombres */
.no-names-message {
    text-align: center;
    grid-column: 1 / -1;
    padding: 60px 20px;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.05), rgba(34, 197, 94, 0.05));
    border: 2px dashed rgba(74, 222, 128, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-names-message p {
    font-family: Arial, sans-serif;
    color: #4ade80;
    margin-bottom: 15px;
    font-size: 1.2rem;
    opacity: 0.8;
}

.no-names-message p:last-child {
    font-size: 1rem;
    opacity: 0.6;
    font-style: italic;
}

/* ===== ESTILOS PARA EL BOTÓN DE VOLUMEN ===== */

.volume-control {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.volume-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-btn:hover {
    background: rgba(74, 222, 128, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(74, 222, 128, 0.4);
}

.volume-btn:active {
    transform: scale(0.95);
}

.volume-btn.muted {
    background: rgba(255, 0, 0, 0.7);
}

.volume-btn.muted:hover {
    background: rgba(255, 0, 0, 0.9);
}

.volume-icon {
    width: 24px;
    height: 24px;
    color: white;
    transition: all 0.3s ease;
}

/* Responsive para el botón de volumen */
@media (max-width: 768px) {
    .volume-control {
        bottom: 15px;
        left: 15px;
    }
    
    .volume-btn {
        width: 45px;
        height: 45px;
    }
    
    .volume-icon {
        width: 20px;
        height: 20px;
    }
}
