* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Top Bar - Barra de Transparencia */
.top-bar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1001;
    height: 70px; /* Altura fija para la barra superior */
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    height: 100%;
}

.transparency-links.left .lobby-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.transparency-links.right {
    display: flex;
    gap: 1rem;
}

.transparency-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    height: 50px;
    text-align: center;
}

.transparency-btn.active-btn {
    color: #000; /* CAMBIADO: texto negro */
    border-radius: 40px;
    box-shadow: 0 0 0 0 rgba(145, 64, 248, 0.5), 0 0 0 0 rgba(39, 200, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.transparency-btn.active-btn .btn-text strong {
    color: #000000; /* CAMBIADO: texto negro */
    text-shadow: none; /* REMOVIDO: sombra de texto para mejor legibilidad */
}

.transparency-btn.active-btn .btn-text small {
    color: #333333; /* CAMBIADO: texto gris oscuro */
    text-shadow: none; /* REMOVIDO: sombra de texto para mejor legibilidad */
}

.transparency-btn.active-btn::after{
    content: "";
    width: 400px;
    height: 400px;
    position: absolute;
    top: -50px;
    left: -100px;
    background: #13ff13;
    background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
    z-index: -1;
    transition: transform 0.5s ease;
}

.transparency-btn.active-btn:hover{
    transform: translate(0, -6px);
    box-shadow: 10px -10px 25px 0 rgba(16, 226, 253, 0.5), -10px 10px 25px 0 rgba(183, 0, 255, 0.7);
}

.transparency-btn.info-btn {
    color: #000; /* CAMBIADO: texto negro */
    border-radius: 40px;
    box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.5), 0 0 0 0 rgba(0, 86, 179, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.transparency-btn.info-btn .btn-text strong {
    color: #000000; /* CAMBIADO: texto negro */
    text-shadow: none; /* REMOVIDO: sombra de texto para mejor legibilidad */
}

.transparency-btn.info-btn .btn-text small {
    color: #333333; /* CAMBIADO: texto gris oscuro */
    text-shadow: none; /* REMOVIDO: sombra de texto para mejor legibilidad */
}

.transparency-btn.info-btn::after{
    content: "";
    width: 400px;
    height: 400px;
    position: absolute;
    top: -50px;
    left: -100px;
    background: linear-gradient(to top, #007bff 0%, #0056b3 100%);
    z-index: -1;
    transition: transform 0.5s ease;
}

.transparency-btn.info-btn:hover{
    transform: translate(0, -6px);
    box-shadow: 10px -10px 25px 0 rgba(0, 123, 255, 0.5), -10px 10px 25px 0 rgba(0, 86, 179, 0.7);
}

.transparency-btn:hover::after{
    transform: rotate(150deg);
}

.transparency-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    line-height: 0.9;
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: -2px;
}

.btn-text small {
    font-size: 0.8rem;
    opacity: 0.95;
    font-weight: 500;
}

/* Header - Ajuste para la nueva barra superior */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 70px; /* Justo debajo de la top-bar */
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    height: 80px; /* Altura fija para el header */
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 80px;  /* Reducido de 60px a 45px */
    height: 80px; /* Reducido de 50px a 38px */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    animation: pulse 2s infinite;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    border-radius: 0;
    opacity: 1;
    background: transparent;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo h1 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section - Ajustado para las barras superiores */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 150px; /* Top-bar (70px) + Header (80px) = 150px */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="50" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="30" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Main Content */
main {
    background: white;
    position: relative;
    z-index: 1;
}

.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.service-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-icon {
    width: 100%;  
    height: 200px; /* Aumenté la altura para mejor proporción */
    object-fit: cover; /* Para que la imagen cubra todo el contenedor manteniendo proporción */
    display: block; /* Cambié de flex a block */
    border-radius: 0; /* Sin bordes redondeados en la imagen */
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    padding: 20px 20px 0 20px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0;
    padding: 0 20px 20px 20px;
}

/* Events Section */
.events {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.event-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.event-date {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p, .footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #feca57;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a img{
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    color: #bdc3c7;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 0.5rem 0;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .transparency-links.right {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .transparency-btn {
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        height: 45px;
        width: 100%;
    }
    
    /* Opción 1: Gradiente completo en móvil */
    .transparency-btn.active-btn::after {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 40px;
    }
    
    .transparency-btn.info-btn::after {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 40px;
    }
    
    /* Opción 2: Botones más pequeños (comenta la Opción 1 y descomenta esto)
    .transparency-btn {
        height: 35px;
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .btn-text strong {
        font-size: 0.85rem;
    }
    
    .btn-text small {
        font-size: 0.7rem;
    }
    */
    
    .lobby-image {
        height: 35px !important;
    }
    
    header {
        top: 120px; /* Ajustado para móvil */
        height: 70px;
    }
    
    .nav-menu {
        display: none;
    }

    .hero {
        margin-top: 190px; /* Más espacio en móvil: 120px + 70px = 190px */
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}