/* Zapping Treasures - Tema Vintage Pergamino Antiguo */

/* Paleta de colores de la marca:
   - California: #FE9000
   - Lightning Yellow: #FEBC11
   - Pumpkin Skin: #CB6015
   - Fiery Orange: #B34700
   - Indian Tan: #4F2817
*/

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

body {
    font-family: 'Georgia', 'Palatino', 'Times New Roman', serif;
    /* Fondo de pergamino envejecido */
    background: linear-gradient(135deg, #f4e7d7 0%, #d4b896 50%, #c9a66b 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    /* Textura de papel viejo */
    background-image:
        radial-gradient(circle at 20% 50%, rgba(203, 96, 21, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(179, 71, 0, 0.03) 0%, transparent 50%);
}

.container {
    /* Fondo de pergamino con bordes quemados */
    background: linear-gradient(to bottom, #faf6f0 0%, #f5eee0 50%, #f0e6d2 100%);
    border-radius: 8px;
    /* Sombra vintage para dar profundidad */
    box-shadow:
        0 10px 40px rgba(79, 40, 23, 0.3),
        inset 0 0 100px rgba(203, 96, 21, 0.05);
    max-width: 1200px;
    width: 100%;
    padding: 40px;
    text-align: center;
    /* Borde estilo pergamino antiguo */
    border: 3px solid #CB6015;
    border-image: linear-gradient(45deg, #B34700, #CB6015, #FE9000, #CB6015, #B34700) 1;
    position: relative;
}

/* Efecto de bordes quemados/envejecidos */
.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4F2817, #B34700, #CB6015);
    border-radius: 8px;
    z-index: -1;
    opacity: 0.3;
}

.banner {
    margin-bottom: 30px;
    /* Marco dorado vintage para el banner */
    padding: 10px;
    background: linear-gradient(135deg, #FE9000, #FEBC11, #FE9000);
    border-radius: 8px;
    box-shadow:
        0 4px 15px rgba(179, 71, 0, 0.3),
        inset 0 2px 4px rgba(254, 188, 17, 0.5);
}

.banner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    /* Filtro vintage para la imagen */
    filter: sepia(0.1) contrast(1.1);
}

.logo {
    margin-bottom: 30px;
}

.logo img {
    width: 200px;
    height: auto;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(79, 40, 23, 0.3));
}

.logo img:hover {
    transform: scale(1.05) rotate(-2deg);
}

.content {
    padding: 20px 0;
    color: #4F2817;
}

.content h1 {
    color: #4F2817;
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(179, 71, 0, 0.2);
    letter-spacing: 1px;
}

.content p {
    color: #5c3d2e;
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.8;
    font-family: 'Georgia', serif;
}

.content .status {
    color: #B34700;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 20px;
    text-shadow: 1px 1px 2px rgba(254, 144, 0, 0.3);
}

/* Botones estilo vintage de mapa del tesoro */
.nav-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    /* Gradiente dorado estilo tesoro */
    background: linear-gradient(135deg, #FE9000 0%, #FEBC11 50%, #FE9000 100%);
    color: #4F2817;
    padding: 16px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 12px rgba(203, 96, 21, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid #CB6015;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 6px 20px rgba(203, 96, 21, 0.5),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    background: linear-gradient(135deg, #FEBC11 0%, #FE9000 50%, #FEBC11 100%);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow:
        0 2px 8px rgba(203, 96, 21, 0.4),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Header para páginas internas */
.header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px double #CB6015;
}

.header h1 {
    color: #4F2817;
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
    text-shadow: 2px 2px 4px rgba(179, 71, 0, 0.2);
}

.logo-small {
    margin-bottom: 15px;
}

.logo-small img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(79, 40, 23, 0.3));
}

/* Títulos de sección con decoración vintage */
.section-title {
    color: #4F2817;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 30px 0 20px;
    font-family: 'Georgia', serif;
    text-shadow: 1px 1px 2px rgba(179, 71, 0, 0.2);
    padding-bottom: 10px;
    border-bottom: 2px solid #FE9000;
    position: relative;
}

.section-title::after {
    content: '⚡';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #FEBC11;
    font-size: 1.5rem;
}

/* Responsive - Aprovechamiento máximo del espacio */
@media (max-width: 768px) {
    body {
        padding: 0;
        display: block;
        /* Simplificar fondo en móvil para mejor rendimiento */
        background: linear-gradient(to bottom, #f4e7d7 0%, #d4b896 100%);
    }

    .container {
        padding: 16px;
        border-radius: 0;
        min-height: 100vh;
        border-left: none;
        border-right: none;
        /* Reducir sombras en móvil */
        box-shadow:
            0 4px 20px rgba(79, 40, 23, 0.2),
            inset 0 0 50px rgba(203, 96, 21, 0.03);
    }

    .container::before {
        display: none;
    }

    .banner {
        padding: 6px;
        margin-bottom: 20px;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1.1rem;
    }

    .logo img {
        width: 140px;
    }

    .logo-small img {
        width: 100px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        max-width: 400px;
    }

    .nav-buttons {
        gap: 12px;
    }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 30px;
    }

    .content h1 {
        font-size: 2.4rem;
    }
}

/* Pantallas grandes - Aprovechar el ancho */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 50px 60px;
    }

    .banner img {
        max-width: 100%;
    }
}
