:root {
    --bg-color: #000000;
    --card-bg: #16181c;
    --primary-color: #a9e573;
    --text-color: #e2e8f0;
    --muted-text: #94a3b8;
    --input-bg: #000000;
    --border-color: #5f6368;
    --button-bg: #ffff10;
    --button-text: #0f172a;
    --link-color: #8ab4f8;
    --bright-link-color: #ffff10;
    --radius: 8px;
    --spacing: 20px;
    --font-family: monospace;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    height: 100%;
    font-family: var(--font-family);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: break-word;
}

input,
select {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    background: var(--input-bg);
    color: var(--text-color);
    outline: none;
}

input:focus,
select:focus {
    border-color: var(--primary-color);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

select:invalid,
option:disabled {
    color: #7a7e82;
}

main {
    width: 80%;
    margin: auto;
    max-width: 100%;
}

nav {
    width: 100%;
    padding: 20px;
    margin: auto;
    background: var(--card-bg);
}

h4 {
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--text-color);
}

a {
    text-decoration: none;
    font-size: 13px;
    color: inherit;
}

button {
    padding: 10px 16px;
    border: none;
    border-radius: var(--radius);
    background: var(--button-bg);
    color: var(--button-text);
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    opacity: 0.9;
}

.card {
    padding: 32px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    margin-bottom: var(--spacing);
}

.card form * {
    margin-bottom: 10px;
    margin-bottom: 10px;
}

.title {
    margin: var(--spacing);
}

.text-center { text-align: center; }
.text-right  { text-align: right; }

.flex-row    { display: flex; gap: 20px; }
.flex-col    { display: flex; flex-direction: column; }

.between     { justify-content: space-between; }
.flex-end    { justify-content: flex-end; }
.flex-start  { justify-content: flex-start; }
.flex-wrap   { flex-wrap: wrap; }

.gap-10      { gap: 10px; }

.bright      { color: var(--bright-link-color); }

.fill-width  { width: 100%; }
.fill-height { height: 100%; }

.height-60   { height: 60vh; }
.width-30    { width: 30%; }

.banner {
    margin: 20px 0;
    background-color: #a10000;
    border-radius: 5px;
}

.banner img {
    border-radius: 5px;
    height: auto;
    width: 100%;
}

.hidden  { display: none; }
.visible { display: inherit; }

img {
    max-width: 100%;
    width: 100%;
}

/* Landing Cards */
.landing-cards .card {
    background: linear-gradient(to bottom, #16181c, #060606);
    max-width: 30% !important;
}

.landing-cards .card:hover {
    transform: scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    filter: brightness(0.9);
}

.landing-cards div:has(img) {
    container-type: inline-size;
}

.landing-cards label {
    position: absolute;
    z-index: 10;
    font-size: clamp(12px, 2vw, 24px);
    text-wrap: wrap;
}

.landing-cards img {
    width: 100%;
    height: auto;
    margin-top: 40px;
}

/* Category Cards */
.cat-cards .card:hover {
    transform: scale(0.95);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    filter: brightness(0.9);
}

.cat-cards img {
    width: 100%;
}

/* Footer */
.footer {
    width: 80%;
    margin: auto;
}

.footer-label {
    display: block;
    margin-bottom: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-story {
    margin: auto;
    padding: 20px;
    width: 80%;
    text-align: justify;
}

.footer-menu {
    margin: auto;
}

/* Category Filter */
.cat-filter {
    width: 30%;
}

.cat-filter ul {
    list-style: none;
    padding: 0;
}

.cat-filter input {
    width: unset;
    margin-right: 10px;
}