@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&family=Plus+Jakarta+Sans:wght@300;600&display=swap');

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: #000;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

.game-font {
    font-family: 'Marcellus SC', serif;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: white !important;
    -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.portal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../i/galata.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;
    z-index: 1;
}

.portal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    background: radial-gradient(circle, rgba(235, 38, 219, 0.05) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}

#mainContainer {
    width: 1025px;
    height: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    text-align: center;
}

.login-box {
    width: 420px;
    margin: 8px auto 0;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(234,170,51, 0.4);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), 0 0 15px rgba(234, 170, 51, 0.2);
}

#divErrorArea {
    background: rgba(68, 17, 17, 0.8);
    border: 1px solid #ff4444;
    color: #ffaaaa;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 12px;
    border-radius: 8px;
    display: none;
    font-weight: 600;
}

.game-title {
    color: #eaaa33;
    font-size: 36px;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ikv-pill-button {
    display: block;
    width: 100%;
    height: 52px;
    background: linear-gradient(to bottom, #fce08a 0%, #eaaa33 50%, #b17b1d 100%);
    border: 2px solid #4d3a1e;
    border-radius: 26px;
    color: #000;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    text-decoration: none;
    line-height: 48px;
    outline: none;
}

    .ikv-pill-button:hover {
        filter: brightness(1.2);
    }

.glass-input {
    width: 100%;
    padding: 14px 15px;
    margin-bottom: 15px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

    .glass-input:focus {
        border-color: #eaaa33;
        outline: none;
    }

.captcha-container {
    margin-bottom: 15px;
    text-align: left;
}

.captcha-img {
    width: 140px;
    height: 48px;
    background: #222;
    border: 1px solid #333;
    vertical-align: middle;
    border-radius: 10px;
}

.captcha-input {
    width: 265px !important;
    vertical-align: middle;
    margin-bottom: 0 !important;
    margin-left: 10px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}

.remember-me {
    margin-bottom: 15px;
    text-align: left;
    padding-left: 5px;
}

    .remember-me input {
        vertical-align: middle;
        margin: 0 5px 0 0;
        cursor: pointer;
    }

    .remember-me span {
        font-size: 11px;
        color: #ccc;
        font-weight: 600;
        vertical-align: middle;
        cursor: pointer;
        text-transform: uppercase;
    }

.message-box {
    width: 840px;
    margin: 8px auto 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid #eaaa33;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 0 40px rgba(0,0,0,0.9), inset 0 0 15px rgba(234, 170, 51, 0.1);
    text-align: left;
}

.message-header {
    color: #eaaa33;
    font-size: 20px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(234, 170, 51, 0.3);
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.message-type {
    display: inline-block;
    background: rgba(235, 38, 219, 0.1);
    color: #eb26db;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 4px;
    border: 1px solid rgba(235, 38, 219, 0.3);
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 10px;
}

.message-content {
    color: #ccc;
    font-size: 13px;
    line-height: 1.6;
    height: 180px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    italic;
}

    .message-content::-webkit-scrollbar {
        width: 3px;
    }

    .message-content::-webkit-scrollbar-thumb {
        background: #eaaa33;
    }

.message-footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
    overflow: hidden;
}

.message-paging {
    float: left;
    color: #555;
    font-size: 12px;
    font-weight: bold;
    line-height: 44px;
}

.message-nav-btns {
    float: right;
    text-align: right;
    display: flex;
    gap: 8px;
}

/* Geri butonu için küçük stil */
.btn-back {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    display: block;
    margin-bottom: 8px;
}

    .btn-back:hover {
        color: #fff;
    }

#gameModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
}

.modal-box {
    background: #0a0a0a;
    border: 1px solid #eaaa33;
    margin: 80px auto;
    padding: 35px;
    border-radius: 20px;
    position: relative;
}
.modal-title {
    color: #eb26db;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    font-size: 24px;
}

.modal-content {
    color: #ccc;
    font-size: 14px;
    line-height: 1.7;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 20px;
    text-align: left;
}

    .modal-content::-webkit-scrollbar {
        width: 4px;
    }

    .modal-content::-webkit-scrollbar-thumb {
        background: #eaaa33;
        border-radius: 10px;
    }

#modalCloseX {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #555;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    font-weight: bold;
}

    #modalCloseX:hover {
        color: #fff;
    }

.footer-links {
    margin-top: 35px;
    color: #888;
    font-size: 11px;
}

    .footer-links button {
        background: none;
        border: none;
        color: #eaaa33;
        cursor: pointer;
        font-size: 11px;
        font-weight: bold;
        font-family: 'Plus Jakarta Sans', sans-serif;
        text-transform: uppercase;
    }


.finish-button {
    background: linear-gradient(to bottom, #9be28d 0%, #46b35f 50%, #2c7f3f 100%);
    border: 2px solid #1f5a2d;
    color: #06150a;
}

    .finish-button:hover {
        filter: brightness(1.12);
    }
label {
    font-size: 12px;
    color: #888;
}
.legal-wrapper {
    color: #cccccc;
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    font-style: italic;
    padding: 0 20px;
}

    .legal-wrapper h2 {
        color: #eaaa33;
        font-size: 18px;
        border-bottom: 1px solid #333333;
        padding-bottom: 5px;
        text-transform: uppercase;
    }