:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --accent: #ccff00; /* Cyber Lime */
    --text-main: #eeeeee;
    --text-muted: #888888;
    --font-display: 'Syne', sans-serif;
    --font-tech: 'Space Mono', monospace;
    --frame-radius: 24px;
    --cursor-size: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none; /* Hide default cursor */
}

body {
    background-color: #000;
    color: var(--text-main);
    font-family: var(--font-tech);
    height: 100vh;
    padding: 20px;
    overflow: hidden; /* Prevent body scroll, scroll inside app-container */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Cursor */
.cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.5), 0 0 15px var(--accent);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

/* The Main Frame */
.app-container {
    background: var(--bg-color);
    width: 100%;
    height: 100%;
    max-width: 1600px;
    border-radius: var(--frame-radius);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    border: 1px solid #333;
    box-shadow: 0 0 50px rgba(204, 255, 0, 0.1);
    padding: 40px;
}

/* Scrollbar Styling */
.app-container::-webkit-scrollbar {
    width: 8px;
}
.app-container::-webkit-scrollbar-track {
    background: var(--bg-color);
}
.app-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

/* Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    text-transform: uppercase;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: -1px;
}

.menu-items a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    position: relative;
}

.menu-items a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero-section {
    margin-bottom: 100px;
}

h1.glitch-text {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    /* Gradient Text */
    background: linear-gradient(90deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Filters */
.filters {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 50px;
    font-family: var(--font-tech);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    box-shadow: 4px 4px 0px rgba(255,255,255,0.2);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid #222;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.img-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.project-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.card-info {
    padding: 20px;
}

.card-cat {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.card-tags {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body { padding: 0; }
    .app-container { border-radius: 0; border: none; }
    .hero-section h1 { font-size: 3.5rem; }
    .cursor { display: none; } /* Hide custom cursor on touch */
    * { cursor: auto; }
}
