:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #111111;
    --text-color: #e0e0e0;
    --accent-color: #00ff41; /* Cyber Green */
    --accent-glow: rgba(0, 255, 65, 0.5);
    --secondary-accent: #00d2ff; /* Cyber Blue */
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(0, 20, 0, 0) 0%, rgba(10, 10, 10, 1) 90%);
    background-size: 50px 50px, 50px 50px, 100% 100%;
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

a, button, input, textarea, select {
    cursor: none; /* Hide default cursor on interactive elements */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    /* border: 2px solid var(--accent-color); Removed square border */
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
    mix-blend-mode: difference;
}

/* Crosshair çizgileri */
.custom-cursor::before, .custom-cursor::after {
    content: '';
    position: absolute;
    background-color: var(--accent-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    width: 100%;
    height: 1px;
}

.custom-cursor::after {
    width: 1px;
    height: 100%;
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 2px dashed var(--accent-color);
    border-radius: 50%;
    animation: rotateCursor 4s linear infinite;
    mix-blend-mode: normal;
}

@keyframes rotateCursor {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.custom-cursor.hovered::before, .custom-cursor.hovered::after {
    /* display: none; */ /* Keep crosshair or hide it? Let's keep a small dot in center */
    display: block;
    background-color: var(--accent-color);
}

.custom-cursor.hovered::before {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.custom-cursor.hovered::after {
    display: none;
}

.cursor-trail {
    position: fixed;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 10px;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, transform 0.3s;
    font-weight: bold;
    text-shadow: 0 0 5px var(--accent-color);
}

/* Header */
.main-header {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 10px 0;
    position: sticky;
    top: 20px;
    z-index: 1000;
    backdrop-filter: blur(10px);
    width: 95%;
    max-width: 1400px;
    margin: 20px auto;
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 65, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo .highlight {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-glow);
}

.logo .bracket {
    color: var(--secondary-accent);
}

.main-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a:not(.btn-glitch)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.main-nav a:not(.btn-glitch):hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

/* Glitch Button */
.btn-glitch {
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-glitch:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background-color: var(--bg-secondary);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo .highlight {
    color: var(--accent-color);
}

.footer-links h4, .footer-social h4 {
    color: var(--secondary-accent);
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.footer-links {
    text-align: center;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-social {
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px; /* Kare olması için border-radius düşürüldü */
    transition: var(--transition);
}

.social-icons a:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none; /* Add JS toggle logic later */
    }
    .mobile-menu-toggle {
        display: block;
    }
}
