.container{
    margin: 10px auto;
    max-width: 1200px;
    padding: 0 20px;
}
/* ====== Search Input ====== */
.search-input {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    margin: 20px 0;
    font-size: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-2);
    color: var(--text);
    font-family: var(--font-ui);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 138, 255, 0.1);
}

.search-input::placeholder {
    color: var(--muted);
}

/* ====== Tag Filter Buttons ====== */
.tag-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.tag-btn {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 8px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-ui);
    transition: all 0.2s ease;
}

.tag-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.tag-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* ====== App Grid ====== */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

/* ====== App Card ====== */
.app-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    border-color: var(--surface) !important;
    background: var(--surface);
}

.app-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 20px;
    padding-top: 32px;
}

.app-card .card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--font-tech);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    pointer-events: none;
    z-index: 1;
}

.app-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    margin-bottom: 16px;
}

.app-icon {
    font-size: 64px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.app-card:hover .app-icon {
    transform: scale(1.1);
}

.app-card .title {
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 8px;
    color: #fff;
    font-family: var(--font-tech);
}

.app-card .desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.app-card .meta {
    color: var(--muted);
    font-size: 13px;
    display: block;
    margin-top: 8px;
}

/* ====== Devlog Banner ====== */
.devlog-banner {
    display: block;
    background: linear-gradient(135deg, var(--bg-2) 0%, var(--surface) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 20px 32px;
    margin: 32px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.devlog-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.3);
    border-color: #6bb0ff;
}

.devlog-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.devlog-banner-left {
    flex: 1;
}

.devlog-banner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.devlog-banner-header i {
    font-size: 32px;
    color: var(--primary);
}

.devlog-banner h3 {
    font-family: var(--font-tech);
    font-size: 20px;
    color: #fff;
    margin: 0;
    letter-spacing: 0.05em;
}

.devlog-banner p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.devlog-banner-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.devlog-banner-right i {
    font-size: 24px;
}

.devlog-banner-bg {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}

/* ====== QR Code Generator Styles ====== */
#qrcode {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0;
    min-height: 220px;
}

#qrcode img {
    border: 8px solid var(--bg-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.qr-input {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    background: var(--bg-2);
    border: 2px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-ui);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.qr-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.qr-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.qr-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.qr-btn:hover {
    background: #6bb0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.4);
    color: white;
}

.qr-btn.secondary {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
}

.qr-btn.secondary:hover {
    background: var(--bg-2);
    border-color: var(--primary);
    color: var(--text);
}

.qr-hero-box {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 32px;
}

.qr-hero-box p {
    color: var(--muted);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.6;
}

/* ====== SYT Game Styles ====== */
.syt-controls-text {
    font-family: var(--font-tech);
    font-size: 14px;
    line-height: 1.8;
}

.syt-controls-text strong {
    color: var(--primary);
}

/* Tile no-cursor for QR zastosowania */
.tile.no-cursor {
    cursor: default;
}
.tile.no-cursor:hover {
    color: white;
    border-color: var(--surface);
}
/* ====== Responsive Design ====== */
@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: 1fr;
    }
    
    .tag-filter {
        flex-direction: row;
        gap: 8px;
    }
    
    .tag-btn {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .devlog-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .devlog-banner h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .search-input {
        font-size: 14px;
    }
    
    .app-card .title {
        font-size: 16px;
    }
    
    .app-icon-container {
        height: 80px;
    }
    
    .app-icon {
        font-size: 48px;
    }
}