:root {
    --snes-width: 256px;
    --snes-height: 224px;
    --pixel-scale: 2; /* Change this to 1, 3, or 4 to resize everything perfectly */
}

body {
    background-color: #0b0104;
    color: #e0e0e0;
    font-family: 'Roboto UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.guide-container {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

h1, h2, h3 {
    color: #ffffff;
    margin-bottom: 20px;
}

.feature-list {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: square;
    border-left: 3px solid #86aff0;
    background: #252525;
    padding: 15px 15px 15px 40px;
    border-radius: 0 8px 8px 0;
}

.feature-list li {
    margin-bottom: 10px;
}

.image-grid {
    display: flex;      /* Layout items in a row */
    flex-wrap: wrap;    /* If they run out of room, start a new row */
    gap: 20px;          /* Space between the images */
    justify-content: center; /* Center the whole group on the page */
    padding: 20px 0;
}

@media (min-width: 768px) {
    .grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.grid-item {
    
    display: inline-block;
}



.pixel {
    box-sizing: border-box;
    image-rendering: pixelated;
    width: calc(var(--snes-width) * var(--pixel-scale));
    height: calc(var(--snes-height) * var(--pixel-scale));

    transition: transform 0.2s; /* Keep your hover effect smooth */
}


.table-dark {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

a {
    color: #86aff0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}