@font-face {
    font-family: 'Gotham Rounded';
    src: url('fonts/GothamRnd-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('fonts/GothamRnd-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham Rounded';
    src: url('fonts/GothamRounded Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

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

body {
    font-family: 'Gotham Rounded', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: url('imgs/back.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: white;
    overflow-x: hidden;
    padding-top: 0;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 0 20px 40px 20px;
    text-align: center;
}

.header {
    padding-top: 20px;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.logo {
    width: 280px;
    max-width: 80%;
    height: auto;
    margin-bottom: 0px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.main-content {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.flag-icon {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.5s forwards, waveFlag 2s ease-in-out 1.1s infinite;
}

.flag-icon img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transform: rotate(0deg);
}

@keyframes waveFlag {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.welcome {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.7s forwards;
}

.tagline {
    font-size: 32px;
    font-weight: 500;
    color: #76BC21;
    margin-bottom: 50px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out 0.9s forwards;
}

.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 30px;
    border: none;
    border-radius: 15px;
    font-family: 'Gotham Rounded', sans-serif;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
    gap: 20px;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

/* Animaciones individuales para cada botón */
.btn:nth-child(1) {
    animation: fadeInUp 0.6s ease-out 1.1s forwards;
}

.btn:nth-child(2) {
    animation: fadeInUp 0.6s ease-out 1.3s forwards;
}

.btn:nth-child(3) {
    animation: fadeInUp 0.6s ease-out 1.5s forwards;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
    box-shadow: 0 12px 35px rgba(114, 190, 68, 0.5);
    filter: brightness(1.1);
}

.btn-secondary:hover {
    box-shadow: 0 12px 35px rgba(114, 190, 68, 0.5);
    filter: brightness(1.1);
}

.btn-google:hover {
    box-shadow: 0 12px 35px rgba(66, 133, 244, 0.4);
    filter: brightness(0.95);
}

.btn:active {
    transform: translateY(-2px) scale(1.01);
}

.btn-primary {
    background-color: #72BE44;
    color: #1a2e0c;
}

.btn-secondary {
    background-color: #72BE44;
    color: #1a2e0c;
}

.btn-google {
    background-color: #e8e8e8;
    color: #1a2e0c;
}

.btn-icon {
    width: 55px;
    height: 55px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: scale(1.1);
}

.google-maps-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-maps-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.btn:hover .google-maps-icon img {
    transform: scale(1.1);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.btn-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.btn-subtitle {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .logo {
        width: 220px;
    }

    .subtitle {
        font-size: 14px;
    }

    .title {
        font-size: 36px;
    }

    .convention {
        font-size: 13px;
    }

    .welcome {
        font-size: 38px;
    }

    .tagline {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .flag-icon img {
        width: 60px;
    }

    .btn {
        padding: 15px 20px;
        gap: 15px;
    }

    .btn-icon {
        width: 45px;
        height: 45px;
    }

    .google-maps-icon {
        width: 45px;
        height: 45px;
    }

    .btn-title {
        font-size: 16px;
    }

    .btn-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .logo {
        width: 180px;
    }

    .welcome {
        font-size: 32px;
    }

    .tagline {
        font-size: 20px;
    }

    .btn {
        padding: 12px 15px;
    }

    .btn-title {
        font-size: 14px;
    }

    .btn-subtitle {
        font-size: 12px;
    }
}
