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

html, body {
    overflow: hidden;
    height: 100%;
}

body {
    font-family: "Inter", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    color: white;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.content-top, .content-middle {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-middle {
    margin-top: 20px;
}

button {
    background-color: white;
    padding: 8px 20px;
    color: #B22133;
    border-radius: 10px;
}

button:hover {
    background-color: #B22133;
    transform: scale(1.05);
    color: white;
}

@keyframes swing {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-20px);
    }
    50% {
        transform: translateX(0);
    }
    75% {
        transform: translateX(20px);
    }
    100% {
        transform: translateX(0);
    }
}

.niraya-logo {
    max-width: 900px;
    height: auto;
    margin-top: 100px;
    animation: swing 20s infinite ease-in-out;
}

h3 {
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: white;
    text-align: center;
    margin-top: -20px;
}

.icon-paragraph {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 1px;
    margin: 30px 50px;
}

.icon-box {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-box:hover {
    transform: scale(1.2);
}

.icon-box img {
    width: 60px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0px;
    overflow: visible;
}

.logo-container {
    display: flex;
    justify-content: space-around;
    gap: 50px;
    flex-wrap: wrap;
    padding: 20px;
    overflow-y: hidden;
}

.logo-box {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 5px;
}

.logo-box img {
    width: 90px;
    height: auto;
    margin-bottom: 5px;
}

.logo-box p {
    font-size: 14px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

.logo-box:hover {
    transform: scale(1.25);
}

.niraya-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(0deg, rgba(252,127,213,0.5) 0%, rgba(190,174,247,0.5) 35%, rgba(85,233,232,0.5) 100%);
    border-radius: 10px;
    transition: transform 0.3s;
    text-align: center;
}

.niraya-icon img {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 5px;
}

.niraya-icon:hover {
    transform: scale(1.05);
    background: linear-gradient(0deg, rgba(252,127,213,0.8) 0%, rgba(190,174,247,0.8) 35%, rgba(85,233,232,0.8) 100%);
}

.niraya-icon p {
    font-size: 12px;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    color: white;
    text-align: center;
}

/* Estilo Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    justify-content: center;
    align-items: center;
    overflow: auto;
}

.modal-content {
    position: relative;
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    text-align: center;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-banner {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.modal-text {
    color: white;
    font-family: "Inter", sans-serif;
    font-weight: 300;
    font-size: 14px;
    margin-top: 30px;
}

.modal-text-title {
    color: white;
    font-family: "Bebas Neue", sans-serif;
    text-transform: uppercase;
    font-size: 22px;
    margin-top: 30px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 26px;
    font-weight: lighter;
    cursor: pointer;
    padding: 7px;
    border-radius: 50%;
}

.close:hover {
    color: #B22133;
}

#countdown-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
    padding: 10px;
    padding-bottom: 12px;
    border-radius: 10px;
    width: 70%;
    max-width: 300px;
    margin: 5px auto;
    margin-top: 10px;
    text-align: center;
    color: #fff;
}

#countdown-container p {
    font-size: 16px;
    font-family: "Bebas Neue", sans-serif;
    text-align: center;
    color: white;
    letter-spacing: 1px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#timer {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    font-family: "Bebas Neue", sans-serif;
    font-size: 14px;
    margin-top: 5px;
    color: white;
    letter-spacing: 0.5px;
}

#timer span {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25px;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
    margin: 0 4px;
}

#timer .label {
    margin-top: 3px;
    font-size: 12px;
    text-align: center;
}

h4 {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
}


/* Media Queries */
@media (max-width: 900px) {
    .logo-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        align-items: center;
        gap: 10px;
        padding: 10px 10px 20px 10px;
    }

    .logo-container .second-row {
        grid-column: span 4;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: center;
        margin-top: 10px;
    }

    .logo-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: auto;
    }

    .logo-box img {
        width: 45px;
        height: auto;
    }

    .logo-box p {
        font-size: 10px;
        text-align: center;
        margin-top: 3px;
    }

    .content-middle {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        margin-top: 60px;
    }

    .niraya-logo {
        max-width: 300px;
        height: auto;
        margin-top: 40px;
    }

    .modal-content {
        width: 90%;
        max-width: 400px;
    }

    #countdown-container {
        width: 90%;
    }

    #timer span {
        min-width: 30px;
        font-size: 16px;
    }

    #timer .label {
        font-size: 12px;
    }

    button {
        font-size: 10px;
        padding: 5px 10px;
    }
}
