@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

body {
    background-color: #d88989; /* Çizimdeki arka plan pembesi */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* === NAVBAR === */
.navbar {
    background-color: #c94b4b;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: relative;
    z-index: 100;
}

.nav-left, .nav-center, .nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.brand {
    font-weight: 900;
    font-size: 20px;
    color: #111;
    text-decoration: none;
    line-height: 1;
}

.nav-btn {
    background-color: #b53d3d;
    color: #111;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.nav-btn.active, .nav-btn:hover {
    background-color: #8c2a2a; /* Tıklanan koyu buton görünümü */
    color: #111;
}

.search-bar {
    background-color: #b85252;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    width: 300px;
    color: #111;
    font-weight: 700;
    outline: none;
}
.search-bar::placeholder { color: #552525; }

.nav-link {
    color: #111;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
}

/* === KULLANICI PROFİL KISMI === */
.user-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    background-color: transparent;
}
.profile-pic {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #111;
}
.user-info {
    display: flex;
    flex-direction: column;
}
.username {
    font-weight: 900;
    color: #111;
    font-size: 16px;
}
.level-container {
    display: flex;
    align-items: center;
    gap: 5px;
}
.level-badge {
    background: #111;
    color: #d88989;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.progress-bar {
    width: 80px;
    height: 8px;
    background: #a33333;
    border-radius: 5px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: #d88989;
}

/* === AÇILIR MENÜLER (DROPDOWN) === */
.dropdown-menu {
    position: absolute;
    top: 90px;
    right: 40px;
    background: #a83838; /* Çizimdeki koyu kutu */
    border-radius: 15px;
    padding: 25px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.dropdown-menu.show { display: block; }

/* Giriş Yap Baloncuğu Ok İşareti */
.login-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    right: 70px;
    border-width: 0 15px 15px 15px;
    border-style: solid;
    border-color: transparent transparent #a83838 transparent;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px;
}
.login-form label {
    font-weight: 900;
    font-size: 12px;
    color: #111;
}
.login-form input {
    background: #c56565;
    border: none;
    border-radius: 15px;
    padding: 12px;
    color: #111;
    font-weight: 700;
    outline: none;
}
.btn-dark {
    background: #6e2020;
    color: #a83838;
    border: none;
    padding: 10px 25px;
    border-radius: 15px;
    font-weight: 900;
    cursor: pointer;
    align-self: flex-start;
}
.forgot-link {
    font-size: 10px;
    color: #4a1515;
    text-decoration: none;
    font-weight: 800;
    align-self: flex-end;
    margin-top: -30px;
}

/* Profil Menüsü Tasarımı */
.profile-menu {
    right: 20px;
    top: 80px;
    background: #ff5f5f;
    border-radius: 0 0 15px 15px;
    padding: 0;
    width: 200px;
}
.profile-menu a {
    display: block;
    padding: 15px;
    text-align: center;
    color: #7a2222;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    border-bottom: 1px solid #e05353;
}
.profile-menu a:hover { background: #e85656; }
.profile-menu a:first-child { color: #e6b3b3; background: #c24747; } /* PROFİLİM kısmı */

/* === KAYIT OL SAYFASI TASARIMI === */
.register-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
}
.register-title {
    font-size: 40px;
    font-weight: 900;
    color: #111;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 105; /* Navbarın üstüne çıkması için */
}
.register-box {
    background: #a83838;
    padding: 40px;
    border-radius: 25px;
    width: 450px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
.register-box label {
    text-align: left;
    display: block;
    font-weight: 900;
    color: #111;
    margin-bottom: 5px;
}
.register-box input, .register-box select {
    width: 100%;
    background: #c56565;
    border: none;
    border-radius: 20px;
    padding: 15px;
    color: #111;
    font-weight: 800;
    outline: none;
}
.row {
    display: flex;
    gap: 10px;
}
.btn-next {
    background: #6e2020;
    color: #a83838;
    border: none;
    padding: 15px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.code-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}
.code-inputs input {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    padding: 0;
}
.btn-resend {
    background: #6e2020;
    color: #a83838;
    border: none;
    padding: 8px 15px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
}

/* === FOOTER === */
footer {
    background-color: #151515;
    height: 80px;
    margin-top: auto;
}