@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('../fonts/SpaceGrotesk/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

* {
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
}

/* Research-based weight hierarchy for dark gaming site */
h1, h2, h3                          { font-weight: 700; }
h4, h5, h6                          { font-weight: 500; }
button, [type="submit"], [type="button"] { font-weight: 500; }
label                                { font-weight: 500; }
.font-medium-sg                      { font-weight: 500; }
.font-bold-sg                        { font-weight: 700; }

body {
    background-color: #111;
}

.neon-text {
    text-shadow:
        -1px -1px 0 #00ffff,
        1px -1px 0 #ff00ff,
        -1px 1px 0 #00ffff,
        1px 1px 0 #ff0000;
}

.text-outline-111 {
    text-shadow:
      -1px -1px 0 #111,
       1px -1px 0 #111,
      -1px  1px 0 #111,
       1px  1px 0 #111;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.button-bg {
    background: conic-gradient(from 0deg, #00F5FF, #000, #000, #00F5FF, #000, #000, #000, #00F5FF);
    background-size: 300% 300%;
    animation: shine 6s ease-out infinite;
}

#Search {
    padding: 5px 10px;

    background-color: #111;
    border-radius: 6px;
    border: #fff solid 1px;
    outline: none;

    color: #fff;
}

#Header-Section {
    width: 100%;
    height: 60vh;
    position: relative;
}

.heroSwiper {
    width: 100%;
    height: 100%;
}

.heroSwiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.heroSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.heroSwiper .swiper-pagination-bullet-active {
    background: #fff;
}

.custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;

    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.custom-prev {
    left: 20px;
}

.custom-next {
    right: 20px;
}

/* ================================================================
   Auth pages — login, register, forgot password, reset password
   ================================================================ */

/* Prevent iOS Safari viewport zoom on input focus (requires font-size >= 16px) */
input, textarea, select {
    font-size: 16px;
}

/* Autofill fix: prevent browser white-background override */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #111422 inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    color: #e2e8f0 !important;
    caret-color: #22d3ee;
    transition: background-color 5000s ease-in-out 0s;
}

/* Input base */
.user-input {
    width: 100%;
    background: #111422;
    background-color: #111422;
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.5rem;
    padding: 0.85rem 1rem 0.85rem 3rem;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-style: normal;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.user-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
    font-style: normal;
    font-weight: 300;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
    -webkit-text-fill-color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}
.user-input:focus {
    border-color: rgba(34,211,238,0.6);
    box-shadow: 0 0 0 3px rgba(34,211,238,0.08);
}
.user-input.input-error {
    border-color: rgba(239,68,68,0.6);
}
.user-input::selection {
    background: rgba(34,211,238,0.35);
    color: #fff;
}

/* Password field — extra right padding for toggle, bullet dots need normal font-style */
.user-input-pass {
    padding-right: 3rem;
    font-style: normal;
}

/* Submit button glow */
.submit-glow {
    box-shadow: 0 0 15px rgba(34,211,238,0.3);
}
.submit-glow:hover {
    box-shadow: 0 0 30px rgba(34,211,238,0.6);
}

/* Thin cyan top accent bar on card */
.card-accent {
    position: relative;
}
.card-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34,211,238,0.4), transparent);
    border-radius: 9999px;
}

/* Error message text under fields */
.error-msg {
    color: #f87171;
    font-size: 0.75rem;
    margin-top: 4px;
    margin-left: 2px;
}

/* Checkbox (register page) */
.auth-checkbox {
    appearance: none;
    background-color: transparent;
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    border: 1px solid rgba(34,211,238,0.5);
    border-radius: 3px;
    display: grid;
    place-content: center;
    cursor: pointer;
    margin-top: 2px;
}
.auth-checkbox::before {
    content: "";
    width: 0.6rem;
    height: 0.6rem;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1rem 1rem #22d3ee;
    border-radius: 1px;
}
.auth-checkbox:checked::before {
    transform: scale(1);
}

/* Modal backdrop (register terms modal) */
.modal-backdrop {
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}