/* TEXO App - Splash/Landing Page Styles */

/* Hide default WordPress elements */
.page-template-page-splash .site-header,
.page-template-page-splash .site-footer,
.page-template-page-splash #wpadminbar {
    display: none !important;
}

.page-template-page-splash body {
    margin: 0 !important;
    padding: 0 !important;
    background: #000;
}

/* Loading Screen */
#loadIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

#loadIndicator.hidden {
    opacity: 0;
    pointer-events: none;
}

#loadIndicator img {
    width: 80px;
    height: 80px;
}

#loadIndicator span {
    color: #fff;
    margin-top: 10px;
    font-size: 14px;
}

/* Splash page container */
.splash-page-wrap {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    position: relative;
    background: #000;
    overflow: hidden;
}

/* Background */
.splash-bg {
    position: absolute;
    left: -10px;
    top: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: #000;
}

.splash-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXO Logo at TOP */
.texo-logo {
    position: absolute;
    left: 50%;
    top: 100px;
    transform: translateX(-50%);
    width: 266px;
    height: 69px;
    z-index: 5;
    opacity: 0;
    animation: fadeInAppLogo 1s ease-in-out 2.5s forwards;
}

.texo-logo img {
    width: 100%;
    height: 100%;
}

@keyframes fadeInAppLogo {
    0% { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* X Logo BELOW */
.x-logo {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 335px;
    height: 311px;
    z-index: 5;
    opacity: 0;
    animation: fadeInLogo 1s ease-in-out 3s forwards;
}

.x-logo img {
    width: 100%;
    height: 100%;
}

@keyframes fadeInLogo {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Click to continue button */
.continue-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3;
}
