:root {
    --color-bg-dark: #1b2838;
    --color-bg-light: #2a475e;
    --color-text-main: #c7d5e0;
    --color-text-header: #ffffff;
    --color-accent: #66c0f4;
    --color-accent-hover: #4192c7;
    --color-green: #a4d007;
    --color-green-hover: #8ed007;
    --color-dark-panel: #171a21;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Motiva Sans", Sans-serif, Arial, sans-serif; /* Steam-like font stack */
    background: #171a21;
    color: var(--color-text-main);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 24px;
    background: #171a21;
    border-bottom: 1px solid #171a21;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-text-header);
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 10px;
}

.nav-link {
    text-decoration: none;
    color: #b8b6b4;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 10px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.active {
    color: var(--color-accent);
    border-bottom: 3px solid var(--color-accent);
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    color: var(--color-text-header);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h2 {
    border-bottom: 1px solid #3a4b5d;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.panel {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin-bottom: 20px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

form {
    display: grid;
    gap: 12px;
}

input, textarea, select {
    border: 1px solid #000;
    background: #2a3f5a;
    color: #e8ebf1;
    border-radius: 2px;
    padding: 10px;
    font-size: 14px;
    transition: background 0.2s, border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
    background: #3d5675;
    border-color: #66c0f4;
    outline: none;
}

button {
    cursor: pointer;
    background: linear-gradient( to bottom, #47bfff 5%, #1a44c2 60%);
    background-position: 0 0;
    border: none;
    color: #fff;
    padding: 10px 20px;
    border-radius: 2px;
    font-size: 14px;
    text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
    transition: filter 0.2s;
}

button:hover {
    filter: brightness(1.2);
}

.btn-danger {
    background: linear-gradient( to bottom, #ff4747 5%, #c21a1a 60%);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    background: rgba(0, 0, 0, 0.4);
}

.card-image {
    width: 100%;
    height: 150px;
    background-color: #000;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: var(--color-text-header);
}

.card-meta {
    font-size: 12px;
    color: #56707f;
    margin-bottom: 10px;
}

.card-price {
    font-size: 14px;
    color: var(--color-text-header);
    margin-bottom: 10px;
}

.row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hint {
    color: #8f98a0;
    font-size: 12px;
    margin-bottom: 10px;
}

pre {
    white-space: pre-wrap;
    background: #1b2838;
    color: #acb2b8;
    padding: 10px;
    font-family: monospace;
    overflow-x: auto;
}
