/* filepath: css/style.css */
/*-------------------------------------------General Styles---------------------------------------------*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: rgb(71, 1, 71);
}

/*-------------------------------------------Footer---------------------------------------------*/
.site-footer {
    background-color: #bb60afa2;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
}

.footer-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 16px 20px;
}

.footer-disclaimer {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    margin: 4px 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1;
}

.footer-badge sup {
    font-size: 13px;
}

.footer-badge span {
    font-size: 10px;
    letter-spacing: 1px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.3);
    padding: 14px 16px;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
}

/*-------------------------------------------Background Image---------------------------------------------*/
#bg {
    width: 100%;
    height: auto;
}

/*-------------------------------------------Header Logo---------------------------------------------*/
.site-header {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 20;
}

.site-logo {
    width: 80%;
    max-width: 280px;
    height: auto;
    pointer-events: auto;
}

main {
    margin-top: 120px;
    margin-bottom: 160px;
}

/*-------------------------------------------Redirect Button---------------------------------------------*/
.redirect-btn {
    /* default: mobile */
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    z-index: 10;
}

@media (min-width: 360px) {
    .site-header {
        top: -80px;
    }
    .redirect-btn {
        top: 58%;
        width: 70%;
    }
}
@media (min-width: 375px) {
    .site-header {
        top: -80px;
    }
    .redirect-btn {
        top: 64%;
        width: 70%;
    }
}
@media (min-width: 390px) {
    .site-header {
        top: -80px;
    }
    .redirect-btn {
        top: 54%;
        width: 70%;
    }
}
@media (min-width: 412px) {
    .site-header {
        top: -80px;
    }
    .redirect-btn {
        top: 50%;
        width: 70%;
    }
}
/* Mobile (max 576px) */
@media (min-width: 576px) {
    .site-header {
        top: -80px;
    }

    .site-logo {
        width: 75%;
        max-width: 260px;
    }

    .redirect-btn {
        top: 105%;
        width: 70%;
    }

    main {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}
@media (min-width: 992px) {
    .site-header {
        position: absolute;
        left: 0;
        top: -180px;
        width: 100%;
        text-align: center;
        z-index: 20;
    }
    .site-logo {
        width: 40%;
        max-width: 480px;
    }

    .redirect-btn {
        bottom: -42%;
        width: 30%;
    }
}
/* Desktop (992px and up) */
@media (min-width: 1880px) {
    .site-header {
        position: absolute;
        left: 0;
        top: -180px;
        width: 100%;
        text-align: center;
        z-index: 20;
    }
    .site-logo {
        width: 40%;
        max-width: 480px;
    }

    .redirect-btn {
        bottom: -35%;
        width: 30%;
    }
}

.redirect-btn img {
    width: 100%;
    animation: pulse 0.9s infinite linear;
}

/*-------------------------------------------Keyframe Animation---------------------------------------------*/
@keyframes pulse {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(0.95); }
}

@keyframes pulse2 {
    0% { transform: scale(1.05); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1.05); }
}

@keyframes moveNorthWest {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -20px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveNorthEast {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
    100% { transform: translate(0, 0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes swing {
    0%, 100% { transform: rotate(0deg); transform-origin: top center; }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    80% { transform: rotate(-5deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes wobble {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    15% { transform: translateX(-15px) rotate(-5deg); }
    30% { transform: translateX(10px) rotate(3deg); }
    45% { transform: translateX(-10px) rotate(-3deg); }
    60% { transform: translateX(5px) rotate(2deg); }
    75% { transform: translateX(-5px) rotate(-1deg); }
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

@keyframes imageSwitchPulse {
    0%, 24% { opacity: 1; transform: scale(1); }
    25%, 49% { opacity: 0; transform: scale(0.8); }
    50%, 74% { opacity: 1; transform: scale(1); }
    75%, 99% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes imageSwitchSlide {
    0%, 24% { opacity: 1; transform: translateX(0); }
    25%, 49% { opacity: 0; transform: translateX(50px); }
    50%, 74% { opacity: 1; transform: translateX(0); }
    75%, 99% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes zoomOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.8); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-100px); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

.exit-animation {
    animation: zoomOut 0.5s ease-out forwards;
}

.exit-animation-slide {
    animation: slideOut 0.5s ease-out forwards;
}

.add-animation-zoom {
    animation: zoomIn 0.5s ease-in forwards;
}

.add-animation {
    animation: slideIn 0.5s ease-in forwards;
}

.add-animation-slide {
    animation: slideIn 0.5s ease-in forwards;
}

.multi-image-container {
    position: relative;
    display: inline-block;
}

.multi-image-container img {
    width: 100%;
    height: auto;
}

.multi-image-container img:first-child {
    position: relative;
    display: block;
}

.multi-image-container img:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
}

.multi-image-container img:nth-child(1) { animation-delay: 0s; }
.multi-image-container img:nth-child(2) { animation-delay: 2s; }
.multi-image-container img:nth-child(3) { animation-delay: 4s; }
.multi-image-container img:nth-child(4) { animation-delay: 6s; }

/*-------------------------------------------Element Animations---------------------------------------------*/
.element-img {
    display: inline-block;
}

.element-anim-pulse { animation: pulse infinite linear; }
.element-anim-pulse2 { animation: pulse2 infinite linear; }
.element-anim-randomMove { animation: randomMove infinite ease-in-out; }
.element-anim-subtleMove { animation: subtleMove infinite ease-in-out; }
.element-anim-moveNorthWest { animation: moveNorthWest infinite ease-in-out; }
.element-anim-moveNorthEast { animation: moveNorthEast infinite ease-in-out; }
.element-anim-moveSouthWest { animation: moveSouthWest infinite ease-in-out; }
.element-anim-moveSouthEast { animation: moveSouthEast infinite ease-in-out; }
.element-anim-bounce { animation: bounce infinite ease-in-out; }
.element-anim-shake { animation: shake infinite linear; }
.element-anim-rotate { animation: rotate infinite linear; }
.element-anim-swing { animation: swing infinite ease-in-out; }
.element-anim-float { animation: float infinite ease-in-out; }
.element-anim-wobble { animation: wobble infinite ease-in-out; }
.element-anim-heartbeat { animation: heartbeat infinite ease-in-out; }
.element-anim-carouselLeft { animation: carouselLeft infinite linear; }
.element-anim-carouselRight { animation: carouselRight infinite linear; }

@keyframes carouselLeft {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes carouselRight {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes randomMove {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(8px, -5px); }
    20% { transform: translate(-3px, 12px); }
    30% { transform: translate(15px, 3px); }
    40% { transform: translate(-8px, -10px); }
    50% { transform: translate(5px, 8px); }
    60% { transform: translate(-12px, 2px); }
    70% { transform: translate(10px, -8px); }
    80% { transform: translate(-5px, 15px); }
    90% { transform: translate(3px, -3px); }
    100% { transform: translate(0px, 0px); }
}

@keyframes subtleMove {
    0% { transform: translate(0px, 0px); }
    10% { transform: translate(2px, -1px); }
    20% { transform: translate(-1px, 3px); }
    30% { transform: translate(3px, 1px); }
    40% { transform: translate(-2px, -2px); }
    50% { transform: translate(1px, 2px); }
    60% { transform: translate(-3px, 0px); }
    70% { transform: translate(2px, -2px); }
    80% { transform: translate(-1px, 3px); }
    90% { transform: translate(1px, -1px); }
    100% { transform: translate(0px, 0px); }
}

@keyframes moveSouthWest {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes moveSouthEast {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}

/*-------------------------------------------Popup Overlay---------------------------------------------*/
.popup-overlay {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.popup-overlay.popup-show {
    opacity: 1;
    transform: scale(1);
}

.popup-content {
    position: relative;
    display: inline-block;
}

.popup-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.popup-button {
    position: absolute;
    text-align: center;
}

.popup-button a {
    display: block;
}

.popup-btn-img {
    width: 100%;
    height: auto;
    animation: pulse 0.9s infinite linear;
    cursor: pointer;
}

/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
@media (min-width: 992px) {
    #bg {
        height: 100vh;
    }
}