* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 10px;
    border: 1px solid var(--primary);
    cursor: pointer;
    font-weight: 700;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(250px, 1fr)
    );
    gap: 20px;
}

/* Cards */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 99px;
    background: var(--soft);
    font-size: 12px;
    font-weight: 700;
}

/* Text */
.muted {
    color: var(--muted);
}

/* Sections */
.section {
    padding: 70px 0;
}

.section-title {
    font-size: clamp(30px, 5vw, 46px);
    margin: 0 0 8px;
}

.section-subtitle {
    color: var(--muted);
    margin-top: 0;
}

/* Empty State */
.empty {
    padding: 30px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 16px;
}

/* Utility */
.hidden {
    display: none !important;
}