/* --- Genel Ayarlar --- */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

html {
    position: relative;
    min-height: 100%;
    font-size: 16px;
}

body {
    background-color: #f5f5f5;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin-bottom: 70px; /* Footer yüksekliği kadar boşluk */
    min-height: 100vh;
}
/* Pixel başlıklar */
.pixel-font {
    font-family: 'Press Start 2P', cursive;
}
/* --- Navbar (Üst Menü) --- */
.navbar {
    background-color: #ef3b3b !important;
    border-bottom: 4px solid #000;
    padding: 15px 0 !important;
    margin-bottom: 30px;
}

/* Logo - Brand */
.navbar-brand {
    background: white !important;
    border: 3px solid #000 !important;
    box-shadow: 4px 4px 0px #000 !important;
    padding: 5px 15px !important;
    font-weight: 900 !important;
    color: #000 !important;
    transition: 0.2s;
    text-transform: uppercase;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
}

.navbar-brand:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0px #000 !important;
}

/* Menü Butonları */
.nav-link {
    background: white !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    box-shadow: 3px 3px 0px #000 !important;
    margin: 0 5px;
    padding: 8px 15px !important;
    font-weight: bold;
    transition: 0.2s;
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
}

.nav-link:hover {
        transform: translate(-2px, -2px);
        box-shadow: 5px 5px 0px #000 !important;
        background-color: #fff !important;
}

/* --- Footer (Alt Kısım) --- */
.footer {
    background-color: #ef3b3b !important;
    border-top: 4px solid #000 !important;
    height: 60px;
    line-height: 60px;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 !important;
}

.footer span, .footer b {
        color: #000 !important;
}

.footer a {
        color: #000 !important;
        font-weight: bold;
        text-decoration: none;
        background: white;
        padding: 3px 12px;
        border: 2px solid #000;
        box-shadow: 2px 2px 0px #000;
        margin-left: 10px;
        transition: 0.2s;
}

.footer a:hover {
            transform: translate(-1px, -1px);
            box-shadow: 3px 3px 0px #000 !important;
}

/* --- İçerik Kutusu --- */
.content-wrapper {
    background: white;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    padding: 30px;
    margin-top: 20px;
}

.about-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
}

.about-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.about-box {
    flex: 1;
    min-width: 250px;
    background: #fff;
    border: 4px solid #555;
    padding: 20px;
    text-align: center;
    box-shadow: 6px 6px 0px #555;
}

    .about-box h4 {
        margin-bottom: 15px;
        font-weight: bold;
    }

    .about-box p {
        font-size: 14px;
    }

.icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.unread {
    background-color: #ffecec;
    font-weight: bold;
    transition: 0.3s;
}

.like-button-retro {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    background-color: #000;
    color: #fff !important;
    border: 2px solid #000;
    padding: 8px 15px;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
    /* İletişim sayfasındaki o kırmızı gölge efekti */
    box-shadow: 4px 4px 0px #e63946;
    cursor: pointer;
    margin-right: 10px;
}

    .like-button-retro:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0px #e63946;
    }

    .like-button-retro:active {
        transform: translate(2px, 2px);
        box-shadow: 0px 0px 0px #e63946;
    }

.like-count-retro {
    margin-left: 8px;
    color: #fff;
}

/* Genel Font Ayarı */
.pixel-text-sm {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    line-height: 1.5;
}

/* Retro Butonlar */
.btn-retro, .btn-retro-sm {
    font-family: 'Press Start 2P', cursive;
    background: #000;
    color: #fff !important;
    border: 2px solid #000;
    box-shadow: 4px 4px 0px #e63946;
    padding: 10px 20px;
    font-size: 12px;
    transition: 0.1s;
}

.btn-retro-sm {
    padding: 5px 10px;
    font-size: 9px;
    box-shadow: 2px 2px 0px #e63946;
}

    .btn-retro:hover, .btn-retro-sm:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0px #e63946;
    }

/* Retro Giriş Alanları */
.retro-input {
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-family: 'Arial', sans-serif; /* Okunabilirlik için standart font */
    font-size: 14px;
}

/* Yorum Kutuları */
.retro-comment-box {
    border-left: 4px solid #e63946;
    background: #f8f9fa;
    padding: 10px;
    margin-left: 10px;
}

.retro-reply-box {
    border-left: 2px dashed #000;
    padding-left: 10px;
    font-size: 13px;
    margin-top: 5px;
}

/* Silme ve Cevapla Butonları */
.btn-delete-pixel {
    background: #e63946;
    color: white;
    border: 1px solid #000;
    font-size: 10px;
    font-family: 'Press Start 2P';
}

.btn-reply-pixel {
    background: none;
    border: none;
    color: #000;
    font-family: 'Press Start 2P';
    font-size: 8px;
    text-decoration: underline;
    margin-top: 5px;
}

/* Profil Başlığı ve Bölümler */
.retro-profile-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 18px;
    background: #000;
    color: #fff;
    padding: 15px;
    display: inline-block;
    box-shadow: 6px 6px 0px #e63946;
    margin-bottom: 30px;
}

/* Bölüm Seçme Butonları */
.btn-retro-tab {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    background: #fff;
    color: #000;
    border: 3px solid #000;
    padding: 10px;
    margin-right: 5px;
    cursor: pointer;
    transition: 0.1s;
}

    .btn-retro-tab:hover {
        background: #000;
        color: #fff;
        transform: translate(-2px, -2px);
        box-shadow: 4px 4px 0px #e63946;
    }

/* Post ve Yorum Kartları */
.retro-card {
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.1);
    margin-bottom: 20px !important;
    transition: 0.2s;
}

    .retro-card:hover {
        box-shadow: 8px 8px 0px #e63946;
    }

/* Düzenle/Sil Butonları */
.btn-pixel-action {
    font-family: 'Press Start 2P', cursive;
    font-size: 8px;
    border: 2px solid #000;
    border-radius: 0;
    padding: 5px 10px;
    text-transform: uppercase;
}

/* Modallar İçin Retro Dokunuş */
.modal-content.retro-modal {
    border: 5px solid #000;
    border-radius: 0;
    box-shadow: 15px 15px 0px #e63946;
}

.modal-header, .modal-footer {
    border: none;
    font-family: 'Press Start 2P', cursive;
}
/* Görseldeki 'Sinyal Gönder' yazı tipi ve kutusu */
.retro-profile-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    background: #000;
    color: #fff;
    padding: 20px;
    display: inline-block;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #e63946; /* Kırmızı gölge */
    text-transform: uppercase;
}

/* Aktif sekme için özel stil */
.btn-retro-tab.active {
    background: #000;
    color: #fff;
    box-shadow: 4px 4px 0px #e63946;
}

/* Modalların pikselli görünmesi için */
.retro-modal {
    border: 4px solid #000 !important;
    border-radius: 0 !important;
    box-shadow: 12px 12px 0px #000;
}

.retro-input {
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    padding: 12px !important;
}
/* Başlıkların altındaki çizgiyi retro stile uyduralım */
hr {
    border: 0;
    border-top: 3px solid #000;
    opacity: 1;
    margin: 20px 0;
}

/* Boş mesajların fontunu küçültelim */
p.pixel-text-sm {
    color: #666;
    font-size: 8px;
}
.retro-input {
    border: 3px solid #000 !important;
    border-radius: 0 !important;
    padding: 12px !important;
    font-family: 'Press Start 2P', cursive; /* Ya da tercih ettiğin pixel font */
    font-size: 14px;
    box-shadow: none !important;
}

    .retro-input:focus {
        background-color: #f0f8ff; /* Hafif mavi ton */
        border-color: #000 !important;
    }

.pixel-text-xs {
    font-size: 10px;
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.post-baslik-merkez {
    /* Yazıyı ortala */
    text-align: center;
    /* Stil: Sert ve okunaklı */
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    text-transform: uppercase; /* Daha otoriter durur */
    margin: 40px 0; /* Üstten ve alttan boşluk bırak ki nefes alsın */
    /* image_3e1c3c.png'deki buton stiline uygun gölge ve çerçeve */
    color: #000;
    text-shadow: 3px 3px 0px #ff3131; /* Header'daki kırmızı vurgu rengi */
    /* Eğer altını çizmek istersen (isteğe bağlı) */
    display: inline-block;
    width: 100%;
}

/* Menü açma butonunun (kare) içini düzenleyelim */
.navbar-toggler {
    border: 3px solid #000 !important;
    background-color: #fff !important; /* İçini beyaz yapalım ki ikon görünsün */
    border-radius: 0 !important;
    box-shadow: 4px 4px 0px #000 !important;
    padding: 5px !important;
}

/* İkonun kendisini (çizgileri) belirginleştirelim */
.navbar-toggler-icon {
    /* Bootstrap'in varsayılan SVG'sini siyah yapmak için filtre */
    filter: invert(0) !important;
    /* Eğer hala görünmüyorsa alternatif olarak şu çizgiyi kullanabilirsin: */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Butona tıklandığında hafif küçülme efekti (Retro hissi) */
.navbar-toggler:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000 !important;
}
.bi {
    /* İkonlara hafif bir retro derinlik katar */
    filter: drop-shadow(2px 2px 0px #ef3b3b);
    vertical-align: middle; /* Yazıyla aynı hizada durması için */
    margin-right: 5px;
}

/* Ana Çerçeve Kutusu */
.retro-container-box {
    background: #fff;
    border: 4px solid #000;
    box-shadow: 10px 10px 0px #000;
    padding: 30px;
    margin-bottom: 50px;
}

/* Sol Menü Butonları */
.nav-link-retro {
    display: block;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: 3px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 4px 4px 0px #000;
    transition: 0.1s;
}

    .nav-link-retro:hover {
        background: #f0f0f0;
        color: #000;
        transform: translate(2px, 2px);
        box-shadow: 2px 2px 0px #000;
    }

    /* Aktif olan buton (Seçili sayfa) */
    .nav-link-retro.active {
        background: #ff4747 !important; /* Navbar'daki kırmızın */
        color: white !important;
        transform: translate(4px, 4px);
        box-shadow: none;
    }

/* Input ve Form Elemanları */
.form-control.retro-input {
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: none;
    font-family: monospace;
}

    .form-control.retro-input:focus {
        border-color: #ff4747;
        box-shadow: 4px 4px 0px #000;
    }

/* Pixel tarzı başlık (Eğer fontun yoksa Courier New güzel durur) */
.pixel-text-md {
    font-family: 'VT323', 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
}

/* Kalın siyah ara çizgi */
.retro-hr {
    border: none;
    border-top: 3px solid #000;
    opacity: 1;
}

.retro-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    cursor: pointer;
    accent-color: #000; /* İşaret rengi */
}

/* Kartın pozisyonunu sabitlemek için gerekli */
.position-relative {
    position: relative !important;
}

.btn-report-absolute {
    position: absolute;
    top: 12px; /* Çizimindeki gibi tam köşeye */
    right: 12px;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    filter: grayscale(100%);
    opacity: 0.4; /* Normalde çok dikkat çekmesin */
    transition: all 0.3s ease;
    z-index: 5;
}

    .btn-report-absolute:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }

.top-post-box {
    padding: 30px 20px;
    text-align: center;
    background-image: radial-gradient(#000 1px, transparent 1px); /* Dot matrix efekti */
    background-size: 20px 20px;
}

.top-post-header {
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    font-weight: 900;
    margin-bottom: 15px;
    transform: rotate(-1deg); /* Neubrutalist eğrilik */
}

.top-post-title {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #000;
    text-decoration: underline; /* İstediğin altı çizili stil */
    text-decoration-thickness: 5px;
    margin-bottom: 20px;
    text-transform: lowercase;
}


.top-post-meta {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    gap: 30px;
}



/* Ana Konteynır */
.top-post-container {
    position: relative;
    background: #fff;
    border: 4px solid #000;
    box-shadow: 10px 10px 0px #ff0000; /* Kırmızı gölge */
    overflow: hidden;
}

/* Kayan Yazı Şeritleri */
.marquee-border {
    background: #ff0000; /* Senin istediğin kırmızı */
    color: #fff;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 5px 0;
    font-family: 'Courier New', Courier, monospace; /* Retro hissi için */
    font-weight: bold;
    font-size: 0.9rem;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
}

    .marquee-content.reverse {
        animation: marquee-reverse 15s linear infinite;
    }

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes marquee-reverse {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}


.stat-card {
    background: black;
    color: white;
    border: 4px solid red;
    padding: 20px;
    text-align: center;
    font-family: monospace;
    box-shadow: 6px 6px 0 red;
    margin-bottom: 20px;
}

    .stat-card h2 {
        color: yellow;
        font-size: 28px;
    }