/**
 * PlayFully Early Access Page Styles
 * Medium screens (915px - 1649px)
 * View-specific overrides only
 */

@import "core/global.css";
@import "core/global_prelog.css";
@import "core/fonts.css";

/* ================================ */
/* Contrast Shield                  */
/* ================================ */

.divContrastShield {
    background: radial-gradient(
        ellipse 60% 80% at 50% 50%,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* ================================ */
/* Footer - Scrollable              */
/* ================================ */

.footerHero {
    position: relative;
    bottom: auto;
    left: auto;
}

/* ================================ */
/* Early Access Message             */
/* ================================ */

.divEarlyAccessMessage {
    max-width: 600px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.pEarlyAccessTitle {
    font-family: Rubik_SemiBold, sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--c7);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.pEarlyAccessSubtitle {
    font-family: Rubik_Regular, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--c9);
    margin: 0;
}

/* ================================ */
/* Form Container                   */
/* ================================ */

.divEarlyAccessFormContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* ================================ */
/* Form Inputs                      */
/* ================================ */

.divEarlyAccessInpContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 16px;
}

.divEarlyAccessInpInnerContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.lblEarlyAccess {
    padding: 0px 0px 6px 15px;
    color: var(--c9);
    font-size: 12px;
    text-align: left;
}

.inpEarlyAccess {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
    color: var(--c8);
    border-color: var(--c4);
    border-width: 2px;
    background: rgba(0, 0, 0, 0.4);
    outline: none;
    font-size: 14px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.inpEarlyAccess:focus,
.inpEarlyAccess.inpFocused {
    border-color: var(--pf_orange);
    background: rgba(0, 0, 0, 0.6);
}

.inpEarlyAccess::placeholder {
    color: var(--c5);
}

/* ================================ */
/* Privacy Notice                   */
/* ================================ */

.pEarlyAccessPrivacy {
    color: var(--c9);
    margin: 8px 0 0 0;
    font-size: 12px;
    text-align: center;
}

/* ================================ */
/* Error Message                    */
/* ================================ */

#pEarlyAccessError {
    height: 20px;
    min-height: 20px;
    width: 100%;
    text-align: center;
    margin: 12px 0;
    color: var(--c5);
    font-size: 13px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#pEarlyAccessError.pEarlyAccessErrorVisible {
    opacity: 1;
}

/* ================================ */
/* Submit Button                    */
/* ================================ */

.divEarlyAccessButtonContainer {
    margin-top: 8px;
}

.btnHeroPrimary.custBtnCont {
    height: 48px;
    border-radius: 24px;
    background: var(--pf_orange);
    border: 2px solid var(--pf_orange);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btnHeroPrimary .custBtnA,
.btnHeroPrimary .custBtnSpn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Rubik_Medium, sans-serif;
    height: 100%;
    min-height: 100%;
    padding: 0 32px;
    font-size: 15px;
    line-height: 48px;
    color: var(--c0) !important;
    text-decoration: none;
}

.canHover .btnHeroPrimary.custBtnCont:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 131, 0, 0.4);
    background: var(--pf_orange);
    border-color: var(--pf_orange);
}

.btnHeroPrimary.custBtnCont:focus {
    outline: 2px solid var(--c7);
    outline-offset: 3px;
}

.btnHeroPrimary.custBtnCont:active {
    transform: translateY(0);
}

.btnHeroPrimary.custBtnInactive {
    opacity: 0.6;
    cursor: not-allowed;
}

.canHover .btnHeroPrimary.custBtnInactive:hover {
    transform: none;
    box-shadow: none;
}

/* ================================ */
/* Reduced Motion Support           */
/* ================================ */

@media (prefers-reduced-motion: reduce) {
    .divEarlyAccessMessage,
    .divEarlyAccessFormContainer {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .btnHeroPrimary.custBtnCont {
        transition: none;
    }
    
    .canHover .btnHeroPrimary.custBtnCont:hover {
        transform: none;
    }
}

body.reduced-motion .divEarlyAccessMessage,
body.reduced-motion .divEarlyAccessFormContainer {
    animation: none;
    opacity: 1;
    transform: none;
}

body.reduced-motion .btnHeroPrimary.custBtnCont {
    transition: none;
}

body.reduced-motion .canHover .btnHeroPrimary.custBtnCont:hover {
    transform: none;
}
