@font-face {
    font-family: 'Vodafone';
    src: url('../fonts/Vodafone-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vodafone';
    src: url('../fonts/Vodafone-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lunchtype21';
    src: url('../fonts/Lunchtype.eot');
    src: url('../fonts/Lunchtype.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Lunchtype.woff2') format('woff2'),
    url('../fonts/Lunchtype.woff') format('woff'),
    url('../fonts/Lunchtype.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lunchtype21';
    src: url('../fonts/Lunchtype-Medium.eot');
    src: url('../fonts/Lunchtype-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Lunchtype-Medium.woff2') format('woff2'),
    url('../fonts/Lunchtype-Medium.woff') format('woff'),
    url('../fonts/Lunchtype-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lunchtype21';
    src: url('../fonts/Lunchtype-Bold.eot');
    src: url('../fonts/Lunchtype-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Lunchtype-Bold.woff2') format('woff2'),
    url('../fonts/Lunchtype-Bold.woff') format('woff'),
    url('../fonts/Lunchtype-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Vodafone, Arial, sans-serif;
    width: auto;
    height: 100%;
    background: #08081B;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background-color: #e60000;
    border-radius: 3px;
}

input {
    box-sizing: border-box;
    font-family: Vodafone, Arial, sans-serif;
    height: 52px;
    width: 100%;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 18px;
    padding: 0 15px;
    margin-bottom: 12px;
    background-color: #1B2033;
    color: #ffffff;
}

input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #e60000;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff;
    -webkit-box-shadow: 0 0 0 1000px #1B2033 inset;
    box-shadow: 0 0 0 1000px #1B2033 inset;
    caret-color: #ffffff;
    transition: background-color 5000s ease-in-out 0s;
}

a {
    color: #00bcd4;
}

input[type="checkbox"] {
    height: auto;
    width: auto;
    margin-bottom: 5px;
    background-color: transparent;
    border: 1px solid #e60000;
}

button[type="submit"], .submit-button, .actionButtons button, #submitAge {
    box-sizing: border-box;
    height: 52px;
    width: 100%;
    padding: 0;
    border-radius: 8px;
    background-color: #e60000;
    text-align: center;
    line-height: 52px;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    font-family: Vodafone, Arial, sans-serif;
    letter-spacing: 0.5px;
    border: none;
    margin-top: 15px;
    cursor: pointer;
}

.submit-button {
    margin-top: 5px;
    margin-bottom: 15px;
}

.actionButtons button, #submitAge {
    font-size: 14px;
    height: 44px;
    line-height: 44px;
    margin-top: 5px;
    cursor: pointer;
}

#submitAge {
    height: 52px;
    line-height: 52px;
    min-width: 226px;
    margin-top: 40px;
}

#form-signin-code .submit-button {
    display: block;
    margin: auto;
    margin-bottom: 15px;
}

button:disabled,
button[disabled],
#submitAge:disabled {
    background-color: #777777;
    cursor: not-allowed;
}

.actionButtons button[data-active="off"] {
    background-color: #333333;
}

.actionButtons button[data-active="on"] {
    cursor: auto;
}

.form-container {
    color: white;
    width: 519px;
    border-radius: 0;
    background-color: #08081B;
    text-align: center;
    margin: 0 auto;
    padding: 10px 45px;
    padding-bottom: 25px;
    box-sizing: border-box;
    min-height: 300px;
}

.form-logo {
    text-align: left;
    padding: 0 0 13px 0;
    border-bottom: none;
    background: #08081B;
    margin-bottom: 0;
}

.form-logo img {
    height: 36px;
    width: auto;
}

.form-title-icon {
    text-align: center;
    display: none;
    margin-top: 25px;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.form-title {
    color: #e60000;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 19px;
    text-align: center;
    margin: 20px auto;
}

#form-subtitle {
    color: #ffffff;
}

.notification-message {
    height: 22px;
    opacity: 0.5;
    color: #ffffff;
    font-family: Vodafone, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 14px;
}

/* Default hidden error */
.error {
    color: white;
    padding-left: 22px;
    position: relative;
    display: none;
    margin: 0;
    text-align: left;
    font-size: 13px;
    margin-bottom: 10px;
    line-height: 18px;
}

.error::before {
    content: '';
    width: 13px;
    height: 13px;
    border: 2px solid #777777;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 2px;
    background: transparent;
}

/* Always-visible password rules (class="error show") */
.error.show {
    display: flex;
    align-items: flex-start;
    padding-left: 0;
    gap: 8px;
    margin-bottom: 7px;
}

.error.show::before {
    content: '';
    width: 13px;
    height: 13px;
    min-width: 13px;
    border: 2px solid #777777;
    border-radius: 50%;
    position: relative;
    left: auto;
    top: 2px;
    background: transparent;
    flex-shrink: 0;
}

.error.highlighted {
    color: #ff4444;
}

.error.highlighted::before {
    border-color: #ff4444;
    background-color: #ff4444;
}

/* Valid password rule */
.error.valid, .error.show.valid {
    color: #cccccc;
}

.error.valid::before, .error.show.valid::before {
    border-color: #e60000;
    background-color: #e60000;
}

.form-label {
    font-size: 14px;
    line-height: 18px;
    font-family: Vodafone, Arial, sans-serif;
    margin-bottom: 15px;
    display: block;
    position: relative;
    text-indent: 28px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pretty-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark, .checkmark2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    border-radius: 4px;
    border: 1px solid #e60000;
    background: transparent;
}

.pretty-checkbox:hover input ~ .checkmark,
.pretty-checkbox:hover input ~ .checkmark2 {
    border-color: #ff3333;
}

.pretty-checkbox input:checked ~ .checkmark,
.pretty-checkbox input:checked ~ .checkmark2 {
    background-color: #e60000;
}

.checkmark::after, .checkmark2::after {
    content: '';
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.pretty-checkbox input:checked ~ .checkmark::after,
.pretty-checkbox input:checked ~ .checkmark2::after {
    display: block;
}

#form-signin-code {
    display: none;
    margin: 30px auto 0;
}

#form-signin-code input {
    font-size: 28px;
    letter-spacing: 15px;
    color: #e60000;
    padding: 15px 25px;
    font-weight: normal;
    font-family: sans-serif;
    max-width: 238px;
    text-align: center;
    background: #222;
    border-color: #e60000;
    color: #e60000;
}

.hide {
    display: none;
}

.show {
    display: block;
}

#form-footer-bad-credentials {
    display: none;
}

#form-footer, #form-footer-bad-credentials {
    border-top: 1px solid #2a2a2a;
    text-align: center;
    padding: 18px 20px;
    font-size: 14px;
    color: #00bcd4;
}

#form-footer.footer-red,
#form-footer.footer-red a {
    color: #e60000;
}

.text-button {
    background: none;
    border: none;
    width: auto;
    height: auto;
    padding: 0;
    margin-top: 10px;
    color: #ffffff;
    font-family: Vodafone, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

#form-footer a, #form-footer-bad-credentials a {
    color: #00bcd4;
}

#forgot-password-link, #go-to-login {
    padding: 15px 20px;
    font-size: 14px;
    text-align: center;
}

#forgot-password-link {
    margin-top: 30px;
}

#forgot-password-link a {
    color: white;
    text-decoration: none;
}

#go-to-login {
    margin-top: 75px;
    display: none;
}

#form-title-icon-img.spinning {
    animation-name: spin;
    animation-duration: 2500ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#form-footer.go-to-login,
#form-footer.go-to-login a,
#form-signin-code a,
#form-footer-bad-credentials a {
    font-size: 16px;
    text-align: center;
    font-family: Vodafone, Arial, sans-serif;
    font-weight: 500;
    border: none;
    text-decoration: none;
    margin-top: 50px;
}

#terms-text {
    display: none;
    max-height: 400px;
    overflow-y: scroll;
    padding-right: 15px;
    line-height: 18px;
    font-size: 12px;
}

#terms-text h1 {
    font-size: 20px;
}

#back-link {
    color: #e60000;
    font-size: 22px;
    line-height: 1;
    float: left;
    margin-top: 18px;
    margin-right: -30px;
    cursor: pointer;
    text-decoration: none;
    background: none;
    width: 22px;
    height: 22px;
}

#back-link::before {
    content: '←';
    color: #e60000;
    font-size: 22px;
    line-height: 1;
}

@keyframes spin {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.actionButtons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

#signup-age-confirmation p {
    text-align: left;
    font-size: 16px;
    line-height: 19px;
}

#signup-age-confirmation p:first-child {
    margin: 30px auto;
}

#email-checkbox, #parent-email-checkbox {
    position: relative;
    display: none;
    margin-top: 15px;
}

#parent-email-checkbox {
    margin: 20px;
}

.margin-left20 {
    margin-left: 20px;
}

#form-signin-code .notification-message {
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: -10px;
}

/* Password field with eye toggle */
.password-field-wrap {
    position: relative;
}

.password-field-wrap input {
    padding-right: 46px;
    margin-bottom: 0;
}

.password-field-wrap + .error,
.password-field-wrap + .error.show {
    margin-top: 6px;
}

.toggle-pw {
    position: absolute;
    right: 12px;
    top: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.toggle-pw svg {
    width: 20px;
    height: 20px;
}

/* Password rules block */
.password-rules-block {
    margin: 4px 0 10px;
}

/* Page-level bottom footer */
.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 12px;
    color: #888888;
    border-top: 1px solid #2a2a2a;
    background: #111111;
    width: 519px;
    box-sizing: border-box;
    margin: 0 auto;
}

.footer.signup-footer {
    display: block;
    text-align: center;
    padding: 14px 20px;
    font-size: 13px;
    color: #ffffff;
    background: #000000;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 0;
}

.footer.signup-footer a {
    color: inherit;
    text-decoration: underline;
}

/* Form description subtitle */
#form-description:not(:empty) {
    text-align: center;
    font-size: 15px;
    color: white;
    margin-bottom: 20px;
    margin-top: 5px;
}

@media screen and (max-width: 600px) {
    .form-container {
        width: calc(100% - 0px);
        margin: 0 auto;
        padding: 10px 20px 40px 20px;
    }

    .form-title {
        width: auto;
    }

    .page-footer {
        width: 100%;
        padding: 12px 16px;
    }
}

div.pretty-checkbox {
    margin-top: -15px;
    margin-left: 28px;
    text-indent: 0;
}

@media screen and (max-width: 440px) {
    .actionButtons button {
        padding: 7px 20px;
        height: auto;
        line-height: 19px;
    }

    .checkmark::after, .checkmark2::after {
        font-size: 7px;
    }
}

/* Email confirmation page */

.confirm-body {
    background: #000000;
}

.confirm-page {
    background: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.confirm-page .form-logo {
    padding: 12px 20px 13px;
}

.confirm-main {
    position: relative;
    flex: 1;
}

.confirm-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25vh;
    background-image: url("../images/hero-gaming-blur.png");
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    transform: scale(1.04);
}

.confirm-layer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 18px 24px;
}

.confirm-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 340px;
    background: #1C2133;
    border-radius: 4px;
    padding: 28px 26px 72px;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.confirm-icon {
    height: 160px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-icon img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.confirm-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.confirm-text {
    margin: 0 0 18px;
    font-size: 13px;
    color: #e5e7eb;
}

.confirm-ok {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
    padding: 14px 0px;
    margin-top: 72px;
    background-color: #e60000;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.06em;
    text-decoration: none;
}

.confirm-layer .text-button {
    margin-top: auto;
    padding-top: 60px;
    color: #aaaaaa;
    text-transform: uppercase;
}

.confirm-card #go-to-login {
    margin-top: 0;
    padding: 0;
}
