/* Paleta de colores basada en el logo */
:root {
    --rojo: #E30613;
    --amarillo: #FFD700;
    --negro: #1a1a1a;
    --gris-oscuro: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--negro);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
}

.logo {
    max-width: 250px;
    margin-bottom: 20px;
    filter: drop-shadow(0px 0px 10px rgba(255, 215, 0, 0.2));
}

h1 {
    color: var(--amarillo);
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.slogan {
    font-size: 1.5rem;
    color: var(--rojo);
    font-style: italic;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Animación */
.loader {
    border: 4px solid var(--gris-oscuro);
    border-top: 4px solid var(--amarillo);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Galería */
.products {
    margin: 40px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.product-card img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid var(--rojo);
    transition: 0.3s;
}

.product-card img:hover {
    transform: translateY(-5px);
    border-color: var(--amarillo);
}

/* Footer y Botones de Instagram */
footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--gris-oscuro);
}

footer p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.instagram-link {
    background-color: var(--gris-oscuro);
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: left;
}

.instagram-link i {
    font-size: 2rem;
    color: var(--amarillo);
}

.instagram-link span {
    line-height: 1.2;
    font-size: 0.9rem;
}

.instagram-link strong {
    color: var(--amarillo);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.instagram-link:hover {
    background-color: #000;
    border-color: var(--rojo);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 600px) {
    h1 { font-size: 1.6rem; }
    .social-links { flex-direction: column; align-items: center; }
    .instagram-link { width: 100%; max-width: 280px; }
}

/* Estilo para el copyright en PHP */
.copyright {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 1px;
}

/* Mejora del brillo del logo (la corona amarilla) */
.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    /* Esto hará que el amarillo de la corona resalte sobre el fondo negro */
    filter: drop-shadow(0px 0px 15px rgba(255, 215, 0, 0.4));
}
