@font-face {
    font-family: 'Computerfont';
    src: url('/assets/fonts/Computerfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.page-loader.active {
    opacity: 1;
    visibility: visible;
}

.page-loader.fade-out {
    opacity: 0;
}

.loader-spinner {
    width: 120px;
    height: 120px;
    animation: spinUp 1.5s ease-in infinite;
}

@keyframes spinUp {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(720deg); }
}

:root {
    --primary: #ff6600;
    --primary-dark: #e55a00;
    --bg-dark: #0a0a0b;
    --bg-card: #111113;
    --bg-elevated: #161618;
    --bg-hover: #1c1c1f;
    --text-primary: #f0f0f2;
    --text-secondary: #8a8a8f;
    --text-muted: #5a5a5f;
    --border-color: #222225;
    --border-light: #2a2a2f;
    --radius-sm: 4px;
    --radius-md: 6px;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

ul {
    color: var(--text-primary);
    text-decoration: none;
}

li {
    color: var(--text-primary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 11, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}


.main-header.hidden {
    transform: translateY(-100%);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo:hover {
    color: inherit;
}

.logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Computerfont', monospace !important;
    font-size: 1.8rem;
    letter-spacing: 0.02em;
    line-height: 1;
    background: linear-gradient(to top, #888888 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .accent {
    background: linear-gradient(to top, #cc5200 0%, #ff6600 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-sm);
    color: white;
}

.logo-icon svg {
    width: 18px;
    height: 18px;
}

.logo-text .accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-section {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-section:last-child {
    display: none;
}

.nav-section-title {
    display: none;
}

.nav-section-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-section-links a {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.nav-section-links a:hover,
.nav-section-links a.active {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
}

main {
    padding-top: 64px;
    min-height: calc(100vh - 64px);
}

.hero {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background-color: #000; /* Video yüklenirken arka plan siyah görünsün */
}

/* Video ayarları */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoyu alana yayar, boşluk bırakmaz */
    transform: translate(-50%, -50%); /* Videoyu tam merkeze sabitler */
    opacity: 0.20; /* İstediğin hafif şeffaflık */
    z-index: 0;
    pointer-events: none; /* Videonun butonlara tıklamayı engellememesi için */
}

/* İçeriği videonun üst katmanına taşır */
.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero-description {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    margin-top: 48px;
    border: 1px solid var(--border-color);
}

.stat-card {
    padding: 28px 24px;
    background: var(--bg-dark);
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.partners-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.partners-label {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll-partners 25s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
    transition: filter 0.3s, opacity 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.partner-logo svg,
.partner-logo img {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.partner-text {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.section {
    padding: 64px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.expertise-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
}

.expertise-card {
    padding: 32px 28px;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
}

.expertise-card:hover {
    background: var(--bg-elevated);
}

.expertise-card:hover .expertise-pattern {
    opacity: 0.12;
}

.expertise-pattern {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    opacity: 0.06;
    color: var(--primary);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.expertise-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.expertise-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.archive-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.filter-btn {
    color: var(--text-muted);
    background: none;
    border: none;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
}

.filter-btn.active {
    color: var(--primary);
    font-weight: 600;
}

.archive-filters .filter-btn:not(:last-child)::after {
    content: '>';
    margin: 0 12px;
    color: var(--text-muted);
    opacity: 0.5;
    font-weight: 400;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('https://blackfes.com/blackfes.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.article-card:hover {
    border-color: var(--border-light);
}

.article-card:hover::before {
    opacity: 0.1;
}

.article-card:hover h3 {
    color: var(--primary);
}

.article-image {
    height: 160px;
    background: var(--bg-elevated);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    background-image: url('https://blackfes.com/blackfes.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 12px 0 20px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-social a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.page-header {
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background-color: transparent; /* Altındaki ana arka plan rengini korur */
}

/* Video ayarları */
.header-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.10; /* GIF'teki gibi düşük şeffaflık */
    z-index: 0;
    pointer-events: none;
}

/* İçeriğin (Breadcrumb ve Başlık) videonun üstünde görünmesi için */
.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb span {
    color: var(--text-secondary);
}

.archive-header {
    padding: 32px 0 24px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://blackfes.com/bf-pattern2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    pointer-events: none;
}

.archive-header .container {
    position: relative;
    z-index: 1;
}

.archive-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.archive-title-row h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.archive-title-row p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.archive-stats-mini {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-elevated);
    padding: 8px 12px;
    border: 1px solid var(--border-color);
}

.archive-stats-mini strong {
    color: var(--primary);
}

.archive-search-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.archive-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 0 14px;
    flex: 1;
    max-width: 400px;
}

.archive-search svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.archive-search input {
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 0.85rem;
    color: var(--text-primary);
    width: 100%;
    outline: none;
}

.archive-search input::placeholder {
    color: var(--text-muted);
}

.archive-type-filters {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.type-btn {
    padding: 8px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.type-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-light);
}

.type-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.archive-table-section {
    padding: 0;
}

.archive-table-wrapper {
    overflow-x: auto;
}

.archive-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.archive-table thead {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.archive-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    white-space: nowrap;
}

.archive-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.archive-table tbody tr:hover {
    background: var(--bg-card);
}

.col-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    width: 100px;
}

.col-id {
    width: 130px;
}

.col-id a {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
}

.col-id a:hover {
    text-decoration: underline;
}

.col-title {
    min-width: 300px;
}

.col-title a {
    color: var(--text-primary);
    font-weight: 500;
}

.col-title a:hover {
    color: var(--primary);
}

.col-type {
    width: 100px;
}

.type-badge {
    display: inline-block;
    padding: 3px 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid var(--border-color);
    background: var(--bg-elevated);
}

.type-malware {
    color: #ff4757;
    border-color: rgba(255, 71, 87, 0.3);
}

.type-exploit {
    color: var(--primary);
    border-color: rgba(255, 102, 0, 0.3);
}

.type-research {
    color: #2ed573;
    border-color: rgba(46, 213, 115, 0.3);
}

.type-forensics {
    color: #1e90ff;
    border-color: rgba(30, 144, 255, 0.3);
}

.type-threat-intel {
    color: #a55eea;
    border-color: rgba(165, 94, 234, 0.3);
}

.col-platform {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    width: 80px;
}

.col-verified {
    width: 40px;
    text-align: center;
}

.verified-yes {
    color: #2ed573;
    font-weight: bold;
}

.verified-no {
    color: var(--text-muted);
}

.archive-footer {
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.results-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.tag {
    padding: 3px 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary);
}

.file-explorer-section {
    padding: 32px 0 64px;
}

.file-explorer {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.explorer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
}

.explorer-path {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.path-root {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

.path-root:hover {
    color: var(--primary);
}

.path-separator {
    color: var(--text-muted);
}

.path-link {
    color: var(--text-secondary);
}

.path-link:hover {
    color: var(--primary);
}

.path-current {
    color: var(--text-primary);
}

.explorer-info {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.explorer-content {
    padding: 24px;
}

.folder-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.folder-item:hover {
    border-color: var(--primary);
    background: var(--bg-elevated);
}

.folder-item:hover .folder-pattern {
    opacity: 0.12;
}

.folder-item.subfolder .folder-icon svg {
    stroke: var(--primary);
}

.file-list.has-folders-above {
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

.folder-pattern {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    opacity: 0.06;
    color: var(--primary);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.folder-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.folder-icon svg {
    width: 32px;
    height: 32px;
}

.folder-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.folder-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.folder-count {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
}

.file-list {
    display: flex;
    flex-direction: column;
}

.file-list-header {
    display: grid;
    grid-template-columns: 1fr 100px 120px 50px;
    gap: 16px;
    padding: 10px 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.file-item {
    display: grid;
    grid-template-columns: 1fr 100px 120px 50px;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background 0.15s ease;
}

.file-item:hover {
    background: var(--bg-elevated);
}

.file-item:last-child {
    border-bottom: none;
}

.file-col-name {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.file-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.file-icon svg {
    width: 100%;
    height: 100%;
}

.file-name-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-password {
    color: var(--text-muted);
    cursor: help;
}

.file-col-size {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-col-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-col-action {
    text-align: right;
}

.download-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.explorer-empty {
    text-align: center;
    padding: 48px;
    color: var(--text-muted);
}

.explorer-empty a {
    color: var(--primary);
    margin-top: 12px;
    display: inline-block;
}

@media (max-width: 768px) {
    .folder-grid {
        grid-template-columns: 1fr;
    }
    
    .file-list-header {
        display: none;
    }
    
    .file-item {
        grid-template-columns: 1fr auto;
        gap: 8px;
    }
    
    .file-col-size,
    .file-col-date {
        display: none;
    }
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
}

.error-content {
    max-width: 500px;
}

.error-icon {
    margin-bottom: 24px;
}

.error-logo {
    width: 80px;
    height: 80px;
    opacity: 0.6;
    margin: 0 auto;
}

.error-code {
    font-family: var(--font-mono);
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.8;
}

.coming-soon-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.coming-soon-bg {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    pointer-events: none;
}

.coming-soon-bg svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary);
    opacity: 0.08;
}

.coming-soon-content {
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.coming-soon-content h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.coming-soon-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.coming-soon-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .coming-soon-bg {
        width: 300px;
        height: 300px;
        right: -100px;
    }
    
    .coming-soon-content h1 {
        font-size: 1.5rem;
    }
}

.error-content h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.error-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.legal-modal.active {
    opacity: 1;
    visibility: visible;
}

.legal-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.legal-modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.legal-modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.legal-modal-close:hover {
    color: var(--text-primary);
}

.legal-modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.legal-modal-body h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-modal-body h3:first-child {
    margin-top: 0;
}

.legal-modal-body p {
    margin-bottom: 12px;
}

.legal-modal-body ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.legal-modal-body li {
    margin-bottom: 6px;
}

.legal-modal-body strong {
    color: var(--text-primary);
}

.legal-modal-body a {
    color: var(--primary);
    transition: opacity 0.2s ease;
}

.legal-modal-body a:hover {
    opacity: 0.8;
}

.about-full {
    max-width: 800px;
}

.about-full h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
}

.about-full h2:first-child {
    margin-top: 0;
}

.about-full p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 1rem;
}

.about-full .highlight-text {
    color: var(--text-primary);
    font-weight: 500;
    padding: 24px;
    background: var(--bg-card);
    border-left: 3px solid var(--primary);
    margin-top: 32px;
}

.faq-section {
    background: var(--bg-card);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    margin-top: 40px;
}

.team-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
}

.team-card {
    padding: 28px 20px;
    background: var(--bg-card);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('https://blackfes.com/blackfes.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.team-card:hover {
    background: var(--bg-elevated);
}

.team-card:hover::before {
    opacity: 0.1;
}

.team-avatar {
    width: 120px;
    height: 120px;
    background: var(--bg-elevated);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: border-color 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: var(--primary);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.team-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
}

.lab-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.lab-stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.lab-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.lab-card::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('https://blackfes.com/blackfes.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.lab-card:hover {
    border-color: var(--primary);
}

.lab-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.lab-card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.lab-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lab-status.active {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.lab-status.beta {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.lab-status.development {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.lab-card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.lab-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.lab-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

.lab-section {
    margin-bottom: 48px;
}

.lab-section:last-child {
    margin-bottom: 0;
}

.lab-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.lab-card.premium {
    border-color: rgba(255, 102, 0, 0.3);
}

.lab-card.premium::after {
    content: 'PREMIUM';
    position: absolute;
    top: 12px;
    right: -28px;
    background: var(--primary);
    color: var(--bg-primary);
    font-size: 0.55rem;
    font-weight: 700;
    padding: 4px 32px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.lab-card-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.lab-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.lab-link:hover {
    color: var(--primary);
}

.lab-cta-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.lab-cta {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.lab-cta h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.lab-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tool-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
}

.tool-detail-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tool-detail-header {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.tool-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tool-title-row h1 {
    font-size: 2rem;
    margin: 0;
}

.premium-badge {
    background: var(--primary);
    color: var(--bg-primary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-mono);
}

.tool-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-description h2,
.tool-features h2,
.tool-screenshots h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary);
}

.tool-description p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.tool-section {
    margin-bottom: 40px;
}

.tool-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.tool-about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
}

.feature-item svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-list li svg {
    flex-shrink: 0;
    color: var(--primary);
    margin-top: 2px;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.screenshot-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
}

.screenshot-placeholder {
    aspect-ratio: 16/10;
    background: var(--bg-elevated);
    border: 1px dashed var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
}

.screenshot-placeholder svg {
    opacity: 0.5;
}

.screenshot-placeholder span {
    font-size: 0.75rem;
}

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border: 1px solid var(--border-color);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.modal-close:hover {
    opacity: 1;
}

.modal-caption {
    text-align: center;
    color: var(--text-secondary);
    padding: 16px 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

.tool-detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tool-specs-card,
.tool-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
}

.tool-specs-card h3,
.tool-action-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.spec-item dt {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.spec-item dd {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
}

.tool-action-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.tool-action-card .btn {
    width: 100%;
    justify-content: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-info {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.contact-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    color: var(--primary);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.article-detail {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
}

.article-body {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
}

.article-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--text-primary);
}

.article-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.terminal {
    background: #0c0c0c;
    border: 1px solid #333;
    border-radius: 6px;
    margin: 24px 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #1a1a1a;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red { background: #ff5f56; }
.terminal-btn.yellow { background: #ffbd2e; }
.terminal-btn.green { background: #27ca40; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #888;
    margin-right: 44px;
}

.terminal-body {
    position: relative;
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 1.6;
    color: #00ff00;
    background: #0c0c0c;
    overflow-x: auto;
    text-shadow: 0 0 2px rgba(0, 255, 0, 0.3);
}

.terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0px,
        rgba(0, 0, 0, 0.1) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
}

.terminal-body .prompt {
    color: #00ff00;
}

.terminal-body .command {
    color: #fff;
}

.terminal-body .output {
    color: #aaa;
}

.terminal-body .comment {
    color: #666;
}

.terminal-body .string {
    color: #f1fa8c;
}

.terminal-body .keyword {
    color: #ff79c6;
}

.terminal-body .function {
    color: #8be9fd;
}

.terminal-body .number {
    color: #bd93f9;
}

.terminal-body .error {
    color: #ff5555;
}

.terminal-body .success {
    color: #50fa7b;
}

.terminal-body .warning {
    color: #ffb86c;
}

.article-body pre {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    padding: 16px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-body code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 3px;
}

.article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.article-figure {
    margin: 32px 0;
}

.article-figure img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid var(--border-color);
}

.article-figure.full-width img {
    max-width: 100%;
}

.article-figure figcaption {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
}

.code-block, .code-block * {
    box-sizing: border-box;
}

 .code-block {

    background: #0c0c0c;

    border: 1px solid #333;

    border-radius: 6px;

    margin: 24px 0;

    overflow: hidden;

    display: block;   /* Blok yapısını garantiye alır */

}


.code-header {

    background: var(--bg-elevated);

    padding: 8px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-bottom: 1px solid var(--border-color);

}


.code-lang {

    font-family: var(--font-mono);

    font-size: 0.75rem;

    color: var(--text-secondary);

    font-weight: 600;

    font-style: italic;

}


.code-filename {

    font-family: var(--font-mono);

    font-size: 0.7rem;

    color: var(--text-muted);

}


.copy-btn {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 4px 10px;

    background: transparent;

    border: 1px solid var(--border-color);

    color: var(--text-muted);

    font-family: var(--font-mono);

    font-size: 0.65rem;

    cursor: pointer;

}


.copy-btn.copied {

    color: var(--text-secondary);

}


.code-block pre {

    margin: 0;

    padding: 16px;

    overflow-x: auto;

    background: transparent;

    border: none;

}


.code-block code {

    background: transparent;

    padding: 0;

    font-size: 0.8rem;

    line-height: 1.6;

    color: #e0e0e0;

} 

.code-block .keyword { color: #c792ea; }
.code-block .function { color: #82aaff; }
.code-block .string { color: #c3e88d; }
.code-block .number { color: #f78c6c; }
.code-block .comment { color: #546e7a; }

.alert {
    padding: 16px 20px;
    margin: 24px 0;
    border-left: 4px solid;
    font-size: 0.9rem;
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border-color: #2196f3;
    color: #90caf9;
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
    color: #ffcc80;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
    color: #ef9a9a;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
    color: #a5d6a7;
}

.article-quote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
}

.article-quote cite {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-style: normal;
    color: var(--text-muted);
}

.table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.article-table th,
.article-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.article-table th {
    background: var(--bg-elevated);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.article-table td {
    color: var(--text-secondary);
}

.severity {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.severity.critical { background: #f44336; color: #fff; }
.severity.high { background: #ff9800; color: #000; }
.severity.medium { background: #ffeb3b; color: #000; }
.severity.low { background: #4caf50; color: #fff; }

.article-list {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-secondary);
}

.article-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article-sidebar {
    position: sticky;
    top: 88px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toc-list a {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.toc-list a:hover,
.toc-list a.active {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .expertise-grid,
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-detail {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    
    .article-sidebar {
        position: static;
        order: -1;
    }
    
    .article-body {
        order: 1;
    }
    
    .sidebar-widget {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 32px;
        gap: 24px;
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 150px;
        height: 150px;
        background-image: url('https://blackfes.com/blackfes.png');
        background-size: contain;
        background-repeat: no-repeat;
        opacity: 0.05;
        pointer-events: none;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-section {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-section:last-child {
        display: flex;
    }
    
    .nav-section-title {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0 0 12px 0;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 8px;
    }
    
    .nav-section-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-section-links li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-section-links li:last-child {
        border-bottom: none;
    }
    
    .nav-section-links a {
        padding: 14px 0;
        width: 100%;
        font-size: 0.95rem;
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        padding: 48px 0 40px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid,
    .expertise-grid,
    .articles-grid,
    .lab-grid {
        grid-template-columns: 1fr;
    }
    
    .lab-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .partners-grid {
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .archive-title-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .archive-search-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .archive-search {
        max-width: none;
    }
    
    .archive-type-filters {
        justify-content: flex-start;
    }
    
    .archive-table th,
    .archive-table td {
        padding: 10px 8px;
        font-size: 0.75rem;
    }
    
    .col-platform,
    .col-verified {
        display: none;
    }
    
    .col-title {
        min-width: 180px;
    }
    
    .tool-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-detail-sidebar {
        order: -1;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tool-title-row h1 {
        font-size: 1.5rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        padding: 16px;
    }
    
    .article-body h2 {
        font-size: 1.1rem;
    }
    
    .toc-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .toc-list li {
        margin: 0;
    }
    
    .toc-list a {
        padding: 6px 12px;
        background: var(--bg-elevated);
        border: 1px solid var(--border-color);
        font-size: 0.7rem;
    }
}

/* LED Fontunu Bağlıyoruz */
@font-face {
    font-family: 'DigitalLED';
    src: url('https://blackfes.com/assets/fonts/led_display-7.ttf');
}

.led-tabela-container {
    width: 100%;
    background: #000;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    padding: 0;
    height: 15px; 
    display: flex;
    align-items: center;
}

.led-akisi {
    display: inline-flex;
    /* Animasyon süresini haber uzunluğuna göre ayarlayabilirsin */
    animation: led-kay-sonsuz 60s linear infinite; 
    padding-left: 100%; /* Yazının en baştayken ekranın sağından girmesini sağlar */
}

.led-haber-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-family: 'DigitalLED', Courier, monospace;
    text-transform: uppercase; 
    font-size: 15px;
    color: #ff0000;
    padding-right: 100px; /* Haberler arası boşluk */
    letter-spacing: 2px;
}

@keyframes led-kay-sonsuz {
    0% {
        /* Başlangıçta içerik sağ tarafta gizli olsun */
        transform: translateX(0%);
    }
    100% {
        /* İçerik sola doğru kendi uzunluğu + konteyner kadar gitsin */
        transform: translateX(-100%);
    }
}

.btn-with-pattern {
    position: relative;
    overflow: hidden; /* Dışarı taşan kısımları gizler */
    padding: 12px 30px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-with-pattern::after {
    content: '';
    position: absolute;
    /* Sağ alt köşeye hizalayıp biraz dışarı taşıyoruz */
    bottom: -15px;
    right: -15px; 
    width: 80px;
    height: 80px;
    
    /* Senin gönderdiğin ikonun SVG hali */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='22' y1='2' x2='11' y2='13'/%3E%3Cpolygon points='22 2 15 22 11 13 2 9 22 2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    
    /* Footer desenindeki gibi çok hafif görünüm */
    opacity: 0.20; 
    z-index: -1; /* Metnin arkasında kalması için */
    transform: rotate(-10.0deg); /* Biraz estetik eğim */
    transition: all 0.4s ease;
}

/* Hover efekti: İkon biraz hareket etsin */
.btn-with-pattern:hover::after {
    opacity: 0.70;
}

/* Menü elemanının konumu */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Alt menü kutusu (başlangıçta gizli ve şeffaf) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Tam altından başlar */
    left: 0;
    background-color: #111; /* Sitenin koyu temasına uygun */
    min-width: 180px;
    padding: 5px 0;
    z-index: 999;
    list-style: none;
}

/* Alt menüdeki linkler */
.dropdown-content li a {
    color: #ccc !important;
    padding: 5px 20px !important;
    font-size: 14px !important;
    display: block !important;
    text-transform: none !important;
}

/* Alt menü linkine mouse gelince */
.dropdown-content li a:hover {
    background-color: #111;
    color: #fff !important;
}

/* ANA OLAY: Hizmetler üzerine mouse gelince menüyü aç */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Mobilde (991px ve altı) gizle */
@media (max-width: 991px) {
    .desktop-only {
        display: none !important;
    }
}

/* Masaüstünde (992px ve üzeri) göster ve hover çalıştır */
@media (min-width: 992px) {
    .desktop-only {
        display: inline-block; /* Veya listenin stiline göre block/flex */
        position: relative;
    }
    
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: #0a0a0b;
        min-width: 180px;
        z-index: 1000;
    }
    
    .dropdown:hover .dropdown-content {
        display: block;
    }
}