/* Modern Hacker Temalı Pastebin Sitesi */
:root {
    --main-bg-color: #0c0c0c;
    --secondary-bg-color: #151515;
    --accent-color: #00ff4c;
    --accent-hover: #00cc3d;
    --text-color: #e6e6e6;
    --muted-text: #aaaaaa;
    --border-color: #252525;
    --card-bg: #1a1a1a;
    --danger-color: #ff3860;
    --success-color: #00d1b2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Consolas', 'Courier New', monospace;
}

body {
    background-color: var(--main-bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    font-size: 16px;
}

/* Matrix arka plan animasyonu için overlay */
.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* Header Stileri */
header {
    text-align: center;
    padding: 2rem 1rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--accent-color);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 10px;
    background: var(--accent-color);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

header h1 {
    font-size: 3.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 255, 76, 0.5);
    letter-spacing: 3px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--muted-text);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* Ana İçerik Grid Düzeni */
.main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Paste Formu Stilleri */
.paste-form {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5), 
                0 0 30px rgba(0, 255, 76, 0.1);
    border-left: 3px solid var(--accent-color);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.paste-form::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 70%, rgba(0, 255, 76, 0.1) 100%);
}

h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--muted-text);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

input, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    font-size: 1rem;
    resize: none;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 255, 76, 0.3);
}

textarea {
    line-height: 1.5;
    min-height: 200px;
}

.btn {
    background-color: var(--secondary-bg-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--main-bg-color);
    box-shadow: 0 0 15px rgba(0, 255, 76, 0.5);
    transform: translateY(-2px);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Paste Listeleme ve Detay Stilleri */
.recent-pastes, .paste-detail {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    border-left: 3px solid var(--accent-color);
}

.pastes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.paste-item {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.2rem;
    background: rgba(26, 26, 26, 0.6);
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.paste-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-color);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.paste-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.paste-item:hover::before {
    opacity: 1;
    width: 6px;
}

.paste-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    display: block;
    margin-bottom: 0.7rem;
    transition: color 0.2s ease;
}

.paste-title:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.paste-preview {
    color: var(--muted-text);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.8rem;
    border-radius: 4px;
}

/* Burada paste-meta sınıfını düzeltiyorum - çakışan tanımları birleştiriyorum */
.paste-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--muted-text);
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.paste-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.view-link {
    color: var(--accent-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: bold;
    transition: all 0.2s ease;
}

.view-link:hover {
    color: var(--accent-hover);
    transform: translateX(3px);
}

/* Paste Detay Sayfası */
.paste-detail h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.paste-content {
    background-color: var(--secondary-bg-color);
    padding: 1.5rem;
    border-radius: 6px;
    overflow-x: auto;
    white-space: pre-wrap;
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    counter-reset: line;
}

.paste-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.9) 0%, rgba(21, 21, 21, 0) 100%);
    border-radius: 6px 6px 0 0;
    pointer-events: none;
}

.paste-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Bildirişimler */
.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.success {
    background-color: rgba(0, 209, 178, 0.1);
    border: 1px solid var(--success-color);
    color: var(--success-color);
}

.error {
    background-color: rgba(255, 56, 96, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

/* Alt Bilgi */
footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    color: var(--muted-text);
    font-size: 0.9rem;
    border-top: 1px solid var(--accent-color);
    opacity: 0.8;
    position: relative;
}

footer p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

footer i {
    color: var(--accent-color);
}

.no-pastes {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--muted-text);
    font-style: italic;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
}

/* Yanıp sönen terminal imleci */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.paste-form h2::after {
    content: '|';
    position: absolute;
    right: -15px;
    bottom: 8px;
    color: var(--accent-color);
    animation: blink 1s step-end infinite;
}

/* Scrollbar Stilleri */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-hover);
}

/* Terminal Glitch Efekti */
@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); }
}

header h1 {
    position: relative;
    animation: glitch 2s infinite;
}

header h1:hover {
    animation: glitch 0.3s infinite;
}

/* Cevaplar için Stiller */
.replies-section {
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.replies-section h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.replies-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reply-item {
    background: var(--secondary-bg-color);
    border-radius: 6px;
    padding: 1.2rem;
    border-left: 2px solid var(--accent-color);
    position: relative;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--muted-text);
}

.reply-author {
    font-weight: bold;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reply-date {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reply-content {
    color: var(--text-color);
    line-height: 1.5;
    font-size: 0.95rem;
}

.no-replies {
    text-align: center;
    padding: 1.5rem;
    color: var(--muted-text);
    font-style: italic;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    margin-bottom: 2rem;
}

.reply-form {
    margin-top: 1.5rem;
    background: var(--card-bg);
    border-radius: 6px;
    padding: 1.5rem;
}

.reply-form h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive cevaplar */
@media (max-width: 600px) {
    .reply-header {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Kompakt Paste Listesi */
.compact-list {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background-color: var(--secondary-bg-color);
    box-shadow: 0 0 15px rgba(0, 255, 76, 0.1);
    position: relative;
}

/* Dış hat terminal-benzeri efekti */
.compact-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    opacity: 0.3;
    pointer-events: none;
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0% { opacity: 0.2; }
    50% { opacity: 0.4; }
    100% { opacity: 0.2; }
}

.paste-item-compact {
    padding: 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s ease;
    position: relative;
}

/* Hacker çerçeve efekti */
.paste-item-compact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
    box-sizing: border-box;
    pointer-events: none;
    transition: all 0.3s ease;
}

.paste-item-compact:hover::after {
    border-left: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    box-shadow: 0 0 8px rgba(0, 255, 76, 0.5);
}

.paste-item-compact:before {
    content: '>';
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.2s ease;
}

.paste-item-compact:hover:before {
    opacity: 1;
    left: 0.7rem;
}

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

.paste-item-compact .paste-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem 0.75rem 1.8rem;
    margin: 0;
    font-size: 0.95rem;
    font-weight: normal;
    color: var(--text-color);
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.paste-item-compact .paste-title:hover {
    background-color: rgba(0, 255, 76, 0.1);
    text-decoration: none;
    color: var(--accent-color);
    padding-left: 2.2rem;
}

.paste-item-compact .paste-date {
    font-size: 0.8rem;
    color: var(--muted-text);
    padding-right: 0.2rem;
    position: relative;
    transition: all 0.2s ease;
}

.paste-item-compact:hover .paste-date {
    color: var(--accent-color);
    opacity: 0.8;
}

/* Terminal köşeleri */
.compact-list::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    border-radius: 2px 0 0 0;
}

.compact-list:before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    border-radius: 0 2px 0 0;
    z-index: 2;
}

.more-pastes {
    text-align: center;
    margin-top: 1rem;
}

/* Responsif Tasarım */
@media (max-width: 900px) {
    .main-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        width: 95%;
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .paste-form, .recent-pastes, .paste-detail {
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }
    
    .paste-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .paste-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}
