/* DStation - Minimalist Dosya İndirme Sistemi */

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    --bg: #0f1419;
    --bg-card: #1a1f2e;
    --bg-hover: #252b3b;
    --text: #f8fafc;
    --text-secondary: #a8b3cf;
    --text-muted: #6b7280;
    --border: #2d3748;

    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.2s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--text);
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.125rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 14px 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), #2563eb);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-image {
    height: 38px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: none;
}

.nav-links {
    display: flex;
    gap: 6px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    position: relative;
}

.nav-link svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.nav-link:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-link:hover svg {
    opacity: 1;
}

.nav-link.active {
    color: var(--text);
    background: var(--bg-hover);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-link-admin {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.nav-link-login {
    background: var(--primary);
    color: white;
}

.nav-link-login:hover {
    background: var(--primary-dark);
    color: white;
}

/* Hero */
.hero {
    padding: 120px 0 60px;
    text-align: center;
}

.hero-title {
    margin-bottom: 12px;
    color: var(--text);
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

/* Search */
.search-container {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.search-box {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.search-box:focus-within {
    border-color: var(--primary);
}

.search-icon {
    padding: 0 16px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 0;
    font-size: 0.95rem;
    color: var(--text);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    padding: 12px 24px;
    background: var(--primary);
    border: none;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background var(--transition);
    border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-hover);
}

.search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.search-result-name {
    font-weight: 500;
    color: var(--text);
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.search-loading,
.search-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
}

/* Section */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title h2 {
    margin: 0;
}

/* Categories */
.categories-section {
    padding: 40px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    border-color: var(--card-color, var(--text-muted));
    background: var(--bg-hover);
}

/* Category Card New Structure */
.category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0;
    /* Reset */
    flex-shrink: 0;
}

.category-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0;
    /* Reset */
    color: var(--text);
    line-height: 1.3;
}

.category-body {
    margin-bottom: 20px;
    width: 100%;
}

.category-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-footer {
    margin-top: auto;
    width: 100%;
}

.category-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--text);
    background: var(--bg-hover);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Programs */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.program-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.program-card:hover {
    border-color: var(--text-muted);
}

.program-thumbnail {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    background: var(--bg-hover);
}

.program-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    background: var(--warning);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #000;
}

.program-locked-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-content {
    padding: 16px;
}

.program-category-badge {
    display: inline-block;
    padding: 2px 8px;
    background: var(--bg-hover);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.program-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.program-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.program-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background: var(--bg-hover);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    color: var(--text);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-brand {
    flex: 1;
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.footer-logo svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin: 0;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.95rem;
    transition: border var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert h3 {
    font-size: 1.125rem;
    margin: 0;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}


/* Card */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* Table */
.table-container {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.table th {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.table tbody tr:hover {
    background: var(--bg-hover);
}

/* Badge */
.badge {
    display: inline-flex;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}

.badge-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.badge-primary {
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 240px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.sidebar-nav {
    padding: 0 12px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-secondary);
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-size: 0.9rem;
    transition: all var(--transition);
}

.sidebar-link:hover {
    color: var(--text);
    background: var(--bg-hover);
}

.sidebar-link.active {
    color: var(--text);
    background: var(--primary);
}

.sidebar-link-icon {
    width: 20px;
    text-align: center;
}

.admin-content {
    flex: 1;
    margin-left: 240px;
    padding: 24px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Download Page */
.download-hero {
    padding: 120px 0 60px;
}

.download-card {
    max-width: 700px;
    margin: 0 auto;
}

.download-header {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.download-info {
    flex: 1;
}


.download-icon {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    background: var(--bg-hover);
}

.download-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.download-info h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 12px;
}

.download-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.download-description {
    margin-bottom: 24px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.download-card {
    max-width: 800px;
    margin: 0 auto;
}

.download-btn-container {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 24px;
}

.download-btn-container .btn {
    min-width: 200px;
}

.download-btn-container .alert {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 32px;
}


/* File Upload */
.file-upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.file-upload-area:hover {
    border-color: var(--primary);
}

.file-upload-area input {
    display: none;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.file-upload-text {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 380px;
}

.login-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-logo {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
}

.login-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.login-footer a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-muted);
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.hidden {
    display: none !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Spinner */
.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Categories & Programs Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    text-align: center;
}

.footer p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav-link span {
        display: none;
    }

    .hero,
    .download-hero {
        padding: 180px 0 40px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .download-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .download-meta {
        justify-content: center;
    }

    .download-btn-container {
        flex-direction: column;
    }

    .download-btn-container .btn {
        width: 100%;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-content {
        margin-left: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Home Hero Redesign */
.home-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 30px;
}

.home-hero .container {
    width: 100%;
}

.home-hero-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.home-hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.home-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* Large Search */
.large-search-container {
    position: relative;
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.large-search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    padding: 10px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
}

.large-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 20px 40px -5px rgba(var(--primary-rgb), 0.3);
    transform: translateY(-2px);
}

.large-search-icon {
    width: 60px;
    font-size: 1.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.large-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: var(--text);
    padding: 16px 0;
    outline: none;
}

.large-search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
}

.large-search-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Quick Stats Section */
.quick-stats-section {
    padding-bottom: 40px;
    padding-top: 20px;
}

.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.quick-stat-card {
    display: flex;
    align-items: center;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.quick-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-theme);
}

/* Themes */
.fire-theme {
    --card-theme: #f59e0b;
}

.fire-theme .stat-card-icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.new-theme {
    --card-theme: #3b82f6;
}

.new-theme .stat-card-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.folder-theme {
    --card-theme: var(--primary);
}

.folder-theme .stat-card-icon {
    background: var(--bg-hover);
    color: var(--primary);
}

.stat-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.stat-card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 4px 0;
}

.stat-card-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.stat-card-arrow {
    margin-left: auto;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition);
}

.quick-stat-card:hover .stat-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--card-theme);
}

/* Home Lists Layout */
.home-lists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-list-column {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.list-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.list-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.list-header-icon.fire-theme {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.list-header-icon.new-theme {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.list-header-icon.folder-theme {
    background: var(--bg-hover);
    color: var(--primary);
}

.list-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.list-item:hover {
    background: var(--bg-hover);
    border-color: var(--border);
}

.list-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.list-item-info {
    flex: 1;
    min-width: 0;
    /* Text truncation fix */
}

.list-item-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.95rem;
}

.list-item-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.list-item-lock {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.list-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.list-view-all {
    margin-top: 20px;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 10px;
    border-radius: var(--radius);
    transition: background var(--transition);
}

.list-view-all:hover {
    background: var(--bg-hover);
}

@media (max-width: 768px) {
    .home-lists-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding-top: 140px;
        /* Header altından kurtar */
        padding-bottom: 20px;
    }

    .large-search-box {
        padding: 6px;
        /* Mobilde daha kompakt */
    }

    .large-search-icon {
        width: 40px;
        font-size: 1.2rem;
    }

    .large-search-input {
        font-size: 1rem;
        padding: 10px 0;
    }

    .large-search-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}