:root {
    --bg-dark: #0d0d12;
    --card-bg: #1a1a24;
    --accent-green: #39ff14;
    --accent-purple: #bc13fe;
    --text-main: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}


header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid var(--accent-purple);
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
    position: relative;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: var(--accent-green);
    text-shadow: 4px 4px var(--accent-purple);
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.subtitle {
    color: #888;
    font-size: 1.1rem;
}

.back-link {
    display: block;
    margin-bottom: 20px;
    font-family: 'Share Tech Mono';
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}
.back-link:hover { color: #fff; letter-spacing: 1px; }


.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 90%;
    max-width: 1000px;
    padding-bottom: 50px;
}


.card {
    background: var(--card-bg);
    border: 2px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
}

.card-preview {
    height: 150px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    position: relative;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    
    line-height: 1.4;
}

.card-desc {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
}

.badge {
    color: white; 
    background: #555; 
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    vertical-align: middle;
    margin-left: 8px;
    text-shadow: none;
    color: #000; 
}

footer {
    margin-top: auto;
    padding: 20px;
    color: #555;
    font-size: 0.8rem;
}


@media (max-width: 600px) {
    h1 { font-size: 1.5rem; }
    .back-link { position: static; display: block; margin-bottom: 10px;}
}

