* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #E3E3E3;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.4;
    color: #1e1e1e;
    padding: 2rem 1.5rem;
}

/* Main container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem 1.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

/* Header with logo */
.page-header {
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #dcdcdc;
    padding-bottom: 0.75rem;
}

.site-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Simple grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Project card */
.project-card {
    background: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

/* Thumbnail area */
.thumbnail {
    background-color: #d9d9d9;
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5a5a5a;
    font-size: 0.9rem;
    font-weight: normal;
    border-bottom: 1px solid #ebebeb;
    overflow: hidden;
}

/* Style for images inside thumbnails */
.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Simple text */
.card-content {
    padding: 1rem 1rem 1.2rem 1rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}

/* Title */
.project-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #191919;
    line-height: 1.3;
}

/* Year */
.project-year {
    font-size: 0.8rem;
    color: #BABABA;
    font-weight: normal;
    margin-bottom: 0.6rem;
    letter-spacing: 0.3px;
}

.project-description {
    font-size: 0.95rem;
    color: #191919;
    line-height: 1.45;
    margin: 0;
    margin-bottom: 0.75rem;
}

/* Tags container */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* Individual tag */
.tag {
    display: inline-block;
    background-color: #f0f0f0;
    border: 1px solid #dcdcdc;
    color: #555555;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.6rem;
    letter-spacing: 0.2px;
    text-transform: lowercase;
}

/* Download button */
.download-btn {
    color: #00A2FF;
    font-size: 0.9rem;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-block;
    width: fit-content;
    padding: 0;
    text-decoration: none;
}

.download-btn:hover {
    opacity: 0.9;
}

/* Download wrapper */
.download-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Download counter */
.download-count {
    color: #BABABA;
    font-size: 0.85rem;
    font-weight: normal;
    display: inline-block;
}

/* In Development / Cancelled text */
.in-development {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    display: inline-block;
    width: fit-content;
}

/* Social section */
.social-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #dcdcdc;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Social button styles */
.social-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border: none;
    cursor: pointer;
    border-radius: 6px;
}

.social-btn:hover {
    opacity: 0.9;
}

/* YouTube button */
.youtube-btn {
    background-color: #E12219;
    color: #ffffff;
}

/* GitHub button */
.github-btn {
    background-color: #2b3137;
    color: #ffffff;
}

/* Discord button */
.discord-btn {
    background-color: #7289DA;
    color: #ffffff;
}

/* GitHub Pages button container */
.github-pages-link {
    margin-top: 1rem;
    text-align: center;
}

/* GitHub Pages button style */
.github-pages-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    background-color: #2b3137;
    color: #ffffff;
}

.github-pages-btn:hover {
    opacity: 0.9;
}

/* small spacing adjustments */
hr {
    display: none;
}

.project-card {
    border-radius: 0px;
}

.thumbnail {
    border-radius: 0px;
}

@media (max-width: 650px) {
    body {
        padding: 1rem;
    }
    .container {
        padding: 1.2rem;
    }
    .projects-grid {
        gap: 1.5rem;
    }
    
    .social-btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}