/* Genel stiller */
* {
    color: white;
}

body {
    cursor: url('/cursors/c_ka.cur'), auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000;
}

a {
    color: #ffffff;
    text-decoration: none;
    cursor: url('/cursors/c_ka.cur'), auto; /* Varsayılan cursor */
}

    a:hover {
        color: #ff6600;
        cursor: url('/cursors/c_hm.cur'), pointer; /* Hover cursor */
    }

    a:active {
        color: #ff3300; /* Aktif durum için özel renk */
        cursor: url('/cursors/c_hms.cur'), pointer; /* Aktif cursor */
    }

/* Hover ve Active durumlar (Tüm butonlar ve linkler için geçerli) */
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
img:hover,
button[type="submit"]:hover,
label:hover {
    cursor: url('/cursors/c_hm.cur'), pointer; /* Hover cursor */
}

button:active,
input[type="button"]:active,
input[type="submit"]:active,
img:active,
button[type="submit"]:active,
label:active {
    cursor: url('/cursors/c_hms.cur'), pointer; /* Aktif cursor */
}

/*---------------------------------------------------*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333333;
    border-bottom: 1px solid #555555;
    border-radius: 8px;
    margin: 0 auto;
    max-width: 95%;
    width: 100%;
    padding: 10px 20px;
    height: auto;
    font-size: 1.1rem;
    box-sizing: border-box;
}

/* Tablet ve orta ekranlar için navbar */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        max-width: 98%;
        padding: 10px 15px;
    }
}

.social-buttons img {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

    .social-buttons img:hover {
        transform: scale(1.2);
        cursor: url('/cursors/c_hm.cur'), pointer;
    }

    .social-buttons img:active {
        transform: scale(1.1); /* Aktif durumda biraz küçülme */
        cursor: url('/cursors/c_hms.cur'), pointer;
    }

.navbar-brand img {
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;
}

    .navbar-brand img:hover {
        transform: scale(1.2);
        cursor: url('/cursors/c_hm.cur'), pointer;
    }

    .navbar-brand img:active {
        transform: scale(1.1);
        cursor: url('/cursors/c_hms.cur'), pointer;
    }

.navbar-brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.navbar-nav .nav-item img {
    transition: transform 0.2s ease, filter 0.2s ease;
}

    .navbar-nav .nav-item img:hover {
        transform: scale(1.2);
        filter: brightness(1.2);
        cursor: url('/cursors/c_hm.cur'), pointer;
    }

    .navbar-nav .nav-item img:active {
        transform: scale(1.1);
        cursor: url('/cursors/c_hms.cur'), pointer;
    }

.navbar-nav.ms-auto {
    margin-left: auto;
}

    .navbar-nav.ms-auto .nav-item {
        margin-right: 10px;
    }

.navbar .nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease;
    cursor: url('/cursors/c_ka.cur'), auto;
}

    .navbar .nav-link:hover {
        color: #ff6600 !important;
        cursor: url('/cursors/c_hm.cur'), pointer;
    }

    .navbar .nav-link:active {
        color: #ff3300 !important;
        cursor: url('/cursors/c_hms.cur'), pointer;
    }

.navbar .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #444444;
    color: #ffffff;
    border: none;
}

.navbar .dropdown-item {
    color: #ffffff;
    text-decoration: none;
    cursor: url('/cursors/c_ka.cur'), auto;
}

    .navbar .dropdown-item:hover {
        color: #ff6600;
        background-color: #555555;
        cursor: url('/cursors/c_hm.cur'), pointer;
    }

    .navbar .dropdown-item:active {
        color: #ff3300;
        background-color: #444444;
        cursor: url('/cursors/c_hms.cur'), pointer;
    }

.btn-primary {
    color: #ffffff;
    background-color: #444444;
    border-color: #555555;
}

    .btn-primary:hover {
        background-color: #ff5900;
        border-color: #666666;
        cursor: url('/cursors/c_hm.cur'), pointer;
    }

    .btn-primary:active {
        background-color: #ff3300;
        border-color: #444444;
        cursor: url('/cursors/c_hms.cur'), pointer;
    }

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #ffffff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    cursor: url('/cursors/c_hms.cur'), pointer;
}

/*--online user--*/
.online-user-widget {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    text-align: center;
}

    .online-user-widget .trapezoid {
        position: relative;
        width: 100px;
        height: 50px;
        background-color: rgb(49, 62, 49);
        clip-path: polygon(20% 0, 80% 0, 100% 100%, 0% 100%);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        box-shadow: 0 4px 8px rgba(88, 132, 109, 0.2);
        transition: all 0.3s ease;
    }
        .online-user-widget .trapezoid:hover span {
            color: #ff6600;
        }

    .online-user-widget .hover-box {
        position: absolute;
        bottom: 60px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgb(18, 30, 22);
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        text-align: center;
        width: 200px;
        z-index: 1001;
    }

.total-text {
    font-weight: bold; /* Kalın yazı */
    font-size: 18px; /* Yazı boyutunu artır */
    text-align: center; /* Ortala */
    margin: 10px 0; /* Üst ve alt boşluk ayarı */
}

.online-user-widget .hover-box h4 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
}

.online-user-widget .trapezoid:hover + .hover-box {
    opacity: 1;
    visibility: visible;
}

.online-user-widget .hover-box .stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

    .online-user-widget .hover-box .stats .online-karus,
    .online-user-widget .hover-box .stats .online-human {
        flex: 1;
        text-align: center;
        font-weight: bold;
    }

.online-user-widget .hover-box .bars {
    margin: 10px 0;
    width: 100%;
    height: 10px;
    background: rgb(35, 53, 39);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
}

    .online-user-widget .hover-box .bars .karus-bar {
        background: blue;
        height: 100%;
    }

    .online-user-widget .hover-box .bars .human-bar {
        background: red;
        height: 100%;
    }

.online-karus {
    background-color: rgba(71, 71, 213, 0.185);
    height: 100%;
}

.online-human {
    background-color: rgba(255, 0, 0, 0.196);
    height: 100%;
}
/*-----*/

/*-----------FORM------------------*/
/* Genel Modal Ayarları */
.modal-content {
    width: 400px;
    margin: auto;
    border: 1px solid #372121;
    border-radius: 8px;
    background-color: #513333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background-color: #372121;
    border-bottom: 1px solid #372121;
    color: white;
    padding: 15px;
    text-align: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    background-color: #372121;
    border-top: 1px solid #372121;
    padding: 15px;
    text-align: right;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Genel Form Ayarları */
form {
    max-width: 400px;
    width: 100%; /* Modal genişliği ile aynı */
    margin: auto;
    border: 1px solid #372121; /* Modal kenarlığıyla aynı */
    border-radius: 8px; /* Modal köşe yuvarlama ile aynı */
    background-color: #513333; /* Modal arka plan rengiyle aynı */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Modal gölgesiyle aynı */
    padding: 20px;
    box-sizing: border-box;
}

    /* Form Başlık (Header) */
    form .form-header {
        background-color: #372121;
        color: white;
        padding: 15px;
        text-align: center;
        font-size: 18px;
        font-weight: bold;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        margin-bottom: 20px; /* İçerikle biraz boşluk bırak */
    }

    /* Form Etiketler ve Girdi Alanları */
    form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        font-size: 14px;
    }

    form input[type="email"],
    form input[type="password"],
    form input[type="text"],
    form select {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #372121;
        border-radius: 4px;
        font-size: 14px;
        box-sizing: border-box;
        background-color: #372121;
        transition: box-shadow 0.3s ease, background-color 0.3s ease;
    }

        form input:focus,
        form select:focus {
            border-color: #007bff;
            outline: none;
            box-shadow: #007bff80;
            background-color: #2e1c1c;
        }
.form-control {
    background-color: #372121; /* Koyu arka plan rengi */
    color: white; /* Beyaz metin rengi */
}

    .form-control:focus {
        color: white;
        background-color: #2a1a1a; /* Focus durumunda daha koyu bir arka plan */
        border-color: #007bff; /* Focus durumunda mavi sınır rengi */
        box-shadow: 0 0 5px #007bff80; /* Focus durumunda gölge efekti */
    }
    .form-control:valid {
        background-color: #372121; /* Koyu arka plan */
        color: white; /* Beyaz metin rengi */
    }

    /* Placeholder gösteriliyorsa (input boşken) */
    .form-control:placeholder-shown {
        background-color: #372121; /* Koyu arka plan */
        color: white; /* Beyaz metin rengi */
    }

    /* Form elemanı boşken */
    .form-control:invalid {
        background-color: #372121; /* Hata durumunda farklı arka plan */
        color: white; /* Beyaz metin rengi */
    }
    /* Form Butonları */
    form button {
        width: 100%;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        background-color: #1b1c1d;
        border: none;
        border-radius: 4px;

        transition: background-color 0.3s ease;
    }

        form button:hover {
            background-color: #ff5e00;
        }

    /* Form Alt Bilgi (Footer) */
    form .form-footer {
        background-color: #372121;
        padding: 15px;
        text-align: right;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        margin-top: 20px; /* İçerikten biraz boşluk bırak */
    }
/*---------*/
/* Modal Kapat Butonu */
.modal-header .btn-close {
    opacity: 1 !important;
    filter: brightness(0) invert(1) !important; /* Koyu arka planda beyaz X */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
    background-size: 0.8em !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0.25em !important;
    cursor: pointer !important;
    width: 1.2em !important;
    height: 1.2em !important;
    font-size: 24px !important;
    transition: opacity 0.2s ease;
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
}

.modal-header .btn-close::before {
    content: "✕" !important;
    color: white !important;
    font-size: 1em !important;
    font-weight: normal !important;
    display: block !important;
    line-height: 1 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.modal-header .btn-close:hover {
    opacity: 0.7 !important;
    transform: translateY(-50%) !important;
}

.modal-header .btn-close:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25) !important;
    outline: none !important;
    filter: brightness(0) invert(1) !important;
}


/* Modal Aç Butonu */
.btn-open-modal {
    background-color: #922b2b;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;

    transition: background-color 0.3s ease;
}

/*----------form end---------------*/

/* Navbar Profil ve Çıkış Butonları Ortalama */
.navbar-nav.ms-auto {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px;
}

.navbar-nav.ms-auto .nav-item {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

/* Sadece Profil ve Çıkış butonları (img içeren linkler) için hover efekti */
.navbar-nav.ms-auto .nav-item .nav-link img {
    transition: all 0.3s ease;
}

.navbar-nav.ms-auto .nav-item .nav-link:hover img {
    filter: brightness(1.2);
    transform: scale(1.1);
}

/* Genel Rank Tasarımı */
.rank-container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(95, 75, 46, 0.3);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(255, 81, 1, 0.1);
    border: 1px solid #ddd;
}

.rank-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Genel Rank Tasarımı */


.rank-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Ortak Tablo Stili */
.rank-table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    background-color: #251818;
    border-radius: 8px;
    overflow: hidden;
}

    .rank-table thead th {
        font-weight: bold;
        padding: 10px;
        color: #ffffff;
        border: 1px solid #ddd;
    }

    /* Hover Efekti */
    .rank-table tbody tr {
        transition: background-color 0.2s ease;
    }

        .rank-table tbody tr:hover {
            background-color: #43220a;
        }

    .rank-table td, .rank-table th {
        padding: 10px;
        border: 2px solid #ddd;
        color: #ffffff;
    }

/* Genel Sıralama Tablosu Başlık Rengi */
.general-table thead th {
    background-color: #284ea7;
}

/* Aylık Sıralama Tablosu Başlık Rengi */
.aylik-table thead th {
    background-color: #28a745;
}

/* Clan Sıralaması Karus Başlık Rengi */
.karus-table thead th {
    background-color: #007bff;
}

/* Clan Sıralaması Human Başlık Rengi */
.human-table thead th {
    background-color: #dc3545;
}

.karus-title {
    color: #007bff;
}

.human-title {
    color: #dc3545;
}
/* Ortadaki Sıra için Özel Renk */
.rank-table tbody td:nth-child(3) {
    font-weight: bold;
    background-color: #91521e;
    color: #ffffff;
}

/*--------down-------*/
.download-button {
    font-size: 32px;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #091421;
    color: white;
    border-radius: 5px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s;
}

.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh;
}

.download-button::before,
.download-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff6600;
    transition: transform 0.3s;
}

.download-button::before {
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
}

.download-button::after {
    bottom: 0;
    right: 0;
    transform: scaleX(0);
    transform-origin: top left;
}

.download-button:hover {
    color: #ff6600;
    cursor: url('/cursors/c_rep.cur'), pointer;
}

    .download-button:hover::before {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    .download-button:hover::after {
        transform: scaleX(1);
        transform-origin: top right;
    }

.download-button:active {
    background-color: #c440bd;
    color: yellow;
    cursor: url('/cursors/c_rep1.cur'), pointer;
    text-decoration: none;
}
/*****-----*/

.border-top {
    border-top: 1px solid #555555;
}

.border-bottom {
    border-bottom: 1px solid #555555;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .2);
}

/* Footer */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #222222;
    color: #ffffff;
    white-space: nowrap;
    line-height: 60px;
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
    color: #ffffff;
    background-color: #444444;
    border: none;
}

    button.accept-policy:hover {
        background-color: #555555;
    }
/* Fotoğraf geçiş animasyonu için container */
.photo-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* Fotoğrafların sayfa içeriğini engellememesi için */
    background-color: black;
}

/* Fotoğraf 1 ve Fotoğraf 2 için ortak özellikler */
.photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 1; /* Fotoğrafların üst üste gelmemesi için */
    transition: opacity 1s ease-in-out, filter 1s ease-in-out;
}

/* Fotoğraf 1 için animasyon */
.photo1 {
    animation: photo1Animation 20s infinite;
}

/* Fotoğraf 2 için animasyon */
.photo2 {
    animation: photo2Animation 20s infinite;
}

/* Fotoğraf 1 Animasyonu (Nefes Alır Parlama) */
@keyframes photo1Animation {
    0%, 100% {
        opacity: 0; /* Başlangıç ve bitişte fotoğraf görünmez */
        filter: brightness(0.3); /* Hafif karanlık */
    }

    10% {
        opacity: 1; /* Görünür hale geliyor */
        filter: brightness(0.5); /* Normal ışık seviyesi */
    }

    15%, 20% {
        filter: brightness(0.7); /* Nefes alır gibi parlama (zirve) */
    }

    30% {
        filter: brightness(0.6); /* Yavaşça normale dönüyor */
    }

    50% {
        opacity: 0.3; /* Hafif bir kararma ama tamamen görünür */
        filter: brightness(0.3); /* Yavaş bir nefes sonrası dinginleşme */
    }
}

/* Fotoğraf 2 Animasyonu (Nefes Alır Parlama) */
@keyframes photo2Animation {
    0%, 50%, 100% {
        opacity: 0; /* Başlangıç ve bitişte fotoğraf görünmez */
        filter: brightness(0.3); /* Hafif karanlık */
    }

    60% {
        opacity: 1; /* Görünür hale geliyor */
        filter: brightness(0.5); /* Normal ışık seviyesi */
    }

    65%, 70% {
        filter: brightness(0.6); /* Nefes alır gibi parlama (zirve) */
    }

    80% {
        filter: brightness(0.5); /* Yavaşça normale dönüyor */
    }

    90% {
        opacity: 0.2; /* Hafif bir kararma ama tamamen görünür */
        filter: brightness(0.3); /* Yavaş bir nefes sonrası dinginleşme */
    }
}

/*----------*/
.countdown-container {
    position: fixed;
    bottom: 20px; /* Alt kısmından 20px uzaklık */
    right: 20px; /* Sağ kısmından 20px uzaklık */
    font-family: 'Arial', sans-serif;
    color: #ff9100;
}

.countdown h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #009829;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    background-color: #503800;
    padding: 20px;
    border-radius: 8px;
    color: #e17f00;
    text-align: center;
    width: 80px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    .countdown-item span {
        display: block;
        font-size: 2rem;
        font-weight: bold;
    }

    .countdown-item .label {
        font-size: 0.8rem;
        font-weight: normal;
    }



/* Mobil Cihazlar için Medya Sorguları */
@media only screen and (max-width: 768px) {
    /* Download sayfası için responsive ayarlar */
    .btn-group-vertical {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .btn-group-vertical .btn {
        font-size: 1rem;
        padding: 12px 20px;
        margin-bottom: 10px;
    }
    
    .btn-group-vertical .btn img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
    }
    
    .container.mt-5 {
        padding: 20px 15px;
    }
    
    .container.mt-5 h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .container.mt-5 p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    /* Ana sayfa bölümleri için düzenleme */
    .countdown-container {
        position: static;
        margin: 10px auto;
        padding: 15px;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 10px;
        max-width: 90%;
    }
    
    .countdown-container h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #ff9100;
    }
    
    .countdown-container p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .download-container {
        position: static;
        margin: 10px auto;
        padding: 10px;
        text-align: center;
    }
    
    .download-button {
        font-size: 1.5rem;
        padding: 15px 30px;
        display: inline-block;
        margin: 5px 0;
    }
    
    .online-user-widget {
        position: fixed !important;
        left: 50% !important;
        bottom: 0 !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        width: auto !important;
        z-index: 1000;
        text-align: center;
        padding: 0;
        display: block;
    }
    
    .online-user-widget .hover-box {
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .online-user-widget .trapezoid:active + .hover-box,
    .online-user-widget .trapezoid:focus + .hover-box {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    /* Navbar genel düzeni */
    .navbar {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        background-color: #333333;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }

    /* Sosyal butonlar */
    .social-buttons {
        justify-content: center;
        margin-bottom: 20px;
    }

    .social-buttons img {
        width: 40px;
        height: 40px;
    }
    
    /* HaydarGame resmi için oran koruma */
    .social-buttons img[alt="HaydarGame"] {
        width: auto;
        height: 40px;
        max-width: 200px;
    }

    /* NEED-KO ortada olacak */
    .navbar-brand {
        margin-bottom: 20px;
        text-align: center;
    }

        .navbar-brand img {
            max-width: 80%;
            height: auto;
        }

    /* Navbar'ı daha uzun yap */
    .navbar {
        min-height: 140px;
        padding: 20px 15px;
    }
    
    /* Ana menü öğeleri - birleştirilmiş stil */
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 20px;
        width: 100%;
        justify-content: center;
        gap: 5px;
    }

    .navbar-nav .nav-item {
        text-align: center;
        margin: 0;
        margin-right: 0;
    }
    
    .navbar-nav .nav-item:last-child {
        margin-right: 0;
    }

    .navbar-nav .nav-link {
        padding: 10px 2px !important;
        margin: 2px 0 !important;
        border-radius: 5px;
        background-color: #444444;
        color: white;
        font-size: 0.85rem;
    }

    .navbar-nav .nav-link:hover {
        background-color: #555555;
        color: #ff6600;
    }
    
    /* NEED-KO butonu için alt satır */
    .navbar-brand-mobile {
        display: flex !important;
        justify-content: center;
        width: 100%;
        border-top: 2px solid #666666;
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .navbar-brand-mobile a {
        transition: transform 0.3s ease;
    }
    
    .navbar-brand-mobile a:hover {
        transform: scale(1.1);
    }

    /* Sıralama dropdown */
    .nav-item.dropdown .dropdown-menu {
        position: static;
        float: none;
        background-color: #444444;
        margin: 0;
        min-width: 120px;
        padding: 4px 0;
        font-size: 14px;
    }

    .nav-item.dropdown .dropdown-item {
        color: white;
        padding: 10px;
        font-size: 14px;
    }

    .nav-item.dropdown .dropdown-item:hover {
        background-color: #555555;
        color: #ff6600;
    }

    /* Giriş/Kayıt butonları için alt satır - birleştirilmiş */
    .navbar-auth-buttons {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        width: 100%;
        border-top: 2px solid #666666;
        padding-top: 15px;
        margin-top: 10px;
    }
    
    .navbar-auth-buttons .btn-link.nav-link {
        background-color: #444444;
        color: white;
        padding: 12px 20px;
        border-radius: 5px;
        text-align: center;
        font-weight: bold;
        font-size: 16px;
        width: auto;
        margin: 0;
    }
    
    .navbar-auth-buttons .btn-link.nav-link:hover {
        background-color: #555555;
        color: #ff6600;
    }
    
    .navbar-auth-buttons .nav-link {
        background-color: transparent !important;
        padding: 8px !important;
        margin: 0 !important;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-auth-buttons .nav-link:hover {
        background-color: rgba(255, 102, 0, 0.1) !important;
        transform: scale(1.1);
    }
    
    .navbar-auth-buttons .nav-link img {
        transition: all 0.3s ease;
    }
    
    .navbar-auth-buttons .nav-link:hover img {
        filter: brightness(1.2);
    }
}

/* Çok küçük ekranlar için (320px-480px) */
@media only screen and (max-width: 480px) {
    .btn-group-vertical .btn {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .btn-group-vertical .btn img {
        width: 20px;
        height: 20px;
        margin-right: 6px;
    }
    
    .container.mt-5 h1 {
        font-size: 1.5rem;
    }
    
    .container.mt-5 p {
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 10px;
    }
    
    .social-buttons img {
        width: 32px;
        height: 32px;
    }
    
    /* HaydarGame resmi için oran koruma - küçük ekranlar */
    .social-buttons img[alt="HaydarGame"] {
        width: auto;
        height: 32px;
        max-width: 150px;
    }
    
    .navbar-brand img {
        max-width: 70%;
    }
    
    /* Çok küçük ekranlarda daha kompakt */
    .navbar-nav {
        gap: 1px;
    }
    
    .navbar-nav .nav-item {
        margin-right: 1px;
    }
    
    .navbar-nav .nav-link {
        padding: 8px 2px;
        font-size: 0.875rem; /* 14px = 0.875rem */
    }
}



/* Modal Responsive Ayarları - Mobil Cihazlar için */
@media only screen and (max-width: 768px) {
    /* Modal genel ayarları */
    .modal-dialog {
        width: 80% !important;
        max-width: 80% !important;
        margin: 5% auto !important;
    }
    
    .modal-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 8px;
        background-color: #513333;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }
    
    .modal-header {
        padding: 12px 15px;
        text-align: center;
    }
    
    .modal-title {
        font-size: 16px;
        font-weight: bold;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-footer {
        padding: 12px 15px;
    }
    
    /* Form elemanları mobil için */
    form {
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        border: none !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }
    
    form .form-header {
        padding: 10px;
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    form label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    form input[type="email"],
    form input[type="password"],
    form input[type="text"],
    form select,
    .form-control {
        padding: 8px;
        margin-bottom: 12px;
        font-size: 14px;
        border-radius: 4px;
    }
    
    form button {
        padding: 10px 15px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    /* Modal kapat butonu */
    .modal-header .btn-close {
        font-size: 24px !important;
        padding: 3px !important;
        opacity: 1 !important;
        filter: brightness(0) invert(1) !important; /* Koyu arka planda beyaz X */
        right: 10px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .modal-header .btn-close::before {
        content: "✕" !important;
        color: white !important;
        font-size: 0.9em !important;
    }
    
    .modal-header .btn-close:hover {
        opacity: 0.7 !important;
        transform: translateY(-50%) !important;
    }
    
    /* Modal açma butonu */
    .btn-open-modal {
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* Çok küçük ekranlar için (480px ve altı) */
@media only screen and (max-width: 480px) {
    .modal-dialog {
        width: 85% !important;
        max-width: 85% !important;
        margin: 3% auto !important;
    }
    
    .modal-content {
        border-radius: 6px;
    }
    
    .modal-header {
        padding: 10px 12px;
    }
    
    .modal-title {
        font-size: 14px;
    }
    
    .modal-body {
        padding: 12px;
    }
    
    .modal-footer {
        padding: 10px 12px;
    }
    
    form {
        padding: 12px !important;
    }
    
    form .form-header {
        padding: 8px;
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    form label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    form input[type="email"],
    form input[type="password"],
    form input[type="text"],
    form select,
    .form-control {
        padding: 6px;
        margin-bottom: 10px;
        font-size: 13px;
    }
    
    form button {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .modal-header .btn-close {
        font-size: 24px !important;
        opacity: 1 !important;
        filter: brightness(0) invert(1) !important; /* Koyu arka planda beyaz X */
        right: 8px !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .modal-header .btn-close::before {
        content: "✕" !important;
        color: white !important;
        font-size: 0.85em !important;
    }
    
    .modal-header .btn-close:hover {
        opacity: 0.7 !important;
        transform: translateY(-50%) !important;
    }
    
    .btn-open-modal {
        padding: 6px 12px;
        font-size: 13px;
    }
}

/* Sıralama tabloları için responsive ayarlar */
@media only screen and (max-width: 768px) {
    .rank-container {
        width: 100%;
        margin: 10px 0;
        padding: 10px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .rank-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .rank-table {
        font-size: 0.65rem;
        min-width: 100%;
        width: 100%;
        table-layout: fixed;
    }
    
    .rank-table th,
    .rank-table td {
        padding: 4px 2px;
        white-space: normal;
        word-wrap: break-word;
        font-size: 0.65rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Loyalty yazısını responsive'de NP olarak göster */
    .genel-siralama .rank-table th:nth-child(1),
    .genel-siralama .rank-table th:nth-child(5),
    .aylik-siralama .rank-table th:nth-child(1),
    .aylik-siralama .rank-table th:nth-child(5) {
        font-size: 0 !important;
        position: relative;
    }
    
    .genel-siralama .rank-table th:nth-child(1)::after,
    .genel-siralama .rank-table th:nth-child(5)::after,
    .aylik-siralama .rank-table th:nth-child(1)::after,
    .aylik-siralama .rank-table th:nth-child(5)::after {
        content: "NP";
        font-size: 0.65rem;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
    }
    
    /* Sıra yazısını responsive'de Sr. olarak göster */
    .genel-siralama .rank-table th:nth-child(3),
    .aylik-siralama .rank-table th:nth-child(3) {
        font-size: 0 !important;
        position: relative;
    }
    
    .genel-siralama .rank-table th:nth-child(3)::after,
    .aylik-siralama .rank-table th:nth-child(3)::after {
        content: "Sr.";
        font-size: 0.65rem;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        font-weight: bold;
    }
    
    /* Genel ve Aylık sıralama için optimize edilmiş genişlikler */
    .genel-siralama .rank-table th:nth-child(1),
    .genel-siralama .rank-table td:nth-child(1),
    .aylik-siralama .rank-table th:nth-child(1),
    .aylik-siralama .rank-table td:nth-child(1) {
        width: 12%;
    }
    
    .genel-siralama .rank-table th:nth-child(2),
    .genel-siralama .rank-table td:nth-child(2),
    .genel-siralama .rank-table th:nth-child(4),
    .genel-siralama .rank-table td:nth-child(4),
    .aylik-siralama .rank-table th:nth-child(2),
    .aylik-siralama .rank-table td:nth-child(2),
    .aylik-siralama .rank-table th:nth-child(4),
    .aylik-siralama .rank-table td:nth-child(4) {
        width: 28%;
    }
    
    .genel-siralama .rank-table th:nth-child(3),
    .genel-siralama .rank-table td:nth-child(3),
    .genel-siralama .rank-table th:nth-child(5),
    .genel-siralama .rank-table td:nth-child(5),
    .aylik-siralama .rank-table th:nth-child(3),
    .aylik-siralama .rank-table td:nth-child(3),
    .aylik-siralama .rank-table th:nth-child(5),
    .aylik-siralama .rank-table td:nth-child(5) {
        width: 10%;
    }
    
    /* Clan sıralaması için özel ayarlar */
    .clan-siralama .row {
        flex-direction: column;
        display: flex;
        gap: 15px;
    }
    
    .clan-siralama .col-md-6 {
        width: 100%;
        margin-bottom: 15px;
        flex: none;
    }
    
    .clan-siralama h2 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .clan-siralama .rank-table {
        font-size: 0.7rem;
        min-width: 100%;
        width: 100%;
        table-layout: fixed;
    }
    
    .clan-siralama .rank-table th,
    .clan-siralama .rank-table td {
        padding: 6px 4px;
        font-size: 0.7rem;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .clan-siralama .rank-table th:nth-child(1),
    .clan-siralama .rank-table td:nth-child(1) {
        width: 70%;
    }
    
    .clan-siralama .rank-table th:nth-child(2),
    .clan-siralama .rank-table td:nth-child(2) {
        width: 30%;
    }
}

/* Tablet için (768px-1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .btn-group-vertical {
        max-width: 500px;
    }
    
    .btn-group-vertical .btn {
        font-size: 1.1rem;
        padding: 14px 25px;
    }
    
    .btn-group-vertical .btn img {
        width: 28px;
        height: 28px;
        margin-right: 10px;
    }
    
    /* Tablet için sıralama ayarları */
    .rank-container {
        width: 90%;
    }
    
    .rank-table {
        font-size: 0.9rem;
    }
}

