* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    background-color: #ffffff !important;
    background-image: none !important;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #ffffff !important; /* Sağ ve soldaki kırmızılıkları tamamen siler */
    background-image: none !important;
    font-family: Arial, Tahoma, Helvetica, sans-serif;
    font-size: 13px;
    color: #222222;
    -webkit-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
}

/* Ana Taşıyıcı: Sayfayı dikeyde tam esnetir */
/* Ana Taşıyıcı: Sayfa sınırlarına ince siyah çizgi ve hafif derinlik */
.page-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background-color: #ffffff;
    border-left: 1px solid #111111;   /* Sol ince siyah çizgi */
    border-right: 1px solid #111111;  /* Sağ ince siyah çizgi */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.08); /* Çizginin beyaz alandan ayrımını netleştiren hafif gölge */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

/* Header */
header.tccb-header {
    background: #850000; /* Bordo tema rengi */
    border-bottom: 2px solid #550000;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-brand-img,
.footer-logo-img {
    height: 48px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #4b5563;
    padding: 2px;
    display: block;
}

.header-titles .logo {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-titles p {
    color: #ffd2d2;
    margin: 3px 0 0 0;
    font-size: 11px;
}

/* Navigasyon & Menü */
nav.tccb-nav {
    background: #2b2f36;
    border-bottom: 1px solid #374151;
    position: relative;
    padding: 0 10px;
    flex-shrink: 0;
}

.hamburger-btn {
    display: none;
}

.nav-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.nav-links a {
    color: #f1f2f4;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 10px 18px;
    border-right: 1px solid #3a3f47;
    display: inline-block;
    transition: background 0.15s ease;
}

.nav-links a:hover {
    background: #1a1c20;
    color: #ffffff;
}

/* Ana İçerik Alanı: Bütün boşluğu bu blok yutar ve footer'ı zemine basar */
main {
    padding: 20px;
    flex: 1 0 auto;
    background-color: #ffffff;
}

.release-box {
    background: #ffffff;
    margin-bottom: 24px;
}

h2 {
    color: #8b0000;
    font-size: 14px;
    font-weight: bold;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 6px;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.intro-text {
    line-height: 1.6;
    color: #374151;
    font-size: 12.5px;
    margin-bottom: 14px;
}

.content-subheading {
    font-size: 13px;
    font-weight: bold;
    color: #111827;
    margin: 12px 0 4px 0;
}

.content-desc {
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

/* Sürüm Listesi Öğeleri */
.version-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
}

.version-item:hover {
    background: #fcfcfc;
}

.version-date-badge {
    color: #b91c1c;
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 4px;
}

.version-title {
    font-size: 13px;
    font-weight: bold;
    color: #1d4ed8;
    text-decoration: none;
}

.version-title:hover {
    text-decoration: underline;
}

.version-desc {
    color: #4b5563;
    font-size: 12px;
    margin: 4px 0 0 0;
    line-height: 1.4;
}

/* Butonlar */
.inspect-btn, .admin-btn, .download-btn {
    display: inline-block;
    background: #f3f4f6;
    color: #1f2937;
    padding: 6px 14px;
    border: 1px solid #9ca3af;
    border-radius: 3px;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.inspect-btn:hover, .admin-btn:hover {
    background: #e5e7eb;
    color: #000000;
}

/* Footer: Tabana kilitli */
footer.tccb-footer {
    background: #24272c;
    color: #cbd5e1;
    border-top: 2px solid #3e444e;
    padding: 25px 20px 15px 20px;
    font-size: 11.5px;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-bottom: 1px solid #374151;
    padding-bottom: 20px;
}

.footer-col h4 {
    color: #f3f4f6;
    font-size: 12px;
    margin: 0 0 10px 0;
    font-weight: bold;
    border-bottom: 1px solid #4b5563;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-col ul li a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobil Uyum */
@media (max-width: 900px) {
    .page-wrapper {
        border-left: none;
        border-right: none;
    }

    .hamburger-btn {
        display: block;
        width: 100%;
        text-align: left;
        background: #1a1e24;
        border: 1px solid #4b5563;
        color: #ffffff;
        font-size: 13px;
        font-weight: bold;
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 3px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 6px;
        border-top: 1px solid #374151;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #374151;
    }

    .version-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}