/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/*body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #23242a;
}
*/
.bodyCenterAlign {
    display: flex;
    justify-content: center;
}

.box .borderLine,
.registerBox .borderLine {
    position: absolute;
    top: 0;
    inset: 0;
}

    .box .borderLine::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 380px;
        height: 420px;
        background: linear-gradient(0deg, transparent, transparent, #ff2770,#ff2770, #ff2770);
        z-index: 1;
        transform-origin: bottom right;
        animation: animate 6s linear infinite;
        animation-delay: -1.5s
    }

    .box .borderLine::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 380px;
        height: 420px;
        background: linear-gradient(0deg, transparent, transparent, #ff2770,#ff2770, #ff2770);
        z-index: 1;
        transform-origin: bottom right;
        animation: animate 6s linear infinite;
        animation-delay: -4.5s
    }

    .registerBox .borderLine::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 480px;
        height: 700px;
        background: linear-gradient(0deg, transparent, transparent, #ff2770,#ff2770, #ff2770);
        z-index: 1;
        transform-origin: bottom right;
        animation: animate 6s linear infinite;
        animation-delay: -1.5s
    }

    .registerBox .borderLine::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 480px;
        height: 700px;
        background: linear-gradient(0deg, transparent, transparent, #ff2770,#ff2770, #ff2770);
        z-index: 1;
        transform-origin: bottom right;
        animation: animate 6s linear infinite;
        animation-delay: -4.5s
    }

@keyframes animate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.box {
    position: relative;
    width: 480px;
    height: 480px;
    background: #232930;
    border-radius: 8px;
    overflow: hidden;
    justify-content: center;
    align-self: center;
}

.registerBox {
    position: relative;
    width: 480px;
    height: 700px;
    background: #232930;
    border-radius: 8px;
    overflow: hidden;
    justify-content: center;
    align-self: center;
}

    .registerBox::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 580px;
        height: 700px;
        background: linear-gradient(0deg, transparent, transparent, #45f3ff,#45f3ff, #45f3ff);
        z-index: 1;
        transform-origin: bottom right;
        animation: animate 6s linear infinite;
    }

    .registerBox::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 580px;
        height: 700px;
        background: linear-gradient(0deg, transparent, transparent, #45f3ff,#45f3ff, #45f3ff);
        z-index: 1;
        transform-origin: bottom right;
        animation: animate 6s linear infinite;
        animation-delay: -3s
    }

.box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #45f3ff,#45f3ff, #45f3ff);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}

.box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg, transparent, transparent, #45f3ff,#45f3ff, #45f3ff);
    z-index: 1;
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: -3s
}

.box form,
.registerBox form {
    position: absolute;
    inset: 4px;
    background: #232930;
    padding: 50px 40px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

    .box form h2,
    .registerBox form h2 {
        color: #fff;
        font-weight: 500;
        text-align: center;
        letter-spacing: 0.1em;
    }

    .box form .inputBox,
    .registerBox form .inputBox {
        position: relative;
        width: 390px;
        margin-top: 35px;
        height: 60px;
    }

        .box form .inputBox input,
        .registerBox form .inputBox input {
            position: relative;
            width: 100%;
            height: 40px;
            padding: 20px 10px 20px;
            /*background: transparent;*/
            outline: none;
            border: none;
            border-radius: 6px;
            box-shadow: none;
            color: #23242a;
            font-size: 1em;
            letter-spacing: 0.05em;
            transition: 0.5s;
            z-index: 10;
        }

            .box form .inputBox input:focus,
            .registerBox form .inputBox input:focus {
                border: 2px solid #45f3ff
            }
    /* .box form .inputBox span,
        .registerBox form .inputBox span {
            position: absolute;
            left: 0;
            padding: 20px 0px 10px;
            pointer-events: none;
            color: #8f8f8f;
            font-size: 1em;
            letter-spacing: 0.05em;
            transition: 0.5s;
        }*/
    /*        .box form .inputBox input:valid ~ span,
        .box form .inputBox input:focus ~ span,
        .registerBox form .inputBox input:focus ~ span
        {
            color: #fff;
            font-size: 0.75em;
            transform: translateY(-34px);
        }*/
    /* .box form .inputBox i,
        .registerBox form .inputBox i {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 44px;
            background: #fff;
            border-radius: 4px;
            overflow: hidden;
            transition: 0.5s;
            pointer-events: none;
        }*/
    /*.box form .inputBox input:valid ~ i,*/
    /*   .box form .inputBox input:focus ~ i, .registerBox form .inputBox input:focus ~ i {
            height: 44px;
        }*/

    .box form .links,
    .registerBox form .links {
        display: flex;
        justify-content: space-between;
    }

        .box form .links .linksChild a,
        .box form .links a,
        .registerBox form .links .linksChild a,
        .registerBox form .links a {
            margin: 20px 0;
            font-size: 0.75em;
            color: #8f8f8f;
            text-decoration: none;
        }

            .registerBox form .links a span {
                font-size: 1em;
                color: #8f8f8f;
            }

            .box form .links .linksChild a:hover,
            .box form .links a:hover,
            .box form .links a:nth-child(2),
            .box form .links .linksChild a:nth-child(2),
            .registerBox form .links .linksChild a:hover,
            .registerBox form .links a:hover,
            .registerBox form .links a:nth-child(2),
            .registerBox form .links .linksChild a:nth-child(2) {
                color: #fff;
            }

    .box form button[type="submit"],
    .registerBox form button[type="submit"] {
        border: none;
        outline: none;
        padding: 9px 25px;
        background: #fff;
        cursor: pointer;
        font-size: 0.9em;
        border-radius: 4px;
        font-weight: 600;
        width: 140px;
        margin-top: 10px;
        color: #000;
    }

        .box form button[type="submit"]:active,
        .registerBox form button[type="submit"]:active {
            opacity: 0.8;
        }

    .box form button,
    .registerBox form button {
        -webkit-appearance: none;
        appearance: none;
    }

/*Footer css*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.footer .container {
    max-width: 1170px;
    margin: auto;
}

    .footer .container .row {
        display: flex;
        flex-wrap: wrap;
    }

    .footer .container .footer-col ul {
        list-style: none;
        padding-left: 0px;
    }

.footer {
    background-color: #24262b;
    padding: 70px 0;
}

.footer-below {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
}

    .footer-below .inner-container {
        height: 60px;
    }

.footer-col {
    width: 33%;
    padding: 0 15px;
}

    .footer-col .paragraph-desc {
        margin-top: 10px;
    }

    .footer-col h4 {
        font-size: 18px;
        color: #ffffff;
        text-transform: capitalize;
        margin-bottom: 35px;
        font-weight: 500;
        position: relative;
    }

        .footer-col h4::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -10px;
            background-color: #8B0000;
            height: 2px;
            box-sizing: border-box;
            width: 50px;
        }

    .footer-col ul li:not(:last-child) {
        margin-bottom: 10px;
    }

    .footer-col ul li a {
        font-size: 16px;
        text-transform: capitalize;
        color: #ffffff;
        text-decoration: none;
        font-weight: 300;
        color: #bbbbbb;
        display: block;
        transition: all 0.3s ease;
    }

        .footer-col ul li a:hover {
            color: #ffffff;
            font-size: 17px;
        }

    .footer-col .social-links a {
        display: inline-block;
        height: 40px;
        width: 40px;
        background-color: rgba(255,255,255,0.2);
        margin: 0 10px 10px 0;
        text-align: center;
        line-height: 40px;
        border-radius: 50%;
        color: #ffffff;
        transition: all 0.5s ease;
    }

        .footer-col .social-links a:hover {
            color: #24262b;
            background-color: #ffffff;
        }

/*responsive*/
@media(max-width: 767px) {
    .footer-col {
        width: 50%;
        margin-bottom: 30px;
    }
}

@media(max-width: 574px) {
    .footer-col {
        width: 100%;
    }
}




/*Character list home port feature in Account Details*/
.character-grid {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem; /* space between cards */
    justify-content: space-between; /* <-- NEW */
}

.character-card-col {
    width: 280px; /* fixed width for all cards */
}

.character-card-box {
    padding-top: 2rem;
    /*padding-bottom: 1rem;*/
    height: 100%;
}

.character-card {
    background-color: #171e22;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .character-card:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

.character-card-body {
    padding: 1.25rem;
    flex-grow: 1;
}

.character-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #00aaff;
    margin-bottom: 0.5rem;
}

.character-detail {
    font-size: 0.95rem;
    color: #fff;
}

.country-flag {
    width: 32px;
    height: 32px;
    margin-left: auto; /* pushes it to the right */
    flex-shrink: 0;
}

.img-flag {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.language-switcher {
    margin-left: auto;
    padding: 0.5rem 0;
}
/*Custom Popups*/
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.6); /* softer black overlay */
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', sans-serif;
}

.modal-content {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    color: #333;
    padding: 20px 20px;
    border-radius: 16px;
    text-align: center;
    width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

    .modal-content h2 {
        font-size: 20px;
        color: #222;
        margin-bottom: 10px;
    }

    .modal-content p {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .modal-content button {
        background-color: #ff4081;
        color: #fff;
        padding: 8px 10px;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        cursor: pointer;
        transition: background 0.3s;
    }
/*For Give HK popup Start*/
        .modal-content button:hover {
            background-color: #e73370;
        }

    .modal-content input[type="number"] {
        font-size: 16px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 6px 10px;
        width: 100%;
    }

    .modal-content button {
        background-color: #27ae60; /* Green for 'Give' */
    }

        .modal-content button:hover {
            background-color: #219150;
        }

/*For Give HK popup End*/

