body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
}

.content-wrapper {
    padding: 20px;
    padding-bottom: 100px; /* Alt barın üstte kalmaması için */
}

/* Alt Navigasyon */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.nav-item {
    text-decoration: none;
    color: #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    transition: 0.3s;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 10px;
    margin-top: 4px;
    font-weight: 600;
}

.nav-item:hover {
    color: #ff4757;
}

/* Orta Büyük Buton */
.nav-item-main {
    position: relative;
    width: 70px;
    display: flex;
    justify-content: center;
}

.fab-button {
    position: absolute;
    bottom: 15px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.4);
    border: 5px solid #f4f7f6;
    transition: 0.3s ease;
}

.fab-button:hover {
    transform: scale(1.1);
}

/* Auth & Profil Tasarımı */
.auth-container, .profile-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

.auth-container input, .profile-card textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #eee;
    border-radius: 10px;
    box-sizing: border-box;
}

.auth-btn, .save-btn {
    width: 100%;
    padding: 15px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.image-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.image-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff4757;
}

.edit-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #333;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.logout-link {
    display: block;
    margin-top: 20px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
}

.error { color: red; font-size: 14px; }
.success { color: green; font-size: 14px; }

/* Gelişmiş Profil Tasarımı */
.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.profile-card {
    background: #ffffff;
    width: 100%;
    max-width: 350px;
    border-radius: 30px;
    padding: 40px 25px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    text-align: center;
}

.settings-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    transition: 0.3s;
}

.settings-toggle:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

.profile-img-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, #ff4757, #ffa502);
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    border: 3px solid white;
}

.username {
    margin: 10px 0 5px;
    font-size: 22px;
    color: #2f3542;
}

/* Rank Tasarımı */
.user-rank {
    display: inline-block;
    background: #f1f2f6;
    color: #57606f;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    border: 1px solid #dfe4ea;
}

.user-rank i {
    color: #ffa502;
    margin-right: 5px;
}

.user-bio {
    font-size: 14px;
    color: #747d8c;
    line-height: 1.6;
    margin-bottom: 25px;
}

.upload-label {
    display: block;
    padding: 10px;
    background: #f8f9fa;
    border: 1px dashed #ccc;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 13px;
}

.logout-btn {
    text-decoration: none;
    color: #ff4757;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.save-btn {
    background: #2ecc71;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}
