*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100%;
    background-color: #000000;
    color: #e0e0e0;
    font-family: 'Space Grotesk', sans-serif;
    cursor: none;
}

/* Starry Background (same as main page) */
@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:-10000px 5000px;}
}

.stars, .twinkling {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    height:100%;
    display:block;
    z-index: 0;
}

.stars {
    background:#000 url(https://www.script-tutorials.com/demos/360/images/stars.png) repeat top center;
}

.twinkling {
    background:transparent url(https://www.script-tutorials.com/demos/360/images/twinkling.png) repeat top center;
    animation:move-twink-back 200s linear infinite;
}

/* Top Bar */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    padding: 2rem 3rem;
    z-index: 10;
}

.nav-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.4s ease, text-shadow 0.4s ease;
    opacity: 0; /* Initially hidden for animation */
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
}

/* Main Content */
.container {
    position: relative;
    z-index: 2;
    padding: 8rem 2rem 4rem; /* Add padding for content */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    text-align: center;
}

.main-title {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 3rem;
    opacity: 0; /* Initially hidden for animation */
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    opacity: 0; /* Initially hidden for animation */
}

/* --- NEW SPICIER HOVER EFFECT --- */
.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.project-description {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 1.5rem;
}

.project-status {
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
}

/* --- NEW STATUS COLORS --- */
.status-development {
    color: #8ab4f8; /* Faded blue text */
    background-color: rgba(138, 180, 248, 0.1);
}

.status-beta {
    color: #81c995; /* Faded green text */
    background-color: rgba(129, 201, 149, 0.1);
}

.status-hold {
    color: #a0a0a0; /* Faded gray text */
    background-color: rgba(160, 160, 160, 0.1);
}
/* --- END OF NEW STYLES --- */


/* Custom Cursor (same as main page) */
.cursor, .cursor-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease, transform 0.1s ease-out;
    z-index: 1000;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
}

.cursor-glow {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

a:hover ~ .cursor,
.project-card:hover ~ .cursor {
    transform: translate(-50%, -50%) scale(2.5);
}


@media (max-width: 768px) {
    .container {
        padding: 6rem 1rem 3rem;
    }
    .main-title {
        font-size: 2.5rem;
    }
    .cursor, .cursor-glow {
        display: none;
    }
    html, body {
        cursor: auto;
    }
}