/* Temel stiller */
body {
    background: linear-gradient(to bottom right, #000000, #1a1a1a);
    min-height: 100vh;
}

/* Gradient text efekti */
.gradient-text {
    background: linear-gradient(
        to right,
        #0ff 20%,
        #f0f 40%,
        #ff8c00 60%,
        #0ff 80%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    animation: shine 3s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* Gradient border efektleri */
.gradient-border {
    position: relative;
    border-radius: 0.5rem;
    padding: 1px;
    background: linear-gradient(
        to bottom right,
        rgba(0, 255, 255, 0.2),
        rgba(255, 0, 255, 0.2)
    );
    overflow: hidden;
}

.gradient-border > div {
    background: #000;
    border-radius: 0.5rem;
    height: 100%;
}

.gradient-border::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #0ff 0%,
        #f0f 50%,
        #0ff 100%
    );
    background-size: 200% auto;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: neonFlicker 8s infinite, gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    to {
        background-position: 200% center;
    }
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Kıvılcım efekti */
.gradient-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #0ff;
    border-radius: 50%;
    box-shadow: 
        0 0 4px #0ff,
        0 0 8px #0ff,
        0 0 12px #f0f;
    opacity: 0;
    filter: blur(1px);
    transform: translateX(-50%);
    animation: sparkle 3s ease-in-out infinite;
}

/* Animasyonlar */
@keyframes neonFlicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 0.9;
        box-shadow: 
            0 0 5px #0ff,
            0 0 10px #0ff,
            0 0 20px #f0f;
    }
    20%, 22%, 24%, 55% {
        opacity: 0.5;
        box-shadow: none;
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: translateX(-50%) scale(0.2);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Kartlar */
.skill-card {
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navigasyon */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ff, #f0f);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover {
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* Fare efekti */
.cursor-fx {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.4) 0%, transparent 70%);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    mix-blend-mode: screen;
    transition: opacity 0.3s ease;
}

@keyframes cursorFx {
    0%, 100% {
        opacity: 0;
        transform: scale(0.2);
    }
    50% {
        opacity: 1;
        transform: scale(3);
    }
}

.cursor-fx.active {
    opacity: 1;
}

/* Blog yazıları için prose stilleri */
.prose {
    color: #d1d5db;
    max-width: 65ch;
    margin: 0 auto;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
    color: #f3f4f6;
    margin-top: 2em;
    margin-bottom: 1em;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose a {
    color: #0ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.prose a:hover {
    color: #f0f;
}

.prose ul,
.prose ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.625em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.prose blockquote {
    border-left: 4px solid #0ff;
    margin-left: 0;
    padding-left: 1em;
    font-style: italic;
    color: #9ca3af;
}

.prose code {
    background: rgba(0, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    font-size: 0.875em;
}

.prose pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 1em;
    border-radius: 0.5em;
    overflow-x: auto;
}

/* Sayfa içeriği için glow efekti */
.container {
    position: relative;
}

.container::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Rainbow text efekti */
.rainbow-text {
    background: linear-gradient(
        to right,
        #0ff,
        #f0f,
        #ff8c00,
        #0f0,
        #0ff
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
    animation: shine 4s linear infinite;
}

/* Syntax Highlighting */
.highlight {
    background: #1a1a1a;
    border-radius: 0.5rem;
    margin: 1rem 0;
    padding: 1rem;
    overflow-x: auto;
}

.highlight pre {
    margin: 0;
    padding: 0;
}

.highlight code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Syntax Colors */
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */

/* Inline Code */
code.highlighter-rouge {
    background: rgba(0, 255, 255, 0.1);
    color: #0ff;
    padding: 0.2em 0.4em;
    border-radius: 0.25em;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
}

/* Line Numbers */
.highlight .lineno {
    color: #666;
    display: inline-block;
    padding: 0 0.8em;
    border-right: 1px solid #444;
    margin-right: 0.8em;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} 