/*
 Theme Name:   Admiral Child
 Description:  Twenty Fifteen Child Theme
 Template:     admiral
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  admiralchild
*/
#content {
    background-color: #000;
}
.gamecontainer-wrapper {
    text-align: center;
}
#gamecontainer {
    margin: 0 auto;
    text-align: left;
    height: 100vh;
    width: 100%;
}

@media (min-width: 1024px) {
    #gamecontainer {
        height: 768px;
    }
}


body.page-template.page-template-template-game {
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    background: #000000;
}

body.page-template.page-template-template-game .login-wrap {
    padding: 50px;
    background: url('./assets/images/main.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

body.page-template.page-template-template-game .login-wrap #ewd-feup-login {
    display: flex;
    min-height: 300px;
    justify-content: start;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: #fff;
    background-color: #0000009c;
    position: relative;
}

body.page-template.page-template-template-game .login-wrap #ewd-feup-login #ewd-feup-login-form {
    position: absolute;
    top: 40px;
    left: 10px;
    right: 10px;
}

#ewd-feup-login-form .feup-pure-control-group label {
    display: none;
}
#ewd-feup-login-form .feup-pure-control-group {
    float: none;
    width: 100%;
    display: block;
    padding: 0;
    margin-bottom: 10px;
}
#ewd-feup-login-form .feup-pure-control-group .ewd-feup-text-input {
    display: block;
    width: 100%;
    padding: 0.2em 0.5em;
    border: 1px solid #ccc;
    border-radius: 0.25em;
    font-size: 1em;
    font-family: inherit;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    background-image: none;
    width: 100% !important;
    float: none;
}

#ewd-feup-login-form .ewd-feup-submit.ewd-feup-login-submit.feup-pure-button.feup-pure-button-primary {
    width: 100%;
    padding: 10px;
}

#ewd-feup-login-form .ewd-feup-submit.ewd-feup-login-submit.feup-pure-button.feup-pure-button-primary {
    position: relative;
    padding: 0.75rem 2.5rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fdf7e6;

    /* Wooden gradient */
    background-image:
        linear-gradient(120deg, rgba(255,255,255,0.25), rgba(0,0,0,0.15)),
        linear-gradient(90deg, #6b3a16, #8b4a1c, #a95b24, #8b4a1c);
    background-blend-mode: overlay, normal;

    /* Subtle “grain” effect */
    background-size: 200% 100%;
    box-shadow:
        0 4px 0 #4b250c,
        0 8px 15px rgba(0, 0, 0, 0.45);

    transition:
    transform 0.1s ease,
    box-shadow 0.1s ease,
    background-position 0.4s ease,
    filter 0.2s ease;
}

/* Optional fake grain using repeating linear gradient overlay */
#ewd-feup-login-form .ewd-feup-submit.ewd-feup-login-submit.feup-pure-button.feup-pure-button-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.04) 0px,
        rgba(255, 255, 255, 0.04) 2px,
        rgba(0, 0, 0, 0.08) 3px,
        rgba(0, 0, 0, 0.08) 4px
        );
    mix-blend-mode: soft-light;
    opacity: 0.9;
}

/* Hover: a bit brighter and “alive” */
#ewd-feup-login-form .ewd-feup-submit.ewd-feup-login-submit.feup-pure-button.feup-pure-button-primary:hover {
    background-position: 100% 0;
    filter: brightness(1.08);
}
  
/* Active: pressed-in effect */
#ewd-feup-login-form .ewd-feup-submit.ewd-feup-login-submit.feup-pure-button.feup-pure-button-primary:active {
    transform: translateY(2px);
    box-shadow:
        0 2px 0 #4b250c,
        0 4px 10px rgba(0, 0, 0, 0.5);
    filter: brightness(0.95);
}

/* Optional focus style */
#ewd-feup-login-form .ewd-feup-submit.ewd-feup-login-submit.feup-pure-button.feup-pure-button-primary:focus-visible {
    outline: 2px solid #f5e2a0;
    outline-offset: 3px;
}