:root {
    --theme-blue: #2f7bc0;
    --theme-nav-blue: #26639a;
    --theme-bg: #edf0f2;
    --theme-text: #333333;
    --theme-text-light: #666666;
    --theme-border: #dce1e6;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--theme-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--theme-text);
}

.pixelated {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.theme-header {
    background-color: #fff;
    border-bottom: 1px solid var(--theme-border);
    padding: 10px 0;
}

.theme-logo {
    font-weight: bold;
    font-size: 24px;
    color: var(--theme-nav-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-logo-icon {
    width: 40px;
    height: 24px;
    background: linear-gradient(45deg, #2f7bc0 25%, transparent 25%, transparent 75%, #2f7bc0 75%, #2f7bc0),
                linear-gradient(45deg, #2f7bc0 25%, transparent 25%, transparent 75%, #2f7bc0 75%, #2f7bc0);
    background-size: 10px 10px;
    background-position: 0 0, 5px 5px;
    /* Abstract shape to mimic the logo without copying it exactly */
    clip-path: polygon(0 100%, 20% 0, 40% 100%, 60% 0, 80% 100%, 100% 0);
}

.theme-logo-text {
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.theme-search {
    border: 1px solid var(--theme-border);
    border-radius: 3px;
    padding: 8px 12px;
    width: 100%;
    max-width: 600px;
    outline: none;
}

.theme-search:focus {
    border-color: var(--theme-blue);
}

.theme-nav {
    background-color: var(--theme-nav-blue);
    color: white;
    padding: 0;
}

.theme-nav-link {
    color: white;
    text-decoration: none;
    padding: 12px 15px;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.theme-nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.theme-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.theme-card {
    background: white;
    border: 1px solid var(--theme-border);
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.theme-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.theme-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee;
}

.theme-card-body {
    padding: 15px;
    text-align: center;
}

.theme-card-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--theme-text);
}

.theme-card-subtitle {
    font-size: 12px;
    color: var(--theme-text-light);
}

.theme-rating {
    color: #f5c518; /* Gold star color */
    font-size: 14px;
    margin-top: 5px;
}

.theme-sidebar-filter {
    background: white;
    border: 1px solid var(--theme-border);
    padding: 15px;
    border-radius: 3px;
}

.theme-filter-group {
    margin-bottom: 15px;
}

.theme-filter-title {
    font-size: 12px;
    color: var(--theme-text-light);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.theme-btn {
    background-color: white;
    border: 1px solid var(--theme-blue);
    color: var(--theme-blue);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.theme-btn:hover {
    background-color: var(--theme-blue);
    color: white;
}

.theme-btn-primary {
    background-color: var(--theme-blue);
    color: white;
    border: none;
}

.theme-btn-primary:hover {
    background-color: var(--theme-nav-blue);
}
