@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
    background: #111111;
    color: #E8E8E8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    background: #000000;
    padding: 0 48px;
    height: 64px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid #222222;
}

.logo {
    color: #FFFFFF;
    font-size: 1.15em;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.logo span {
    font-weight: 300;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    padding: 64px 48px 80px;
    flex: 1;
}

h1 {
    font-size: 2.6em;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.subtitle {
    color: #888888;
    font-size: 1.05em;
    font-weight: 400;
    margin-bottom: 56px;
}

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

.card {
    background: #1A1A1A;
    border: 1px solid #2A2A2A;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
    border-color: #3A3A3A;
}

.card .img-holder {
    padding: 32px;
    background: #0A0A0A;
    border-bottom: 1px solid #2A2A2A;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
}

.card img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.card .no-image {
    color: #555555;
    font-size: 0.9em;
    font-style: italic;
}

.card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card h2 {
    font-size: 1.1em;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card p {
    color: #888888;
    font-size: 0.9em;
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
}

.card a {
    display: block;
    padding: 15px 20px;
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
    letter-spacing: 0.02em;
    transition: background 0.15s ease;
    margin-top: auto;
}

.card a:hover {
    background: #E0E0E0;
}

@media (max-width: 900px) {
    .main-content { padding: 48px 32px 64px; }
}

@media (max-width: 600px) {
    header { padding: 0 24px; }
    .main-content { padding: 40px 20px 56px; }
    h1 { font-size: 2em; }
    .subtitle { margin-bottom: 36px; }
    .grid { grid-template-columns: 1fr; gap: 16px; }
}
